Opened 9 years ago

Closed 8 years ago

#47043 closed defect (invalid)

Error while Building libgcc

Reported by: paula.srs@… Owned by: mww@…
Priority: Normal Milestone:
Component: ports Version: 2.3.3
Keywords: Cc: larryv (Lawrence Velázquez), petrrr
Port: libgcc

Description (last modified by mf2k (Frank Schima))

Error: Processing of port libgcc failed

The main.log file is in attachment which includes this message:

: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 

What can be the problem?

Thank you, Paula

Attachments (2)

main.log (175.0 KB) - added by paula.srs@… 9 years ago.
Main LOG file
main.2.log (6.8 MB) - added by petrrr 9 years ago.
main.log, which should be clean

Change History (7)

Changed 9 years ago by paula.srs@…

Attachment: main.log added

Main LOG file

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

Owner: changed from macports-tickets@… to mww@…
Port: libgcc added

In the future, please use WikiFormatting, fill in the Port field and Cc the port maintainers (port info --maintainers libgcc), if any.

comment:2 Changed 9 years ago by mf2k (Frank Schima)

Description: modified (diff)

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

Cc: larryv@… added

The log you attached is not complete.

:debug:main Skipping completed org.macports.archivefetch (libgcc)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.fetch (libgcc)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.checksum (libgcc)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.extract (libgcc)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.patch (libgcc)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.configure (libgcc)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:build build phase started at Thu Mar  5 14:41:48 WET 2015

Please run the following commands and attach the new main.log if you get another failure.

$ sudo port clean libgcc
$ sudo port install libgcc build.jobs=1

comment:4 Changed 9 years ago by petrrr

We ran into the very same issue:

:info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc5/libgcc/work/build'
:info:build make[1]: *** [stage3-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_gcc5/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_gcc5/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_gcc5/libgcc/work/build" && /usr/bin/make -j2 -w bootstrap 
:info:build Exit code: 2
:error:build org.macports.build for port libgcc returned: command execution failed

I'll attach the main.log.

The system details are here:

# uname -a
Darwin Silvia-Pondrellis-MacBook-Pro-6.local 10.8.0 Darwin Kernel Version 10.8.0: Tue Jun  7 16:33:36 PDT 2011; root:xnu-1504.15.3~1/RELEASE_I386 i386

# xcodebuild -version
Xcode 3.2.6
Component versions: DevToolsCore-1809.0; DevToolsSupport-1806.0
BuildVersion: 10M2518

The problem was resolved by the command sequence proposed in comment:3. Unfortunately I have no main.log for that build.

Changed 9 years ago by petrrr

Attachment: main.2.log added

main.log, which should be clean

comment:5 in reply to:  4 Changed 8 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: petr@… added
Resolution: invalid
Status: newclosed

The reporter never attached a full main.log file, but the incomplete one that's attached shows that OS X 10.9 is being used, and that clang 163.7.1 clang is being used. That version of clang is from Xcode 4.1, which is not compatible with OS X 10.9. Upgrade to the latest version of Xcode and command line tools for 10.9. See XcodeVersionInfo.

Replying to petr@…:

We ran into the very same issue:

Your log does not show the same issue.

Note: See TracTickets for help on using tickets.