From owner-freebsd-java@FreeBSD.ORG Wed May 31 22:40:24 2006 Return-Path: X-Original-To: freebsd-java@hub.freebsd.org Delivered-To: freebsd-java@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 841DC16BA2A for ; Wed, 31 May 2006 22:40:24 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 18E2A43D72 for ; Wed, 31 May 2006 22:40:16 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k4VMeFHs085724 for ; Wed, 31 May 2006 22:40:15 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k4VMeFu5085722; Wed, 31 May 2006 22:40:15 GMT (envelope-from gnats) Resent-Date: Wed, 31 May 2006 22:40:15 GMT Resent-Message-Id: <200605312240.k4VMeFu5085722@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, Tsurutani Naoki Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3165516C168 for ; Wed, 31 May 2006 22:33:18 +0000 (UTC) (envelope-from turutani@polymer3.scphys.kyoto-u.ac.jp) Received: from polymer3.scphys.kyoto-u.ac.jp (polymer3.scphys.kyoto-u.ac.jp [130.54.55.55]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9A7FF43D76 for ; Wed, 31 May 2006 22:33:17 +0000 (GMT) (envelope-from turutani@polymer3.scphys.kyoto-u.ac.jp) Received: from polymer3.scphys.kyoto-u.ac.jp (localhost [127.0.0.1]) by polymer3.scphys.kyoto-u.ac.jp (8.13.6/8.13.6/20060227-1) with ESMTP id k4VMX4MH030121; Thu, 1 Jun 2006 07:33:04 +0900 (JST) (envelope-from turutani@polymer3.scphys.kyoto-u.ac.jp) Received: (from turutani@localhost) by polymer3.scphys.kyoto-u.ac.jp (8.13.6/8.13.6/Submit) id k4VMX4ui030117; Thu, 1 Jun 2006 07:33:04 +0900 (JST) (envelope-from turutani) Message-Id: <200605312233.k4VMX4ui030117@polymer3.scphys.kyoto-u.ac.jp> Date: Thu, 1 Jun 2006 07:33:04 +0900 (JST) From: Tsurutani Naoki To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: java/98245: failure in buiding jdk15 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Tsurutani Naoki List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 May 2006 22:40:28 -0000 >Number: 98245 >Category: java >Synopsis: failure in buiding jdk15 >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-java >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed May 31 22:40:15 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Tsurutani Naoki >Release: FreeBSD 6.1-STABLE i386 >Organization: >Environment: System: FreeBSD polymer3.scphys.kyoto-u.ac.jp 6.1-STABLE FreeBSD 6.1-STABLE #2: Tue May 30 06:56:45 JST 2006 turutani@polymer3.scphys.kyoto-u.ac.jp:/usr/local/work/usr/obj/usr/src/sys/POLYMER i386 >Description: building java/jdk15 fails. >How-To-Repeat: % cd /usr/ports/java/jdk15 % make WITH_MOZILLA=firefox WITH_GECKO="firefox thunderbird" ... /usr/bin/g++ -fPIC -DCC_NOEX -W -Wall -Wno-unused -Wno-parentheses -I/usr/local/work/usr/ports/java/jdk15/work/control/build/bsd-i586/include -I/usr/local/work/usr/ports/java/jdk15/work/control/build/bsd-i586/include/freebsd -I/usr/local/work/usr/ports/java/jdk15/work/control/build/bsd-i586/tmp/deploy/plugin -I../../../../src/plugin/solaris/common -I../../../../src/plugin/share/adapter/ns7 -I../../../../src/plugin/share/adapter/common -I../../../../src/plugin/share/adapter/include -I../../../../src/plugin/solaris/nscore -I../../../../src/plugin/share/jpiapi -I/usr/X11R6/include/firefox -I/usr/X11R6/include/firefox/caps -I/usr/X11R6/include/firefox/liveconnect -I/usr/X11R6/include/firefox/nspr -I/usr/X11R6/include/firefox/oji -I/usr/X11R6/include/firefox/plugin -I/usr/X11R6/include/firefox/xpcom -I/usr/local/include/nspr -I/usr/X11R6/include -I/usr/local/include -I../../../../../j2se/make/../src/solaris/javavm/export -I../../../../../j2se/make/../src/share/javavm/export -! I../../../../../j2se/make/../src/share/javavm/include -I../../../../../j2se/make/../src/solaris/javavm/include -D_GNU_SOURCE -DXP_UNIX -D_ALLBSD_SOURCE -DPLUGIN_NODOTVERSION=\"150\" -DPLUGIN_VERSION=\"1.5.0\" -DVERSION=\"1.5.0-p3-turutani_01_jun_2006_01_42\" -DRELEASE=\"1.5.0-p3\" -DARCH=\"i586\" -DLIBARCH=\"i386\" -c -o /usr/local/work/usr/ports/java/jdk15/work/control/build/bsd-i586/tmp/deploy/plugin/adapter/ns7/obj/CNSAdapter_JVMManager.o ../../../../src/plugin/share/adapter/common/CNSAdapter_JVMManager.cpp In file included from ../../../../src/plugin/share/adapter/common/CNSAdapter_JVMManager.cpp:17: ../../../../src/plugin/share/adapter/ns7/StdAfx.h:61:1: warning: "NS_ASSERTION" redefined In file included from ../../../../src/plugin/share/adapter/ns7/StdAfx.h:59, from ../../../../src/plugin/share/adapter/common/CNSAdapter_JVMManager.cpp:17: /usr/X11R6/include/firefox/nsDebug.h:208:1: warning: this is the location of the previous definition In file included from ../../../../src/plugin/share/adapter/common/CNSAdapter_JVMManager.cpp:17: ../../../../src/plugin/share/adapter/ns7/StdAfx.h:62:1: warning: "NS_PRECONDITION" redefined In file included from ../../../../src/plugin/share/adapter/ns7/StdAfx.h:59, from ../../../../src/plugin/share/adapter/common/CNSAdapter_JVMManager.cpp:17: /usr/X11R6/include/firefox/nsDebug.h:207:1: warning: this is the location of the previous definition ../../../../src/plugin/share/adapter/common/CNSAdapter_JVMManager.cpp: In member function `virtual JDresult CNSAdapter_JVMManager::GetCurrentThread(JDUint32*)': ../../../../src/plugin/share/adapter/common/CNSAdapter_JVMManager.cpp:142: error: `nsPluginThread' undeclared (first use this function) ../../../../src/plugin/share/adapter/common/CNSAdapter_JVMManager.cpp:142: error: (Each undeclared identifier is reported only once for each function it appears in.) ../../../../src/plugin/share/adapter/common/CNSAdapter_JVMManager.cpp:142: error: `pPluginThread' undeclared (first use this function) ../../../../src/plugin/share/adapter/common/CNSAdapter_JVMManager.cpp: In member function `virtual JDresult CNSAdapter_JVMManager::PostEvent(JDUint32, IRunnable*, JDBool)': ../../../../src/plugin/share/adapter/common/CNSAdapter_JVMManager.cpp:172: error: invalid conversion from `JDUint32' to `PRThread*' ../../../../src/plugin/share/adapter/common/CNSAdapter_JVMManager.cpp:172: error: initializing argument 1 of `virtual nsresult nsIThreadManager::PostEvent(PRThread*, nsIRunnable*, PRBool)' gmake[5]: *** [/usr/local/work/usr/ports/java/jdk15/work/control/build/bsd-i586/tmp/deploy/plugin/adapter/ns7/obj/CNSAdapter_JVMManager.o] Error 1 gmake[5]: Leaving directory `/usr/local/work/usr/ports/java/jdk15/work/deploy/make/plugin/adapter/ns7-adapter' gmake[4]: *** [optimized] Error 2 gmake[4]: Leaving directory `/usr/local/work/usr/ports/java/jdk15/work/deploy/make/plugin/adapter/ns7-adapter' gmake[3]: *** [ns7-adapter] Error 2 gmake[3]: Leaving directory `/usr/local/work/usr/ports/java/jdk15/work/deploy/make/plugin/adapter' gmake[2]: *** [adapter] Error 2 gmake[2]: Leaving directory `/usr/local/work/usr/ports/java/jdk15/work/deploy/make/plugin' gmake[1]: *** [plugin-all] Error 2 gmake[1]: Leaving directory `/usr/local/work/usr/ports/java/jdk15/work/deploy/make' gmake: *** [deploy-build] Error 2 *** Error code 2 Stop in /usr/ports/java/jdk15. % >Fix: I don't know. As I google-ed, same trouble is reported in some ML, but there was no solution. >Release-Note: >Audit-Trail: >Unformatted: