[MacPorts] #20956: openjdk6: build fails on Snow Leopard with error during "corba-build"

MacPorts noreply at macports.org
Wed Nov 3 09:08:34 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 johnsonlaucn@…):

 Er, why your arch returns x86_64?[[BR]]
 Mine is {{{... 10.4.0 Darwin Kernel Version 10.4.0: Fri Apr 23 18:28:53
 PDT 2010; root:xnu-1504.7.4~1/RELEASE_I386 i386}}}.[[BR]]
 I tried both 32bit and 64bit kernel mode on SL. SL returns i386 for both
 32bit and 64bit machines.[[BR]]
 That's why ARCH will be overrided in
 {{{jdk/make/common/shared/Platform.gmk}}} after patching patch-darwin-arch
 -[[BR]]
 These is no way to tell your about which ARCH it is on SL.

 {{{
   # Build 64 bit on Leopard / Snow Leopard
   ifeq ($(OS_VENDOR),Apple)
     ifeq ($(ARCH), i586)
       ifndef FORCE_32BIT_JDK
         osVersionExpr = echo $(OS_VERSION) | cut -d '.' -f1
         ifneq (,$(findstring $(shell $(osVersionExpr)), 9 10))
           ARCH = amd64
         endif
       endif
     endif
   endif
 }}}

 Can you give more specific to your OS?[[BR]]
 And you may just remove checks for ARCH (above and similar codes in patch-
 hotspot-arch). It should help you solve your problem.

-- 
Ticket URL: <https://trac.macports.org/ticket/20956#comment:41>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list