Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Oct 2013 01:15:58 +0200
From:      "Herbert J. Skuhra" <h.skuhra@gmail.com>
To:        Colin Percival <cperciva@FreeBSD.org>
Cc:        svn-src-stable@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org, svn-src-stable-10@freebsd.org
Subject:   Re: svn commit: r256944 - stable/10
Message-ID:  <87fvrsx5g1.wl%h.skuhra@gmail.com>
In-Reply-To: <201310222153.r9MLrW0i066696@svn.freebsd.org>
References:  <201310222153.r9MLrW0i066696@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 22 Oct 2013 21:53:32 +0000 (UTC)
Colin Percival wrote:

> Author: cperciva
> Date: Tue Oct 22 21:53:32 2013
> New Revision: 256944
> URL: http://svnweb.freebsd.org/changeset/base/256944
> 
> Log:
>   MFC r256921:
>     Thou shalt not leak build host state into the system being compiled.
>   
>   Approved by:	re (gjb)
> 
> Modified:
>   stable/10/Makefile.inc1   (contents, props changed)
> 
> Modified: stable/10/Makefile.inc1
> ==============================================================================
> --- stable/10/Makefile.inc1	Tue Oct 22 21:51:07 2013	(r256943)
> +++ stable/10/Makefile.inc1	Tue Oct 22 21:53:32 2013	(r256944)
> @@ -128,8 +128,11 @@ OSRELDATE=	0
>  .endif
>  
>  .if !defined(VERSION)
> -VERSION!=	uname -srp
> -VERSION+=	${OSRELDATE}
> +REVISION!=	make -C ${.CURDIR}/release -V REVISION
> +BRANCH!=	make -C ${.CURDIR}/release -V BRANCH
> +SRCRELDATE!=	awk '/^\#define[[:space:]]*__FreeBSD_version/ { print $$3 }' \
> +		${.CURDIR}/sys/sys/param.h
> +VERSION=	FreeBSD ${REVISION}-${BRANCH} ${TARGET_ARCH} ${SRCRELDATE}
>  .endif
>  
>  KNOWN_ARCHES?=	amd64 arm armeb/arm armv6/arm i386 i386/pc98 ia64 mips mipsel/mips mips64el/mips mips64/mips mipsn32el/mips mipsn32/mips powerpc powerpc64/powerpc sparc64

# pwd
/usr/src
# make check-old
>>> Checking for old files
make[3]: chdir /usr/obj/usr/src/release: No such file or directory
make[2]: "/usr/src/Makefile.inc1" line 131: warning: "make -C /usr/obj/usr/src/release -V REVISION" returned non-zero status
make[3]: chdir /usr/obj/usr/src/release: No such file or directory
make[2]: "/usr/src/Makefile.inc1" line 132: warning: "make -C /usr/obj/usr/src/release -V BRANCH" returned non-zero status
awk: can't open file /usr/obj/usr/src/sys/sys/param.h
 source line number 1
make[2]: "/usr/src/Makefile.inc1" line 134: warning: "awk '/^#define[[:space:]]*__FreeBSD_version/ { print $3 }'  /usr/obj/usr/src/sys/sys/param.h" returned non-zero status
>>> Checking for old libraries
make[3]: chdir /usr/obj/usr/src/release: No such file or directory
make[2]: "/usr/src/Makefile.inc1" line 131: warning: "make -C /usr/obj/usr/src/release -V REVISION" returned non-zero status
make[3]: chdir /usr/obj/usr/src/release: No such file or directory
make[2]: "/usr/src/Makefile.inc1" line 132: warning: "make -C /usr/obj/usr/src/release -V BRANCH" returned non-zero status
awk: can't open file /usr/obj/usr/src/sys/sys/param.h
 source line number 1
make[2]: "/usr/src/Makefile.inc1" line 134: warning: "awk '/^#define[[:space:]]*__FreeBSD_version/ { print $3 }'  /usr/obj/usr/src/sys/sys/param.h" returned non-zero status
>>> Checking for old directories
make[3]: chdir /usr/obj/usr/src/release: No such file or directory
make[2]: "/usr/src/Makefile.inc1" line 131: warning: "make -C /usr/obj/usr/src/release -V REVISION" returned non-zero status
make[3]: chdir /usr/obj/usr/src/release: No such file or directory
make[2]: "/usr/src/Makefile.inc1" line 132: warning: "make -C /usr/obj/usr/src/release -V BRANCH" returned non-zero status
awk: can't open file /usr/obj/usr/src/sys/sys/param.h
 source line number 1
make[2]: "/usr/src/Makefile.inc1" line 134: warning: "awk '/^#define[[:space:]]*__FreeBSD_version/ { print $3 }'  /usr/obj/usr/src/sys/sys/param.h" returned non-zero status

-- 
Herbert



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?87fvrsx5g1.wl%h.skuhra>