Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Sep 1997 08:44:18 -0400 (EDT)
From:      Snob Art Genre <benedict@echonyc.com>
To:        Stephen McKay <syssgm@dtir.qld.gov.au>
Cc:        freebsd-stable@FreeBSD.ORG
Subject:   Re: No-go with read-only src tree
Message-ID:  <Pine.GSO.3.96.970919084357.28485A-100000@echonyc.com>
In-Reply-To: <199709191151.VAA29237@troll.dtir.qld.gov.au>

next in thread | previous in thread | raw e-mail | index | archive | help
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." 




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.3.96.970919084357.28485A-100000>