seeking advice on building jdk15
Hi gang. I'm running FreeBSD 5.4-STABLE and want to run OpenOffice but I discovered I needed Java first. I updated my port tree and followed the port instructions to manually download the ingredients from Sun and store them in /usr/ports/distfiles: bsd-jdk15-patches-3.tar.bz2 jdk-1_5_0-bin-scsl.zip jdk-1_5_0-src-scsl.zip j2sdk-1_4_2_11-linux-i586.bin After much compilin' activity I woke up this morning with a failed build. It ended with: - ../../../src/share/classes/com/sun/jmx/mbeanserver/MBeanInstantiatorImpl.java:162: warning: non-varargs call of varargs method with inexact argument type forlast parameter; cast to java.lang.Object for a varargs call cast to java.lang.Object[] for a non-varargs call and to suppress this warning moi= cons.newInstance(null); ^ Note: * uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details. Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 21 errors 12 warnings gmake[3]: *** [.compile.classlist] Error 1 gmake[3]: Leaving directory `/usr/ports/java/jdk15/work/j2se/make/java/java' gmake[2]: *** [all] Error 1 gmake[2]: Leaving directory `/usr/ports/java/jdk15/work/j2se/make/java' gmake[1]: *** [all] Error 1 gmake[1]: Leaving directory `/usr/ports/java/jdk15/work/j2se/make' gmake: *** [j2se-build] Error 2 *** Error code 2 Stop in /usr/ports/java/jdk15. - The full error output is attached. Peter __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com Java HotSpot(TM) Client VM warning: Can't detect initial thread stack location /usr/ports/java/jdk15/work/control/build/bsd-i586/gensrc/sun/nio/cs/StandardCharsets.java:226: identifier expected Java HotSpot(TM) Client VM warning: Can't detect initial thread stack location ^ /usr/ports/java/jdk15/work/control/build/bsd-i586/gensrc/sun/nio/cs/StandardCharsets.java:226: unclosed character literal Java HotSpot(TM) Client VM warning: Can't detect initial thread stack location ^ /usr/ports/java/jdk15/work/control/build/bsd-i586/gensrc/sun/nio/cs/StandardCharsets.java:227: ')' expected private static final class Aliases ^ /usr/ports/java/jdk15/work/control/build/bsd-i586/gensrc/sun/nio/cs/StandardCharsets.java:389: identifier expected Java HotSpot(TM) Client VM warning: Can't detect initial thread stack location ^ /usr/ports/java/jdk15/work/control/build/bsd-i586/gensrc/sun/nio/cs/StandardCharsets.java:389: unclosed character literal Java HotSpot(TM) Client VM warning: Can't detect initial thread stack location ^ /usr/ports/java/jdk15/work/control/build/bsd-i586/gensrc/sun/nio/cs/StandardCharsets.java:390: ')' expected private static final class Classes ^ /usr/ports/java/jdk15/work/control/build/bsd-i586/gensrc/sun/nio/cs/StandardCharsets.java:429: identifier expected Java HotSpot(TM) Client VM warning: Can't detect initial thread stack location ^ /usr/ports/java/jdk15/work/control/build/bsd-i586/gensrc/sun/nio/cs/StandardCharsets.java:429: unclosed character literal Java HotSpot(TM) Client VM warning: Can't detect initial thread stack location ^ /usr/ports/java/jdk15/work/control/build/bsd-i586/gensrc/sun/nio/cs/StandardCharsets.java:430: ')' expected private static final class Cache ^ /usr/ports/java/jdk15/work/control/build/bsd-i586/gensrc/sun/nio/cs/StandardCharsets.java:226: cannot find symbol symbol : class TM location: class sun.nio.cs.StandardCharsets Java HotSpot(TM) Client VM warning: Can't detect initial thread stack location ^ /usr/ports/java/jdk15/work/control/build/bsd-i586/gensrc/sun/nio/cs/StandardCharsets.java:226: cannot find symbol symbol : class Java location: class sun.nio.cs.StandardCharsets Java HotSpot(TM) Client VM warning: Can't detect initial thread stack location ^ /usr/ports/java/jdk15/work/control/build/bsd-i586/gensrc/sun/nio/cs/StandardCharsets.java:389: cannot find symbol symbol : class TM location: class sun.nio.cs.StandardCharsets Java HotSpot(TM) Client VM warning: Can't detect initial thread stack location ^ /usr/ports/java/jdk15/work/control/build/bsd-i586/gensrc/sun/nio/cs/StandardCharsets.java:389: cannot find symbol symbol : class Java location: class sun.nio.cs.StandardCharsets Java HotSpot(TM) Client VM warning: Can't detect initial thread stack location ^ /usr/ports/java/jdk15/work/control/build/bsd-i586/gensrc/sun/nio/cs/StandardCharsets.java:429: cannot find symbol symbol : class TM location: class sun.nio.cs.StandardCharsets Java HotSpot(TM) Client VM warning: Can't detect initial thread stack
Re: seeking advice on building jdk15
On 6/12/06, Peter [EMAIL PROTECTED] wrote: Hi gang. I'm running FreeBSD 5.4-STABLE and want to run OpenOffice but I discovered I needed Java first. I updated my port tree and followed the port instructions to manually download the ingredients from Sun and store them in /usr/ports/distfiles: bsd-jdk15-patches-3.tar.bz2 jdk-1_5_0-bin-scsl.zip jdk-1_5_0-src-scsl.zip j2sdk-1_4_2_11-linux-i586.bin After much compilin' activity I woke up this morning with a failed build. It ended with: Bootstrap with diablo-jdk15, linux-sun-jdk14 is a pain in the ass. -- BSD Podcasts @: http://bsdtalk.blogspot.com/ http://freebsdforall.blogspot.com/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: seeking advice on building jdk15
I succeeded in building jdk14 instead. My manual downloads were: j2sdk-1_4_2_11-linux-i586.bin j2sdk-1_4_2-bin-scsl.zip j2sdk-1_4_2-src-scsl.zip bsd-jdk14-patches-8.tar.gz The port instructions added an extra step. It had me mount a simulated linux proc filesystem: linprocfs on /usr/compat/linux/proc (linprocfs, local) I am now in the middle of compiling OpenOffice which was my original goal. What is the bootstrap you speak of? Peter --- Nikolas Britton [EMAIL PROTECTED] wrote: On 6/12/06, Peter [EMAIL PROTECTED] wrote: Hi gang. I'm running FreeBSD 5.4-STABLE and want to run OpenOffice but I discovered I needed Java first. I updated my port tree and followed the port instructions to manually download the ingredients from Sun and store them in /usr/ports/distfiles: bsd-jdk15-patches-3.tar.bz2 jdk-1_5_0-bin-scsl.zip jdk-1_5_0-src-scsl.zip j2sdk-1_4_2_11-linux-i586.bin After much compilin' activity I woke up this morning with a failed build. It ended with: Bootstrap with diablo-jdk15, linux-sun-jdk14 is a pain in the ass. -- BSD Podcasts @: http://bsdtalk.blogspot.com/ http://freebsdforall.blogspot.com/ __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: seeking advice on building jdk15
On 6/12/06, Peter [EMAIL PROTECTED] wrote: I succeeded in building jdk14 instead. My manual downloads were: j2sdk-1_4_2_11-linux-i586.bin j2sdk-1_4_2-bin-scsl.zip j2sdk-1_4_2-src-scsl.zip bsd-jdk14-patches-8.tar.gz The port instructions added an extra step. It had me mount a simulated linux proc filesystem: linprocfs on /usr/compat/linux/proc (linprocfs, local) I am now in the middle of compiling OpenOffice which was my original goal. What is the bootstrap you speak of? Right here in the jdk15 Makefile: .if !defined(WITH_LINUX_BOOTSTRAP) .if ${MACHINE_ARCH} == i386 NATIVE_BOOTSTRAP_JDKS+= ${LOCALBASE}/diablo-jdk1.5.0 .endif NATIVE_BOOTSTRAP_JDKS+= ${LOCALBASE}/jdk1.5.0 \ ${LOCALBASE}/jdk1.4.2 .endif If you install the diablo-jdk15 port first you can use it to build the jdk15 port (bootstrapping) and you won't need to mess with linux-sun-jdk14. After your done installing jdk15 you can remove diablo-jdk15 from the system, it's only a build requirement and now that jdk15 is built and installed you can use that to bootstrap future jdk15 builds. So... it's really simple: # cd /usr/ports/java/diablo-jdk15; make install # cd ../jdk15; make install clean # cd ../diablo-jdk15; make deinstall clean -- BSD Podcasts @: http://bsdtalk.blogspot.com/ http://freebsdforall.blogspot.com/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]