[MacPorts] #27891: openjdk6: Cannot install openjdk6 for the arch(s) 'powerpc' (was: Unable to install OpenJDK6 on PowerPC)
MacPorts
noreply at macports.org
Fri Jan 7 04:54:43 PST 2011
#27891: openjdk6: Cannot install openjdk6 for the arch(s) 'powerpc'
------------------------------------+---------------------------------------
Reporter: zoltan.orosz@… | Owner: landonf@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.9.2
Keywords: powerpc | Port: openjdk6
------------------------------------+---------------------------------------
Changes (by ryandesign@…):
* keywords: openjdk, powerpc => powerpc
* owner: macports-tickets@… => landonf@…
Comment:
I've now actually sat down at a Power Mac running Leopard, and I see
you're correct: I see the same problem.
This problem was previously [http://lists.macosforge.org/pipermail
/macports-dev/2010-December/013397.html brought up on the mailing list],
where fixing the build_arch in macports.conf was suggested (and there was
no follow-up to indicate that didn't work), however that appears not to be
the whole story.
The problem relates to the line in the portfile that reads
"supported_archs i386 x86_64", which means the port is not expected to
work on PowerPC systems. I'm not sure if that line is accurate, though,
since further down in the portfile there is special-case code for the ppc
architecture. Possibly the port will work on ppc, if this line is removed
from the portfile (or changed to include the ppc architecture in the
list).
Certainly, it is bizarre that, in the presence of that line, MacPorts
doesn't produce a sensible error message to the effect that the port
cannot be used on this architecture, but instead tries to build for an
architecture that is not a valid architecture at all. That is a bug in
MacPorts base that needs to be investigated.
--
Ticket URL: <https://trac.macports.org/ticket/27891#comment:3>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list