From owner-freebsd-java@FreeBSD.ORG Sun Mar 27 09:10:11 2011 Return-Path: Delivered-To: freebsd-java@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8DDE31065672 for ; Sun, 27 Mar 2011 09:10:11 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 535918FC1B for ; Sun, 27 Mar 2011 09:10:11 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p2R9ABb1069398 for ; Sun, 27 Mar 2011 09:10:11 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p2R9ABq6069397; Sun, 27 Mar 2011 09:10:11 GMT (envelope-from gnats) Resent-Date: Sun, 27 Mar 2011 09:10:11 GMT Resent-Message-Id: <201103270910.p2R9ABq6069397@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-java@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Achilleas Mantzios Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DC436106564A for ; Sun, 27 Mar 2011 09:03:03 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id CE1658FC15 for ; Sun, 27 Mar 2011 09:03:03 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id p2R933e5071458 for ; Sun, 27 Mar 2011 09:03:03 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id p2R9330d071452; Sun, 27 Mar 2011 09:03:03 GMT (envelope-from nobody) Message-Id: <201103270903.p2R9330d071452@red.freebsd.org> Date: Sun, 27 Mar 2011 09:03:03 GMT From: Achilleas Mantzios To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: java/155967: javavm wrapper insists on diablo X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Mar 2011 09:10:11 -0000 >Number: 155967 >Category: java >Synopsis: javavm wrapper insists on diablo >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-java >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Sun Mar 27 09:10:10 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Achilleas Mantzios >Release: 8.2-RELEASE >Organization: home >Environment: FreeBSD panix.internal.net 8.2-RELEASE FreeBSD 8.2-RELEASE #0: Wed Mar 23 13:27:15 EET 2011 doroot@panix.internal.net:/usr/obj/usr/src/sys/GENERIC i386 >Description: Javavm wrapper relies on /usr/ports/Mk/bsd.java.mk to decide on the java vm to use. It seems that /usr/ports/Mk/bsd.java.mk prefers diablo over the openjdk port. >How-To-Repeat: Just try to install openjdk. diablo 1.6 will be installed as a build dependency, openjdk will be installed after, and the system will default to diablo, whereas the user's intention was to use openjdk. >Fix: apply the following patch to /usr/ports/Mk/bsd.java.mk *** bsd.java.mk.orig 2011-03-27 08:33:34.000000000 +0300 --- bsd.java.mk 2011-03-27 08:42:33.000000000 +0300 *************** *** 212,217 **** --- 212,219 ---- # Enforce preferred Java ports according to OS . if (${OSVERSION} >= 600000 && ${OSVERSION} < 800000) _JAVA_PREFERRED_PORTS+= JAVA_PORT_NATIVE_FREEBSD_JDK_1_6 + . else if (${OSVERSION} >= 800000) + _JAVA_PREFERRED_PORTS+= JAVA_PORT_NATIVE_OPENJDK_JDK_1_6 . else _JAVA_PREFERRED_PORTS+= JAVA_PORT_NATIVE_BSDJAVA_JDK_1_6 . endif >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-java@FreeBSD.ORG Mon Mar 28 07:55:03 2011 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8E42F1065675 for ; Mon, 28 Mar 2011 07:55:03 +0000 (UTC) (envelope-from pz-freebsd-java@ziemba.us) Received: from ziemba.us (osmtp.ziemba.us [208.106.105.149]) by mx1.freebsd.org (Postfix) with ESMTP id 438848FC0C for ; Mon, 28 Mar 2011 07:55:02 +0000 (UTC) Received: from hairball.ziemba.us (localhost.ziemba.us [127.0.0.1]) by hairball.ziemba.us (8.14.4/8.14.4) with ESMTP id p2S7MtoV024990 for ; Mon, 28 Mar 2011 00:22:55 -0700 (PDT) (envelope-from pz-freebsd-java@ziemba.us) Received: (from mailnull@localhost) by hairball.ziemba.us (8.14.4/8.14.4/Submit) id p2S7Mt45024989 for freebsd-java@freebsd.org; Mon, 28 Mar 2011 00:22:55 -0700 (PDT) (envelope-from pz-freebsd-java@ziemba.us) X-Authentication-Warning: hairball.ziemba.us: mailnull set sender to pz-freebsd-java@ziemba.us using -f Received: (from news@localhost) by hairball.ziemba.us (8.14.4/8.14.4/Submit) id p2S7MtGT024956 for treehouse-mail-freebsd-java@hairball.treehouse.napa.ca.us; Mon, 28 Mar 2011 00:22:55 -0700 (PDT) (envelope-from news) From: "G. Paul Ziemba" To: freebsd-java@freebsd.org Date: Mon, 28 Mar 2011 07:22:55 +0000 (UTC) Message-id: Errors-to: "G. Paul Ziemba" Subject: jdk-1.6.0 libz linking problem X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: paul+usenet@w6yx.stanford.edu List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Mar 2011 07:55:03 -0000 [Summary: I think my build of java calls system libz, which calls java port's inflate_fast() with incompatible arguments] Hi, I'm having some difficulties with jdk-1.6.0.3p4_20 (although I think I am also seeing the problem in diablo-jdk-1.6.0.07.02_12). I'm not experienced with java so I hope one of the resident experts could comment. (Compared to me, probably anyone here qualifies as an expert!) FreeBSD 8.2-PRERELEASE #1: Sun Jan 23 00:28:46 PST 2011 jdk: jdk-1.6.0.3p4_20 I am running the application "yajhfc" which is provided in a jar file at ftp://ftp.berlios.de/pub/yajhfc/temp/beta/yajhfc-0_5_0rc6.jar. There is ongoing development so the revision number changes often; directory visible at ftp://ftp.berlios.de/pub/yajhfc/temp/beta/ At startup, java segfaulted in inflate_fast(). I rebuilt the jdk with debugging enabled and ran as follows: % (setenv JAVA_HOME /usr/local/jdk1.6.0/debug; java -jar yajhfc-0_5_0rc6.jar) This produced hs_err_pid18257.log and java.core, and I ran gdb as: % gdb /usr/local/jdk1.6.0/debug/bin/java java.core (gdb) where #0 0x2810466b in thr_kill () from /lib/libc.so.7 #1 0x280b3916 in pthread_kill () from /lib/libthr.so.3 #2 0x280b1393 in raise () from /lib/libthr.so.3 #3 0x281a76ca in abort () from /lib/libc.so.7 #4 0x28877ff8 in os::abort (dump_core=679985409) at /v2/ports/java/jdk16/work/hotspot/src/os/bsd/vm/os_bsd.cpp:1596 #5 0x289d0227 in VMError::report_and_die (this=0xbf8fcc14) at /v2/ports/java/jdk16/work/hotspot/src/share/vm/utilities/vmError.cpp:807 #6 0x2887a97c in JVM_handle_bsd_signal (sig=11, info=0xbf8fcfb0, ucVoid=0xbf8fccf0, abort_if_unrecognized=1) at /v2/ports/java/jdk16/work/hotspot/src/os_cpu/bsd_i486/vm/os_bsd_i486.cpp:522 #7 0x288758e2 in signalHandler (sig=11, info=0xbf8fcfb0, uc=0xbf8fccf0) at /v2/ports/java/jdk16/work/hotspot/src/os/bsd/vm/os_bsd.cpp:3335 #8 #9 0x29131f59 in inflate_fast (bl=1544798720, bd=2540, tl=0x17, td=0x5c14c06c, s=0x5c14c058, z=0x5c14c2f0) at ../../../src/share/native/java/util/zip/zlib-1.1.3/inffast.c:53 #10 0x293f115c in inflate () from /lib/libz.so.5 #11 0x293e51f4 in Java_java_util_zip_Inflater_inflateBytes (env=0x29657d04, this=0xbf8fd23c, b=0xbf8fd238, off=0, len=2540) at ../../../src/share/native/java/util/zip/Inflater.c:128 [...] (gdb) f 9 #9 0x29131f59 in inflate_fast (bl=1544798720, bd=2540, tl=0x17, td=0x5c14c06c, s=0x5c14c058, z=0x5c14c2f0) at ../../../src/share/native/java/util/zip/zlib-1.1.3/inffast.c:53 53 ml = inflate_mask[bl]; (gdb) p inflate_mask $1 = {0, 1, 3, 7, 15, 31, 63, 127, 255, 511, 1023, 2047, 4095, 8191, 16383, 32767, 65535} (gdb) f 10 #10 0x293f115c in inflate () from /lib/libz.so.5 (gdb) Things I find notable above: - inflate_fast() first arg bl is very large, especially compared to the size of the array inflate_mask - inflate_fast() is from the port's inffast.c, but is called from the system libz in frame 10. - the system libz (/usr/src/lib/libz/...) inflate_fast() has completely different arguments; the first arg in the system inflate_fast() is a pointer. I am about to go digging into how java is built but I'm at square 0. It seems java ought to pull inflate() and inflate_fast() from the same library, but it's not (why?). Furthermore, maybe it would be better to use the system libz entirely. I'm not sure how to make that happen. Is it a bug in the way the port is built? I have seen sporadic mention of a similar problem elsewhere on the net but I haven't found a solution: http://www.open-java.info/1/6/266181.html http://www.freebsd.org/cgi/query-pr.cgi?pr=119654 (entry of 25 Feb 2009) http://www.freebsd.org/cgi/query-pr.cgi?pr=138728 Suggestions welcome! thanks, ~!paul -- G. Paul Ziemba FreeBSD unix: 12:21AM up 26 days, 57 mins, 24 users, load averages: 0.02, 0.04, 0.07 From owner-freebsd-java@FreeBSD.ORG Mon Mar 28 08:32:09 2011 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 023B21065673 for ; Mon, 28 Mar 2011 08:32:09 +0000 (UTC) (envelope-from prvs=106821ad01=killing@multiplay.co.uk) Received: from mail1.multiplay.co.uk (mail1.multiplay.co.uk [85.236.96.23]) by mx1.freebsd.org (Postfix) with ESMTP id 901908FC13 for ; Mon, 28 Mar 2011 08:32:08 +0000 (UTC) X-MDAV-Processed: mail1.multiplay.co.uk, Mon, 28 Mar 2011 09:21:21 +0100 X-Spam-Processed: mail1.multiplay.co.uk, Mon, 28 Mar 2011 09:21:21 +0100 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on mail1.multiplay.co.uk X-Spam-Level: X-Spam-Status: No, score=-5.0 required=6.0 tests=USER_IN_WHITELIST shortcircuit=ham autolearn=disabled version=3.2.5 Received: from r2d2 ([188.220.16.49]) by mail1.multiplay.co.uk (mail1.multiplay.co.uk [85.236.96.23]) (MDaemon PRO v10.0.4) with ESMTP id md50012691480.msg for ; Mon, 28 Mar 2011 09:21:21 +0100 X-MDRemoteIP: 188.220.16.49 X-Return-Path: prvs=106821ad01=killing@multiplay.co.uk X-Envelope-From: killing@multiplay.co.uk X-MDaemon-Deliver-To: freebsd-java@freebsd.org Message-ID: From: "Steven Hartland" To: , References: Date: Mon, 28 Mar 2011 09:21:44 +0100 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="Windows-1252"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.5931 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5994 Cc: Subject: Re: jdk-1.6.0 libz linking problem X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Mar 2011 08:32:09 -0000 We're seeing problems with libz too here but with us its in longest_match from a deflate:- #0 0x00000008008d30dc in thr_kill () from /lib/libc.so.7 #1 0x000000080096fdcb in abort () from /lib/libc.so.7 #2 0x00000008013fa6f9 in os::abort () from /usr/local/openjdk6/jre/lib/amd64/server/libjvm.so #3 0x000000080154069e in VMError::report_and_die () from /usr/local/openjdk6/jre/lib/amd64/server/libjvm.so #4 0x00000008013fdb8b in JVM_handle_bsd_signal () from /usr/local/openjdk6/jre/lib/amd64/server/libjvm.so #5 #6 0x000000080065a2a6 in longest_match () from /lib/libz.so.5 #7 0x0000000800659714 in deflateParams () from /lib/libz.so.5 #8 0x000000080065870c in deflate () from /lib/libz.so.5 #9 0x0000000802148ec9 in Java_java_util_zip_Deflater_deflateBytes () from /usr/local/openjdk6/jre/lib/amd64/libzip.so /usr/local/openjdk6/bin/java -version openjdk version "1.6.0" OpenJDK Runtime Environment (build 1.6.0-b20) OpenJDK 64-Bit Server VM (build 17.0-b16, mixed mode) FreeBSD 8.2-RELEASE Regards Steve ================================================ This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it. In the event of misdirection, illegible or incomplete transmission please telephone +44 845 868 1337 or return the E.mail to postmaster@multiplay.co.uk. From owner-freebsd-java@FreeBSD.ORG Mon Mar 28 09:58:56 2011 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6B1BA106564A for ; Mon, 28 Mar 2011 09:58:56 +0000 (UTC) (envelope-from achill@matrix.gatewaynet.com) Received: from smadev.internal.net (host3.dynacom.ondsl.gr [62.103.35.211]) by mx1.freebsd.org (Postfix) with ESMTP id B1B538FC18 for ; Mon, 28 Mar 2011 09:58:54 +0000 (UTC) Received: from smadev.internal.net (localhost.internal.net [127.0.0.1]) by smadev.internal.net (8.14.2/8.14.2) with ESMTP id p2S9wqMm016960 for ; Mon, 28 Mar 2011 12:58:52 +0300 (EEST) (envelope-from achill@matrix.gatewaynet.com) Received: from localhost (localhost [[UNIX: localhost]]) by smadev.internal.net (8.14.2/8.14.2/Submit) id p2S9wq6t016959 for freebsd-java@freebsd.org; Mon, 28 Mar 2011 12:58:52 +0300 (EEST) (envelope-from achill@matrix.gatewaynet.com) From: Achilleas Mantzios Organization: Dynacom Tankers Mgmt To: freebsd-java@freebsd.org Date: Mon, 28 Mar 2011 11:58:51 +0200 User-Agent: KMail/1.9.7 References: <201103270903.p2R9330d071452@red.freebsd.org> In-Reply-To: <201103270903.p2R9330d071452@red.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <201103281258.51959.achill@matrix.gatewaynet.com> Subject: Re: java/155967: javavm wrapper insists on diablo X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Mar 2011 09:58:56 -0000 =CE=A3=CF=84=CE=B9=CF=82 Sunday 27 March 2011 12:03:03 =CE=BF/=CE=B7 Achill= eas Mantzios =CE=AD=CE=B3=CF=81=CE=B1=CF=88=CE=B5: >=20 > >Number: 155967 > >Category: java > >Synopsis: javavm wrapper insists on diablo > >Confidential: no > >Severity: serious > >Priority: medium > >Responsible: freebsd-java > >State: open > >Quarter: =20 > >Keywords: =20 > >Date-Required: > >Class: update > >Submitter-Id: current-users > >Arrival-Date: Sun Mar 27 09:10:10 UTC 2011 > >Closed-Date: > >Last-Modified: > >Originator: Achilleas Mantzios > >Release: 8.2-RELEASE > >Organization: > home > >Environment: > FreeBSD panix.internal.net 8.2-RELEASE FreeBSD 8.2-RELEASE #0: Wed Mar 23= 13:27:15 EET 2011 doroot@panix.internal.net:/usr/obj/usr/src/sys/GENER= IC i386 > >Description: > Javavm wrapper relies on /usr/ports/Mk/bsd.java.mk to decide on the java = vm to use. It seems that /usr/ports/Mk/bsd.java.mk prefers diablo over the = openjdk port. > >How-To-Repeat: > Just try to install openjdk. diablo 1.6 will be installed as a build depe= ndency, openjdk will be installed after, and the system will default to dia= blo, whereas the user's intention was to use openjdk. > >Fix: > apply the following patch to /usr/ports/Mk/bsd.java.mk >=20 > *** bsd.java.mk.orig 2011-03-27 08:33:34.000000000 +0300 > --- bsd.java.mk 2011-03-27 08:42:33.000000000 +0300 > *************** > *** 212,217 **** > --- 212,219 ---- > # Enforce preferred Java ports according to OS > . if (${OSVERSION} >=3D 600000 && ${OSVERSION} < 800000) > _JAVA_PREFERRED_PORTS+=3D JAVA_PORT_NATIVE_FREEBSD_JDK_1_6 > + . else if (${OSVERSION} >=3D 800000) Actually that should be "elif" instead of "else if". > + _JAVA_PREFERRED_PORTS+=3D JAVA_PORT_NATIVE_OPENJDK_JDK_1_6 > . else > _JAVA_PREFERRED_PORTS+=3D JAVA_PORT_NATIVE_BSDJAVA_JDK_1_6 > . endif >=20 > >Release-Note: > >Audit-Trail: > >Unformatted: > _______________________________________________ > freebsd-java@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-java > To unsubscribe, send any mail to "freebsd-java-unsubscribe@freebsd.org" >=20 =2D-=20 Achilleas Mantzios From owner-freebsd-java@FreeBSD.ORG Mon Mar 28 10:50:11 2011 Return-Path: Delivered-To: freebsd-java@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E89C4106564A for ; Mon, 28 Mar 2011 10:50:11 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id D62838FC17 for ; Mon, 28 Mar 2011 10:50:11 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p2SAoBZl009041 for ; Mon, 28 Mar 2011 10:50:11 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p2SAoBaw009040; Mon, 28 Mar 2011 10:50:11 GMT (envelope-from gnats) Date: Mon, 28 Mar 2011 10:50:11 GMT Message-Id: <201103281050.p2SAoBaw009040@freefall.freebsd.org> To: freebsd-java@FreeBSD.org From: Eugene Grosbein Cc: Subject: Re: ports/155381: java/openjdk6 does not build with WEB option enabled X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Eugene Grosbein List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Mar 2011 10:50:12 -0000 The following reply was made to PR ports/155381; it has been noted by GNATS. From: Eugene Grosbein To: bug-followup@FreeBSD.ORG Cc: Subject: Re: ports/155381: java/openjdk6 does not build with WEB option enabled Date: Mon, 28 Mar 2011 17:40:19 +0700 Hi! I've just found source of the problem and fixed it. I had libxul-1.9.0.14 installed. With upgrade to libxul-1.9.2.13 or later, problem goes away. I've settled with currently most recent ports version libxul-1.9.2.16. Corresponding patch for ports/java/openjdk6/Makefile follows: --- Makefile.orig 2011-03-28 17:26:06.000000000 +0700 +++ Makefile 2011-03-28 17:38:28.000000000 +0700 @@ -172,7 +172,7 @@ BUILD_DEPENDS+= ${LOCALBASE}/bin/pkg-config:${PORTSDIR}/devel/pkg-config \ ${LOCALBASE}/libdata/pkgconfig/glib-2.0.pc:${PORTSDIR}/devel/glib20 \ ${LOCALBASE}/libdata/pkgconfig/gtk+-2.0.pc:${PORTSDIR}/x11-toolkits/gtk20 \ - ${LOCALBASE}/libdata/pkgconfig/mozilla-plugin.pc:${PORTSDIR}/www/libxul + libxul>=1.9.2.13:${PORTSDIR}/www/libxul ITWEBDIR= ${WRKDIR}/icedtea-web-${ITWEBVERSION} ITWEB_JAVAC= ${WRKSRC}/build/${OPENJDK_OSARCH}/j2sdk-image/bin/javac ITWEB_JAR= ${WRKSRC}/build/${OPENJDK_OSARCH}/j2sdk-image/bin/jar From owner-freebsd-java@FreeBSD.ORG Mon Mar 28 11:06:59 2011 Return-Path: Delivered-To: freebsd-java@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DFCBE1065676 for ; Mon, 28 Mar 2011 11:06:59 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id B1BEF8FC2F for ; Mon, 28 Mar 2011 11:06:59 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p2SB6xZg026689 for ; Mon, 28 Mar 2011 11:06:59 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p2SB6xdd026687 for freebsd-java@FreeBSD.org; Mon, 28 Mar 2011 11:06:59 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 28 Mar 2011 11:06:59 GMT Message-Id: <201103281106.p2SB6xdd026687@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-java@FreeBSD.org Cc: Subject: Current problem reports assigned to freebsd-java@FreeBSD.org X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Mar 2011 11:07:00 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o java/155967 java javavm wrapper insists on diablo o ports/155657 java java/openjdk6: missing symlink for include/freebsd/* o ports/155381 java java/openjdk6 does not build with WEB option enabled o java/155107 java [patch] port java/diablo-jdk16 small cosmetic fix for o ports/154884 java java/openjdk6: Every NetBeans version on FreeBSD 8.1 c o ports/151923 java [patch] java/openjdk6: free and native openjdk bootstr o ports/151042 java [patch] java/openjdk6 Respect CC o ports/150142 java Not installed java/openjdk6 on file system zfs /usr/lo o java/147512 java Crash of RXTX-2.1-7 on AMD64 system o ports/142704 java [PATCH] java/jai-imageio: use $SUB_FILES to dynamicall o java/138729 java java/jdk16: setting 'export AWT_TOOLKIT=MToolkit' caus o java/138728 java java/jdk16: SIGSEGV in java runtime o java/128948 java java/jdk16 built from source can't bind a socket, but o java/128809 java JVM aborted when GNU RXTX write to serial port. o java/123555 java linux-sun-jdk15, linux-sun-jdk16 produce a coredump o java/122513 java native JDKs unbuildable with Linux ones f java/121692 java java/jdk16: Java 1.5 1.5.0.14p8 crashes in RMI TCP Con o ports/120372 java java/linux-sun-jdk16: linux-sun-jre1.6.0 plugin doesn' o java/120146 java java/jdk15: netbeans 6.0 causes java core dump on amd6 o ports/119732 java java/linux-sun-jre16: linux-sun-jre16 plugin doesn't w o java/119063 java An unexpected error has been detected by Java Runtime o java/118956 java eclipse and netbeans break on diablo-jdk15 o java/118496 java Eclipse packages do not work with 6.3-RC1/amd64 o java/116667 java linux-sun-javac1.4 hangs on SMP o ports/116082 java java/linux-sun-jdk16 jconsole is unable to connect to o java/114644 java tomcat goes out of PermSpace, jvm crashes o ports/113751 java java/linux-sun-jdk15: linux-sun-jdk-1.5.0.12,2 - java o ports/113467 java Multiple "missing return value" errors building JDK on f java/112595 java Java appletviewer frequently hangs (kse_release loop) o java/110912 java Java krb5 client leaks UDP connections o java/97461 java Diablo JDK does not report Update level in a format su s java/62837 java linux-sun-jdk14 executables hang with COMPAT_LINUX in 32 problems total. From owner-freebsd-java@FreeBSD.ORG Mon Mar 28 21:04:02 2011 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3D43F106564A for ; Mon, 28 Mar 2011 21:04:02 +0000 (UTC) (envelope-from avg@freebsd.org) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id 7FA998FC12 for ; Mon, 28 Mar 2011 21:04:01 +0000 (UTC) Received: from porto.topspin.kiev.ua (porto-e.starpoint.kiev.ua [212.40.38.100]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id AAA05724 for ; Tue, 29 Mar 2011 00:03:59 +0300 (EEST) (envelope-from avg@freebsd.org) Received: from localhost.topspin.kiev.ua ([127.0.0.1]) by porto.topspin.kiev.ua with esmtp (Exim 4.34 (FreeBSD)) id 1Q4JbS-0003Ml-OF for freebsd-java@freebsd.org; Tue, 29 Mar 2011 00:03:58 +0300 Message-ID: <4D90F7BC.3050107@freebsd.org> Date: Tue, 29 Mar 2011 00:03:56 +0300 From: Andriy Gapon User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.15) Gecko/20110308 Lightning/1.0b2 Thunderbird/3.1.9 MIME-Version: 1.0 To: freebsd-java@freebsd.org X-Enigmail-Version: 1.1.2 Content-Type: text/plain; charset=X-VIET-VPS Content-Transfer-Encoding: 7bit Subject: firefox 4, openjdk6, icedtea - a problem X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Mar 2011 21:04:02 -0000 On one particular site openjdk6+icedtea plugin doesn't work properly with firefox 4 while still working nice with firefox3. The site is of my bank and the applet in question is, unfortunately, at the sensitive place. BTW, I've just noticed that I am getting the following exceptions while running the applet with _firefox3_: Exception in thread "TimerQueue" java.lang.IllegalMonitorStateException at java.util.concurrent.locks.ReentrantLock$Sync.tryRelease(ReentrantLock.java:155) at java.util.concurrent.locks.AbstractQueuedSynchronizer.release(AbstractQueuedSynchronizer.java:1262) at java.util.concurrent.locks.ReentrantLock.unlock(ReentrantLock.java:459) at java.util.concurrent.DelayQueue.take(DelayQueue.java:205) at javax.swing.TimerQueue.run(TimerQueue.java:167) at java.lang.Thread.run(Thread.java:679) Not sure if this could be of any relation. -- Andriy Gapon From owner-freebsd-java@FreeBSD.ORG Mon Mar 28 21:12:19 2011 Return-Path: Delivered-To: freebsd-java@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C25571065689; Mon, 28 Mar 2011 21:12:19 +0000 (UTC) (envelope-from jkim@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 997A38FC26; Mon, 28 Mar 2011 21:12:19 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p2SLCJYU081757; Mon, 28 Mar 2011 21:12:19 GMT (envelope-from jkim@freefall.freebsd.org) Received: (from jkim@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p2SLCJ6e081753; Mon, 28 Mar 2011 21:12:19 GMT (envelope-from jkim) Date: Mon, 28 Mar 2011 21:12:19 GMT Message-Id: <201103282112.p2SLCJ6e081753@freefall.freebsd.org> To: egrosbein@rdtc.ru, jkim@FreeBSD.org, freebsd-java@FreeBSD.org, jkim@FreeBSD.org From: jkim@FreeBSD.org Cc: Subject: Re: ports/155381: java/openjdk6 does not build with WEB option enabled X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Mar 2011 21:12:19 -0000 Synopsis: java/openjdk6 does not build with WEB option enabled State-Changed-From-To: open->feedback State-Changed-By: jkim State-Changed-When: Mon Mar 28 21:09:18 UTC 2011 State-Changed-Why: Although we do not support out-of-sync dependency, I've committed a fix. Please verify. Thanks! Responsible-Changed-From-To: freebsd-java->jkim Responsible-Changed-By: jkim Responsible-Changed-When: Mon Mar 28 21:09:18 UTC 2011 Responsible-Changed-Why: Committed a different fix. http://www.freebsd.org/cgi/query-pr.cgi?pr=155381 From owner-freebsd-java@FreeBSD.ORG Mon Mar 28 21:28:04 2011 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from [127.0.0.1] (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by hub.freebsd.org (Postfix) with ESMTP id 742B31065675; Mon, 28 Mar 2011 21:28:04 +0000 (UTC) (envelope-from jkim@FreeBSD.org) From: Jung-uk Kim To: freebsd-java@freebsd.org Date: Mon, 28 Mar 2011 17:27:47 -0400 User-Agent: KMail/1.6.2 References: <4D90F7BC.3050107@freebsd.org> In-Reply-To: <4D90F7BC.3050107@freebsd.org> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201103281727.50256.jkim@FreeBSD.org> Cc: Andriy Gapon Subject: Re: firefox 4, openjdk6, icedtea - a problem X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Mar 2011 21:28:04 -0000 On Monday 28 March 2011 05:03 pm, Andriy Gapon wrote: > On one particular site openjdk6+icedtea plugin doesn't work > properly with firefox 4 while still working nice with firefox3. > The site is of my bank and the applet in question is, > unfortunately, at the sensitive place. > > BTW, I've just noticed that I am getting the following exceptions > while running the applet with _firefox3_: > > Exception in thread "TimerQueue" > java.lang.IllegalMonitorStateException at > java.util.concurrent.locks.ReentrantLock$Sync.tryRelease(ReentrantL >ock.java:155) at > java.util.concurrent.locks.AbstractQueuedSynchronizer.release(Abstr >actQueuedSynchronizer.java:1262) at > java.util.concurrent.locks.ReentrantLock.unlock(ReentrantLock.java: >459) at java.util.concurrent.DelayQueue.take(DelayQueue.java:205) at > javax.swing.TimerQueue.run(TimerQueue.java:167) at > java.lang.Thread.run(Thread.java:679) > > Not sure if this could be of any relation. Unfortunately, IcedTea-Web plugin is still not perfect although it works for many applets. Also, it is a RedHat project and there is no support for other OSes. If you can reproduce the problem with a Linux distro, please file an upstream PR. Sorry but that's all we can do ATM. Jung-uk Kim From owner-freebsd-java@FreeBSD.ORG Tue Mar 29 05:49:29 2011 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D27A6106564A; Tue, 29 Mar 2011 05:49:29 +0000 (UTC) (envelope-from egrosbein@rdtc.ru) Received: from eg.sd.rdtc.ru (eg.sd.rdtc.ru [62.231.161.221]) by mx1.freebsd.org (Postfix) with ESMTP id 3B4F38FC1E; Tue, 29 Mar 2011 05:49:28 +0000 (UTC) Received: from eg.sd.rdtc.ru (localhost [127.0.0.1]) by eg.sd.rdtc.ru (8.14.4/8.14.4) with ESMTP id p2T5aijB087060; Tue, 29 Mar 2011 12:36:44 +0700 (NOVST) (envelope-from egrosbein@rdtc.ru) Message-ID: <4D916FE7.2030304@rdtc.ru> Date: Tue, 29 Mar 2011 12:36:39 +0700 From: Eugene Grosbein User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; ru-RU; rv:1.9.2.13) Gecko/20110112 Thunderbird/3.1.7 MIME-Version: 1.0 To: jkim@freebsd.org References: <201103282112.p2SLCJ6e081753@freefall.freebsd.org> In-Reply-To: <201103282112.p2SLCJ6e081753@freefall.freebsd.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: bug-followup@freebsd.org, freebsd-java@freebsd.org Subject: Re: ports/155381: java/openjdk6 does not build with WEB option enabled X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Mar 2011 05:49:29 -0000 On 29.03.2011 04:12, jkim@freebsd.org wrote: > Synopsis: java/openjdk6 does not build with WEB option enabled > > State-Changed-From-To: open->feedback > State-Changed-By: jkim > State-Changed-When: Mon Mar 28 21:09:18 UTC 2011 > State-Changed-Why: > Although we do not support out-of-sync dependency, I've committed > a fix. Please verify. Thanks! > > > Responsible-Changed-From-To: freebsd-java->jkim > Responsible-Changed-By: jkim > Responsible-Changed-When: Mon Mar 28 21:09:18 UTC 2011 > Responsible-Changed-Why: > Committed a different fix. > > http://www.freebsd.org/cgi/query-pr.cgi?pr=155381 It builds, thanks. Eugene Grosbein