Date: Fri, 14 Sep 2001 12:56:20 +0300 From: Ruslan Ermilov <ru@FreeBSD.ORG> To: Sheldon Hearn <sheldonh@starjuice.net> Cc: stable@FreeBSD.ORG Subject: Re: Cross-building and read-only src both broken Message-ID: <20010914125620.A5733@sunbay.com> In-Reply-To: <20010914123902.C82568@sunbay.com>; from ru@FreeBSD.org on Fri, Sep 14, 2001 at 12:39:02PM %2B0300 References: <26311.1000459295@axl.seasidesoftware.co.za> <20010914123902.C82568@sunbay.com>
index | next in thread | previous in thread | raw e-mail
On Fri, Sep 14, 2001 at 12:39:02PM +0300, Ruslan Ermilov wrote:
> On Fri, Sep 14, 2001 at 11:21:35AM +0200, Sheldon Hearn wrote:
> >
> > Building RELENG_4 with a read-only src is broken:
> > =================================================
> >
> > rm -rf /usr/src/gnu/lib/libgmp/mpz /usr/src/gnu/lib/libgmp/mpf /usr/src/gnu/lib/libgmp/mpq
> > rm: /usr/src/gnu/lib/libgmp/mpz: Read-only file system
> > rm: /usr/src/gnu/lib/libgmp/mpf: Read-only file system
> > rm: /usr/src/gnu/lib/libgmp/mpq: Read-only file system
> > *** Error code 1
> >
Hmm, this seems like you have all of these /usr/src/gnu/lib/libgmp/mp[zfq]/
dirs. They shouldn't normally exist. Please cleanup your /usr/src first
on a non-read-only system with ``make cleandir && make cleandir''.
If they don't exist OTOH, -f flag of rm(1) preserves 0 exit status.
I can't see any other explanation of the above.
Meanwhile, the following style patch may be committed:
Index: Makefile
===================================================================
RCS file: /home/ncvs/src/gnu/lib/libgmp/Attic/Makefile,v
retrieving revision 1.22
diff -u -r1.22 Makefile
--- Makefile 1999/08/27 23:32:50 1.22
+++ Makefile 2001/09/14 09:57:57
@@ -135,9 +135,7 @@
mpz mpf mpq:
mkdir ${.TARGET}
-CLEANDIRS+= ${.OBJDIR}/mpz \
- ${.OBJDIR}/mpf \
- ${.OBJDIR}/mpq
+CLEANDIRS+= mpz mpf mpq
beforeinstall:
${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 \
Cheers,
--
Ruslan Ermilov Oracle Developer/DBA,
ru@sunbay.com Sunbay Software AG,
ru@FreeBSD.org FreeBSD committer,
+380.652.512.251 Simferopol, Ukraine
http://www.FreeBSD.org The Power To Serve
http://www.oracle.com Enabling The Information Age
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010914125620.A5733>
