jdk15 Build Error

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

jdk15 Build Error

Beecher Rintoul-2
Make WITH_MOZILLA=firefox
The latest port of jdk15 errors with the following:

gmake[5]: Entering directory
`/usr/ports/java/jdk15/work/deploy/make/plugin/adapter/ns7-adapter'
/usr/bin/g++  -fPIC -DCC_NOEX -W -Wall  -Wno-unused -Wno-parentheses  
-I/usr/ports/java/jdk15/work/control/build/bsd-i586/include
-I/usr/ports/java/jdk15/work/control/build/bsd-i586/include/freebsd
-I/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-p2-root_08_dec_2005_10_13\"
-DRELEASE=\"1.5.0-p2\" -DARCH=\"i586\" -DLIBARCH=\"i386\"   -c
-o /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/ports/java/jdk15/work/control/build/bsd-i586/tmp/deploy/plugin/adapter/ns7/obj/CNSAdapter_JVMManager.o]
Error 1
gmake[5]: Leaving directory
`/usr/ports/java/jdk15/work/deploy/make/plugin/adapter/ns7-adapter'
gmake[4]: *** [optimized] Error 2
gmake[4]: Leaving directory
`/usr/ports/java/jdk15/work/deploy/make/plugin/adapter/ns7-adapter'
gmake[3]: *** [ns7-adapter] Error 2
gmake[3]: Leaving directory
`/usr/ports/java/jdk15/work/deploy/make/plugin/adapter'
gmake[2]: *** [adapter] Error 2
gmake[2]: Leaving directory `/usr/ports/java/jdk15/work/deploy/make/plugin'
gmake[1]: *** [plugin-all] Error 2
gmake[1]: Leaving directory `/usr/ports/java/jdk15/work/deploy/make'
gmake: *** [deploy-build] Error 2
*** Error code 2

The previous port built and installed with no problem.

System: FreeBSD stargate.akparadise.com 7.0-CURRENT FreeBSD 7.0-CURRENT #29:
Tue Dec  6 23:04:21

Please cc me as I'm not on this list.

Thanks,

Beech
--

---------------------------------------------------------------------------------------
Beech Rintoul - System Administrator - [hidden email]
/"\   ASCII Ribbon Campaign  | NorthWind Communications
\ / - NO HTML/RTF in e-mail  | 201 East 9th Avenue Ste.310
 X  - NO Word docs in e-mail | Anchorage, AK 99501
/ \  - Please visit Alaska Paradise - http://akparadise.byethost33.com
---------------------------------------------------------------------------------------












attachment0 (194 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: jdk15 Build Error

Beecher Rintoul-2
On Thursday 08 December 2005 08:54 pm, Beecher Rintoul wrote:

> Make WITH_MOZILLA=firefox
> The latest port of jdk15 errors with the following:
>
> gmake[5]: Entering directory
> `/usr/ports/java/jdk15/work/deploy/make/plugin/adapter/ns7-adapter'
> /usr/bin/g++  -fPIC -DCC_NOEX -W -Wall  -Wno-unused -Wno-parentheses
> -I/usr/ports/java/jdk15/work/control/build/bsd-i586/include
> -I/usr/ports/java/jdk15/work/control/build/bsd-i586/include/freebsd
> -I/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-p2-root_08_dec_2005_10_13\"
> -DRELEASE=\"1.5.0-p2\" -DARCH=\"i586\" -DLIBARCH=\"i386\"   -c
> -o
> /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/ports/java/jdk15/work/control/build/bsd-i586/tmp/deploy/plugin/adapte
>r/ns7/obj/CNSAdapter_JVMManager.o] Error 1
> gmake[5]: Leaving directory
> `/usr/ports/java/jdk15/work/deploy/make/plugin/adapter/ns7-adapter'
> gmake[4]: *** [optimized] Error 2
> gmake[4]: Leaving directory
> `/usr/ports/java/jdk15/work/deploy/make/plugin/adapter/ns7-adapter'
> gmake[3]: *** [ns7-adapter] Error 2
> gmake[3]: Leaving directory
> `/usr/ports/java/jdk15/work/deploy/make/plugin/adapter'
> gmake[2]: *** [adapter] Error 2
> gmake[2]: Leaving directory `/usr/ports/java/jdk15/work/deploy/make/plugin'
> gmake[1]: *** [plugin-all] Error 2
> gmake[1]: Leaving directory `/usr/ports/java/jdk15/work/deploy/make'
> gmake: *** [deploy-build] Error 2
> *** Error code 2
>
> The previous port built and installed with no problem.
>
> System: FreeBSD stargate.akparadise.com 7.0-CURRENT FreeBSD 7.0-CURRENT
> #29: Tue Dec  6 23:04:21
>
> Please cc me as I'm not on this list.
>
> Thanks,
>
> Beech
I just tried the same upgrade on one of my work machines and it failed in the
exact same spot.

pinnicle# uname -a
FreeBSD pinnicle 6.0-STABLE FreeBSD 6.0-STABLE #8: Wed Nov 23 03:57:42 AKST
2005     root@pinnicle:/usr/obj/usr/src/sys/PINNICLE  i386
 
Beech
--

---------------------------------------------------------------------------------------
Beech Rintoul - System Administrator - [hidden email]
/"\   ASCII Ribbon Campaign  | NorthWind Communications
\ / - NO HTML/RTF in e-mail  | 201 East 9th Avenue Ste.310
 X  - NO Word docs in e-mail | Anchorage, AK 99501
/ \  - Please visit Alaska Paradise - http://akparadise.byethost33.com
---------------------------------------------------------------------------------------












attachment0 (194 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: jdk15 Build Error

Greg Lewis-2
In reply to this post by Beecher Rintoul-2
On Thu, Dec 08, 2005 at 08:54:32PM -0900, Beecher Rintoul wrote:
> Make WITH_MOZILLA=firefox
> The latest port of jdk15 errors with the following:

This is a known problem due to the upgrade of Firefox to 1.5.  Build
with WITHOUT_WEB set or wait until there is a fix.

--
Greg Lewis                          Email   : [hidden email]
Eyes Beyond                         Web     : http://www.eyesbeyond.com
Information Technology              FreeBSD : [hidden email]
_______________________________________________
[hidden email] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-java
To unsubscribe, send any mail to "[hidden email]"