Opened 8 years ago

Closed 7 years ago

#52568 closed defect (worksforme)

libgcc build failure

Reported by: michael.f.corcoran@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: Cc: smithsp (Sterling Smith)
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

Attachments (1)

libgcc_main.log (4.2 MB) - added by smithsp (Sterling Smith) 8 years ago.
main.log (last 40k lines to not exceed size limit)

Change History (8)

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.

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

Can you attach the main.log file, please, as requested above? Without it, we cannot investigate why this failed for you.

comment:4 Changed 8 years ago by smithsp (Sterling Smith)

I am going to attach my own main.log, since I am also getting a build error for bootstrap-lean.

Changed 8 years ago by smithsp (Sterling Smith)

Attachment: libgcc_main.log added

main.log (last 40k lines to not exceed size limit)

comment:5 Changed 8 years ago by smithsp (Sterling Smith)

Cc: smithsp added

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

I don't deal with incomplete logs. Please attach the entire main.log. Compress it first (xz, bz2, gz, zip, etc.) so it doesn't exceed the size limit.

comment:7 Changed 7 years ago by mf2k (Frank Schima)

Resolution: worksforme
Status: newclosed

No response from reporter. Builds on the buildbot.

Note: See TracTickets for help on using tickets.