From owner-freebsd-java@FreeBSD.ORG Fri Feb 20 05:55:52 2009 Return-Path: Delivered-To: java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 12A04106564A for ; Fri, 20 Feb 2009 05:55:52 +0000 (UTC) (envelope-from maho.nakata@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.227]) by mx1.freebsd.org (Postfix) with ESMTP id D0C598FC0A for ; Fri, 20 Feb 2009 05:55:51 +0000 (UTC) (envelope-from maho.nakata@gmail.com) Received: by rv-out-0506.google.com with SMTP id f6so825800rvb.43 for ; Thu, 19 Feb 2009 21:55:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:date:message-id:to:cc :subject:from:in-reply-to:references:x-mailer:mime-version :content-type:content-transfer-encoding; bh=qRumEpAYpmPn+sHd9ZQ6f5G7Ygr6pxDXwA8M7pecTvA=; b=I3tcj3IkLfiWTSNSNkao/UHP5A09Igo8aTne906mg3sqamLAa5aBbNmO7kLOPiFwhw n+28VdLMzMdLxWW3ZgsPlzNpow5aDj5oIjvSBIlO2xHyfJ42nah3R2373UVpG0idtJFo sSpZd3xyTMYeNNMQojzVZFNJpsO914qrRZbv4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:date:message-id:to:cc:subject:from:in-reply-to:references :x-mailer:mime-version:content-type:content-transfer-encoding; b=BcWZs78q9ljfVcb3CbzwCWz0Wkeqef+muRmdE3h9ejKDUXhZdzE5zP3Fy9hJVY2e1r kp6KmtYs1A44ij6r6trjAsNFjUOppZHkLueD39JTA6opkIhRxWMOdwFMfZfuCb705DvD HNQxdbKs9GIva9ipqj26HvKkqaueCgM/7cwTU= Received: by 10.142.177.5 with SMTP id z5mr226161wfe.90.1235109351430; Thu, 19 Feb 2009 21:55:51 -0800 (PST) Received: from localhost (rikad85.riken.jp [134.160.214.85]) by mx.google.com with ESMTPS id 28sm1226656wfd.45.2009.02.19.21.55.50 (version=SSLv3 cipher=RC4-MD5); Thu, 19 Feb 2009 21:55:51 -0800 (PST) Sender: Maho NAKATA Date: Fri, 20 Feb 2009 14:55:04 +0900 (JST) Message-Id: <20090220.145504.99122017.chat95@mac.com> To: ndenev@gmail.com From: Maho NAKATA In-Reply-To: <9E9FE8E8-1D98-44CB-99A0-401C9633160F@gmail.com> References: <20090202.165004.71135074.chat95@mac.com> <9E9FE8E8-1D98-44CB-99A0-401C9633160F@gmail.com> X-Mailer: Mew version 6.2 on Emacs 22.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Multipart/Signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="--Security_Multipart(Fri_Feb_20_14_55_04_2009_009)--" Content-Transfer-Encoding: 7bit Cc: java@FreeBSD.org Subject: summary no nullfs or no procfs [Re: Building java/jdk16 and jdk15 inside FreeBSD jail] X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Feb 2009 05:55:52 -0000 ----Security_Multipart(Fri_Feb_20_14_55_04_2009_009)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi Nikolay, thanks for your info. I tried unmounting on host machine # umount /work/portsjail/proc on jail # cd /usr/ports/java/jdk16 ; make ... it worked. Summary * do not build on nullfs mounted file system *OR* * do not mount proc . Thanks for your helps! Best regards, Nakata Maho > 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 From: Nikolay Denev Subject: Re: Building java/jdk16 and jdk15 inside FreeBSD jail Date: Fri, 20 Feb 2009 01:16:59 +0200 > > 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' >> <<>>>> 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 > ----Security_Multipart(Fri_Feb_20_14_55_04_2009_009)-- Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.10 (FreeBSD) iEYEABECAAYFAkmeRbkACgkQpcQqaPiEzfn20QCfbUtMW1Wp9vjKX7KxPFx17fJP PIoAnA7iYBrP2S79ToGt3BojQuekRMAp =fFCS -----END PGP SIGNATURE----- ----Security_Multipart(Fri_Feb_20_14_55_04_2009_009)----