From nobody@FreeBSD.ORG  Mon Jun 12 23:14:06 2000
Return-Path: <nobody@FreeBSD.ORG>
Received: by hub.freebsd.org (Postfix, from userid 32767)
	id D3EEE37BAB7; Mon, 12 Jun 2000 23:14:06 -0700 (PDT)
Message-Id: <20000613061406.D3EEE37BAB7@hub.freebsd.org>
Date: Mon, 12 Jun 2000 23:14:06 -0700 (PDT)
From: bonk1138@msn.com
Sender: nobody@FreeBSD.ORG
To: freebsd-gnats-submit@FreeBSD.org
Subject: building custom release is busted
X-Send-Pr-Version: www-1.0

>Number:         19235
>Category:       misc
>Synopsis:       building custom release is busted
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jun 12 23:20:01 PDT 2000
>Closed-Date:    Tue Aug 15 01:49:16 PDT 2000
>Last-Modified:  Tue Aug 15 01:50:34 PDT 2000
>Originator:     James Johnson
>Release:        4.0-CURRENT
>Organization:
n/a
>Environment:
4.0-STABLE
>Description:
Attempting to do a make release CHROOTDIR=/cvs BUILDNAME=Test-RELEASE CVSROOT=/usr after cvsuping current CVS distribution fails with missing "osreldate.h".
>How-To-Repeat:
cvsup with default tag=cvs, cd /usr/src/release, make release BUILDNAME=Test-RELEASE CVSROOT=/usr CHROOTDIR=/cvs (Or equivelant) and watch it fail because /usr/src was not built
>Fix:
cd /usr and make

This goes against instructions listed on the Web Page

>Release-Note:
>Audit-Trail:

From: Johan Karlsson <k@numeri.campus.luth.se>
To: bonk1138@msn.com
Cc: freebsd-gnats-submit@FreeBSD.org
Subject: Re: misc/19235: building custom release is busted
Date: Thu, 03 Aug 2000 21:21:24 +0200

 Hi James
 
 In the PR you refer to a Web Page with instructions on how to make a release.
 I can not find this page can you please give me a pointer to it.
 
 Thanks
 Johan K
 
 

From: "James Johnson" <bonk1138@msn.com>
To: "Johan Karlsson" <k@numeri.campus.luth.se>
Cc: <freebsd-gnats-submit@FreeBSD.org>
Subject: RE: misc/19235: building custom release is busted
Date: Fri, 4 Aug 2000 05:10:33 -0700

 Its under the "For Serious Hackers Only", "Building a custom Release" in any
 HTML version of the FAQ.
 
 Try rebooting, Logging in as root, cd /usr/src/release, make release
 BUILDNAME=5.0-CURRENT CHROOTDIR=/usr/home/release CVSROOT=/usr/src
 
 
 
 -----Original Message-----
 From: Johan Karlsson [mailto:k@numeri.campus.luth.se]
 Sent: Thursday, August 03, 2000 12:21 PM
 To: bonk1138@msn.com
 Cc: freebsd-gnats-submit@FreeBSD.org
 Subject: Re: misc/19235: building custom release is busted
 
 
 Hi James
 
 In the PR you refer to a Web Page with instructions on how to make a
 release.
 I can not find this page can you please give me a pointer to it.
 
 Thanks
 Johan K
 
 
 
 

