[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Build fails for jdk14 on FreeBSD-5.2-CURRENT: Can't detectinitial thread stack location



To fix this.
Do not run 'make clean', but edit  
/usr/local/ports/java/jdk14/work/control/build/bsd-i586/gensrc/java/util/CurrencyData.java,  
remove the first line and run 'make' again.

For some reason (I don't know what) the first line of this file gets  
corrupted sometimes.

Ronald.

On Mon, 19 Jul 2004 14:55:12 -0400, Chris Shenton <chris_(_at_)_shenton_(_dot_)_org>  
wrote:

> Spent hours watching the machine compile jdk14 (1.4.2) from ports on a
> new OS and kernel rebuilt from a CVSup yesterday, running 5.2-CURRENT.
> Died part way through, screen paste below. Any thoughts? Thanks.
>
>
> /bin/mkdir -p  
> /usr/local/ports/java/jdk14/work/control/build/bsd-i586/tmp/java/java.lang/java/GenerateCurren  
> cyData
> /usr/local/linux-sun-jdk1.4.2/bin/javac -d  
> /usr/local/ports/java/jdk14/work/control/build/bsd-i586/tmp/java/  
> java.lang/java/GenerateCurrencyData  
> ../../tools/GenerateCurrencyData/GenerateCurrencyData.java
> Java HotSpot(TM) Client VM warning: Can't detect initial thread stack  
> location
> /usr/local/linux-sun-jdk1.4.2/bin/java -classpath  
> /usr/local/ports/java/jdk14/work/control/build/bsd-i586/tm  
> p/java/java.lang/java/GenerateCurrencyData GenerateCurrencyData <  
> ../../../src/share/classes/java/util/Curre ncyData.properties >  
> /usr/local/ports/java/jdk14/work/control/build/bsd-i586/gensrc/java/util/CurrencyData.j  
> ava
> if [ -s  
> /usr/local/ports/java/jdk14/work/control/build/bsd-i586/tmp/java/java.lang/java/.classes.list  
> ] ; \
> then /usr/local/linux-sun-jdk1.4.2/bin/javac -J-Xmx128m  -classpath  
> /usr/local/ports/java/jdk14/work/control /build/bsd-i586/classes  
> -bootclasspath  
> "/usr/local/ports/java/jdk14/work/control/build/bsd-i586/lib/jce.jar:  
> /usr/local/ports/java/jdk14/work/control/build/bsd-i586/lib/jsse.jar"  
> -sourcepath "/usr/local/ports/java/jdk  
> 14/work/control/build/bsd-i586/gensrc:../../../src/solaris/classes:../../../src/share/classes"  
> -d /usr/local /ports/java/jdk14/work/control/build/bsd-i586/classes   
> -source 1.4 \
>
> [... lots of paths to java java class files on command line omitted ...]
>
>  ../../../src/solaris/classes/java/util/prefs/FileSystemPreferencesFactory.java  
> ../../../sr c/solaris/classes/sun/io/ByteToCharCOMPOUND_TEXT.java  
> ../../../src/solaris/classes/sun/io/CharToByteCOMPOUND _TEXT.java  
> ../../../src/solaris/classes/sun/io/CompoundTextSupport.java  
> /usr/local/ports/java/jdk14/work/con  
> trol/build/bsd-i586/gensrc/java/lang/Character.java  
> ../../../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/local/ports/java/jdk14/work/control/build/bsd-i586/gensrc/java/util/CurrencyData.java:1:  
> 'class' or 'in terface' expected
> Java HotSpot(TM) Client VM warning: Can't detect initial thread stack  
> location
> ^
> /usr/local/ports/java/jdk14/work/control/build/bsd-i586/gensrc/java/util/CurrencyData.java:1:  
> unclosed chara cter 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/local/ports/java/jdk14/work/j2se/make/java/java'
> gmake[3]: *** [optimized] Error 2
> gmake[3]: Leaving directory  
> `/usr/local/ports/java/jdk14/work/j2se/make/java/java'
> gmake[2]: *** [all] Error 1
> gmake[2]: Leaving directory  
> `/usr/local/ports/java/jdk14/work/j2se/make/java'
> gmake[1]: *** [all] Error 1
> gmake[1]: Leaving directory `/usr/local/ports/java/jdk14/work/j2se/make'
> gmake: *** [j2se-build] Error 2
> *** Error code 2
>
> Stop in /usr/local/ports/java/jdk14.
> _______________________________________________
> freebsd-java_(_at_)_freebsd_(_dot_)_org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-java
> To unsubscribe, send any mail to "freebsd-java-unsubscribe_(_at_)_freebsd_(_dot_)_org"



-- 
  Ronald Klop
  Amsterdam, The Netherlands