From owner-freebsd-java@FreeBSD.ORG Mon Jul 19 22:00:17 2004 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CE57916A4CF for ; Mon, 19 Jul 2004 22:00:17 +0000 (GMT) Received: from smtp18.wxs.nl (smtp18.wxs.nl [195.121.6.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6A60543D45 for ; Mon, 19 Jul 2004 22:00:17 +0000 (GMT) (envelope-from ronald-freebsd8@klop.yi.org) Received: from ronald.echteman.nl (ip51cdc5d2.speed.planet.nl [81.205.197.210]) by smtp18.wxs.nlSMTP id <0I1400BYHD4GBX@smtp18.wxs.nl> for java@freebsd.org; Tue, 20 Jul 2004 00:00:16 +0200 (CEST) Received: (qmail 20900 invoked from network); Mon, 19 Jul 2004 22:00:15 +0000 Received: from unknown (HELO laptop.thuis.klop.ws) (192.168.1.4) by ronald.echteman.nl with SMTP; Mon, 19 Jul 2004 22:00:15 +0000 Received: (qmail 4641 invoked from network); Mon, 19 Jul 2004 22:00:15 +0000 Received: from unknown (HELO guido.thuis.klop.ws) (192.168.0.2) by 192.168.0.16 with SMTP; Mon, 19 Jul 2004 22:00:15 +0000 Received: (qmail 38182 invoked from network); Mon, 19 Jul 2004 22:00:13 +0000 Received: from localhost.thuis.klop.ws (HELO outgoing.local) (127.0.0.1) by localhost.thuis.klop.ws with SMTP; Mon, 19 Jul 2004 22:00:13 +0000 Date: Tue, 20 Jul 2004 00:00:11 +0200 From: Ronald Klop In-reply-to: <86llhfaktr.fsf@PECTOPAH.shenton.org> To: Chris Shenton , java@freebsd.org Message-id: MIME-version: 1.0 Content-type: text/plain; format=flowed; delsp=yes; charset=iso-8859-1 Content-transfer-encoding: 7BIT User-Agent: Opera M2/7.52 (FreeBSD, build 727) References: <86llhfaktr.fsf@PECTOPAH.shenton.org> Subject: Re: Build fails for jdk14 on FreeBSD-5.2-CURRENT: Can't detectinitial thread stack location X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Jul 2004 22:00:17 -0000 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 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@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-java > To unsubscribe, send any mail to "freebsd-java-unsubscribe@freebsd.org" -- Ronald Klop Amsterdam, The Netherlands