From owner-freebsd-current@FreeBSD.ORG Thu Sep 1 07:42:44 2005 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8956E16A41F; Thu, 1 Sep 2005 07:42:44 +0000 (GMT) (envelope-from jhay@meraka.csir.co.za) Received: from zibbi.meraka.csir.co.za (zibbi.meraka.csir.co.za [146.64.24.58]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2F1C743D45; Thu, 1 Sep 2005 07:42:14 +0000 (GMT) (envelope-from jhay@meraka.csir.co.za) Received: by zibbi.meraka.csir.co.za (Postfix, from userid 3973) id 9A69F44; Thu, 1 Sep 2005 09:42:07 +0200 (SAST) Date: Thu, 1 Sep 2005 09:42:07 +0200 From: John Hay To: Beecher Rintoul Message-ID: <20050901074207.GA25355@zibbi.meraka.csir.co.za> References: <4740.172.16.0.199.1125444307.squirrel@172.16.0.1> <4315465C.8090506@FreeBSD.org> <2313.172.16.0.199.1125538481.squirrel@172.16.0.1> <200508312050.50782.akbeech@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200508312050.50782.akbeech@gmail.com> User-Agent: Mutt/1.4.1i Cc: Mike Jakubik , Doug Barton , freebsd-current@freebsd.org Subject: Re: More 'make release' problems 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: Thu, 01 Sep 2005 07:42:44 -0000 > > Looks like the tz problem is fixed. Now I have a new problem. After updating > cvs and building today's -current it now fails here: > > if [ -d /usr/src/release/../../ports/distfiles/ ]; then cp > -rp /usr/src/release/../../ports/distfiles /bak/release/usr/ports/distfiles; > else mkdir -p /bak/release/usr/ports/distfiles; fi > cd: can't cd to /bak/release/usr/ports/lang/perl5.8 > *** Error code 2 > > It did a full checkout of the ports cvs, but didn't populate anything. > > Hopefully someone will shed some light on the problems. Has anyone been > successful at building a release lately? My nightly build finished without a problem. I use this patch. Only the first part, removal of -DNO_INFO, is needed. The rest is a leftover from earlier stuff. It is only applied to my /usr/src tree and not to the chroot area. My nightly script define a few things that might make a difference: NOPORTS=YES WORLD_FLAGS=-DNO_WERROR KERNEL_FLAGS=-DNO_WERROR DOC_LANG=en_US.ISO8859-1 The NO_WERROR ones I can probably remove, but there was a stage where warnings broke the release so often that I added that. The DOC_LANG one I added recently because some of the other languages was broken and that was the easy way out of that. My script also do a prefetch of all the distfiles that will be needed for the doc ports. John -- John Hay -- John.Hay@meraka.csir.co.za / jhay@FreeBSD.org Index: release/Makefile =================================================================== RCS file: /home/ncvs/src/release/Makefile,v retrieving revision 1.888 diff -u -r1.888 Makefile --- release/Makefile 11 Jul 2005 15:50:29 -0000 1.888 +++ release/Makefile 31 Aug 2005 10:57:15 -0000 @@ -354,7 +354,7 @@ .endif mkdir -p ${CHROOTDIR} @echo ">>> make release for ${TARGET} started on `LC_ALL=C TZ=GMT date`" - cd ${WORLDDIR} && ${NATIVEMAKE} -DNO_GAMES -DNO_HTML -DNO_INFO \ + cd ${WORLDDIR} && ${NATIVEMAKE} -DNO_GAMES -DNO_HTML \ -DNO_LIB32 -DNO_MAN -DNO_NLS -DNO_PROFILE installworld \ DESTDIR=${CHROOTDIR} cd ${WORLDDIR} && ${NATIVEMAKE} distribution DESTDIR=${CHROOTDIR} @@ -379,10 +379,6 @@ patch -d ${CHROOTDIR}/usr/${RELEASESRCMODULE} ${PATCH_FLAGS} < ${p} .endfor .endif -.if defined(LOCAL_SCRIPT) - cd ${CHROOTDIR} && env CHROOTDIR=${CHROOTDIR} BUILDNAME=${BUILDNAME} \ - RELEASETAG=${RELEASETAG} ${LOCAL_SCRIPT} -.endif rm -rf ${CHROOTDIR}/usr/ports .if !defined(NOPORTSATALL) cd ${CHROOTDIR}/usr && ${CVSPREFIX} cvs -R ${CVSARGS} -d ${CVSROOT} \ @@ -405,6 +401,10 @@ @cd ${.CURDIR} && ${MAKE} fetch-distfiles .endif .endif +.if defined(LOCAL_SCRIPT) && exists(${LOCAL_SCRIPT}) + cd ${CHROOTDIR} && env CHROOTDIR=${CHROOTDIR} BUILDNAME=${BUILDNAME} \ + RELEASETAG=${RELEASETAG} ${LOCAL_SCRIPT} +.endif .endif .if make(rerelease) .if !defined(RELEASENOUPDATE)