From owner-freebsd-stable Fri Sep 19 05:44:37 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id FAA09096 for stable-outgoing; Fri, 19 Sep 1997 05:44:37 -0700 (PDT) Received: from echonyc.com (echonyc.com [198.67.15.2]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id FAA09080 for ; Fri, 19 Sep 1997 05:44:31 -0700 (PDT) Received: from localhost (benedict@localhost) by echonyc.com (8.8.7/8.8.7) with SMTP id IAA00402; Fri, 19 Sep 1997 08:44:18 -0400 (EDT) Date: Fri, 19 Sep 1997 08:44:18 -0400 (EDT) From: Snob Art Genre To: Stephen McKay cc: freebsd-stable@FreeBSD.ORG Subject: Re: No-go with read-only src tree In-Reply-To: <199709191151.VAA29237@troll.dtir.qld.gov.au> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk It's trivial . . . just fix unionfs. :-) On Fri, 19 Sep 1997, Stephen McKay wrote: > I can't recall any actual claim that a read only source tree can be used > for a 'make buildworld', but I tried anyway. I started with a 2.2.2 box > and it fell over trying to build 'make'. After 'make install' in share/mk > it got much further. It seems to me like this could work with a few tweaks. > > The next death spot (somewhere after "Rebuilding tools needed to build the > libraries"): > > cd /src/2.2-stable/usr.bin/lex/lib && /usr/obj/src/2.2-stable/tmp/usr/bin/make depend && /usr/obj/src/2.2-stable/tmp/usr/bin/make -DNOINFO -DNOMAN -DNOPROFILE all install cleandir obj > rm -f .depend > mkdep -f .depend -a -I/usr/obj/src/2.2-stable/tmp/usr/include libmain.c libyywrap.c > /usr/bin/mkdep: cannot create .depend: read-only file system > *** Error code 2 > > Stop. > *** Error code 1 > > Stop. > *** Error code 1 > > Stop. > > > It seems that back in the "Bootstrapping flex" part in "Rebuilding bootstrap > tools", the "make ... all install cleandir obj" command rebuilds the obj > dir for lex, but not lex/lib. > > As the last step of the bootstrap, I see: > > /usr/obj/src/2.2-stable/usr.bin/lex created for /src/2.2-stable/usr.bin/lex > > but I DON'T see the expected lex/lib equivalent. > > I reckon this is solvable. I'll be building 2.2-stable pretty regularly > until release date, and I'm keen on building from read-only source. If > no Makefile Master fixes this, I'll be adding something creative of my > own. :-) > > Stephen. > Ben "You have your mind on computers, it seems."