From owner-freebsd-questions@FreeBSD.ORG Tue Nov 9 14:33:33 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 947E616A4CE for ; Tue, 9 Nov 2004 14:33:33 +0000 (GMT) Received: from mproxy.gmail.com (mproxy.gmail.com [216.239.56.242]) by mx1.FreeBSD.org (Postfix) with ESMTP id 650A143D31 for ; Tue, 9 Nov 2004 14:33:31 +0000 (GMT) (envelope-from pixiedave@gmail.com) Received: by mproxy.gmail.com with SMTP id q44so83905cwc for ; Tue, 09 Nov 2004 06:33:28 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=e72kYsSvPL8pyON9Q2DnXGJlJgLCsurVRd24swSLKF5a0DTLldrqc1ucjR0DaxROn9JWWMWMJuw9lDSjxh9FOmLTfg7J0Fz5mi+x07BxlOS/HGFX2Oq7EOur7hAvDmgslNCXxjcVPEtVztyWxQVfRg7+acPJEQVy9mDWtmzbmYQ= Received: by 10.11.116.67 with SMTP id o67mr172853cwc; Tue, 09 Nov 2004 06:33:27 -0800 (PST) Received: by 10.11.118.37 with HTTP; Tue, 9 Nov 2004 06:33:27 -0800 (PST) Message-ID: <126980411090633223e95ac@mail.gmail.com> Date: Tue, 9 Nov 2004 09:33:27 -0500 From: pixiedave To: axel.gruner@suedfactoring.de In-Reply-To: <20041109075941.GA59788@pcs28.suedfactoring.de> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <20041108222638.GD92358@polands.org> <1269804110815121f9cf6c3@mail.gmail.com> <20041109002704.GA42548@omniresources.com> <20041109075941.GA59788@pcs28.suedfactoring.de> cc: questions@freebsd.org Subject: Re: Problem making jail in 5.3-STABLE X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: pixiedave List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Nov 2004 14:33:33 -0000 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