Hi again, I moved /sw and reinstalled fink. This time starting by installing fftw3 as soon as I have an up to date fink distribution. Whenever I get to the ocaml compilation from the dependancies, the build system produces the aforementioned error. It makes no difference whether I use stable or switch to unstable. The steps below produce the error for me every time:
$ pwd /Users/sradomski/Downloads/fink-0.29.15 $ ./bootstrap Choosing defaults everywhere but the mirror selection and ending up with an initial fink installation in /sw. (This time, fink-mirrors has changed and I am asked to confirm my settings again - this is new and has not been part of previous installation attempts, but does not change the outcome). $ /sw/bin/pathsetup.sh (Reopening terminal) $ fink selfupdate-rsync As suggested by the manual [1] produces an error: ----- Please note: the simple command 'fink selfupdate' should be used for routine updating; you only need to use a command like 'fink selfupdate-cvs' or 'fink selfupdate --method=rsync' if you are changing your update method. /usr/bin/find /sw/fink -name CVS -type d -print0 | xargs -0 /bin/rm -rf fink is setting your default update method to rsync rsync -az -q rsync://distfiles.master.finkmirrors.net/finkinfo//TIMESTAMP /sw/fink/TIMESTAMP.tmp I will now run the rsync command to retrieve the latest package descriptions. rsync -rtz --delete-after --delete -q --include='10.4/' --include='10.4/stable/' --include='10.4/stable/main/' --include='10.4/stable/main/finkinfo/' --include='10.4/stable/main/finkinfo/*/' --include='10.4/stable/main/finkinfo/*' --include='10.4/stable/main/finkinfo/**/*' --include='10.4/' --include='10.4/stable/' --include='10.4/stable/crypto/' --include='10.4/stable/crypto/finkinfo/' --include='10.4/stable/crypto/finkinfo/*/' --include='10.4/stable/crypto/finkinfo/*' --include='10.4/stable/crypto/finkinfo/**/*' --include='VERSION' --include='DISTRIBUTION' --include='README' --exclude='**' 'rsync://distfiles.master.finkmirrors.net/finkinfo' '/sw/fink/' Scanning package description files.......... Information about 4316 packages read in 10 seconds. Can't resolve dependency "dpkg (>= 1.10.21-1229)" for package "dpkg-base-files-0.3-1" (no matching packages/versions found) Exiting with failure. ----- However, issuing the following commands again works: $ fink index -f $ fink selfupdate-rsync ----- Information about 4316 packages read in 1 seconds. The following 3 packages will be installed or updated: dpkg dpkg-base-files gettext-bin The following additional package will be installed: libgettext8-shlibs ----- He continues to download and install the updated packages without an error. Then asks me to update all packages as core packages have changed: "The core packages have been updated. You should now update the other packages using commands like 'fink update-all'." However, no packages are updated, as I have not installed any additional packages yet. Now for installing fftw3: $ fink install fftw3 2>&1 |tee /Users/sradomski/Desktop/fftw3.fink.log2 ----- fink needs help picking an alternative to satisfy a virtual dependency. The candidates: (1) gcc44-shlibs: Shared libraries for gcc4 (2) gcc45-shlibs: Shared libraries for gcc4 Pick one: [1] 1 The following package will be installed or updated: fftw3 The following 29 additional packages will be installed: autoconf cloog cloog-shlibs expat1 expat1-shlibs fftw3-shlibs gcc44 gcc44-compiler gcc44-shlibs gettext-tools gmp gmp-shlibs libgettext8-dev libgmpxx-shlibs libmpc2 libmpc2-shlibs libmpfr1 libmpfr1-shlibs libtool14 libtool14-shlibs m4 ocaml ppl ppl-shlibs tcltk tcltk-dev tcltk-shlibs texi2html texinfo Do you want to continue? [Y/n] ----- Fink downloads the packages and compiles for quite some time, failing with the exact same error message about an hour into the process. The log of installing fftw3 is available at [2], but the error message is the same. [1] http://www.finkproject.org/download/srcdist.php [2] http://atlas.tk.informatik.tu-darmstadt.de/Users/radomski/fftw3.fink.log2 On Nov 3, 2010, at 13:13 , Stefan Radomski wrote: > > On Nov 3, 2010, at 12:48 , Alexander Hansen wrote: > >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA1 >> >> On 11/2/10 8:34 PM, Stefan Radomski wrote: >>> Hi there, >>> >>> On Nov 3, 2010, at 1:22 , Alexander Hansen wrote: >>> >>> On 11/2/10 7:57 PM, Stefan Radomski wrote: >>>>>> Hi there, >>>>>> >>>>>> I am trying to install fftw3, but as part of the dependancies ocaml is >>>>>> required and fails to build: >>>>>> >>>>>> [...] >>>>>> ld: in ocamlbuild/ocamlbuild_pack.o, in section __DATA,__data reloc 56: >>>>>> sectionForAddress(0x48026FD4) address not in any section >>>>>> collect2: ld returned 1 exit status >>>>>> File "caml_startup", line 1, characters 0-1: >>>>>> Error: Error during linking >>>>>> Exit code 2 while executing this command: >>>>>> ../ocamlcompopt.sh -nostdlib unix.cmxa -g -I stdlib -I ../otherlibs/unix >>>>>> ocamlbuild/ocamlbuild_executor.cmx ocamlbuild/ocamlbuild_pack.cmx >>>>>> ocamlbuild/ocamlbuild_unix_plugin.cmx ocamlbuild/ocamlbuild.cmx -o >>>>>> ocamlbuild/ocamlbuild.native >>>>>> make: *** [ocamlbuild.native] Error 2 >>>>>> ### execution of /var/tmp/tmp.1.ARNpjX failed, exit code 2 >>>>>> Removing runtime build-lock... >>>>>> Removing build-lock package... >>>>>> /sw/bin/dpkg-lockwait -r fink-buildlock-ocaml-3.11.1-1 >>>>>> (Reading database ... 63598 files and directories currently installed.) >>>>>> Removing fink-buildlock-ocaml-3.11.1-1 ... >>>>>> Failed: phase compiling: ocaml-3.11.1-1 failed >>>>>> >>>>>> >>>>>> This is a brand new "stable" fink installation. In between I switched to >>>>>> unstable as described in the FAQ [1], but the problem persists. I looked >>>>>> through the tickets for ocaml [2] but could not find anything related. >>>>>> Could someone shed some light on this? >>>>>> >>>>>> Thank you in advance >>>>>> Stefan Radomski >>>>>> >>>>>> [1] http://www.finkproject.org/faq/usage-fink.php#unstable >>>>>> [2] >>>>>> http://trac.macports.org/search?portsummarysearch=on&q=ocaml&page=1&noquickjump=1 >>> >>> I'm not sure why a macports ticket would necessarily have any bearing on >>> a Fink build >>> >>> >>>> Sorry, it's been late - staring on compiler output for the better part of >>>> the day takes its toll it seems :( >>>> Nevertheless, the original issue still stands. >>> >>> And you didn't include your OS version and architecture. >>> >>> >>>> Mac OSX Snow Leopard 10.6.4 with all updates applied on a Intel Core 2 Duo >>>> MacBook. >>> >>>> $ fink -V >>>> Package manager version: 0.29.15 >>>> Distribution version: selfupdate-rsync Wed Nov 3 00:44:10 2010, 10.6, i386 >>> >> >> Please include the compiler command line just before what you've posted. >> I don't reproduce your error on 10.6/i386. >> > > The full logfile is available at: > http://atlas.tk.informatik.tu-darmstadt.de/Users/radomski/fftw3.fink.log > > I chose the first option to build "gcc44-shlibs".The relevant part from the > compilation is as follows: > > [...] > cd lex; make allopt > ../boot/ocamlrun ../ocamlopt -nostdlib -I ../stdlib -c -warn-error A cset.ml > ../boot/ocamlrun ../ocamlopt -nostdlib -I ../stdlib -c -warn-error A syntax.ml > ../boot/ocamlrun ../ocamlopt -nostdlib -I ../stdlib -c -warn-error A parser.ml > ../boot/ocamlrun ../ocamlopt -nostdlib -I ../stdlib -c -warn-error A lexer.ml > ../boot/ocamlrun ../ocamlopt -nostdlib -I ../stdlib -c -warn-error A table.ml > ../boot/ocamlrun ../ocamlopt -nostdlib -I ../stdlib -c -warn-error A lexgen.ml > ../boot/ocamlrun ../ocamlopt -nostdlib -I ../stdlib -c -warn-error A > compact.ml > ../boot/ocamlrun ../ocamlopt -nostdlib -I ../stdlib -c -warn-error A common.ml > ../boot/ocamlrun ../ocamlopt -nostdlib -I ../stdlib -c -warn-error A output.ml > ../boot/ocamlrun ../ocamlopt -nostdlib -I ../stdlib -c -warn-error A > outputbis.ml > ../boot/ocamlrun ../ocamlopt -nostdlib -I ../stdlib -c -warn-error A main.ml > ../boot/ocamlrun ../ocamlopt -nostdlib -I ../stdlib -o ocamllex.opt cset.cmx > syntax.cmx parser.cmx lexer.cmx table.cmx lexgen.cmx compact.cmx common.cmx > output.cmx outputbis.cmx main.cmx > cd tools; make opt.opt > ../boot/ocamlrun ../ocamlopt -nostdlib -I ../stdlib -warn-error A -I ../utils > -I ../parsing -I ../typing -I ../bytecomp -I ../asmcomp -I ../driver -c > depend.ml > ../boot/ocamlrun ../ocamlopt -nostdlib -I ../stdlib -warn-error A -I ../utils > -I ../parsing -I ../typing -I ../bytecomp -I ../asmcomp -I ../driver -c > ocamldep.ml > ../boot/ocamlrun ../ocamlopt -nostdlib -I ../stdlib -I ../utils -I ../parsing > -I ../typing -I ../bytecomp -I ../asmcomp -I ../driver -o ocamldep.opt > misc.cmx config.cmx clflags.cmx terminfo.cmx linenum.cmx warnings.cmx > location.cmx longident.cmx syntaxerr.cmx parser.cmx lexer.cmx parse.cmx \ > depend.cmx ocamldep.cmx > ./build/ocamlbuild-native-only.sh > + ./boot/ocamlrun boot/myocamlbuild native_stdlib_mixed_mode ocamlopt > lex/ocamllex ocamlbuild/ocamlbuildlib.cmxa ocamlbuild/ocamlbuildlightlib.cmxa > ocamlbuild/ocamlbuild.native ocamlbuild/ocamlbuildlight.native > ../ocamlcompopt.sh -nostdlib -c -g -dtypes -w A -warn-error A -w e -I > ../otherlibs/unix -for-pack Ocamlbuild_pack -I ocamlbuild -I stdlib -o > ocamlbuild/ocamlbuild.cmx ocamlbuild/ocamlbuild.ml > ../ocamlcompopt.sh -nostdlib unix.cmxa -g -I stdlib -I ../otherlibs/unix > ocamlbuild/ocamlbuild_executor.cmx ocamlbuild/ocamlbuild_pack.cmx > ocamlbuild/ocamlbuild_unix_plugin.cmx ocamlbuild/ocamlbuild.cmx -o > ocamlbuild/ocamlbuild.native > ld: in ocamlbuild/ocamlbuild_pack.o, in section __DATA,__data reloc 56: > sectionForAddress(0x48026FD4) address not in any section > collect2: ld returned 1 exit status > File "caml_startup", line 1, characters 0-1: > Error: Error during linking > Exit code 2 while executing this command: > ../ocamlcompopt.sh -nostdlib unix.cmxa -g -I stdlib -I ../otherlibs/unix > ocamlbuild/ocamlbuild_executor.cmx ocamlbuild/ocamlbuild_pack.cmx > ocamlbuild/ocamlbuild_unix_plugin.cmx ocamlbuild/ocamlbuild.cmx -o > ocamlbuild/ocamlbuild.native > make: *** [ocamlbuild.native] Error 2 > ### execution of /var/tmp/tmp.1.SRG2Cq failed, exit code 2 > Removing runtime build-lock... > Removing build-lock package... > /sw/bin/dpkg-lockwait -r fink-buildlock-ocaml-3.11.1-1 > (Reading database ... 63598 files and directories currently installed.) > Removing fink-buildlock-ocaml-3.11.1-1 ... > Failed: phase compiling: ocaml-3.11.1-1 failed > > > Thank you for looking into it! > Stefan > >> - -- >> Alexander Hansen >> Fink User Liaison >> -----BEGIN PGP SIGNATURE----- >> Version: GnuPG v1.4.10 (Darwin) >> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ >> >> iEYEARECAAYFAkzRS/IACgkQB8UpO3rKjQ/bqACeIbc/6ZBkkds4KOWDZQhuaHru >> M50AoKQQZU/3ZA2PQ7y9M7HuMGi10EVt >> =OzWf >> -----END PGP SIGNATURE----- > > > ------------------------------------------------------------------------------ > Achieve Improved Network Security with IP and DNS Reputation. > Defend against bad network traffic, including botnets, malware, > phishing sites, and compromised hosts - saving your company time, > money, and embarrassment. Learn More! > http://p.sf.net/sfu/hpdev2dev-nov > _______________________________________________ > Fink-beginners mailing list > [email protected] > http://news.gmane.org/gmane.os.apple.fink.beginners ------------------------------------------------------------------------------ Achieve Improved Network Security with IP and DNS Reputation. Defend against bad network traffic, including botnets, malware, phishing sites, and compromised hosts - saving your company time, money, and embarrassment. Learn More! http://p.sf.net/sfu/hpdev2dev-nov _______________________________________________ Fink-beginners mailing list [email protected] http://news.gmane.org/gmane.os.apple.fink.beginners
