Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Feb 2010 15:15:25 GMT
From:      sng <piokud84@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   java/144063: OpenJDK compilation failure
Message-ID:  <201002181515.o1IFFPor024712@www.freebsd.org>
Resent-Message-ID: <201002181520.o1IFK1rH042815@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         144063
>Category:       java
>Synopsis:       OpenJDK compilation failure
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-java
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Feb 18 15:20:00 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     sng
>Release:        8-STABLE
>Organization:
>Environment:
FreeBSD sng 8.0-STABLE FreeBSD 8.0-STABLE #0: Tue Feb 16 18:26:01 CET 2010     sng@sng:/usr/obj/usr/src/sys/DESKTOP-DEBUG  amd64
>Description:
OpenJDK compilation fails (ports updated 17.02.2010), i get this error:

./../../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.)
gmake[4]: *** [/usr/ports/java/openjdk6/work/build/bsd-amd64/tmp/sun/sun.awt.X11/xawt/obj64/awt_GraphicsEnv.o] Error 1
gmake[4]: *** Waiting for unfinished jobs....
./../../src/solaris/native/sun/awt/awt_InputMethod.c:50:1: warning: "XtWindow" redefined
In file included from ../../../src/solaris/native/sun/awt/awt_p.h:45,
                 from ../../../src/solaris/native/sun/awt/awt_InputMethod.c:43:
/usr/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: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
gmake[4]: Leaving directory `/usr/ports/java/openjdk6/work/jdk/make/sun/xawt'
gmake[3]: *** [library_parallel_compile] Error 2
gmake[3]: Leaving directory `/usr/ports/java/openjdk6/work/jdk/make/sun/xawt'
gmake[2]: *** [all] Error 1
gmake[2]: Leaving directory `/usr/ports/java/openjdk6/work/jdk/make/sun'
gmake[1]: *** [all] Error 1
gmake[1]: Leaving directory `/usr/ports/java/openjdk6/work/jdk/make'
gmake: *** [jdk-build] Error 2
*** Error code 1

Stop in /usr/ports/java/openjdk6.
*** Error code 1

Stop in /usr/ports/java/openjdk6.

AMD64, FreeBSD 8-STABLE

>How-To-Repeat:

>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201002181515.o1IFFPor024712>