rm -rf /usr/obj/usr/src/usr.bin/tip helps build -CURRENT

2001-11-27 Thread David Wolfskill

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.

Cheers,
david
-- 
David H. Wolfskill  [EMAIL PROTECTED]
As a computing professional, I believe it would be unethical for me to
advise, recommend, or support the use (save possibly for personal
amusement) of any product that is or depends on any Microsoft product.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: rm -rf /usr/obj/usr/src/usr.bin/tip helps build -CURRENT

2001-11-27 Thread Ruslan Ermilov

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.


Cheers,
-- 
Ruslan Ermilov  Oracle Developer/DBA,
[EMAIL PROTECTED]   Sunbay Software AG,
[EMAIL PROTECTED]  FreeBSD committer,
+380.652.512.251Simferopol, 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



Re: rm -rf /usr/obj/usr/src/usr.bin/tip helps build -CURRENT

2001-11-27 Thread Brian Somers

 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.

 Cheers,
 -- 
 Ruslan ErmilovOracle Developer/DBA,
 [EMAIL PROTECTED] Sunbay Software AG,
 [EMAIL PROTECTED]FreeBSD committer,
 +380.652.512.251  Simferopol, Ukraine
 
 http://www.FreeBSD.orgThe Power To Serve
 http://www.oracle.com Enabling The Information Age

-- 
Brian [EMAIL PROTECTED][EMAIL PROTECTED]
  http://www.freebsd-services.com/brian@[uk.]FreeBSD.org
Don't _EVER_ lose your sense of humour !  brian@[uk.]OpenBSD.org



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: rm -rf /usr/obj/usr/src/usr.bin/tip helps build -CURRENT

2001-11-27 Thread Scott Long

On Tue, Nov 27, 2001 at 03:44:06PM +, Brian Somers wrote:
  On Tue, Nov 27, 2001 at 06:35:49AM -0800, David Wolfskill wrote:
   [...]
   
   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.

Ahh, but he's not using -DNOCLEAN.

Scott

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: rm -rf /usr/obj/usr/src/usr.bin/tip helps build -CURRENT

2001-11-27 Thread Ruslan Ermilov

On Tue, Nov 27, 2001 at 03:44:06PM +, 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.251Simferopol, 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



Re: rm -rf /usr/obj/usr/src/usr.bin/tip helps build -CURRENT

2001-11-27 Thread Brian Somers

 On Tue, 27 Nov 2001 18:03:45 +0200, Ruslan Ermilov wrote:
 
 |  Did you do a component build without `make obj'?  That would leave
 |  turds, and I'm pretty sure the buildworld target doesn't repeat the
 |  cleandir target.
 |  
 | depend is included by make(1) automatically, before a cleandir
 | target has a chance to be executed.  Try this:
 
 Oh, bummer.  All the more reason to have one's nightly CURRENT builds
 preceded with a rm -rf /usr/obj. :-)

A ``rm -fr /usr/obj; make -DNOCLEAN buildworld'' is quicker than 
``make buildworld'' anyway :*)

 Ciao,
 Sheldon.

-- 
Brian [EMAIL PROTECTED][EMAIL PROTECTED]
  http://www.freebsd-services.com/brian@[uk.]FreeBSD.org
Don't _EVER_ lose your sense of humour !  brian@[uk.]OpenBSD.org



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: rm -rf /usr/obj/usr/src/usr.bin/tip helps build -CURRENT

2001-11-27 Thread Michael Lucas

On Tue, Nov 27, 2001 at 04:20:54PM +, Brian Somers wrote:
 
 A ``rm -fr /usr/obj; make -DNOCLEAN buildworld'' is quicker than 
 ``make buildworld'' anyway :*)
 

Really?  Is this recommended?


==Michael Mad doc PR submitter Lucas

-- 
Michael Lucas
[EMAIL PROTECTED]
http://www.blackhelicopters.org/~mwlucas/
Big Scary Daemons: http://www.oreillynet.com/pub/q/Big_Scary_Daemons

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: rm -rf /usr/obj/usr/src/usr.bin/tip helps build -CURRENT

2001-11-27 Thread Brian Somers

 On Tue, Nov 27, 2001 at 04:20:54PM +, Brian Somers wrote:
  
  A ``rm -fr /usr/obj; make -DNOCLEAN buildworld'' is quicker than 
  ``make buildworld'' anyway :*)
  
 
 Really?  Is this recommended?

Yes, except I meant ``rm -fr /usr/obj/*''.

 ==Michael Mad doc PR submitter Lucas
 
 -- 
 Michael Lucas
 [EMAIL PROTECTED]
 http://www.blackhelicopters.org/~mwlucas/
 Big Scary Daemons: http://www.oreillynet.com/pub/q/Big_Scary_Daemons

-- 
Brian [EMAIL PROTECTED][EMAIL PROTECTED]
  http://www.freebsd-services.com/brian@[uk.]FreeBSD.org
Don't _EVER_ lose your sense of humour !  brian@[uk.]OpenBSD.org



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: rm -rf /usr/obj/usr/src/usr.bin/tip helps build -CURRENT

2001-11-27 Thread Warner Losh

In message [EMAIL PROTECTED] Michael Lucas writes:
: On Tue, Nov 27, 2001 at 04:20:54PM +, Brian Somers wrote:
:  
:  A ``rm -fr /usr/obj; make -DNOCLEAN buildworld'' is quicker than 
:  ``make buildworld'' anyway :*)
:  
: 
: Really?  Is this recommended?

Only unofficially :-)

For a while I had /usr/obj on a separate partition that I'd newfs
before each build.  That was before I had a laptop that was fast
enough to be able to build both current and stable on :-)

Warner

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: rm -rf /usr/obj/usr/src/usr.bin/tip helps build -CURRENT

2001-11-27 Thread Warner Losh

In message [EMAIL PROTECTED] Brian Somers writes:
:  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.

simply removing .depend is not enough.  I had to kill the whole tip
directory.  I got a different error when I didn't.

Warner

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message