From owner-freebsd-stable Wed May 8 11:25:54 2002 Delivered-To: freebsd-stable@freebsd.org Received: from rwcrmhc53.attbi.com (rwcrmhc53.attbi.com [204.127.198.39]) by hub.freebsd.org (Postfix) with ESMTP id 1D4D637B406 for ; Wed, 8 May 2002 11:25:49 -0700 (PDT) Received: from blossom.cjclark.org ([12.234.91.48]) by rwcrmhc53.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020508182546.EXDA22408.rwcrmhc53.attbi.com@blossom.cjclark.org>; Wed, 8 May 2002 18:25:46 +0000 Received: (from cjc@localhost) by blossom.cjclark.org (8.11.6/8.11.6) id g48IPkC94767; Wed, 8 May 2002 11:25:46 -0700 (PDT) (envelope-from cjc) Date: Wed, 8 May 2002 11:25:46 -0700 From: "Crist J. Clark" To: Sheldon Hearn Cc: stable@FreeBSD.ORG Subject: Re: installworld broken from read-only NFS /usr/obj Message-ID: <20020508112546.D94469@blossom.cjclark.org> References: <7303.1020784991@axl.seasidesoftware.co.za> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <7303.1020784991@axl.seasidesoftware.co.za>; from sheldonh@starjuice.net on Tue, May 07, 2002 at 05:23:11PM +0200 X-URL: http://people.freebsd.org/~cjc/ 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 On Tue, May 07, 2002 at 05:23:11PM +0200, Sheldon Hearn wrote: > > Hi folks, > > I routinely run 'make installworld' from a read-only NFS-mounted > /usr/src, using a read-only NFS-mounted /usr/obj . This allows me to > perform builds on a non-production box and then upgrade all my servers > from its obj tree. > > The last time I did this was a couple of weeks ago and it worked. Now I > get the following error: > > make installworld > ... > ===> gnu/usr.bin/perl/library/SDBM_File > cd sdbm && make all > rm -rf libsdbm.a > rm: libsdbm.a: Read-only file system > *** Error code 1 > > If I use 'make -i', it is evident that this isn't all such errors are in > the src/gnu/usr.bin/perl/library tree, but this is the first one > encountered. > > It looks like the installworld target causes an attempted write to the > obj tree, which is naughty. > > Any ideas? Check the clocks. The Perl build is known for extreme temporal sensitivity. The 'installworld' will try to rebuild things that were built in the 'buildworld' because it thinks the targets are out of date. -- Crist J. Clark | cjclark@alum.mit.edu | cjclark@jhu.edu http://people.freebsd.org/~cjc/ | cjc@freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message