[MacPorts] #20956: openjdk6: build fails on Snow Leopard with error during "corba-build"
MacPorts
noreply at macports.org
Wed Nov 3 14:09:50 PDT 2010
#20956: openjdk6: build fails on Snow Leopard with error during "corba-build"
------------------------------------+---------------------------------------
Reporter: dmz@… | Owner: landonf@…
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 1.8.0
Keywords: | Port: openjdk6
------------------------------------+---------------------------------------
Comment(by landonf@…):
Regarding FORCE_32BIT_JDK, I believe we should (upstream, in OpenJDK)
support the use of ARCH_DATA_MODEL to override this value. The problem is
that we rely on uname -m to determine whether to build amd64/i586, but
that only returns x86-64 if the kernel is 64-bit itself.
So really, it should be (pseudo-code):
{{{
if ((arch == i586 || arch == x86-64) && ARCH_DATA_MODEL == 64) {
/* build for amd64 */
};
}}}
Additionally, MacPorts itself has an internal notion of what target
architecture to build for (via supported_arches and the ${build_arch}
variable) that we can rely on here.
--
Ticket URL: <https://trac.macports.org/ticket/20956#comment:48>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list