jdk14 build errors

Mayo Jordanov mayo at nfy.ca
Fri Apr 9 16:37:31 PDT 2004


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/20040409/a0ca9906/PGP.bin


More information about the freebsd-java mailing list