From conrads@neosoft.com  Tue Jun 24 16:06:29 1997
Received: from neosoft.com (as5200-port-254.no.neosoft.com [206.27.167.254])
          by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id QAA12445
          for <FreeBSD-gnats-submit@freebsd.org>; Tue, 24 Jun 1997 16:06:22 -0700 (PDT)
Received: (from root@localhost)
	by neosoft.com (8.8.5/8.8.5) id SAA15677;
	Tue, 24 Jun 1997 18:06:20 -0500 (CDT)
Message-Id: <199706242306.SAA15677@neosoft.com>
Date: Tue, 24 Jun 1997 18:06:20 -0500 (CDT)
From: conrads@neosoft.com
Reply-To: conrads@neosoft.com
To: FreeBSD-gnats-submit@freebsd.org
Subject: Errors in RELENG_2_2
X-Send-Pr-Version: 3.2

>Number:         3946
>Category:       misc
>Synopsis:       Errors in RELENG_2_2
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jun 24 16:10:01 PDT 1997
>Closed-Date:    Tue Jun 24 17:59:09 PDT 1997
>Last-Modified:  Tue Nov 27 19:24:16 PST 2001
>Originator:     Conrad Sabatier
>Release:        FreeBSD 2.2.1-RELEASE i386
>Organization:
>Environment:

Nothing critical.

Some of the revisions in the RELENG_2_2 branch are causing problems with
missing include files.  I installed all the 2.2.2 sources from CD, did a
CVSup, and make failed.  One of the problem packages is usr.sbin/natd
(not in the CD sources); the file <alias.h> is missing.

Is this an inherent defect in CVSup, that it doesn't update /usr/include?
Or did somebody just forget to include it?

There was one other, also, but I forget now.   gmp.info or something, I   
believe.  Make complained that it didn't know how to make it.  Apparently,
<whatever>/Makefile needs updating as well.


>Description:
>How-To-Repeat:

Install generic 2.2.2 sources.  CVSup RELENG_2_2.  Make errors will follow.

>Fix:
	
Update /usr/include and/or Makefile(s).

>Release-Note:
>Audit-Trail:

From: "Jordan K. Hubbard" <jkh@time.cdrom.com>
To: conrads@neosoft.com
Cc: FreeBSD-gnats-submit@FreeBSD.ORG
Subject: Re: misc/3946: Errors in RELENG_2_2 
Date: Tue, 24 Jun 1997 16:50:10 -0700

 > Some of the revisions in the RELENG_2_2 branch are causing problems with
 > missing include files.  I installed all the 2.2.2 sources from CD, did a
 
 Are you using the world target?  If not, we can close this PR.

From: Brian Somers <brian@awfulhak.org>
To: conrads@neosoft.com
Cc: FreeBSD-gnats-submit@FreeBSD.ORG
Subject: Re: misc/3946: Errors in RELENG_2_2 
Date: Wed, 25 Jun 1997 01:57:36 +0100

 > 
 > >Number:         3946
 > >Category:       misc
 > >Synopsis:       Errors in RELENG_2_2
 > >Confidential:   yes
 > >Severity:       serious
 > >Priority:       medium
 > >Responsible:    freebsd-bugs
 > >State:          open
 > >Class:          sw-bug
 > >Submitter-Id:   current-users
 > >Arrival-Date:   Tue Jun 24 16:10:01 PDT 1997
 > >Last-Modified:
 > >Originator:     Conrad Sabatier
 > >Organization:
 > >Release:        FreeBSD 2.2.1-RELEASE i386
 > >Environment:
 > 
 > Nothing critical.
 > 
 > Some of the revisions in the RELENG_2_2 branch are causing problems with
 > missing include files.  I installed all the 2.2.2 sources from CD, did a
 > CVSup, and make failed.  One of the problem packages is usr.sbin/natd
 > (not in the CD sources); the file <alias.h> is missing.
 > 
 > Is this an inherent defect in CVSup, that it doesn't update /usr/include?
 > Or did somebody just forget to include it?
 
 cvsup updates your cvs repository.  It has nothing to do with running
 make.
 
 If you want it to build, do a "make world".  Make world will install
 alias.h in /usr/include.
 
 As for usr.sbin/natd, it works fine for me.
 
 I'd suggest removing all your source and doing a fresh
 cvs co -r RELENG_2_2_2_RELEASE.
 
 > There was one other, also, but I forget now.   gmp.info or something, I   
 > believe.  Make complained that it didn't know how to make it.  Apparently,
 > <whatever>/Makefile needs updating as well.
 > 
 > 
 > >Description:
 > >How-To-Repeat:
 > 
 > Install generic 2.2.2 sources.  CVSup RELENG_2_2.  Make errors will follow.
 
 No they won't.  CVSup doesn't run make.
 
 > >Fix:
 > 	
 > Update /usr/include and/or Makefile(s).
 
 Right, cd /usr/src and make includes followed by a make world.
 
 > >Audit-Trail:
 > >Unformatted:
 
 Sorry if I appear angry, but this was recently hammered out on
 -hackers.  I'm gonna close this pr 'cos it's a non issue.  If
 there are any real problems after the "make includes; make world",
 feel free to flame me.
 -- 
 Brian <brian@awfulhak.org>, <brian@freebsd.org>
       <http://www.awfulhak.org>
 Don't _EVER_ lose your sense of humour....
 
 
