Date: Fri, 20 Feb 2009 01:16:59 +0200 From: Nikolay Denev <ndenev@gmail.com> To: Maho NAKATA <chat95@mac.com> Cc: java@FreeBSD.org Subject: Re: Building java/jdk16 and jdk15 inside FreeBSD jail Message-ID: <9E9FE8E8-1D98-44CB-99A0-401C9633160F@gmail.com> In-Reply-To: <20090202.165004.71135074.chat95@mac.com> References: <20090202.165004.71135074.chat95@mac.com>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --Apple-Mail-3--919818174 Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit On Feb 2, 2009, at 9:50 AM, Maho NAKATA wrote: > Hello greg@ and * > > I cannot build java/jdk16 and jdk15 inside FreeBSD jail. > The error message is folloing. I can build both ports outside of > the jail. > ----------------------------------------------------------------------------- > gmake[4]: Entering directory `/usr/ports/java/jdk16/work/j2se/make/ > sun/javac' > Begin Processing SUBDIRS: javac recompile javadoc apt >>>> Recursively making javac all @ Mon Feb 2 16:46:55 JST 2009 ... > gmake[5]: Entering directory `/usr/ports/java/jdk16/work/j2se/make/ > sun/javac/javac' > /usr/ports/java/jdk16/work/control/build/bsd-amd64/bin/java - > Xmx512m -Xms256m -classpath ../../../../make/tools/CompileProperties > CompileProperties ../../../../src/share/classes/com/sun/tools/javac/ > resources/compiler.properties /usr/ports/java/jdk16/work/control/ > build/bsd-amd64/gensrc/com/sun/tools/javac/resources/compiler.java > Error: could not find libjava.so > Error: could not find Java 2 Runtime Environment. > gmake[5]: *** [/usr/ports/java/jdk16/work/control/build/bsd-amd64/ > gensrc/com/sun/tools/javac/resources/compiler.java] Error 2 > gmake[5]: Leaving directory `/usr/ports/java/jdk16/work/j2se/make/ > sun/javac/javac' > gmake[4]: *** [all] Error 1 > gmake[4]: Leaving directory `/usr/ports/java/jdk16/work/j2se/make/ > sun/javac' > gmake[3]: *** [all] Error 1 > gmake[3]: Leaving directory `/usr/ports/java/jdk16/work/j2se/make/ > java/javac' > gmake[2]: *** [all] Error 1 > gmake[2]: Leaving directory `/usr/ports/java/jdk16/work/j2se/make/ > java' > gmake[1]: *** [all] Error 1 > gmake[1]: Leaving directory `/usr/ports/java/jdk16/work/j2se/make' > gmake: *** [j2se-build] Error 2 > *** Error code 2 > > Stop in /usr/ports/java/jdk16. > *** Error code 1 > > Stop in /usr/ports/java/jdk16. > ----------------------------------------------------------------------------- > gmake[4]: Leaving directory `/usr/ports/java/jdk15/work/j2se/make/ > java/zip' > gmake[3]: Leaving directory `/usr/ports/java/jdk15/work/j2se/make/ > java/zip' > <<<Finished Recursively making zip all @ Mon Feb 2 16:48:20 JST 2009. >>>> Recursively making javac all @ Mon Feb 2 16:48:20 JST 2009 ... > gmake[3]: Entering directory `/usr/ports/java/jdk15/work/j2se/make/ > java/javac' >>>> Recursively making ../../sun/javac all @ Mon Feb 2 16:48:20 JST >>>> 2009 ... > cd ../../sun/javac ; gmake all RELEASE=1.5.0_14-p8 > FULL_VERSION=1.5.0_14-p8-maho_02_feb_2009_16_47 > gmake[4]: Entering directory `/usr/ports/java/jdk15/work/j2se/make/ > sun/javac' >>>> Recursively making javac all @ Mon Feb 2 16:48:20 JST 2009 ... > gmake[5]: Entering directory `/usr/ports/java/jdk15/work/j2se/make/ > sun/javac/javac' > gmake /usr/ports/java/jdk15/work/control/build/bsd-amd64/bin/javac > VARIANT=OPT > gmake[6]: Entering directory `/usr/ports/java/jdk15/work/j2se/make/ > sun/javac/javac' > rm -f /usr/ports/java/jdk15/work/control/build/bsd-amd64/tmp/sun/ > com.sun.tools.javac/javac/.classes.list > /usr/ports/java/jdk15/work/control/build/bsd-amd64/bin/java - > classpath ../../../tools/CompileProperties > CompileProperties ../../../../src/share/classes/com/sun/tools/javac/ > resources/compiler.properties /usr/ports/java/jdk15/work/control/ > build/bsd-amd64/gensrc/com/sun/tools/javac/resources/compiler.java > Error: could not find libjava.so > Error: could not find Java 2 Runtime Environment. > gmake[6]: *** [/usr/ports/java/jdk15/work/control/build/bsd-amd64/ > gensrc/com/sun/tools/javac/resources/compiler.java] Error 2 > gmake[6]: Leaving directory `/usr/ports/java/jdk15/work/j2se/make/ > sun/javac/javac' > gmake[5]: *** [optimized] Error 2 > gmake[5]: Leaving directory `/usr/ports/java/jdk15/work/j2se/make/ > sun/javac/javac' > gmake[4]: *** [all] Error 1 > gmake[4]: Leaving directory `/usr/ports/java/jdk15/work/j2se/make/ > sun/javac' > gmake[3]: *** [all] Error 2 > gmake[3]: Leaving directory `/usr/ports/java/jdk15/work/j2se/make/ > java/javac' > gmake[2]: *** [all] Error 1 > gmake[2]: Leaving directory `/usr/ports/java/jdk15/work/j2se/make/ > java' > gmake[1]: *** [all] Error 1 > gmake[1]: Leaving directory `/usr/ports/java/jdk15/work/j2se/make' > gmake: *** [j2se-build] Error 2 > *** Error code 2 > > Stop in /usr/ports/java/jdk15. > *** Error code 1 > > Stop in /usr/ports/java/jdk15. > ----------------------------------------------------------------------------- > /etc/rc.conf has folloing entry for jail. > > #jail start > jail_enable="YES" > jail_list="portsjail" > jail_portsjail_hostname="ligeti7amd64_portsjail.private.org" > jail_portsjail_ip="1.2.3.4" > ifconfig_bge0_alias0="inet 1.2.3.4 netmask 255.255.255.255" > jail_portsjail_rootdir="/work/portsjail/" > jail_portsjail_exec_start="/bin/sh /etc/rc" > jail_portsjail_devfs_enable="YES" > jail_portsjail_procfs_enable="YES" > sendmail_enable="NO" > rpcbind_enable="NO" > #jail end > --- > mount shows following output > > root# mount > ... > /work/cvsup/ports on /work/portsjail/usr/ports (nullfs, local) > devfs on /work/portsjail/dev (devfs, local) > procfs on /work/portsjail/proc (procfs, local) > .... > > Any help is really appreciated. > Best regards, > -- Nakata Maho http://accc.riken.jp/maho/ , http://ja.openoffice.org/ > _______________________________________________ > 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" A thread back from 2006 suggests that procfs in the jail may be the problem, can you try unmounting it and trying to rebuild? P.S.: I have the same problem, and I'm testing without procfs right now Regards, Niki Denev --Apple-Mail-3--919818174 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 v2.0.10 (Darwin) iEYEARECAAYFAkmd6GsACgkQHNAJ/fLbfrnNIACffr6QuvMb6PdB1B7rR5HEXswo xpcAoKn0Nu+mDlxtNWh3c0B3sGfIA5qx =nMHQ -----END PGP SIGNATURE----- --Apple-Mail-3--919818174--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9E9FE8E8-1D98-44CB-99A0-401C9633160F>