[MacPorts] #48334: unison @2.48.3_1 build fails on OS X 10.11 beta with "ld: library not found for -lgcc_s.10.5"

MacPorts noreply at macports.org
Sun Jul 12 15:59:42 PDT 2015


#48334: unison @2.48.3_1 build fails on OS X 10.11 beta with "ld: library not found
for -lgcc_s.10.5"
----------------------+--------------------------------
 Reporter:  kenyon@…  |      Owner:  macports-tickets@…
     Type:  defect    |     Status:  new
 Priority:  Normal    |  Milestone:
Component:  ports     |    Version:  2.3.3
 Keywords:            |       Port:
----------------------+--------------------------------
 Installing port unison @2.48.3_1, the build fails on OS X 10.11 (El
 Capitan) beta (15A215h), using Xcode 7.0 beta 3 (7A152u) and associated
 command line tools. Build also fails with the same error when compiling
 outside of MacPorts, just building the upstream tarball with the MacPorts-
 installed OCaml. So seems like maybe an upstream problem rather than
 MacPorts specific.

 From main.log:

 {{{
 :info:destroot + /usr/bin/clang -Wl,-no_compact_unwind -o 'unison'
 '-Llwt' '-Lubase' '-Lsystem' '-Lfsmonitor' '-Lfsmonitor/linux'
 '-Lfsmonitor/windows' '-Lsystem/generic' '-Llwt/generic'
 '-L/opt/local/lib/ocaml' -mmacosx-version-min=10.5
 '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_unison/unison/work/.tmp/camlstartup829c9e.o'
 '/opt/local/lib/ocaml/std_exit.o' 'linktext.o' 'main.o' 'test.o'
 'uitext.o' 'uicommon.o' 'strings.o' 'transport.o' 'recon.o' 'sortri.o'
 'files.o' 'stasher.o' 'copy.o' 'update.o' 'fpcache.o' 'fswatchold.o'
 'globals.o' 'remote.o' 'xferhint.o' 'transfer.o' 'terminal.o' 'checksum.o'
 'tree.o' 'common.o' 'clroot.o' 'lock.o' 'os.o' 'fileinfo.o' 'props.o'
 'fswatch.o' 'external.o' 'osx.o' 'abort.o' 'fingerprint.o' 'fs.o'
 'fspath.o' 'path.o' 'name.o' 'fileutil.o' 'pred.o' 'case.o' 'uutil.o'
 'lwt/lwt_unix.o' 'lwt/generic/lwt_unix_impl.o' 'lwt/lwt_util.o'
 'lwt/lwt.o' 'lwt/pqueue.o' 'ubase/proplist.o' 'ubase/trace.o'
 'ubase/prefs.o' 'ubase/uarg.o' 'ubase/util.o' 'ubase/safelist.o'
 'ubase/myMap.o' 'ubase/projectInfo.o' 'system.o'
 'system/generic/system_impl.o' 'system/system_generic.o' 'bytearray.o'
 'unicode.o' 'unicode_tables.o' 'ubase/rx.o'
 '/opt/local/lib/ocaml/bigarray.a' '/opt/local/lib/ocaml/str.a'
 '/opt/local/lib/ocaml/unix.a' '/opt/local/lib/ocaml/stdlib.a' '-lbigarray'
 '-lcamlstr' '-lunix' 'osxsupport.o' 'pty.o' 'bytearray_stubs.o'
 '/opt/local/lib/ocaml/libasmrun.a'
 :info:destroot ld: library not found for -lgcc_s.10.5
 :info:destroot clang: error: linker command failed with exit code 1 (use
 -v to see invocation)
 :info:destroot File "caml_startup", line 1:
 :info:destroot Error: Error during linking
 :info:destroot make: *** [unison] Error 2
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/48334>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list