A different openjdk6 install problem

David Rowe drowe at roden.myzen.co.uk
Sat Aug 15 05:08:55 PDT 2009


I am trying to do a new install of openjdk6 on a MacBookPro (Intel) 
under MacOS X 10.5.8. It keeps crashing out with the following log messages:

<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
bash-3.2# port install -d openjdk6
--->  Fetching openjdk6
--->  Attempting to fetch openjdk-6-src-b16-24_apr_2009.tar.gz from 
http://arn.se.distfiles.macports.org/openjdk6
--->  Verifying checksum(s) for openjdk6
--->  Extracting openjdk6
--->  Applying patches to openjdk6
--->  Configuring openjdk6
--->  Building openjdk6
Error: Target org.macports.build returned: shell command " cd 
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_openjdk6/work/./" 
&& make all ALT_BOOTDIR="/opt/local/share/java/openjdk6_bootstrap" 
ALT_BINARY_PLUGS_PATH="/opt/local/share/java/icedtea6-plugs/jre/lib/rt-closed.jar" 
ANT_HOME="/opt/local/share/java/apache-ant" 
ALT_FREETYPE_HEADERS_PATH="/opt/local/include" 
ALT_FREETYPE_LIB_PATH="/opt/local/lib" 
ALT_CUPS_HEADERS_PATH="/usr/include" ALT_MOTIF_DIR="/opt/local" 
ALT_X11_PATH="/opt/local" ALT_DEVTOOLS_PATH=/usr 
ALT_CACERTS_FILE=/System/Library/Frameworks/JavaVM.framework/Home/lib/security/cacerts 
NO_DOCS=true HOTSPOT_BUILD_JOBS=1 " returned error 2
Command output: In file included from 
../../../src/solaris/native/sun/awt/awt_p.h:45,
                 from 
../../../src/solaris/native/sun/awt/awt_InputMethod.c:43:
/opt/local/include/X11/IntrinsicP.h:207:1: warning: this is the location 
of the previous definition
../../../src/solaris/native/sun/awt/awt_InputMethod.c: In function 
'createStatusWindow':
../../../src/solaris/native/sun/awt/awt_InputMethod.c:687: warning: 
pointer targets in passing argument 6 of 'XGetGeometry' differ in signedness
../../../src/solaris/native/sun/awt/awt_InputMethod.c:687: warning: 
pointer targets in passing argument 7 of 'XGetGeometry' differ in signedness
../../../src/solaris/native/sun/awt/awt_InputMethod.c:687: warning: 
pointer targets in passing argument 8 of 'XGetGeometry' differ in signedness
../../../src/solaris/native/sun/awt/awt_InputMethod.c:687: warning: 
pointer targets in passing argument 9 of 'XGetGeometry' differ in signedness
../../../src/solaris/native/sun/awt/awt_InputMethod.c: In function 
'createXIC':
../../../src/solaris/native/sun/awt/awt_InputMethod.c:1036: warning: 
comparison between pointer and integer
../../../src/solaris/native/sun/awt/awt_InputMethod.c:1216: warning: 
assignment from incompatible pointer type
../../../src/solaris/native/sun/awt/awt_InputMethod.c: In function 
'Java_sun_awt_X11_XInputMethod_openXIMNative':
../../../src/solaris/native/sun/awt/awt_InputMethod.c:1517: warning: 
cast to pointer from integer of different size
../../../src/solaris/native/sun/awt/awt_InputMethod.c:1527: warning: 
passing argument 5 of 'XRegisterIMInstantiateCallback' from incompatible 
pointer type
../../../src/solaris/native/sun/awt/awt_InputMethod.c: In function 
'Java_sun_awt_X11_XInputMethod_createXICNative':
./../../src/solaris/native/sun/awt/awt_InputMethod.c:1562: warning: 
comparison between pointer and integer
../../../src/solaris/native/sun/awt/awt_InputMethod.c: In function 
'Java_sun_awt_X11_XInputMethod_setXICFocusNative':
../../../src/solaris/native/sun/awt/awt_InputMethod.c:1712: warning: 
comparison between pointer and integer
../../../src/solaris/native/sun/awt/awt_GraphicsEnv.c: In function 
'makeDefaultConfig':
../../../src/solaris/native/sun/awt/awt_GraphicsEnv.c:291: warning: 
format '%x' expects type 'unsigned int *', but argument 3 has type 
'VisualID *'
../../../src/solaris/native/sun/awt/awt_GraphicsEnv.c: In function 
'J2DXErrHandler':
../../../src/solaris/native/sun/awt/awt_GraphicsEnv.c:966: error: 
'X_ShmAttach' undeclared (first use in this function)
../../../src/solaris/native/sun/awt/awt_GraphicsEnv.c:966: error: (Each 
undeclared identifier is reported only once
../../../src/solaris/native/sun/awt/awt_GraphicsEnv.c:966: error: for 
each function it appears in.)
make[4]: *** 
[/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_openjdk6/work/build/bsd-i586/tmp/sun/sun.awt.X11/xawt/obj/awt_GraphicsEnv.o] 
Error 1
make[4]: *** Waiting for unfinished jobs....
make[3]: *** [library_parallel_compile] Error 2
make[2]: *** [all] Error 1
make[1]: *** [all] Error 1
make: *** [jdk-build] Error 2

Error: Status 1 encountered during processing.
 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

This doesn't seem to be covered by any exiting bug reports.

Has anyone any clues about the cause and possible cure?

Thanks

David Rowe


More information about the macports-users mailing list