Date: Sat, 12 Jul 2003 10:50:41 -0700 From: Tim Kientzle <kientzle@acm.org> To: Andrey Elperin <mizzy@colocall.net> Cc: freebsd-current@freebsd.org Subject: Re: make release of CURRENT on 4.7 box Message-ID: <3F104A71.7060906@acm.org> References: <20030712165749.GA14599@colocall.net>
next in thread | previous in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format. --------------020904030805000106050601 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Andrey Elperin wrote: > Tell me, please, is it a possible to "make release" of CURRENT on 4.7 box > at present ? > > I see that make release stops with a such messages for a couple of days : > ===> include > cd /usr/src/include; /usr/obj/usr/src/make.i386/make buildincludes; /usr/obj/usr/src/make.i386/make installincludes > creating osreldate.h from newvers.sh > *** Error code 2 So I'm not the only one who has been bitten by this. Try the following patch. Worked for me. Tim Kientzle --------------020904030805000106050601 Content-Type: text/plain; name="kientzle_include_Makefile.diff" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="kientzle_include_Makefile.diff" Index: include/Makefile =================================================================== RCS file: /usr/cvs/FreeBSD-CVS/src/include/Makefile,v retrieving revision 1.204 diff -u -r1.204 Makefile --- include/Makefile 4 Jul 2003 19:54:06 -0000 1.204 +++ include/Makefile 6 Jul 2003 05:58:27 -0000 @@ -55,15 +55,17 @@ ${.CURDIR}/../sys/sys/param.h \ ${.CURDIR}/Makefile @${ECHO} creating osreldate.h from newvers.sh - @setvar PARAMFILE ${.CURDIR}/../sys/sys/param.h; \ - . ${.CURDIR}/../sys/conf/newvers.sh; \ - echo "$$COPYRIGHT" > osreldate.h; \ - echo "#ifdef _KERNEL" >> osreldate.h; \ - echo '#error "<osreldate.h> cannot be used in the kernel, use <sys/param.h>"' >> osreldate.h; \ - echo "#else" >> osreldate.h; \ - echo \#'undef __FreeBSD_version' >> osreldate.h; \ - echo \#'define __FreeBSD_version' $$RELDATE >> osreldate.h; \ - echo "#endif" >> osreldate.h + @setvar PARAMFILE ${.CURDIR}/../sys/sys/param.h; set -v; \ + cd ${.CURDIR} ; \ + . ${.CURDIR}/../sys/conf/newvers.sh; \ + cd ${.OBJDIR}; \ + ( echo "$$COPYRIGHT" ; \ + echo "#ifdef _KERNEL" ; \ + echo '#error "<osreldate.h> cannot be used in the kernel, use <sys/param.h>"' ; \ + echo "#else" ; \ + echo \#'undef __FreeBSD_version' ; \ + echo \#'define __FreeBSD_version' $$RELDATE ; \ + echo "#endif" ) > osreldate.h .for i in ${LHDRS} INCSLINKS+= sys/$i ${INCLUDEDIR}/$i --------------020904030805000106050601--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3F104A71.7060906>