State-Changed-From-To: open->closed 
State-Changed-By: brian 
State-Changed-When: Tue Jun 24 17:59:09 PDT 1997 
State-Changed-Why:  
I just built RELENG_2_2.  This is a methodology problem 
as explained in my email. 

From: Conrad Sabatier <conrads@neosoft.com>
To: "Jordan K. Hubbard" <jkh@time.cdrom.com>
Cc: FreeBSD-gnats-submit@FreeBSD.ORG, brian@FreeBSD.ORG
Subject: Re: misc/3946: Errors in RELENG_2_2
Date: Tue, 24 Jun 1997 20:33:17 -0500 (CDT)

 On 24-Jun-97 Jordan K. Hubbard wrote:
 >> Some of the revisions in the RELENG_2_2 branch are causing problems with
 >> missing include files.  I installed all the 2.2.2 sources from CD, did a
 >
 >Are you using the world target?  If not, we can close this PR.
 
 Well, uh...no.  I first did a make depend just to check everything out,
 which was when the errors were reported.
 
 I didn't realize this could cause a problem.  I had always thought make
 depend was a good way to do a quick check to make sure everything needed to
 do a build was there.  Apparently, this is not true in the case of building
 the complete source tree?  
 
 Please pardon my ignorance.  If it wouldn't be too much trouble to explain
 what the deal is with this, I'd greatly appreciate it.
 
 Sorry for the erroneous report.  I'm embarrassed.
 
 --
 Conrad Sabatier
 http://www.neosoft.com/~conrads/

From: "Jordan K. Hubbard" <jkh@time.cdrom.com>
To: Conrad Sabatier <conrads@neosoft.com>
Cc: FreeBSD-gnats-submit@FreeBSD.ORG, brian@FreeBSD.ORG
Subject: Re: misc/3946: Errors in RELENG_2_2 
Date: Tue, 24 Jun 1997 19:02:02 -0700

 > I didn't realize this could cause a problem.  I had always thought make
 > depend was a good way to do a quick check to make sure everything needed to
 > do a build was there.  Apparently, this is not true in the case of building
 > the complete source tree?  
 
 No, it's never been the case that this will work when certain files in
 /usr are sufficiently out of sync with /usr/src (and when the files in
 question are include files, this is easy to do).
 
 You should always use the world target when you're even slightly
 unsure - only it can guarantee that the proper dependency ordering is
 achieved (and sometimes not even then, in which case you have to
 shepard the build process through by hand until the delta is
 small enough to allow world to work again).
 
 					Jordan

From: Conrad Sabatier <conrads@neosoft.com>
To: "Jordan K. Hubbard" <jkh@time.cdrom.com>
Cc: brian@FreeBSD.ORG, FreeBSD-gnats-submit@FreeBSD.ORG
Subject: Re: misc/3946: Errors in RELENG_2_2
Date: Tue, 24 Jun 1997 21:09:09 -0500 (CDT)

 On 25-Jun-97 Jordan K. Hubbard wrote:
 
 >No, it's never been the case that this will work when certain files in
 >/usr are sufficiently out of sync with /usr/src (and when the files in
 >question are include files, this is easy to do).
 >
 >You should always use the world target when you're even slightly
 >unsure - only it can guarantee that the proper dependency ordering is
 >achieved (and sometimes not even then, in which case you have to
 >shepard the build process through by hand until the delta is
 >small enough to allow world to work again).
 
 OK, I'll be sure to remember that.  Thanks.
 
 I hadn't looked at /usr/src/Makefile in a very long time -- since I first
 got into FreeBSD, in fact, and back then the whole thing was just completely
 mystifying.  :-)  Looking at it again just now, I can appreciate better why
 one should only use the recommended targets.
 
 Conrad, wishing he could quit his job and just stay home and explore
 FreeBSD (still so much to learn!)  :-)
 
 --
 Conrad Sabatier
 http://www.neosoft.com/~conrads/

From: Conrad Sabatier <conrads@neosoft.com>
To: Brian Somers <brian@awfulhak.org>
Cc: FreeBSD-gnats-submit@freebsd.org
Subject: Re: misc/3946: Errors in RELENG_2_2
Date: Tue, 24 Jun 1997 21:59:22 -0500 (CDT)

 On 25-Jun-97 Brian Somers wrote:
 
 >Sorry if I appear angry, but this was recently hammered out on
 >-hackers.  I'm gonna close this pr 'cos it's a non issue.  If
 >there are any real problems after the "make includes; make world",
 >feel free to flame me.
 
 Sorry, it was my misunderstanding.  I was doing a make depend on /usr/src,
 thinking this would verify that I had everything I needed to do a make
 world.  Wrong approach, as I now know.
 
 Please forgive my stupidity/ignorance.  Didn't mean to waste anybody's time.
 
 I really should start reading the lists. :-)
 
 Conrad
 -
 Conrad Sabatier
 http://www.neosoft.com/~conrads/
>Unformatted:
