Opened 9 years ago

Closed 9 years ago

#46289 closed defect (invalid)

libgcc@4.9.2_1 build failure

Reported by: summeryingl@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.3.3
Keywords: Cc:
Port:

Description (last modified by larryv (Lawrence Velázquez))

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

Change History (1)

comment:1 Changed 9 years ago by larryv (Lawrence Velázquez)

Description: modified (diff)
Resolution: invalid
Status: newclosed

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
Note: See TracTickets for help on using tickets.