Date: Fri, 2 Aug 2002 20:58:15 -0700 From: "Crist J. Clark" <crist.clark@attbi.com> To: stable@FreeBSD.ORG Subject: Re: 'clean' Problems in libgmp Message-ID: <20020803035815.GA47529@blossom.cjclark.org> In-Reply-To: <20020802225255.GA31010@blossom.cjclark.org> References: <20020802225255.GA31010@blossom.cjclark.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Aug 02, 2002 at 03:52:55PM -0700, Crist J. Clark wrote: > I am having problems building -STABLE on a recent -STABLE box. I can > think of ways to work around this, but I'd like to figure out what is > wrong. I am getting the following error, > > $ make buildworld > . > . > . > -------------------------------------------------------------- > >>> stage 2: cleaning up the object tree > -------------------------------------------------------------- > . > . > . > ===> gnu/lib/libgmp > . > . > . > rm -f libgmp.so > rm -f libgmp.so.* libgmp.so > rm -f libgmp.a libgmp_p.a libgmp.so.3 > rm -rf mpz mpf mpq > rm: mpz: Read-only file system > rm: mpf: Read-only file system > rm: mpq: Read-only file system > *** Error code 1 > > Stop in /usr/src/gnu/lib/libgmp. > *** Error code 1 > > Stop in /usr/src/gnu/lib/libgmp. > *** Error code 1 > > Stop in /usr/src/gnu/lib. > *** Error code 1 > > Stop in /usr/src/gnu. > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > > Stop in /usr/src. > $ > > I am building from an NFS mounted, read-only /usr/src. The object > directory is completely clean at the start. I don't see why it would > matter, but I am building as a non-root user and > MAKEOBJDIRPREFIX=$HOME/obj. It turns out this _is_ an issue with root versus non-root users. I really don't get this, $ mount | fgrep /usr/src blossom:/export/freebsd/RELENG_4/src on /usr/src (nfs, read-only) $ id uid=1001(cjc) gid=0(wheel) groups=0(wheel), 5(operator) $ cd /usr/src $ ls nonexistent ls: nonexistent: No such file or directory $ rm -rf nonexistent rm: nonexistent: Read-only file system $ su Password: # rm -rf nonexistent # echo $? 0 # Hrm... Bug or feature? -- 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?20020803035815.GA47529>