From owner-freebsd-stable Fri Sep 14 2:57:47 2001 Delivered-To: freebsd-stable@freebsd.org Received: from whale.sunbay.crimea.ua (whale.sunbay.crimea.ua [212.110.138.65]) by hub.freebsd.org (Postfix) with ESMTP id EBB2D37B403 for ; Fri, 14 Sep 2001 02:57:19 -0700 (PDT) Received: (from ru@localhost) by whale.sunbay.crimea.ua (8.11.2/8.11.2) id f8E9uK206383; Fri, 14 Sep 2001 12:56:20 +0300 (EEST) (envelope-from ru) Date: Fri, 14 Sep 2001 12:56:20 +0300 From: Ruslan Ermilov To: Sheldon Hearn Cc: stable@FreeBSD.ORG Subject: Re: Cross-building and read-only src both broken Message-ID: <20010914125620.A5733@sunbay.com> References: <26311.1000459295@axl.seasidesoftware.co.za> <20010914123902.C82568@sunbay.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010914123902.C82568@sunbay.com>; from ru@FreeBSD.org on Fri, Sep 14, 2001 at 12:39:02PM +0300 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, 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