Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Aug 2004 23:00:36 +0300
From:      Ruslan Ermilov <ru@FreeBSD.org>
To:        Joe Marcus Clarke <marcus@marcuscom.com>
Cc:        current@FreeBSD.org
Subject:   Re: Can no longer build clean jail using make world
Message-ID:  <20040818200036.GF16055@ip.net.ua>
In-Reply-To: <1092855647.721.26.camel@gyros>
References:  <1092855647.721.26.camel@gyros>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040818200036.GF16055>