Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 May 2002 11:25:46 -0700
From:      "Crist J. Clark" <cjc@FreeBSD.ORG>
To:        Sheldon Hearn <sheldonh@starjuice.net>
Cc:        stable@FreeBSD.ORG
Subject:   Re: installworld broken from read-only NFS /usr/obj
Message-ID:  <20020508112546.D94469@blossom.cjclark.org>
In-Reply-To: <7303.1020784991@axl.seasidesoftware.co.za>; from sheldonh@starjuice.net on Tue, May 07, 2002 at 05:23:11PM %2B0200
References:  <7303.1020784991@axl.seasidesoftware.co.za>

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020508112546.D94469>