[MacPorts] #35419: gcc48 fails to build on Mountain Lion
MacPorts
noreply at macports.org
Sun Jul 29 21:14:44 PDT 2012
#35419: gcc48 fails to build on Mountain Lion
----------------------------------------+-----------------------------------
Reporter: brandon@… | Owner: mww@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.1.2
Keywords: | Port: gcc48
----------------------------------------+-----------------------------------
Changes (by ryandesign@…):
* owner: macports-tickets@… => mww@…
Old description:
> 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.
New description:
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.
--
Comment:
Please remember to use WikiFormatting.
The log says:
{{{
C compiler cannot create executables
}}}
which [wiki:FAQ#missingxcode 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.
--
Ticket URL: <https://trac.macports.org/ticket/35419#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list