From owner-freebsd-stable Fri Sep 19 04:57:29 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id EAA06458 for stable-outgoing; Fri, 19 Sep 1997 04:57:29 -0700 (PDT) Received: from bunyip.cc.uq.edu.au (daemon@bunyip.cc.uq.edu.au [130.102.2.1]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id EAA06453 for ; Fri, 19 Sep 1997 04:57:20 -0700 (PDT) Received: (from daemon@localhost) by bunyip.cc.uq.edu.au (8.8.7/8.8.7) id VAA25917 for freebsd-stable@freebsd.org; Fri, 19 Sep 1997 21:56:49 +1000 Received: from troll.dtir.qld.gov.au by ogre.dtir.qld.gov.au (8.7.5/DEVETIR-E0.3a) with ESMTP id VAA18160 for ; Fri, 19 Sep 1997 21:51:30 +1000 (EST) Received: from localhost (syssgm@localhost) by troll.dtir.qld.gov.au (8.8.5/8.8.5) with SMTP id VAA29237; Fri, 19 Sep 1997 21:51:26 +1000 (EST) Message-Id: <199709191151.VAA29237@troll.dtir.qld.gov.au> X-Authentication-Warning: troll.dtir.qld.gov.au: syssgm@localhost didn't use HELO protocol To: freebsd-stable@freebsd.org cc: syssgm@dtir.qld.gov.au Subject: No-go with read-only src tree Date: Fri, 19 Sep 1997 21:51:26 +1000 From: Stephen McKay Sender: owner-freebsd-stable@freebsd.org X-Loop: FreeBSD.org Precedence: bulk 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.