From owner-freebsd-questions@FreeBSD.ORG Fri Nov 12 16:23:21 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4A05116A4D0 for ; Fri, 12 Nov 2004 16:23:21 +0000 (GMT) Received: from hobbiton.shire.net (hobbiton.shire.net [166.70.252.250]) by mx1.FreeBSD.org (Postfix) with ESMTP id 01AF443D3F for ; Fri, 12 Nov 2004 16:23:21 +0000 (GMT) (envelope-from chad@shire.net) Received: from [67.161.247.57] (helo=[192.168.99.66]) by hobbiton.shire.net with esmtpsa (TLSv1:RC4-SHA:128) (Exim 4.43) id 1CSeCm-000I31-Ei; Fri, 12 Nov 2004 09:23:20 -0700 In-Reply-To: <126980411090633223e95ac@mail.gmail.com> References: <20041108222638.GD92358@polands.org> <1269804110815121f9cf6c3@mail.gmail.com> <20041109002704.GA42548@omniresources.com> <20041109075941.GA59788@pcs28.suedfactoring.de> <126980411090633223e95ac@mail.gmail.com> Mime-Version: 1.0 (Apple Message framework v619) Message-Id: <28898618-34C7-11D9-B9DF-003065A70D30@shire.net> From: "Chad Leigh -- Shire.Net LLC" Date: Fri, 12 Nov 2004 09:23:16 -0700 To: pixiedave X-Mailer: Apple Mail (2.619) X-SA-Exim-Connect-IP: 67.161.247.57 X-SA-Exim-Mail-From: chad@shire.net Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Checker-Version: SpamAssassin 3.0.0 (2004-09-13) on hobbiton.shire.net X-Spam-Status: No, score=-0.3 required=5.0 tests=AWL,BAYES_50,UPPERCASE_25_50 autolearn=disabled version=3.0.0 X-Spam-Level: X-SA-Exim-Version: 4.1+cvs (built Mon, 23 Aug 2004 08:44:05 -0700) X-SA-Exim-Scanned: Yes (on hobbiton.shire.net) cc: FreeBSD - questions Subject: Re: Problem making jail in 5.3-STABLE X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Nov 2004 16:23:21 -0000 Hi Have you (pixiedave) or anyone else who was having problems with this gotten it to work yet? I have tried the patch below but get failures in the patching, have tried to cvsup to -STABLE (where some people have gotten it to work), and have tried Makefile.inc1 from someone who had it patched already. None of these have worked for me and I am still unable to make world DESTDIR= to make a jail installation under 5.3-STABLE or -RELEASE I have rebuilt /usr/src from scratch (accidently blew it away when changing out a disk controller for a different one) and still have the problem Best Chad On Nov 9, 2004, at 7:33 AM, pixiedave wrote: > On Tue, 9 Nov 2004 08:59:41 +0100, Axel S. Gruner > wrote: >> Use this patch: >> >> Index: Makefile.inc1 >> =================================================================== >> RCS file: /data/ncvs/freebsd/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 Nov 2004 13:24:16 -0000 >> @@ -180,13 +180,13 @@ >> GROFF_TMAC_PATH=${WORLDTMP}/legacy/usr/share/tmac >> >> # bootstrap-tools stage >> -BMAKEENV= DESTDIR= \ >> - INSTALL="sh ${.CURDIR}/tools/install.sh" \ >> +BMAKEDEV= 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) >> >> Save it as "Makefile.inc1.diff" in your home, switsch to /usr/src. >> Become root: >> #patch < /your/home/Makefile.inc1.diff >> >> Build the jail. >> >> I got this patch from a friend of mine, for me it works perfect. >> >> > I followed your directions and got; > 127# patch < /home/pixiedave/Makefile.inc1.diff > Hmm... Looks like a unified diff to me... > The text leading up to this was: > -------------------------- > | > |=================================================================== > |RCS file: /data/ncvs/freebsd/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 Nov 2004 13:24:16 -0000 > -------------------------- > Patching file Makefile.inc1 using Plan A... > patch: **** malformed patch at line 11: # bootstrap-tools stage > 127# > any ideas, patching is new to me. > > > -- > "You Never Blow Your Trip Forever" Daevid Allen > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org"