[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"
#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
#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 Resolution: | Keywords: elcapitan Port: unison | -----------------------+-------------------------------- Changes (by ryandesign@…): * keywords: => elcapitan * port: => unison -- Ticket URL: <https://trac.macports.org/ticket/48334#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X
#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 Resolution: | Keywords: elcapitan Port: unison | -----------------------+-------------------------------- Changes (by ryandesign@…): * cc: ryandesign@… (added) Comment: I have seen this before as well, on Yosemite, with Xcode 7 beta. I think it is either a bug in Xcode 7 beta, or else a change that I do not understand. Here's what's in Xcode 6.4: {{{ $ find /Applications/Xcode.app -name 'libgcc_s*' /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/lib/libgcc_s.1.dylib /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/lib/libgcc_s.1.dylib /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/lib/libgcc_s.10.4.dylib /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/lib/libgcc_s.10.5.dylib /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/lib/libgcc_s.1.dylib /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/lib/libgcc_s.10.4.dylib /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/lib/libgcc_s.10.5.dylib }}} Here's what's in Xcode 7 beta 3: {{{ $ find /Applications/Xcode-beta.app -name 'libgcc_s*' /Applications/Xcode- beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/lib/libgcc_s.1.tbd /Applications/Xcode- beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/lib/libgcc_s.1.tbd /Applications/Xcode- beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/lib/libgcc_s.10.4.tbd /Applications/Xcode- beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/lib/libgcc_s.10.5.tbd /Applications/Xcode- beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/lib/libgcc_s.1.tbd /Applications/Xcode- beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/lib/libgcc_s.10.4.tbd /Applications/Xcode- beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/lib/libgcc_s.10.5.tbd }}} Whereas Xcode 6.4 (and earlier) provided dynamic libraries for libgcc_s, Xcode 7 beta only provides text files with a tbd extension, which is not an extension I'm familiar with. I'm also not sure where the request to use `-lgcc_s.10.5` in the unison build is coming from. -- Ticket URL: <https://trac.macports.org/ticket/48334#comment:2> MacPorts <https://www.macports.org/> Ports system for OS X
#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 Resolution: | Keywords: elcapitan Port: unison | -----------------------+-------------------------------- Comment (by kenyon@…): After installing today's Command Line Tools update, unison builds and runs fine under MacPorts. -- Ticket URL: <https://trac.macports.org/ticket/48334#comment:3> MacPorts <https://www.macports.org/> Ports system for OS X
#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: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: invalid | Keywords: elcapitan Port: unison | -----------------------+-------------------------------- Changes (by ryandesign@…): * status: new => closed * resolution: => invalid Comment: Then we'll assume it was a bug in an early Xcode 7 beta, and therefore not a MacPorts bug. -- Ticket URL: <https://trac.macports.org/ticket/48334#comment:4> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts