[MacPorts] #21743: ocaml-3.11.1 native code compiler fails.

chengsoon.ong chengsoon.ong at inf.ethz.ch
Fri Oct 9 01:29:08 PDT 2009



MacPorts wrote:
> 
> #21743: ocaml-3.11.1 native code compiler fails.
> ----------------------------------------+-----------------------------------
>   Reporter:  kiyoshi.coquser@…          |       Owner:  avsm@…           
>       Type:  enhancement                |      Status:  closed           
>   Priority:  Normal                     |   Milestone:                   
>  Component:  ports                      |     Version:  1.8.1            
> Resolution:  fixed                      |    Keywords:                   
>       Port:  ocaml                      |  
> ----------------------------------------+-----------------------------------
> 
> Comment(by kiyoshi.coquser@…):
> 
>  Replying to [comment:4 avsm@…]:
> 
>  I confirm that unison +aqua port (with 64bit support patches) now be
>  compiled on X86_64 environment.
> 
>  It also passed my private test cases which I built to clarify the
> problem.
> 
>  And, patch for ld.conf is nice.
> 
>  Thanks a lot avsm.
> 
> -- 
> 

Hi all,

I still am unable to build unison +aqua with the latest macports version.
I'm using macports 1.8.1 on snow leopard. Perhaps I'm doing some newbie
error?

$ sudo port install unison +aqua
Password:
--->  Computing dependencies for unison
--->  Staging ocaml into destroot
--->  Installing ocaml @3.11.1_2
--->  Activating ocaml @3.11.1_2
--->  Cleaning ocaml
--->  Fetching unison
--->  Verifying checksum(s) for unison
--->  Extracting unison
--->  Applying patches to unison
--->  Configuring unison
--->  Building unison
Error: Target org.macports.build returned: shell command " cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_unison/work/unison-2.27.57"
&& /usr/bin/make -j2 all NATIVE=true THREADS=true UISTYLE=macnew " returned
error 2
Command output: ocamlopt: uutil.mli ---> uutil.cmi
ocamlopt -I lwt -I ubase -thread  -c
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_unison/work/unison-2.27.57/uutil.mli
ocamlopt: fileutil.mli ---> fileutil.cmi
ocamlopt -I lwt -I ubase -thread  -c
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_unison/work/unison-2.27.57/fileutil.mli
ocamlopt: name.mli ---> name.cmi
ocamlopt -I lwt -I ubase -thread  -c
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_unison/work/unison-2.27.57/name.mli
ocamlopt: lock.mli ---> lock.cmi
ocamlopt -I lwt -I ubase -thread  -c
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_unison/work/unison-2.27.57/lock.mli
ocamlopt: clroot.mli ---> clroot.cmi
ocamlopt -I lwt -I ubase -thread  -c
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_unison/work/unison-2.27.57/clroot.mli
ocamlopt: tree.mli ---> tree.cmi
ocamlopt -I lwt -I ubase -thread  -c
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_unison/work/unison-2.27.57/tree.mli
ocamlopt: checksum.mli ---> checksum.cmi
ocamlopt -I lwt -I ubase -thread  -c
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_unison/work/unison-2.27.57/checksum.mli
ocamlopt: terminal.mli ---> terminal.cmi
ocamlopt -I lwt -I ubase -thread  -c
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_unison/work/unison-2.27.57/terminal.mli
ocamlopt: transfer.mli ---> transfer.cmi
ocamlopt -I lwt -I ubase -thread  -c
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_unison/work/unison-2.27.57/transfer.mli
ocamlopt: strings.mli ---> strings.cmi
ocamlopt -I lwt -I ubase -thread  -c
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_unison/work/unison-2.27.57/strings.mli
ocamlopt: test.mli ---> test.cmi
ocamlopt -I lwt -I ubase -thread  -c
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_unison/work/unison-2.27.57/test.mli
ocamlopt: uimacbridgenew.ml ---> uimacbridgenew.cmx
ocamlopt -I lwt -I ubase -thread  -c
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_unison/work/unison-2.27.57/uimacbridgenew.ml
ocamlopt: osxsupport.c ---> osxsupport.o
ocamlopt -I lwt -I ubase -thread  -c
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_unison/work/unison-2.27.57/osxsupport.c
File
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_unison/work/unison-2.27.57/uimacbridgenew.ml",
line 3, characters 0-11:
Error: Unbound module Common
make: *** [uimacbridgenew.cmx] Error 2 

-- 
View this message in context: http://www.nabble.com/-MacPorts---21743%3A-ocaml-3.11.1-native-code-compiler-fails.-tp25697590p25817398.html
Sent from the MacPorts - Tickets mailing list archive at Nabble.com.



More information about the macports-tickets mailing list