From owner-freebsd-current Wed Oct 24 0: 1:23 2001 Delivered-To: freebsd-current@freebsd.org Received: from whale.sunbay.crimea.ua (whale.sunbay.crimea.ua [212.110.138.65]) by hub.freebsd.org (Postfix) with ESMTP id 9FE8D37B406 for ; Wed, 24 Oct 2001 00:01:03 -0700 (PDT) Received: (from ru@localhost) by whale.sunbay.crimea.ua (8.11.6/8.11.2) id f9O6xWQ96051; Wed, 24 Oct 2001 09:59:32 +0300 (EEST) (envelope-from ru) Date: Wed, 24 Oct 2001 09:59:32 +0300 From: Ruslan Ermilov To: Mark Murray Cc: Peter Wemm , David Wolfskill , current@FreeBSD.ORG Subject: Re: It's baaack... -- ("make: don't know how to make copies. Stop") Message-ID: <20011024095932.B92032@sunbay.com> References: <20011023152715.54182380A@overcee.netplex.com.au> <200110231943.f9NJhTY15110@grimreaper.grondar.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200110231943.f9NJhTY15110@grimreaper.grondar.org>; from mark@grondar.za on Tue, Oct 23, 2001 at 08:43:29PM +0100 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, Oct 23, 2001 at 08:43:29PM +0100, Mark Murray wrote: > > David Wolfskill wrote: > > > Found this in my typescript after a "make installworld" on today's > > > > There was a commit about a problem with a missing NOOBJ.. > > May I suggest either: > > - rm -rf /usr/obj/* > > - cd src/share; cd `make -V .OBJDIR`; rm -rf * (check that its not your > > srcdir first :-). > > Actually, it is possible for there to be no copies: target in > src/share/examples/. The copies: (actually copies::) > target is built up in a .for loop that may be empty. > > The fix is a dummy copies:: target. > We don't descend that far into examples/, we just stay in "examples" and build DIRS list dynamically. The problem is that even after my fix to examples/ipfilter/Makefile (which added NOOBJ to ipfilter subdir), the old "make world" may have left the .OBJDIR for examples/ipfilter. What it means for "examples" is that .OBJDIR != .CURDIR (as implied by the NOOBJ hint). The solution is to remove the stale objdir, as Peter have suggested. My (safe) version thus looks like this: cd /usr/src/share/examples; \ [ `make -V .OBJDIR ` != `make -V .CURDIR` ] && rm -rf `make -V .OBJDIR` Mark, please back your 1.32 revision from share/examples/Makefile out, as it only hides the problem with a wrong .OBJDIR. In the presence of the .OBJDIR for share/examples and revision 1.32, we just end up not installing anything from examples/* subdirs. Compare: # cd /usr/src/share/examples # mkdir /usr/obj/usr/src/share/examples # make -n copies # rmdir /usr/obj/usr/src/share/examples # make -n copies 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-current" in the body of the message