jdk14 build errors
Mayo Jordanov
mayo at nfy.ca
Sat Apr 10 18:15:52 PDT 2004
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>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/freebsd-java/attachments/20040410/b713a99a/PGP.bin
More information about the freebsd-java
mailing list