Opened 15 years ago

Last modified 7 years ago

#19975 closed defect

Ocaml 3.11.0 breaks Unison "ssh://" — at Initial Version

Reported by: denis.laplante@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.7.1
Keywords: Cc:
Port: ocaml unison

Description

The major symptom was message 'Some error in create_session child' when trying to synchronize over ssh. The fix is to revert to ocaml version 3.10.2

From: Jerome Vouillon <Jerome.Vouillon@..> Date: June 13, 2009 12:47:20 AM PDT (CA) To: Denis Laplante <denis.laplante@..> Subject: Re: 'Some error in create_session child'

DL> Bonjour DL> DL> I get this message every time my MacPorts install of unison DL> @2.27.57_0+aqua DL> tries to start ssh. In fact "ls -lu /usr/bin/ssh" shows that ssh never DL> gets loaded. DL> DL> Dtruss ( sudo /usr/bin/dtruss -f Unison -debug verbose mac-via-ssh ) DL> shows that execve() after fork() fails with error 45 ( ENOSUP Not DL> supported).

JV> This is a bug in OCaml 3.11.0. You should recompile Unison either JV> with OCaml 3.11.1 or an older version of OCaml. JV> JV> Thanks for this detailed report!

With ocaml 3.11.1 the following error occurs at compile time: [ abbreviation: {} for "local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_unison/work/unison-2.27.57" ]

/Developer/usr/bin/gcc-4.0 -arch i386 -L/opt/{}/uimacnew/build/Default -F/opt/{}/uimacnew/build/Default -F/opt/{}/uimacnew -filelist /opt/{}/uimacnew/build/uimac.build/Default/uimac.build/Objects-normal/i386/Unison.LinkFileList -mmacosx-version-min=10.5 /opt/{}/uimacnew/../unison-blob.o -L/opt/local/lib/ocaml -lunix -lthreadsnat -lstr -lasmrun -framework Cocoa -framework Security -framework Growl -framework ExceptionHandling -o /opt/{}/uimacnew/build/Default/Unison.app/Contents/MacOS/Unison

Undefined symbols:

"_caml_apply2", referenced from:

_caml_callback2_exn in libasmrun.a(i386.o)

"_caml_apply3", referenced from:

_caml_callback3_exn in libasmrun.a(i386.o)

ld: symbol(s) not found collect2: ld returned 1 exit status

Change History (0)

Note: See TracTickets for help on using tickets.