Opened 12 years ago

Last modified 8 years ago

#35419 closed defect

gcc48 fails to build on Mountain Lion — at Version 1

Reported by: brandon@… Owned by: mww@…
Priority: Normal Milestone:
Component: ports Version: 2.1.2
Keywords: Cc:
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.

Change History (4)

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.

Note: See TracTickets for help on using tickets.