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

Reply via email to