From owner-freebsd-current@FreeBSD.ORG Sat Jun 18 18:03:59 2011 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 962161065741 for ; Sat, 18 Jun 2011 18:03:59 +0000 (UTC) (envelope-from ohartman@zedat.fu-berlin.de) Received: from outpost1.zedat.fu-berlin.de (outpost1.zedat.fu-berlin.de [130.133.4.66]) by mx1.freebsd.org (Postfix) with ESMTP id 557128FC0A for ; Sat, 18 Jun 2011 18:03:58 +0000 (UTC) Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost1.zedat.fu-berlin.de (Exim 4.69) with esmtp (envelope-from ) id <1QXzsE-00079A-77>; Sat, 18 Jun 2011 20:03:58 +0200 Received: from e178038239.adsl.alicedsl.de ([85.178.38.239] helo=thor.walstatt.dyndns.org) by inpost2.zedat.fu-berlin.de (Exim 4.69) with esmtpsa (envelope-from ) id <1QXzsE-0007na-42>; Sat, 18 Jun 2011 20:03:58 +0200 Message-ID: <4DFCE88D.1040600@zedat.fu-berlin.de> Date: Sat, 18 Jun 2011 20:03:57 +0200 From: "Hartmann, O." User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.17) Gecko/20110601 Lightning/1.0b2 Thunderbird/3.1.10 MIME-Version: 1.0 To: Nathan Whitehorn References: <4DFC7AAA.5070608@zedat.fu-berlin.de> <4DFCC5BE.4070608@freebsd.org> In-Reply-To: <4DFCC5BE.4070608@freebsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: 85.178.38.239 Cc: FreeBSD Current Subject: Re: make release: doesn't work for me, getting recursive looping X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 18 Jun 2011 18:03:59 -0000 On 06/18/11 17:35, Nathan Whitehorn wrote: > On 06/18/11 05:15, Hartmann, O. wrote: >> Try to build a cdrom from most recent CURRENT/amd64 sources. >> >> Issuing the follwing command fails the build process looping >> recursively and indefinitely within the source folder /usr/src/release: >> >> make release cdrom CHROOTDIR=/unused/release/9.0/ SVNROOT/usr/src >> BUILDNAME=9.0-CURRENT RELEASETAG=RELENG_9 NOPORTS=YES NODOC=YES >> >> The chrooted folder is empty and as the doc says, it should be the >> location where the release should be build. Since I do not use CVS >> anymore, but SVN, I use SVNROOT instead of CVSROOT to point to the >> location of the sources. >> > > This is not how release building works anymore. See release(7). If you > want to do something analagous to the old-style make release, with SVN > checkouts and a chroot, which you seem to wan to do, you need to use > generate-release.sh. You can also use make release to build a system > out of the current source directory by simply doing make release > NOPORTS=yes NODOC=yes. > > The reason it is hanging is that one of the sub-targets invoked by > make cdrom requires that make obj be run first. make release protects > against this, but manually invoking sub-targets does not. > -Nathan Thanks a lot. I'm new to this and I remember the old style, but the new one seems to be more sophisticated and 'clean'. Oliver