Opened 8 years ago

Last modified 7 years ago

#52568 closed defect

libgcc build failure — at Version 2

Reported by: michael.f.corcoran@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: Cc:
Port: libgcc

Description (last modified by ryandesign (Ryan Carsten Schmidt))

% uname -a
 Darwin Kernel Version 15.6.0: Mon Aug 29 20:21:34 PDT 2016; root:xnu-3248.60.11~1/RELEASE_X86_64 x86_64

did a port selfupdate then a port upgrade outdated, and libgcc fails with the following

[gs66w-corcoran:~] corcoran% sudo port upgrade outdated
Password:
--->  Computing dependencies for libgcc
--->  Building libgcc
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_svn.macports.org_trunk_dports_lang_gcc6/libgcc/main.log
Error: Unable to upgrade port: 1

the log file shows

... stuff deleted...

:info:build Adding multilib support to Makefile in /opt/local/var/macports/build/_opt_local_var_macports_sources_svn.macports.org_trunk_dports_lang_gcc6/libgcc/work/gcc-6.2.0/libgfortran
:info:build with_multisubdir=i386
:info:build config.status: executing depfiles commands
:info:build config.status: executing libtool commands
:info:build config.status: executing gstdint.h commands
:info:build config.status: executing depfiles commands
:info:build config.status: executing libtool commands
:info:build config.status: executing gstdint.h commands
:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_svn.macports.org_trunk_dports_lang_gcc6/libgcc/work/build'
:info:build make: *** [bootstrap-lean] Error 2
:info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_svn.macports.org_trunk_dports_lang_gcc6/libgcc/work/build'
:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_svn.macports.org_trunk_dports_lang_gcc6/libgcc/work/build" && /usr/bin/make -j8 -w bootstrap-lean
:info:build Exit code: 2
:error:build org.macports.build for port libgcc returned: command execution failed
:debug:build Error code: CHILDSTATUS 21356 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.install org.macports.build org.macports.destroot
:notice:build Please see the log file for port libgcc for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_svn.macports.org_trunk_dports_lang_gcc6/libgcc/main.log

Change History (2)

comment:1 Changed 8 years ago by mf2k (Frank Schima)

Priority: HighNormal

The Priority field is for use by Macports team members only.

comment:2 Changed 8 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: michael.f.corcoran@… removed
Description: modified (diff)
Keywords: libgcc removed
Port: libgcc added

The transcript you provided shows an unclean build attempt. Please clean and try again. If it fails again, attach the complete main.log file.

Please remember to use WikiFormatting when writing in Trac.

When filing a ticket, fill in the Port field; don't put the port name into the Keywords field.

No need to Cc yourself when you are the reporter.

Note: See TracTickets for help on using tickets.