[MacPorts] #46121: llvm-3.5 links with libedit but does not declare a dependency on it (was: libgcc -4.9.2_1 libgcc build fails libgcc_s.dylib not found)

MacPorts noreply at macports.org
Thu Dec 4 04:39:50 PST 2014


#46121: llvm-3.5 links with libedit but does not declare a dependency on it
-----------------------+------------------------
  Reporter:  yarrgk@…  |      Owner:  jeremyhu@…
      Type:  defect    |     Status:  new
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:  2.3.3
Resolution:            |   Keywords:
      Port:  llvm-3.5  |
-----------------------+------------------------
Changes (by ryandesign@…):

 * keywords:  libgcc install port =>
 * owner:  macports-tickets@… => jeremyhu@…
 * port:  libgcc => llvm-3.5


Old description:

> I just installed Xcode 6.1.1 on mac OS 10.9.  My command line tools are
> for 6.1.1 and 10.9 and according to the apple dev site, they were updated
> Dec 2.  I then used the OS 10.9 mac ports package to install macports.
>
> I was trying to install py34-scipy and it crashed on the libgcc step.  So
> I tried
> sudo port install libgcc
> and that fails on the build step.  I've attached the log.
>
> {{:info:build collect2: error: ld terminated with signal 5 [Trace/BPT
> trap: 5]
> :info:build dyld: Library not loaded: /opt/local/lib/libedit.0.dylib
> :info:build   Referenced from:
> /opt/local/libexec/llvm-3.5/lib/libLTO.dylib
> :info:build   Reason: image not found
> :info:build make[3]: *** [libgcc_s.dylib] Error 1
> :info:build make[3]: *** Waiting for unfinished jobs....
> :info:build make[3]: Leaving directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc49/libgcc/work/build/x86_64
> -apple-darwin13/libgcc'
> :info:build make[2]: *** [all-stage1-target-libgcc] Error 2
> :info:build make[2]: Leaving directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc49/libgcc/work/build'
> :info:build make[1]: *** [stage1-bubble] Error 2
> :info:build make[1]: Leaving directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc49/libgcc/work/build'
> :info:build make: *** [bootstrap] Error 2
> :info:build make: Leaving directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc49/libgcc/work/build'
> :info:build Command failed:  cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc49/libgcc/work/build"
> && /usr/bin/make -j8 -w bootstrap
> :info:build Exit code: 2
> :error:build org.macports.build for port libgcc returned: command
> execution failed
> :debug:build Error code: CHILDSTATUS 8939 2
> :debug:build Backtrace: command execution failed
>     while executing
> "system -nice 0 $fullcmdstring"
>     ("eval" body line 1)
> }}

New description:

 I just installed Xcode 6.1.1 on mac OS 10.9.  My command line tools are
 for 6.1.1 and 10.9 and according to the apple dev site, they were updated
 Dec 2.  I then used the OS 10.9 mac ports package to install macports.

 I was trying to install py34-scipy and it crashed on the libgcc step.  So
 I tried
 {{{
 sudo port install libgcc
 }}}
 and that fails on the build step.  I've attached the log.

 {{{
 :info:build collect2: error: ld terminated with signal 5 [Trace/BPT trap:
 5]
 :info:build dyld: Library not loaded: /opt/local/lib/libedit.0.dylib
 :info:build   Referenced from:
 /opt/local/libexec/llvm-3.5/lib/libLTO.dylib
 :info:build   Reason: image not found
 :info:build make[3]: *** [libgcc_s.dylib] Error 1
 :info:build make[3]: *** Waiting for unfinished jobs....
 :info:build make[3]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc49/libgcc/work/build/x86_64
 -apple-darwin13/libgcc'
 :info:build make[2]: *** [all-stage1-target-libgcc] Error 2
 :info:build make[2]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc49/libgcc/work/build'
 :info:build make[1]: *** [stage1-bubble] Error 2
 :info:build make[1]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc49/libgcc/work/build'
 :info:build make: *** [bootstrap] Error 2
 :info:build make: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc49/libgcc/work/build'
 :info:build Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc49/libgcc/work/build"
 && /usr/bin/make -j8 -w bootstrap
 :info:build Exit code: 2
 :error:build org.macports.build for port libgcc returned: command
 execution failed
 :debug:build Error code: CHILDSTATUS 8939 2
 :debug:build Backtrace: command execution failed
     while executing
 "system -nice 0 $fullcmdstring"
     ("eval" body line 1)
 }}}

--

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


More information about the macports-tickets mailing list