From nobody@FreeBSD.org  Fri Jul 27 15:53:47 2012
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id DF4BC106564A
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 27 Jul 2012 15:53:47 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id C977D8FC15
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 27 Jul 2012 15:53:47 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.4/8.14.4) with ESMTP id q6RFrleZ051855
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 27 Jul 2012 15:53:47 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.4/8.14.4/Submit) id q6RFrlFk051854;
	Fri, 27 Jul 2012 15:53:47 GMT
	(envelope-from nobody)
Message-Id: <201207271553.q6RFrlFk051854@red.freebsd.org>
Date: Fri, 27 Jul 2012 15:53:47 GMT
From: Garrett Cooper <yaneurabeya@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [build] cd release; make cdrom should fail if not executed using new process
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         170215
>Category:       misc
>Synopsis:       [build] cd release; make cdrom should fail if not executed using new process
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          feedback
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jul 27 16:00:18 UTC 2012
>Closed-Date:    
>Last-Modified:  Sun Feb 03 22:30:44 UTC 2013
>Originator:     Garrett Cooper
>Release:        9.0-STABLE
>Organization:
n/a
>Environment:
FreeBSD bayonetta.local 9.1-PRERELEASE FreeBSD 9.1-PRERELEASE #12 r238487M: Sun Jul 15 08:51:25 PDT 2012     gcooper@bayonetta.local:/usr/obj/store/freebsd/stable/9/sys/BAYONETTA  amd64
>Description:
More than a handful of people have lost a few hours time trying to create CD ISOs because they're using the old method of doing the release process (one example is: [1]).

1. http://lists.freebsd.org/pipermail/freebsd-current/2011-June/025326.html
>How-To-Repeat:
cd release; make cdrom
>Fix:


>Release-Note:
>Audit-Trail:

From: Glen Barber <gjb@FreeBSD.org>
To: Garrett Cooper <yaneurabeya@gmail.com>
Cc: Alexander Pyhalov <alp@rsu.ru>, bug-followup@FreeBSD.org
Subject: Re: misc/170215: [build] cd release; make cdrom should fail if not
 executed using new process
Date: Fri, 27 Jul 2012 17:03:31 -0400

 --BXVAT5kNtrzKuDFl
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 
 On Fri, Jul 27, 2012 at 03:53:47PM +0000, Garrett Cooper wrote:
 > 1. http://lists.freebsd.org/pipermail/freebsd-current/2011-June/025326.html
 > >How-To-Repeat:
 > cd release; make cdrom
 
 I think I see the problem.
 
 Can you see if the attached patch fixes the problem for you?
 
 Regards,
 
 Glen
 
 
 --BXVAT5kNtrzKuDFl
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: attachment; filename="release-Makefile.diff.txt"
 
 Index: release/Makefile
 ===================================================================
 --- release/Makefile	(revision 238851)
 +++ release/Makefile	(working copy)
 @@ -84,7 +84,7 @@
  	mkdir -p ${DISTDIR}/usr
  	ln -fs ${WORLDDIR} ${DISTDIR}/usr/src
  	cd ${DISTDIR} && tar cLvJf ${.OBJDIR}/src.txz --exclude .svn \
 -	    --exclude CVS usr/src
 +	    --exclude CVS --exclude usr/src/release usr/src
  
  ports.txz:
  	mkdir -p ${DISTDIR}/usr
 
 --BXVAT5kNtrzKuDFl--
State-Changed-From-To: open->feedback 
State-Changed-By: gjb 
State-Changed-When: Fri Jul 27 21:12:02 UTC 2012 
State-Changed-Why:  
Feedback requested. 



Responsible-Changed-From-To: freebsd-bugs->gjb 
Responsible-Changed-By: gjb 
Responsible-Changed-When: Fri Jul 27 21:12:02 UTC 2012 
Responsible-Changed-Why:  
I'll take it. 


http://www.freebsd.org/cgi/query-pr.cgi?pr=170215 

From: Garrett Cooper <yaneurabeya@gmail.com>
To: Glen Barber <gjb@freebsd.org>
Cc: Alexander Pyhalov <alp@rsu.ru>, bug-followup@freebsd.org
Subject: Re: misc/170215: [build] cd release; make cdrom should fail if not
 executed using new process
