From owner-freebsd-current Tue Nov 27 7:53:15 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 1E1CB37B507; Tue, 27 Nov 2001 07:52:39 -0800 (PST) Received: (from ru@localhost) by whale.sunbay.crimea.ua (8.11.6/8.11.2) id fARFq2S94520; Tue, 27 Nov 2001 17:52:02 +0200 (EET) (envelope-from ru) Date: Tue, 27 Nov 2001 17:52:02 +0200 From: Ruslan Ermilov To: Brian Somers Cc: David Wolfskill , current@FreeBSD.ORG, imp@FreeBSD.ORG Subject: Re: rm -rf /usr/obj/usr/src/usr.bin/tip helps build -CURRENT Message-ID: <20011127175202.K67032@sunbay.com> References: <20011127171910.E67032@sunbay.com> <200111271544.fARFi6U47890@hak.lan.Awfulhak.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200111271544.fARFi6U47890@hak.lan.Awfulhak.org> User-Agent: Mutt/1.3.23i 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, Nov 27, 2001 at 03:44:06PM +0000, Brian Somers wrote: > > On Tue, Nov 27, 2001 at 06:35:49AM -0800, David Wolfskill wrote: > > > Found this to be helpful after seeing: > > > > > > >>> stage 2: cleaning up the object tree > > > ... > > > ===> usr.bin/tip > > > ".depend", line 886: Inconsistent operator for tip > > > make: fatal errors encountered -- cannot continue > > > > > > > > > and the tail end of /usr/obj/usr/src/usr.bin/tip/.depend (which was 886 > > > lines long) was: > > > > > > /usr/obj/usr/src/i386/usr/include/errno.h \ > > > /usr/obj/usr/src/i386/usr/include/limits.h \ > > > /usr/obj/usr/src/i386/usr/include/sys/syslimits.h > > > tip: /usr/obj/usr/src/i386/usr/lib/libc.a > > > > > > > > > I don't use -DNOCLEAN or anything like that, so it looks as if forcibly > > > removing the /usr/obj/usr/src/usr.bin/tip directory does something that > > > the normal "make buildworld" does not... and which is useful in this case. > > > > > > Still building, but I'm way beyond that stage, at least. > > > > > > Cc:ing Warner, in case UPDATING might merit a brief mention. > > > > > Simply removing the /usr/obj/usr/src/usr.bin/tip/.depend file should > > work as well. And yes, mentioning this in UPDATING ASAP would be > > great. > > I don't think this is UPDATING material. People shouldn't be using > -DNOCLEAN unless they understand the consequences. > The problem is that those not using -DNOCLEAN are affected as well. The explanation lies in the fact that before these changes were repo-backed-out, "tip" used to be a PROG under usr.bin/tip, and as such /usr/obj/usr/src/usr.bin/tip/.depend had a regular ":" dependency line for "tip". Now, "tip" is back again a SUBDIR, and bsd.subdir.mk has the following line that correlates with the dependency line from a stale .depend: ${SUBDIR}:: 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