Date: Thu, 1 Jun 2006 07:33:04 +0900 (JST) From: Tsurutani Naoki <turutani@scphys.kyoto-u.ac.jp> To: FreeBSD-gnats-submit@FreeBSD.org Subject: java/98245: failure in buiding jdk15 Message-ID: <200605312233.k4VMX4ui030117@polymer3.scphys.kyoto-u.ac.jp> Resent-Message-ID: <200605312240.k4VMeFu5085722@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200605312233.k4VMX4ui030117>