Date: Sat, 28 Jul 2012 14:03:43 -0700

 On Fri, Jul 27, 2012 at 2:03 PM, Glen Barber <gjb@freebsd.org> wrote:
 > On Fri, Jul 27, 2012 at 03:53:47PM +0000, Garrett Cooper wrote:
 >> 1. http://lists.freebsd.org/pipermail/freebsd-current/2011-June/025326.html
 >> >How-To-Repeat:
 >> cd release; make cdrom
 >
 > I think I see the problem.
 >
 > Can you see if the attached patch fixes the problem for you?
 
 This will remove the release directory from install media which might
 be undesirable.
 
 My guess (and it's just a guess right now) is that it's a variable
 that's being passed on the command line that's being appended to,
 instead of it being passed in the environment (example: see
 MAKEOBJDIRPREFIX in src/Makefile). Which is why I wanted the exact
 command -- do determine whether or not it was that class of user error
 that wasn't being properly handled.
 
 Thanks,
 -Garrett

From: Alexander Pyhalov <alp@rsu.ru>
To: Garrett Cooper <yaneurabeya@gmail.com>
Cc: Glen Barber <gjb@freebsd.org>, bug-followup@freebsd.org
Subject: Re: misc/170215: [build] cd release; make cdrom should fail if not
 executed using new process
Date: Mon, 30 Jul 2012 10:18:01 +0400

 Hello.
 I've just made:
 
 make toolchain
 make -DNO_CLEAN buildkernel
 make -DNO_CLEAN buildworld
 cd release
 make cdrom
 
 I made it on
 
 FreeBSD XX 8.3-RELEASE FreeBSD 8.3-RELEASE #2 r234443: Thu Apr 19 
 10:24:05 MSK 2012     alp@XX:/usr/obj/usr/src/sys/MyKern  amd64
 
 if it matters.
 
 On 07/29/2012 01:03, Garrett Cooper wrote:
 > nd it's just a guess right now) is that it's a variable
 > that's being passed on the command line that's being appended to,
 > instead of it being passed in the environment (example: see
 > MAKEOBJDIRPREFIX in src/Makefile). Which is why I wanted the exact
 > command -- do determine whether or not it was that class of user error
 > that wasn't being properly handled.
 
 
 -- 
 Best regards,
 Alexander Pyhalov,
 system administrator of Computer Center of Southern Federal University
Responsible-Changed-From-To: gjb->freebsd-bugs 
Responsible-Changed-By: gjb 
Responsible-Changed-When: Mon Jul 30 07:05:16 UTC 2012 
Responsible-Changed-Why:  
Back to the pool. 


http://www.freebsd.org/cgi/query-pr.cgi?pr=170215 

From: Glen Barber <gjb@FreeBSD.org>
To: Garrett Cooper <yaneurabeya@gmail.com>
Cc: Alexander Pyhalov <alp@rsu.ru>, bug-followup@freebsd.org
Subject: Re: misc/170215: [build] cd release; make cdrom should fail if not
 executed using new process
Date: Mon, 30 Jul 2012 03:55:02 -0400

 --oyUTqETQ0mS9luUI
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 Content-Transfer-Encoding: quoted-printable
 
 On Sat, Jul 28, 2012 at 02:03:43PM -0700, Garrett Cooper wrote:
 > On Fri, Jul 27, 2012 at 2:03 PM, Glen Barber <gjb@freebsd.org> wrote:
 > > On Fri, Jul 27, 2012 at 03:53:47PM +0000, Garrett Cooper wrote:
 > >> 1. http://lists.freebsd.org/pipermail/freebsd-current/2011-June/025326=
 =2Ehtml
 > >> >How-To-Repeat:
 > >> cd release; make cdrom
 > >
 > > I think I see the problem.
 > >
 > > Can you see if the attached patch fixes the problem for you?
 >=20
 > This will remove the release directory from install media which might
 > be undesirable.
 >=20
 
 No, this will remove the /usr/obj/usr/src/release directory, which is
 where the packaging of the distribution files takes place.
 
 Glen
 
 
 --oyUTqETQ0mS9luUI
 Content-Type: application/pgp-signature
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v2.0.19 (FreeBSD)
 
 iQEcBAEBCAAGBQJQFj3WAAoJEFJPDDeguUajlnIH/1MGxcBZxawyMZyT6AsGfDHY
 DuhFFfMvbicuwajem9NoP37vQlDnlt5vmANEAsxuV1Ysvt/e3cJGC+gnWau2kLtT
 y/LIh48OQia/IOHt7uyF0r1pCJ2TTYgKwKhfpx7iy3Z3b2CZhnZ9qzfiy+2Az3eN
 PvTRTBgexqfnw57f2S3wC3UkrLlnyKCK3KLxMXwOqzQMizxeCZ6GclLw1QnZx1eo
 CYnWVi39mpIVKGBGRBgm5+A+ttgneLnGZF5bsmgz7fTtjs5iGDkpt+rcZtOJFJ+q
 +N7Sr12+pSmIDFwDannUUgoda6PMevmG9X0uync/LRfz3i7KZ5OmOkffS4VDGMo=
 =SRjN
 -----END PGP SIGNATURE-----
 
 --oyUTqETQ0mS9luUI--
>Unformatted:
