From owner-freebsd-java@FreeBSD.ORG Mon Oct 18 15:38:12 2010 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E2095106566B for ; Mon, 18 Oct 2010 15:38:12 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from mail.zoral.com.ua (mx0.zoral.com.ua [91.193.166.200]) by mx1.freebsd.org (Postfix) with ESMTP id 63D4C8FC1E for ; Mon, 18 Oct 2010 15:38:11 +0000 (UTC) Received: from deviant.kiev.zoral.com.ua (root@deviant.kiev.zoral.com.ua [10.1.1.148]) by mail.zoral.com.ua (8.14.2/8.14.2) with ESMTP id o9IFc71T070915 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 18 Oct 2010 18:38:07 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (kostik@localhost [127.0.0.1]) by deviant.kiev.zoral.com.ua (8.14.4/8.14.4) with ESMTP id o9IFc7mm021260; Mon, 18 Oct 2010 18:38:07 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.14.4/8.14.4/Submit) id o9IFc7P1021259; Mon, 18 Oct 2010 18:38:07 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: deviant.kiev.zoral.com.ua: kostik set sender to kostikbel@gmail.com using -f Date: Mon, 18 Oct 2010 18:38:07 +0300 From: Kostik Belousov To: Dmitry Morozovsky Message-ID: <20101018153807.GP2392@deviant.kiev.zoral.com.ua> References: <20101017134539.GW2392@deviant.kiev.zoral.com.ua> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="7xhx9Qj/0KekvLlN" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i X-Virus-Scanned: clamav-milter 0.95.2 at skuns.kiev.zoral.com.ua X-Virus-Status: Clean X-Spam-Status: No, score=-3.4 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00, DNS_FROM_OPENWHOIS autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on skuns.kiev.zoral.com.ua Cc: freebsd-java@freebsd.org Subject: Re: strange java/jdk16 build error while building over tmpfs 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: Mon, 18 Oct 2010 15:38:13 -0000 --7xhx9Qj/0KekvLlN Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Oct 18, 2010 at 06:10:48PM +0400, Dmitry Morozovsky wrote: > On Mon, 18 Oct 2010, Dmitry Morozovsky wrote: >=20 > DM> KB> > I use ports tinderbox with working place null-m,ounted over tmp= fs. Quite a few=20 > DM> KB> > ports are failing to build in such situation, such as jdk16. En= d of build log=20 > DM> KB> > (regardless of 7/8, i386/amd64) is > DM> KB> >=20 > DM> KB> > gmake[4]: Entering directory=20 > DM> KB> > `/work/a/ports/java/jdk16/work/control/build/bsd-amd64/hotspot/= outputdir' > DM> KB> > /usr/local/diablo-jdk1.6.0/bin/javap javax.xml.transform.Transf= ormerFactory >=20 > DM> KB> > /dev/null 2>&1; \ > DM> KB> > if [ $? -ne 0 ]; then \ > DM> KB> > /usr/local/diablo-jdk1.6.0/bin/java -version; \ > DM> KB> > echo "*** An XSLT processor (J2SE 1.4.x or newer) is require= d" \ > DM> KB> > "to bootstrap this build" 1>&2; \ > DM> KB> > exit 1; \ > DM> KB> > fi > DM> KB> > Error: could not find libjava.so > DM> KB> > Error: could not find Java 2 Runtime Environment. > DM> KB> > *** An XSLT processor (J2SE 1.4.x or newer) is required to boot= strap this build > DM> KB> > gmake[4]: *** [check_j2se_version] Error 1 > DM> KB> > gmake[4]: Leaving directory=20 > DM> KB> > `/work/a/ports/java/jdk16/work/control/build/bsd-amd64/hotspot/= outputdir' > DM> KB> > gmake[3]: *** [bsd_amd64_compiler2/debug] Error 2 > DM> KB> > gmake[3]: Leaving directory=20 > DM> KB> > `/work/a/ports/java/jdk16/work/control/build/bsd-amd64/hotspot/= outputdir' > DM> KB> > gmake[2]: *** [generic_build2] Error 2 > DM> KB> > gmake[2]: Leaving directory `/work/a/ports/java/jdk16/work/hots= pot/make' > DM> KB> > gmake[1]: *** [product] Error 2 > DM> KB> > gmake[1]: Leaving directory `/work/a/ports/java/jdk16/work/hots= pot/make' > DM> KB> > gmake: *** [hotspot-build] Error 2 > DM> KB> > *** Error code 2 > DM> KB> >=20 > DM> KB> > Stop in /a/ports/java/jdk16. > DM> KB> >=20 > DM> KB> >=20 > DM> KB> > Any hints? Thanks! > DM> KB> >=20 > DM> KB> > Please keep me in CC: as I'm not subscribed to -java@ list. > DM> KB>=20 > DM> KB> Do you have procfs mounted in the build jail/chroot ? If yes, the= issue > DM> KB> is known. vn_fullpath(9) has some issues resolving the vnode to t= he cached > DM> KB> path over nullfs. As a consequence, /proc/pid/file symlink someti= mes cannot > DM> KB> be resolved, and AFAIK jdk uses it to find the base of installati= on. > DM>=20 > DM> Yes, ports tinderbox mounts procfs and linprocfs under buildarea; I'm= afraid=20 > DM> it's rather hard to avoid. > DM>=20 > DM> KB> I tried to fix the problem in r193175, and it works for me. You s= hould > DM> KB> supply some useful diagnostic to move the issue forward. > DM>=20 > DM> I'll try this and report back. >=20 > I've merged r193175 (null_vptocnp), but unfortunately it does not help: t= he=20 > error is precisely the same. Mergeed to which branch ? The code is already in HEAD and RELENG_8. --7xhx9Qj/0KekvLlN Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (FreeBSD) iEYEARECAAYFAky8ad8ACgkQC3+MBN1Mb4gdAgCgo4T7ktTqsaRunzZxjf2UfSdI zr0AoKC6SWZnqNSt36k+BTBnD/lqcZyz =Pcqb -----END PGP SIGNATURE----- --7xhx9Qj/0KekvLlN--