make world DESTDIR=/jail fails
Ruslan Ermilov
ru at freebsd.org
Thu Nov 4 05:54:58 PST 2004
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:
>
> >>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?
>
> Yes, if it doesn't get fixed in 5.3-release, it's an instant errata
> candidate. If the code can't be MFC-ed, maybe the manpage should.
>
I have this patch applied in my copy of RELENG_5 (attached).
Cheers,
--
Ruslan Ermilov
ru at FreeBSD.org
FreeBSD committer
-------------- next part --------------
Index: Makefile.inc1
===================================================================
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=${WORLDTMP}/legacy/usr/share/tmac
# bootstrap-tools stage
-BMAKEENV= DESTDIR= \
- INSTALL="sh ${.CURDIR}/tools/install.sh" \
+BMAKEENV= INSTALL="sh ${.CURDIR}/tools/install.sh" \
PATH=${BPATH}:${PATH} \
WORLDTMP=${WORLDTMP} \
MAKEFLAGS="-m ${.CURDIR}/tools/build/mk ${.MAKEFLAGS}"
BMAKE= MAKEOBJDIRPREFIX=${WORLDTMP} \
${BMAKEENV} ${MAKE} -f Makefile.inc1 \
+ DESTDIR= \
BOOTSTRAPPING=${OSRELDATE} \
-DNOHTML -DNOINFO -DNOLINT -DNOMAN -DNOPIC -DNOPROFILE \
-DNOSHARED -DNO_CPU_CFLAGS -DNO_WARNS
@@ -194,6 +194,7 @@
# build-tools stage
TMAKE= MAKEOBJDIRPREFIX=${OBJTREE} \
${BMAKEENV} ${MAKE} -f Makefile.inc1 \
+ DESTDIR= \
BOOTSTRAPPING=${OSRELDATE} -DNOLINT -DNO_CPU_CFLAGS -DNO_WARNS
# cross-tools stage
@@ -201,11 +202,10 @@
# world stage
WMAKEENV= ${CROSSENV} \
- DESTDIR=${WORLDTMP} \
_SHLIBDIRPREFIX=${WORLDTMP} \
INSTALL="sh ${.CURDIR}/tools/install.sh" \
PATH=${TMPPATH}
-WMAKE= ${WMAKEENV} ${MAKE} -f Makefile.inc1
+WMAKE= ${WMAKEENV} ${MAKE} -f Makefile.inc1 DESTDIR=${WORLDTMP}
# install stage
.if empty(.MAKEFLAGS:M-n)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20041104/5c65e28a/attachment.bin
More information about the freebsd-current
mailing list