From owner-freebsd-stable Wed Feb 27 12:43:19 2002 Delivered-To: freebsd-stable@freebsd.org Received: from whale.sunbay.crimea.ua (whale.sunbay.crimea.ua [212.110.138.65]) by hub.freebsd.org (Postfix) with ESMTP id CA99F37B400 for ; Wed, 27 Feb 2002 12:42:50 -0800 (PST) Received: (from ru@localhost) by whale.sunbay.crimea.ua (8.11.6/8.11.2) id g1RKeCp00437; Wed, 27 Feb 2002 22:40:12 +0200 (EET) (envelope-from ru) Date: Wed, 27 Feb 2002 22:40:12 +0200 From: Ruslan Ermilov To: marius@alchemy.franken.de Cc: freebsd-stable@FreeBSD.ORG Subject: Re: buildworld with ro /usr/src broken Message-ID: <20020227204012.GA99496@sunbay.com> References: <20020209130437.GA15287@myhakas.estpak.ee> <200202091743.g19HhIm00362@beerswilling.netscum.dyndns.dk> <20020227111914.GB30220@sunbay.com> <20020227155244.A24137@newtrinity.default-network.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020227155244.A24137@newtrinity.default-network.net> User-Agent: Mutt/1.3.27i Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Wed, Feb 27, 2002 at 03:52:44PM +0100, marius@alchemy.franken.de wrote: > On Wed, Feb 27, 2002 at 01:19:14PM +0200, Ruslan Ermilov wrote: > > > > > MAKEOBJDIR[PREFIX] only work right if set as environment variables. > > This is documented in make(1) manpage and in /usr/share/mk/bsd.obj.mk. > > > > I have an uncommitted patch that makes it possible to set them on > > make(1)'s command line but still no joy in attempting to set them > > in /etc/make.conf. I bear in mind adding a patch to Makefile.inc1 > > too that would prevent people from attempting to set MAKEOBJDIRPREFIX > > in /etc/make.conf. > > > > I don't want to doubt your expertise but > `cd /usr/src && make MAKEOBJDIRPREFIX=/tmp/obj buildworld` > works for ages for me, same for installworld. I'm not sure about > 2.2.x and 3.x, but I at least did the updates between 4.0-stable > and 4.5-stable that way on several machines without a problem. > Run the following commands in sequence to see what I'm talking about: rm -rf /tmp/obj cd /usr/src/bin/cat make MAKEOBJDIRPREFIX=/tmp/obj obj make MAKEOBJDIRPREFIX=/tmp/obj all ls -l /tmp/usr/usr/src/bin/cat Try setting MAKEOBJDIRPREFIX in environment then. Cheers, -- Ruslan Ermilov Sysadmin and DBA, ru@sunbay.com Sunbay Software AG, ru@FreeBSD.org FreeBSD committer, +380.652.512.251 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message