From owner-freebsd-current@FreeBSD.ORG Wed Aug 18 20:02:57 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8633B16A4CE; Wed, 18 Aug 2004 20:02:57 +0000 (GMT) Received: from tigra.ip.net.ua (tigra.ip.net.ua [82.193.96.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9D49943D31; Wed, 18 Aug 2004 20:02:55 +0000 (GMT) (envelope-from ru@ip.net.ua) Received: from heffalump.ip.net.ua (heffalump.ip.net.ua [82.193.96.213]) by tigra.ip.net.ua (8.12.11/8.12.11) with ESMTP id i7IK0aVJ006071 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 18 Aug 2004 23:00:37 +0300 (EEST) (envelope-from ru@ip.net.ua) Received: (from ru@localhost) by heffalump.ip.net.ua (8.13.1/8.13.1) id i7IK0bfi016668; Wed, 18 Aug 2004 23:00:37 +0300 (EEST) (envelope-from ru) Date: Wed, 18 Aug 2004 23:00:36 +0300 From: Ruslan Ermilov To: Joe Marcus Clarke Message-ID: <20040818200036.GF16055@ip.net.ua> References: <1092855647.721.26.camel@gyros> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="GLp9dJVi+aaipsRk" Content-Disposition: inline In-Reply-To: <1092855647.721.26.camel@gyros> User-Agent: Mutt/1.5.6i X-Virus-Scanned: by amavisd-new cc: Hartmut Brandt cc: current@FreeBSD.org Subject: Re: Can no longer build clean jail using make world X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Aug 2004 20:02:57 -0000 --GLp9dJVi+aaipsRk Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Aug 18, 2004 at 03:00:47PM -0400, Joe Marcus Clarke wrote: > I just updated my tinderbox machine to 6.0-CURRENT, and I'm trying to > build a clean 6.0-CURRENT jail. I'm using the new make(1), and I do not > have MAKEOBJDIRPREFIX set anywhere. The script I'm using basically > does: >=20 > rm -rf /space/jails/6-CURRENT/tmp > mkdir -p /space/jails/6-CURRENT/tmp > cd /space/jails/6-CURRENT/src > make world DESTDIR=3D/space/jails/6-CURRENT/tmp >=20 > (Basically taken right out of the jail(8) man page.) >=20 > This is the error I get: >=20 > -------------------------------------------------------------- > >>> stage 1.2: bootstrap tools > -------------------------------------------------------------- > cd /space/jails/6-CURRENT/src; > MAKEOBJDIRPREFIX=3D/usr/obj/space/jails/6-CURRENT/src/i386 DESTDIR=3D=20 > INSTALL=3D"sh /space/jails/6-CURRENT/src/tools/install.sh"=20 > PATH=3D/usr/obj/space/jails/6-CURRENT/src/i386/legacy/usr/sbin:/usr/obj/s= pace/jails/6-CURRENT/src/i386/legacy/usr/bin:/usr/obj/space/jails/6-CURRENT= /src/i386/legacy/usr/games:/sbin:/bin:/usr/sbin:/usr/bin WORLDTMP=3D/usr/o= bj/space/jails/6-CURRENT/src/i386 MAKEFLAGS=3D"-m /space/jails/6-CURRENT/s= rc/tools/build/mk DESTDIR=3D/space/jails/6-CURRENT/tmp -m /space/jails/6-C= URRENT/src/share/mk" make -f Makefile.inc1 BOOTSTRAPPING=3D600000 -DNOHTM= L -DNOINFO -DNOLINT -DNOMAN -DNOPIC -DNOPROFILE -DNOSHARED -DNO_CPU_CFLAGS= -DNO_WARNS bootstrap-tools > =3D=3D=3D> games/fortune/strfile > /usr/obj/space/jails/6-CURRENT/src/i386/space/jails/6-CURRENT/src/games/f= ortune/strfile created for /space/jails/6-CURRENT/src/games/fortune/strfile > rm -f .depend > mkdep -f .depend -a =20 > -I/usr/obj/space/jails/6-CURRENT/src/i386/legacy/usr/include > /space/jails/6-CURRENT/src/games/fortune/strfile/strfile.c > echo strfile: /space/jails/6-CURRENT/tmp/usr/lib/libc.a > /usr/obj/space/jails/6-CURRENT/src/i386/legacy/usr/lib/libegacy.a >> > .depend > cc -O -pipe=20 > -I/usr/obj/space/jails/6-CURRENT/src/i386/legacy/usr/include -c > /space/jails/6-CURRENT/src/games/fortune/strfile/strfile.c > make: don't know how to make /space/jails/6-CURRENT/tmp/usr/lib/libc.a. > Stop > *** Error code 2 >=20 > What am I missing? Thanks. >=20 Command-line variables (of the highest priority) are now passed as command-line to processes that make(1) executes, including the sub-makes. What it means is that DESTDIR=3D settings made by the buildworld substages are now ignored in the synopsis shown by you. Two work arounds for you: env DESTDIR=3D/space/jails/6-CURRENT/tmp make world -or- make buildworld make installworld DESTDIR=3D/space/jails/6-CURRENT/tmp while I'm working on a true fix. Cheers, --=20 Ruslan Ermilov ru@FreeBSD.org FreeBSD committer --GLp9dJVi+aaipsRk Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (FreeBSD) iD8DBQFBI7VkqRfpzJluFF4RAvJZAKCEEV0rbbVRllrnvDNIK635ygPahwCgg8dA G/FUVMIFbWb+ow8dUP9ejWU= =aShg -----END PGP SIGNATURE----- --GLp9dJVi+aaipsRk--