From: Johan Karlsson <k@numeri.campus.luth.se>
To: freebsd-gnats-submit@FreeBSD.org
Cc: bonk1138@msn.com, doc@FreeBSD.org
Subject: Re: misc/19235: building custom release is busted
Date: Fri, 04 Aug 2000 20:47:00 +0200

 Hi
 
 It turned out James is absolutly right :-)
 
 One need to 
 
 # cd /usr/src
 # make buildworld
 # cd /usr/src/release
 # make release BUILDNAME=3.0-MY-SNAP CHROOTDIR=/some/big/filesystem/release
 
 for the process to work
 
 This was discussed in -stable the last week
 see mesg-id 20000802051948.B8263@dragon.nuxi.com
 
 I think the following patch should be applied to the FAQ
 
 Index: doc/en_US.ISO_8859-1/books/faq/book.sgml
 ===================================================================
 RCS file: /home/ncvs//doc/en_US.ISO_8859-1/books/faq/book.sgml,v
 retrieving revision 1.82
 diff -u -r1.82 book.sgml
 --- doc/en_US.ISO_8859-1/books/faq/book.sgml	2000/07/28 01:19:17	1.82
 +++ doc/en_US.ISO_8859-1/books/faq/book.sgml	2000/08/04 18:41:21
 @@ -9202,6 +9202,8 @@
  
  <para>
  <literallayout>        setenv CVSROOT /home/ncvs        # or export 
 CVSROOT=/home/ncvs
 +        cd /usr/src
 +        make buildworld
          cd /usr/src/release
          make release BUILDNAME=3.0-MY-SNAP CHROOTDIR=/some/big/filesystem/rele
 ase
        </literallayout>
 
 
 
 Can some kind doc-guru please have a look at this.
 
 Thanks
 Johan K
 
 

From: Jim Mock <jim@jmock.com>
To: Johan Karlsson <k@numeri.campus.luth.se>
Cc: freebsd-gnats-submit@FreeBSD.ORG, bonk1138@msn.com,
	doc@FreeBSD.ORG
Subject: Re: misc/19235: building custom release is busted
Date: Fri, 4 Aug 2000 14:26:48 -0700

 On Fri, 04 Aug 2000 at 20:47:00 +0200, Johan Karlsson wrote:
 > Hi
 > 
 > It turned out James is absolutly right :-)
 > 
 > One need to 
 > 
 > # cd /usr/src
 > # make buildworld
 > # cd /usr/src/release
 > # make release BUILDNAME=3.0-MY-SNAP CHROOTDIR=/some/big/filesystem/release
 > 
 > for the process to work
 > 
 > This was discussed in -stable the last week
 > see mesg-id 20000802051948.B8263@dragon.nuxi.com
 > 
 > I think the following patch should be applied to the FAQ
 > 
 > Index: doc/en_US.ISO_8859-1/books/faq/book.sgml
 > ===================================================================
 > RCS file: /home/ncvs//doc/en_US.ISO_8859-1/books/faq/book.sgml,v
 > retrieving revision 1.82
 > diff -u -r1.82 book.sgml
 > --- doc/en_US.ISO_8859-1/books/faq/book.sgml	2000/07/28 01:19:17	1.82
 > +++ doc/en_US.ISO_8859-1/books/faq/book.sgml	2000/08/04 18:41:21
 > @@ -9202,6 +9202,8 @@
 >  
 >  <para>
 >  <literallayout>        setenv CVSROOT /home/ncvs        # or export 
 > CVSROOT=/home/ncvs
 > +        cd /usr/src
 > +        make buildworld
 >          cd /usr/src/release
 >          make release BUILDNAME=3.0-MY-SNAP CHROOTDIR=/some/big/filesystem/rele
 > ase
 >        </literallayout>
 > 
 > 
 > 
 > Can some kind doc-guru please have a look at this.
 
 I just committed this.
 
 Thanks,
 
 - jim
 
 -- 
 jim mock <jim@jmock.com>        work: jim@osd.bsdi.com | jim@FreeBSD.org
 http://soupnazi.org/              BSDi Open Source Div | http://bsdi.com
 

From: "Chris D. Faulhaber" <jedgar@fxp.org>
To: Johan Karlsson <k@numeri.campus.luth.se>
Cc: freebsd-gnats-submit@FreeBSD.org, bonk1138@msn.com,
	doc@FreeBSD.org
