From owner-freebsd-stable Fri Aug 2 20:59:52 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B85A937B400 for ; Fri, 2 Aug 2002 20:59:47 -0700 (PDT) Received: from rwcrmhc52.attbi.com (rwcrmhc52.attbi.com [216.148.227.88]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2626443E4A for ; Fri, 2 Aug 2002 20:59:47 -0700 (PDT) (envelope-from crist.clark@attbi.com) Received: from blossom.cjclark.org ([12.234.91.48]) by rwcrmhc52.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020803035816.KVLE22139.rwcrmhc52.attbi.com@blossom.cjclark.org> for ; Sat, 3 Aug 2002 03:58:16 +0000 Received: from blossom.cjclark.org (localhost. [127.0.0.1]) by blossom.cjclark.org (8.12.3/8.12.3) with ESMTP id g733wGJK047672 for ; Fri, 2 Aug 2002 20:58:16 -0700 (PDT) (envelope-from crist.clark@attbi.com) Received: (from cjc@localhost) by blossom.cjclark.org (8.12.3/8.12.3/Submit) id g733wFgr047671 for stable@FreeBSD.ORG; Fri, 2 Aug 2002 20:58:15 -0700 (PDT) X-Authentication-Warning: blossom.cjclark.org: cjc set sender to crist.clark@attbi.com using -f Date: Fri, 2 Aug 2002 20:58:15 -0700 From: "Crist J. Clark" To: stable@FreeBSD.ORG Subject: Re: 'clean' Problems in libgmp Message-ID: <20020803035815.GA47529@blossom.cjclark.org> Reply-To: "Crist J. Clark" References: <20020802225255.GA31010@blossom.cjclark.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020802225255.GA31010@blossom.cjclark.org> User-Agent: Mutt/1.4i 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 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