Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Nov 2004 15:54:39 +0200
From:      Ruslan Ermilov <ru@freebsd.org>
To:        Ivan Voras <ivoras@fer.hr>
Cc:        current@freebsd.org
Subject:   Re: make world DESTDIR=/jail fails
Message-ID:  <20041104135438.GA50188@ip.net.ua>
In-Reply-To: <418A339B.4010001@fer.hr>
References:  <200411041552.49345.brian@bee-s.com> <418A1A79.5000708@fer.hr> <20041104123937.GB48627@ip.net.ua> <20041104130411.GA13093@unixpages.org> <418A339B.4010001@fer.hr>

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

--xgyAXRrhYN0wYx8y
Content-Type: multipart/mixed; boundary="7AUc2qLy4jB3hD7Z"
Content-Disposition: inline


--7AUc2qLy4jB3hD7Z
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Nov 04, 2004 at 02:50:19PM +0100, Ivan Voras wrote:
> Christian Brueffer wrote:
> >On Thu, Nov 04, 2004 at 02:39:37PM +0200, Ruslan Ermilov wrote:
>=20
> >>Has been fixed in HEAD a few months ago in src/Makefile,v 1.442.
> >>Once RELENG_5 opens for commits, I will MFC it.
> >>
> >
> >
> >Uhm, not being able to create jails seems like a major regression to me.
> >How about MFC'ing it now, provided that re@ approves?
>=20
> Yes, if it doesn't get fixed in 5.3-release, it's an instant errata=20
> candidate. If the code can't be MFC-ed, maybe the manpage should.
>=20
I have this patch applied in my copy of RELENG_5 (attached).


Cheers,
--=20
Ruslan Ermilov
ru@FreeBSD.org
FreeBSD committer

--7AUc2qLy4jB3hD7Z
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=p
Content-Transfer-Encoding: quoted-printable

Index: Makefile.inc1
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
RCS file: /home/ncvs/src/Makefile.inc1,v
retrieving revision 1.438.2.4
diff -u -r1.438.2.4 Makefile.inc1
--- Makefile.inc1	30 Sep 2004 23:36:06 -0000	1.438.2.4
+++ Makefile.inc1	4 Oct 2004 13:03:32 -0000
@@ -180,13 +180,13 @@
 		GROFF_TMAC_PATH=3D${WORLDTMP}/legacy/usr/share/tmac
=20
 # bootstrap-tools stage
-BMAKEENV=3D	DESTDIR=3D \
-		INSTALL=3D"sh ${.CURDIR}/tools/install.sh" \
+BMAKEENV=3D	INSTALL=3D"sh ${.CURDIR}/tools/install.sh" \
 		PATH=3D${BPATH}:${PATH} \
 		WORLDTMP=3D${WORLDTMP} \
 		MAKEFLAGS=3D"-m ${.CURDIR}/tools/build/mk ${.MAKEFLAGS}"
 BMAKE=3D		MAKEOBJDIRPREFIX=3D${WORLDTMP} \
 		${BMAKEENV} ${MAKE} -f Makefile.inc1 \
+		DESTDIR=3D \
 		BOOTSTRAPPING=3D${OSRELDATE} \
 		-DNOHTML -DNOINFO -DNOLINT -DNOMAN -DNOPIC -DNOPROFILE \
 		-DNOSHARED -DNO_CPU_CFLAGS -DNO_WARNS
@@ -194,6 +194,7 @@
 # build-tools stage
 TMAKE=3D		MAKEOBJDIRPREFIX=3D${OBJTREE} \
 		${BMAKEENV} ${MAKE} -f Makefile.inc1 \
+		DESTDIR=3D \
 		BOOTSTRAPPING=3D${OSRELDATE} -DNOLINT -DNO_CPU_CFLAGS -DNO_WARNS
=20
 # cross-tools stage
@@ -201,11 +202,10 @@
=20
 # world stage
 WMAKEENV=3D	${CROSSENV} \
-		DESTDIR=3D${WORLDTMP} \
 		_SHLIBDIRPREFIX=3D${WORLDTMP} \
 		INSTALL=3D"sh ${.CURDIR}/tools/install.sh" \
 		PATH=3D${TMPPATH}
-WMAKE=3D		${WMAKEENV} ${MAKE} -f Makefile.inc1
+WMAKE=3D		${WMAKEENV} ${MAKE} -f Makefile.inc1 DESTDIR=3D${WORLDTMP}
=20
 # install stage
 .if empty(.MAKEFLAGS:M-n)

--7AUc2qLy4jB3hD7Z--

--xgyAXRrhYN0wYx8y
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (FreeBSD)

iD8DBQFBijSeqRfpzJluFF4RAvXXAJ9WdSQOy0eyIdbexwieD81vxZe/VQCeItKj
GfqG5Q7f/Hkswpb8gVHpG/k=
=wurV
-----END PGP SIGNATURE-----

--xgyAXRrhYN0wYx8y--



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