Subject: Re: misc/19235: building custom release is busted
Date: Fri, 4 Aug 2000 17:30:01 -0400 (EDT)

 On Fri, 4 Aug 2000, Johan Karlsson wrote:
 
 > Index: doc/en_US.ISO_8859-1/books/faq/book.sgml
 > ===================================================================
 > RCS file: /home/ncvs//doc/en_US.ISO_8859-1/books/faq/book.sgml,v
 > retrieving revision 1.82
 > diff -u -r1.82 book.sgml
 > --- doc/en_US.ISO_8859-1/books/faq/book.sgml	2000/07/28 01:19:17	1.82
 > +++ doc/en_US.ISO_8859-1/books/faq/book.sgml	2000/08/04 18:41:21
 > @@ -9202,6 +9202,8 @@
 >  
 >  <para>
 >  <literallayout>        setenv CVSROOT /home/ncvs        # or export 
 > CVSROOT=/home/ncvs
 > +        cd /usr/src
 > +        make buildworld
 >          cd /usr/src/release
 >          make release BUILDNAME=3.0-MY-SNAP CHROOTDIR=/some/big/filesystem/rele
 > ase
 >        </literallayout>
 > 
 
 Wouldn't it be more appropriate to simply state that a populated /usr/obj
 must exist.  The is an unnecessary step for those who track a branch with
 some regularity and keep a populated /usr/obj around.
 
 -----
 Chris D. Faulhaber - jedgar@fxp.org - jedgar@FreeBSD.org
 --------------------------------------------------------
 FreeBSD: The Power To Serve   -   http://www.FreeBSD.org
 
 

From: Jim Mock <jim@jmock.com>
To: "Chris D. Faulhaber" <jedgar@fxp.org>
Cc: Johan Karlsson <k@numeri.campus.luth.se>,
	freebsd-gnats-submit@FreeBSD.ORG, bonk1138@msn.com, doc@FreeBSD.ORG
Subject: Re: misc/19235: building custom release is busted
Date: Fri, 4 Aug 2000 14:33:00 -0700

 On Fri, 04 Aug 2000 at 17:30:01 -0400, Chris D. Faulhaber wrote:
 > On Fri, 4 Aug 2000, Johan Karlsson wrote:
 > 
 > > Index: doc/en_US.ISO_8859-1/books/faq/book.sgml
 > > ===================================================================
 > > RCS file: /home/ncvs//doc/en_US.ISO_8859-1/books/faq/book.sgml,v
 > > retrieving revision 1.82
 > > diff -u -r1.82 book.sgml
 > > --- doc/en_US.ISO_8859-1/books/faq/book.sgml	2000/07/28 01:19:17	1.82
 > > +++ doc/en_US.ISO_8859-1/books/faq/book.sgml	2000/08/04 18:41:21
 > > @@ -9202,6 +9202,8 @@
 > >  
 > >  <para>
 > >  <literallayout>        setenv CVSROOT /home/ncvs        # or export 
 > > CVSROOT=/home/ncvs
 > > +        cd /usr/src
 > > +        make buildworld
 > >          cd /usr/src/release
 > >          make release BUILDNAME=3.0-MY-SNAP CHROOTDIR=/some/big/filesystem/rele
 > > ase
 > >        </literallayout>
 > > 
 > 
 > Wouldn't it be more appropriate to simply state that a populated /usr/obj
 > must exist.  The is an unnecessary step for those who track a branch with
 > some regularity and keep a populated /usr/obj around.
 
 Good point, but at some point you need to build world in order to get a
 populated /usr/obj :-)  I'll tweak my commit to include a comment about
 that though.
 
 - jim
 
 -- 
 jim mock <jim@jmock.com>        work: jim@osd.bsdi.com | jim@FreeBSD.org
 http://soupnazi.org/              BSDi Open Source Div | http://bsdi.com
 
State-Changed-From-To: open->closed 
State-Changed-By: johan 
State-Changed-When: Tue Aug 15 01:49:16 PDT 2000 
State-Changed-Why:  
FAQ updated in rev 1.84 and 1.85 to also say that  
a buildworld is required when making a release. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=19235 
>Unformatted:
