[MacPorts] #20506: ncursesw fails to build universal on 10.6 x86_64
MacPorts
noreply at macports.org
Sat Aug 1 22:12:00 PDT 2009
#20506: ncursesw fails to build universal on 10.6 x86_64
---------------------------------------+------------------------------------
Reporter: ryanwalklin@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Low | Milestone:
Component: ports | Version:
Keywords: snowleopard | Port: ncursesw
---------------------------------------+------------------------------------
Comment(by ryanwalklin@…):
10A421a, running with x86_64 kernel, SVN as of yesterday with a
selfupdate.
AFAICT, the relevant logic evaluates:
{{{
if {[variant_isset universal]} {
}}}
= true
{{{
if { ${os.arch}=="i386" } {
}}}
= false so the else branch executes
{{{
foreach arch ${universal_archs_to_use} {
if { ${arch}=="i386" || ${arch}=="x86_64" }
{
}}}
evaluates true as i386 is also selected in universal_archs_to_use. Then
{{{
if { ${arch}=="ppc" || ${arch}=="ppc64" }
{
}}}
evaluates false as only i386 and x86_64 are set. Consequently, have_run is
not set, and
{{{
if { ${need_cross}=="yes" && ${have_run}=="no" } {
}}}
evaluates to true, so the build fails with the error as above. I suspect
you are unable to replicate because you're using the i386 kernel? Looks
like the logic may need to be extended to allow for an x86_64 kernel.
Thanks again for your attention.
-Ryan
--
Ticket URL: <http://trac.macports.org/ticket/20506#comment:7>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list