Opened 12 years ago

Closed 8 years ago

#35419 closed defect (fixed)

gcc48 fails to build on Mountain Lion

Reported by: brandon@… Owned by: mww@…
Priority: Normal Milestone:
Component: ports Version: 2.1.2
Keywords: Cc: brandon@…, ove.svensson@…, alexandre.hamez@…
Port: gcc48

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

With a new Mountain Lion install (clean, not upgraded), a clean XCode 4.4 install, and a clean XCode Command Line Tools install, I receive the following error when attempting to install the gcc48 port:

--->  Building gcc48
Error: org.macports.build for port gcc48 returned: command execution failed
Please see the log file for port gcc48 for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc48/gcc48/main.log
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port gcc48 failed

I tried this after using XCode's download preferences to install the CLI tools as well as installing them directly from the download pkg dated 07/27. The error above is the result regardless.

Attachments (4)

gcc48_main.log (324.7 KB) - added by brandon@… 12 years ago.
gcc48_config.log (30.1 KB) - added by brandon@… 12 years ago.
libgomp_config.log (16.4 KB) - added by brandon@… 12 years ago.
main.log (14.7 MB) - added by brandon@… 12 years ago.

Change History (11)

Changed 12 years ago by brandon@…

Attachment: gcc48_main.log added

Changed 12 years ago by brandon@…

Attachment: gcc48_config.log added

Changed 12 years ago by brandon@…

Attachment: libgomp_config.log added

comment:1 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Owner: changed from macports-tickets@… to mww@…

Please remember to use WikiFormatting.

The log says:

C compiler cannot create executables

which usually means you have not installed Xcode or its command line tools properly—or had not at the time that you initially tried to install the port. The log also has several lines which say:

Skipping completed

which tells us this was not a clean build attempt. So please:

sudo port clean gcc48

and then try again, and attach the new main.log if it fails again.

comment:2 Changed 12 years ago by brandon@…

Attached is a new main.log after a clean and a subsequent install. The build still fails, it looks like I hadn't cleaned after it failed the first time.

paradox:~ brandon$ sudo port clean gcc48
Password:
--->  Cleaning gcc48
paradox:~ brandon$ sudo port install gcc48
--->  Computing dependencies for gcc48
--->  Fetching archive for gcc48
--->  Attempting to fetch gcc48-4.8-20120722_0.darwin_12.x86_64.tbz2 from http://packages.macports.org/gcc48
--->  Fetching distfiles for gcc48
--->  Verifying checksum(s) for gcc48
--->  Extracting gcc48
--->  Configuring gcc48
--->  Building gcc48
Error: org.macports.build for port gcc48 returned: command execution failed
Please see the log file for port gcc48 for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc48/gcc48/main.log
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port gcc48 failed

Changed 12 years ago by brandon@…

Attachment: main.log added

comment:3 Changed 12 years ago by brandon@…

Just to note, this bug, whatever it may be, also affects the gcc-4.8-20120805 snapshot.

comment:4 Changed 12 years ago by brandon@…

Cc: brandon@… added

Cc Me!

comment:5 Changed 12 years ago by ove.svensson@…

Cc: ove.svensson@… added

Cc Me!

comment:6 Changed 12 years ago by alexandre.hamez@…

Cc: alexandre.hamez@… added

Cc Me!

comment:7 Changed 8 years ago by mojca (Mojca Miklavec)

Resolution: fixed
Status: newclosed

Judging from the fact that the binary packages for ML exists on http://packages.macports.org/gcc48/ and that there has been no activity for the last 4 years, I guess this issue was resolved at some point.

Note: See TracTickets for help on using tickets.