Date: Sat, 10 Apr 2004 18:15:42 -0700 From: Mayo Jordanov <mayo@nfy.ca> To: java@freebsd.org Subject: Re: jdk14 build errors Message-ID: <C0732076-8B55-11D8-B713-000A9597E310@nfy.ca> In-Reply-To: <DB77B760-8A7E-11D8-B713-000A9597E310@nfy.ca> References: <DB77B760-8A7E-11D8-B713-000A9597E310@nfy.ca>
next in thread | previous in thread | raw e-mail | index | archive | help
--Apple-Mail-19-259727414 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed I found the problem, and it's easily reproducible. When there is no JDK installed (bsd or oterwise) on the system that does not have linux compatibility installed, it errors out. The jdk14 installation downloads all the linux compatibility stuff, etc, and once that is done, the user has to kldload, and mount linprocfs, and that's the problem. When the jdk14 installation finishes the linux compatibility, the message about kldload and mount just scrolls by, going directly for the installation of j2sdk. How the linux JDK manages to run (or whether it does) i'm not sure, but it results in the error mentioned in the previous email. If full JDK installation is ran again, it will stop at the kldload and mount linprocfs bit, if they are not mounted. regards, mayo On Apr 9, 2004, at 16:37, Mayo Jordanov wrote: > Hello, > > below is a build error from jdk14 port on 5.2-current with fresh ports > (from yesterday). I've successfully built this port about a week ago > (It was after March 20th) on this very box, so it seems this does not > happen every time. > > I have 2 other compiles going on right now, so i'll wait after they > are done and will try again (to see if it may be affected by the load) > > the box is > FreeBSD einstein.local.nfy. 5.2-CURRENT FreeBSD 5.2-CURRENT #0: Thu > Apr 8 18:36 > :46 PDT 2004 root@:/usr/obj/usr/src/sys/einstein i386 > > the world sources are from 20030312 (i've had issues with some later > dates, so i stuck to the stuff i knew that worked) and the build error > i get is below. Looking at the path, the sources seem to be generated, > and the two files that it errors out on have the message "Java > HotSpot(TM) Client VM warning: Can't detect initial thread stack > location" as their first line (before "package java.util;") and > uncommented. > > As it was reported in similar instances before > (http://lists.freebsd.org/mailman/htdig/freebsd-java/2004-March/ > 001972.html and > http://lists.freebsd.org/mailman/htdig/freebsd-java/2004-March/ > 001916.html) > > regards, > mayo > > <snip> > ../../../src/share/classes/sun/misc/AtomicLong.java > ../../../src/share/classes/sun/misc/AtomicLongCSImpl.java > ../../../src/share/classes/sun/misc/AtomicLongLockImpl.java ; \ > fi > Java HotSpot(TM) Client VM warning: Can't detect initial thread stack > location > /usr/ports/java/jdk14/work/control/build/bsd-i586/gensrc/java/util/ > CurrencyData. > java:1: 'class' or 'interface' expected > Java HotSpot(TM) Client VM warning: Can't detect initial thread stack > location > ^ > /usr/ports/java/jdk14/work/control/build/bsd-i586/gensrc/java/util/ > CurrencyData. > java:1: unclosed character literal > Java HotSpot(TM) Client VM warning: Can't detect initial thread stack > location > ^ > 2 errors > gmake[4]: *** [.compile.classlist] Error 1 > gmake[4]: Leaving directory > `/usr/ports/java/jdk14/work/j2se/make/java/java' > gmake[3]: *** [optimized] Error 2 > gmake[3]: Leaving directory > `/usr/ports/java/jdk14/work/j2se/make/java/java' > gmake[2]: *** [all] Error 1 > gmake[2]: Leaving directory `/usr/ports/java/jdk14/work/j2se/make/java' > gmake[1]: *** [all] Error 1 > gmake[1]: Leaving directory `/usr/ports/java/jdk14/work/j2se/make' > gmake: *** [j2se-build] Error 2 > *** Error code 2 > > Stop in /usr/ports/java/jdk14. > </snip> --Apple-Mail-19-259727414 content-type: application/pgp-signature; x-mac-type=70674453; name=PGP.sig content-description: This is a digitally signed message part content-disposition: inline; filename=PGP.sig content-transfer-encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iD8DBQFAeJxB3IqYlN3K/uYRAmu9AJ0cUzNFFA04yj1FO3sYI8DSKnaxfACg1hdy T0Eh+r8Jxrt7+k/hfWSi6VA= =2lNf -----END PGP SIGNATURE----- --Apple-Mail-19-259727414--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?C0732076-8B55-11D8-B713-000A9597E310>