[MacPorts] #46289: libgcc at 4.9.2_1 build failure

MacPorts noreply at macports.org
Sat Dec 20 08:54:24 PST 2014


#46289: libgcc at 4.9.2_1 build failure
----------------------------+--------------------------------
  Reporter:  summeryingl@…  |      Owner:  macports-tickets@…
      Type:  defect         |     Status:  closed
  Priority:  Normal         |  Milestone:
 Component:  ports          |    Version:  2.3.3
Resolution:  invalid        |   Keywords:
      Port:                 |
----------------------------+--------------------------------
Changes (by larryv@…):

 * status:  new => closed
 * resolution:   => invalid


Old description:

> Hi,
>
> I try to install scipy, which requires installing libgcc. My computer is
> a mac OS X 10.9.5
> I have build failure for libgcc
> macports is the latest version
>
> error message:
> "Error: org.macports.build for port libgcc returned: command execution
> failed
> Please see the log file for port libgcc for details:
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc49/libgcc/main.log
> To report a bug, follow the instructions in the guide:
>     http://guide.macports.org/#project.tickets
> Error: Processing of port libgcc failed"
>

> Besides the error I also get a warning message:"
> The Xcode Command Line Tools don't appear to be installed; most ports
> will likely fail to build."
>
> Thanks
> Ying
>
> Here is the end of the  log file:
> :info:build make[3]: *** [stmp-fixinc] Error 1
>
> :info:build rm gcc.pod
>
> :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/gcc'
>
> :info:build make[2]: *** [all-stage1-gcc] 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
> 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 -j4 -w bootstrap
>
> :info:build Exit code: 2
>
> :error:build org.macports.build for port libgcc returned: command
> execution failed
>
> :debug:build Error code: CHILDSTATUS 65451 2
>
> :debug:build Backtrace: command execution failed
>
>     while executing
>
> "system -nice 0 $fullcmdstring"
>
>     ("eval" body line 1)
>
>  invoked from within
> "eval system $notty $nice \$fullcmdstring"
>     invoked from within
> "command_exec build"
>     (procedure "portbuild::build_main" line 8)
>     invoked from within
> "portbuild::build_main org.macports.build"
>     ("eval" body line 1)
>     invoked from within
> "eval $procedure $targetname"
> :info:build Warning: targets not executed for libgcc:
> org.macports.activate org.macports.build org.macports.destroot
> org.macports.install
> :notice:build Please see the log file for port libgcc for details:
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc49/libgcc/main.log

New description:

 Hi,

 I try to install scipy, which requires installing libgcc. My computer is a
 mac OS X 10.9.5\\
 I have build failure for libgcc\\
 macports is the latest version

 error message:
 {{{
 "Error: org.macports.build for port libgcc returned: command execution
 failed
 Please see the log file for port libgcc for details:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc49/libgcc/main.log
 To report a bug, follow the instructions in the guide:
     http://guide.macports.org/#project.tickets
 Error: Processing of port libgcc failed"
 }}}

 Besides the error I also get a warning message:
 {{{
 The Xcode Command Line Tools don't appear to be installed; most ports will
 likely fail to build.
 }}}

 Thanks\\
 Ying

 Here is the end of the  log file:
 {{{
 :info:build make[3]: *** [stmp-fixinc] Error 1
 :info:build rm gcc.pod
 :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/gcc'
 :info:build make[2]: *** [all-stage1-gcc] 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
 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 -j4 -w bootstrap
 :info:build Exit code: 2
 :error:build org.macports.build for port libgcc returned: command
 execution failed
 :debug:build Error code: CHILDSTATUS 65451 2
 :debug:build Backtrace: command execution failed
     while executing
 "system -nice 0 $fullcmdstring"
     ("eval" body line 1)
  invoked from within
 "eval system $notty $nice \$fullcmdstring"
     invoked from within
 "command_exec build"
     (procedure "portbuild::build_main" line 8)
     invoked from within
 "portbuild::build_main org.macports.build"
     ("eval" body line 1)
     invoked from within
 "eval $procedure $targetname"
 :info:build Warning: targets not executed for libgcc:
 org.macports.activate org.macports.build org.macports.destroot
 org.macports.install
 :notice:build Please see the log file for port libgcc for details:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc49/libgcc/main.log
 }}}

--

Comment:

 That log file snippet doesn’t contain any useful information, but this is
 probably caused by the fact that you don’t have the Command Line Tools
 installed. Please install them and try again.
 {{{
 % xcode-select --install
 % sudo port clean libgcc
 }}}

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


More information about the macports-tickets mailing list