[MacPorts] #31603: apple-gcc42 fails to install: i686-apple-darwin11-gcc: command not found
MacPorts
noreply at macports.org
Sat Oct 15 00:30:40 PDT 2011
#31603: apple-gcc42 fails to install: i686-apple-darwin11-gcc: command not found
----------------------------------+-----------------------------------------
Reporter: jsduncan2@… | Owner: jeremyhu@…
Type: defect | Status: closed
Priority: Normal | Milestone:
Component: ports | Version: 2.0.3
Resolution: fixed | Keywords:
Port: apple-gcc42 |
----------------------------------+-----------------------------------------
Changes (by ryandesign@…):
* status: new => closed
* cc: ryandesign@… (added)
* resolution: => fixed
Comment:
The problem was this block in the portfile:
{{{
if {[variant_isset universal]} {
build.args-append \
RC_ARCHS="${universal_archs}"
} else {
build.args-append \
RC_ARCHS="${build_arch}"
}
}}}
The code in the `if` section above will execute if the user requests the
universal variant (on the command line or in variants.conf) ''even if the
port doesn't declare a universal variant''. And the log you attached shows
you requested the universal variant, and I'm able to reproduce the problem
when I request the universal variant.
I properly disabled the universal variant in r85607.
--
Ticket URL: <https://trac.macports.org/ticket/31603#comment:2>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list