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, [EMAIL PROTECTED] Sunbay Software AG, [EMAIL PROTECTED] 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 [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message