Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Nov 2001 17:52:02 +0200
From:      Ruslan Ermilov <ru@FreeBSD.ORG>
To:        Brian Somers <brian@freebsd-services.com>
Cc:        David Wolfskill <david@catwhisker.org>, 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>
In-Reply-To: <200111271544.fARFi6U47890@hak.lan.Awfulhak.org>
References:  <ru@FreeBSD.ORG> <20011127171910.E67032@sunbay.com> <200111271544.fARFi6U47890@hak.lan.Awfulhak.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011127175202.K67032>