From owner-cvs-src  Fri Feb 21 23:37:26 2003
Delivered-To: cvs-src@freebsd.org
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP
	id 4AA9937B401; Fri, 21 Feb 2003 23:37:23 -0800 (PST)
Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16])
	by mx1.FreeBSD.org (Postfix) with ESMTP
	id B334543FA3; Fri, 21 Feb 2003 23:37:20 -0800 (PST)
	(envelope-from bde@zeta.org.au)
Received: from katana.zip.com.au (katana.zip.com.au [61.8.7.246])
	by mailman.zeta.org.au (8.9.3/8.8.7) with ESMTP id SAA28450;
	Sat, 22 Feb 2003 18:37:17 +1100
Date: Sat, 22 Feb 2003 18:38:22 +1100 (EST)
From: Bruce Evans <bde@zeta.org.au>
X-X-Sender: bde@gamplex.bde.org
To: Ruslan Ermilov <ru@FreeBSD.org>
Cc: "Jacques A. Vidrine" <nectar@FreeBSD.org>,
	Giorgos Keramidas <keramida@FreeBSD.org>,
	<src-committers@FreeBSD.org>, <cvs-src@FreeBSD.org>,
	<cvs-all@FreeBSD.org>
Subject: Re: cvs commit: src Makefile.inc1
In-Reply-To: <20030221153135.GC54716@sunbay.com>
Message-ID: <20030222181328.N696-100000@gamplex.bde.org>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-cvs-src@FreeBSD.ORG
Precedence: bulk
List-ID: <cvs-src.FreeBSD.ORG>
List-Archive: <http://docs.freebsd.org/mail/> (Web Archive)
List-Help: <mailto:majordomo@FreeBSD.ORG?subject=help> (List Instructions)
List-Subscribe: <mailto:majordomo@FreeBSD.ORG?subject=subscribe%20cvs-src>
List-Unsubscribe: <mailto:majordomo@FreeBSD.ORG?subject=unsubscribe%20cvs-src>
X-Loop: FreeBSD.ORG

On Fri, 21 Feb 2003, Ruslan Ermilov wrote:

> On Fri, Feb 21, 2003 at 09:01:55AM -0600, Jacques A. Vidrine wrote:
> > The problem is that touch is not in the path during `make release' (at
> > some point the path includes only stuff in /usr/obj/usr/src/i386/...),
> > so you get
> >    ``touch: not found''
> > fairly early.
> >
> > If you give me time, I will reproduce and send you the logs when I'm
> > done with some more urgent issues.
> >
> Ah, that!  This I saw often during the initial (native) "make
> installworld", as the first step of "make release", if you
> forgot to rebuild your world before running ``make release'',
> or your sources have changed in between.  Then installworld
> is trying to do something that was supposed to be already done
> by buildworld.  ``touch'' is not used during install, and
> during build PATH always includes /usr/bin.  So the only
> scenario for ``touch: not found'' is during install where
> it _should not_ be used.  And this is the problem with your
> build environment, most likely a forgotten buildworld or
> wrong date/time (system or modification date of sources).

The object tree should be readonly while installing.  Mounting it
readonly is too hard to configure in general, but making it immutable
is efficient enough at least for testing:
"chflags -R schg /usr/obj/; sync; chflags -R noschg /usr/obj/" starting
with a cold disk cache takes about 0.75 of makeworld time here (12
seconds for schg including warming the cache, 3.5 seconds for noschg
(all metadata stays cached), and 2000 seconds for makeworld).

Bruce


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-src" in the body of the message