[MacPorts] #28188: ocaml @3.12.0 linker error - build failed
MacPorts
noreply at macports.org
Fri Jan 28 02:17:12 PST 2011
#28188: ocaml @3.12.0 linker error - build failed
--------------------------------------------+-------------------------------
Reporter: macportstrac@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.9.2
Keywords: ocaml build failed link | Port: ocaml
--------------------------------------------+-------------------------------
I use a 32bit intel platform with os-x 10.6.6, installed port and wanted
to install unison. The install of ocaml failed with the error message:
:info:build ../ocamlcompopt.sh -nostdlib -a -I stdlib
ocamlbuild/ocamlbuild_pack.cmx ocamlbuild/ocamlbuild_plugin.cmx
ocamlbuild/ocamlbuild_executor.cmx ocamlbuild/ocamlbuild_unix_plugin.cmx
-o ocamlbuild/ocamlbuildlib.cmxa
:info:build ../ocamlcompopt.sh -nostdlib -a -I stdlib
ocamlbuild/ocamlbuild_pack.cmx ocamlbuild/ocamlbuild_plugin.cmx -o
ocamlbuild/ocamlbuildlightlib.cmxa
:info:build ../ocamlcompopt.sh -nostdlib -c -g -annot -warn-error A -w L
-w R -w Z -I ../otherlibs/unix -for-pack Ocamlbuild_pack -I ocamlbuild -I
stdlib -o ocamlbuild/ocamlbuild.cmx ocamlbuild/ocamlbuild.ml
:info:build ../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
:info:build ld: in ocamlbuild/ocamlbuild_pack.o, in section __DATA,__data
reloc 1: sectionForAddress(0x4028448) address not in any section for
architecture i386
:info:build collect2: ld returned 1 exit status
:info:build File "caml_startup", line 1, characters 0-1:
:info:build Error: Error during linking
:info:build Exit code 2 while executing this command:
:info:build ../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
:info:build make[1]: *** [ocamlbuild.native] Error 2
:info:build make: *** [world.opt] Error 2
:info:build shell command " cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_ocaml/work/ocaml-3.12.0"
&& unset LD_PREBIND LD_PREBIND_ALLOW_OVERLAP && /usr/bin/make world.opt "
returned error 2
:error:build Target org.macports.build returned: shell command failed (see
log for details)
:debug:build Backtrace: shell command failed (see log for details)
while executing
"command_exec build"
(procedure "portbuild::build_main" line 8)
invoked from within
"$procedure $targetname"
:info:build Warning: the following items did not execute (for ocaml):
org.macports.activate org.macports.build org.macports.destroot
org.macports.install
:notice:build Log for ocaml is at:
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_ocaml/main.log
--
Ticket URL: <https://trac.macports.org/ticket/28188>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list