From owner-freebsd-java@FreeBSD.ORG Mon Oct 18 14:10:50 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 F0D65106566B for ; Mon, 18 Oct 2010 14:10:49 +0000 (UTC) (envelope-from marck@rinet.ru) Received: from woozle.rinet.ru (woozle.rinet.ru [195.54.192.68]) by mx1.freebsd.org (Postfix) with ESMTP id 893A38FC27 for ; Mon, 18 Oct 2010 14:10:49 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by woozle.rinet.ru (8.14.4/8.14.4) with ESMTP id o9IEAmn9030201; Mon, 18 Oct 2010 18:10:48 +0400 (MSD) (envelope-from marck@rinet.ru) Date: Mon, 18 Oct 2010 18:10:48 +0400 (MSD) From: Dmitry Morozovsky To: Kostik Belousov In-Reply-To: Message-ID: References: <20101017134539.GW2392@deviant.kiev.zoral.com.ua> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) X-NCC-RegID: ru.rinet X-OpenPGP-Key-ID: 6B691B03 MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.6 (woozle.rinet.ru [0.0.0.0]); Mon, 18 Oct 2010 18:10:48 +0400 (MSD) 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 14:10:50 -0000 On Mon, 18 Oct 2010, Dmitry Morozovsky wrote: DM> KB> > I use ports tinderbox with working place null-m,ounted over tmpfs. Quite a few DM> KB> > ports are failing to build in such situation, such as jdk16. End of build log DM> KB> > (regardless of 7/8, i386/amd64) is DM> KB> > DM> KB> > gmake[4]: Entering directory 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.TransformerFactory > 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 required" \ 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 bootstrap this build DM> KB> > gmake[4]: *** [check_j2se_version] Error 1 DM> KB> > gmake[4]: Leaving directory 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 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/hotspot/make' DM> KB> > gmake[1]: *** [product] Error 2 DM> KB> > gmake[1]: Leaving directory `/work/a/ports/java/jdk16/work/hotspot/make' DM> KB> > gmake: *** [hotspot-build] Error 2 DM> KB> > *** Error code 2 DM> KB> > DM> KB> > Stop in /a/ports/java/jdk16. DM> KB> > DM> KB> > DM> KB> > Any hints? Thanks! DM> KB> > DM> KB> > Please keep me in CC: as I'm not subscribed to -java@ list. DM> KB> 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 the cached DM> KB> path over nullfs. As a consequence, /proc/pid/file symlink sometimes cannot DM> KB> be resolved, and AFAIK jdk uses it to find the base of installation. DM> DM> Yes, ports tinderbox mounts procfs and linprocfs under buildarea; I'm afraid DM> it's rather hard to avoid. DM> DM> KB> I tried to fix the problem in r193175, and it works for me. You should DM> KB> supply some useful diagnostic to move the issue forward. DM> DM> I'll try this and report back. I've merged r193175 (null_vptocnp), but unfortunately it does not help: the error is precisely the same. -- Sincerely, D.Marck [DM5020, MCK-RIPE, DM3-RIPN] [ FreeBSD committer: marck@FreeBSD.org ] ------------------------------------------------------------------------ *** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck@rinet.ru *** ------------------------------------------------------------------------