From owner-freebsd-stable Sat Mar 16 21: 1:42 2002 Delivered-To: freebsd-stable@freebsd.org Received: from gull.prod.itd.earthlink.net (gull.mail.pas.earthlink.net [207.217.120.84]) by hub.freebsd.org (Postfix) with ESMTP id 770F537B400; Sat, 16 Mar 2002 21:01:39 -0800 (PST) Received: from sdn-ar-004dcwashp236.dialsprint.net ([206.133.21.252] helo=moo.holy.cow) by gull.prod.itd.earthlink.net with esmtp (Exim 3.33 #1) id 16mSna-0004LI-00; Sat, 16 Mar 2002 21:01:39 -0800 Received: by moo.holy.cow (Postfix, from userid 1001) id 8DFF150B8B; Sun, 17 Mar 2002 00:03:55 -0500 (EST) Date: Sun, 17 Mar 2002 00:03:55 -0500 From: parv To: Ruslan Ermilov Cc: freebsd-stable@FreeBSD.ORG Subject: Re: buildworld with ro /usr/src broken Message-ID: <20020317050354.GA4524@moo.holy.cow> Mail-Followup-To: Ruslan Ermilov , freebsd-stable@FreeBSD.ORG References: <20020209130437.GA15287@myhakas.estpak.ee> <200202091743.g19HhIm00362@beerswilling.netscum.dyndns.dk> <20020227111914.GB30220@sunbay.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020227111914.GB30220@sunbay.com> 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 in message <20020227111914.GB30220@sunbay.com>, wrote Ruslan Ermilov thusly... > ... > 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. seems like it is not yet possible to use MAKEOBJDIRPREFIX again in /etc/make.conf. last cvsup was done on Sun Mar 17 2002 00:07:35 UTC (end time). (MAKEOBJDIRPREFIX could have been specified in /etc/make.conf when i last built 4-stable around 2002-02-03 07.04.04 UTC. if MAKEOBJDIRPREFIX (=/source/obj) had been specified, currently, in /etc/make.conf, make buildworld would die at the point below. i had to unset MAKEOBJDIRPREFIX. (/usr/src is symlinked to /source/src-stable, and /usr/obj to /source/obj.) ... mkdir -p /usr/obj/source/src-stable/i386/usr/include/security mkdir -p /usr/obj/source/src-stable/i386/usr/include/ss ln -sf /source/src-stable/sys /usr/obj/source/src-stable/i386 -------------------------------------------------------------- >>> stage 1: bootstrap tools -------------------------------------------------------------- cd /source/src-stable; MAKEOBJDIRPREFIX=/usr/obj/source/src-stable/i386 DESTDIR= INSTALL="sh /source/src-stable/tools/install.sh" make -f Makefile.inc1 -DBOOTSTRAPPING -DNOHTML -DNOINFO -DNOMAN -DNOPIC -DNOPROFILE -DNOSHARED bootstrap-tools cd /source/src-stable/games/fortune/strfile; make obj; make depend; make all; make DESTDIR=/usr/obj/source/src-stable/i386 insta ll /usr/obj/source/src-stable/i386/source/src-stable/games/fortune/strfile created for /source/src-stable/games/fortune/strfile - parv -- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message