Date: Thu, 1 Sep 2005 09:42:07 +0200 From: John Hay <jhay@icomtek.csir.co.za> To: Beecher Rintoul <akbeech@gmail.com> Cc: Mike Jakubik <mikej@rogers.com>, Doug Barton <dougb@freebsd.org>, freebsd-current@freebsd.org Subject: Re: More 'make release' problems Message-ID: <20050901074207.GA25355@zibbi.meraka.csir.co.za> In-Reply-To: <200508312050.50782.akbeech@gmail.com> 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>
next in thread | previous in thread | raw e-mail | index | archive | help
> > 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)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050901074207.GA25355>