From owner-freebsd-stable@FreeBSD.ORG Sat Nov 22 21:49:47 2014 Return-Path: Delivered-To: freebsd-stable@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 835BABCD; Sat, 22 Nov 2014 21:49:47 +0000 (UTC) Received: from woozle.rinet.ru (woozle.rinet.ru [195.54.192.68]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 05B118FA; Sat, 22 Nov 2014 21:49:46 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by woozle.rinet.ru (8.14.5/8.14.5) with ESMTP id sAMLY6xk088902; Sun, 23 Nov 2014 00:35:06 +0300 (MSK) (envelope-from marck@rinet.ru) Date: Sun, 23 Nov 2014 00:34:06 +0300 (MSK) From: Dmitry Morozovsky To: des@FreeBSD.org Subject: /bin/freebsd-version does not get rebuilt in NO_CLEAN build: Message-ID: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) X-NCC-RegID: ru.rinet X-OpenPGP-Key-ID: 6B691B03 MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (woozle.rinet.ru [0.0.0.0]); Sun, 23 Nov 2014 00:35:06 +0300 (MSK) Cc: freebsd-stable@FreeBSD.org X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Nov 2014 21:49:47 -0000 Dear Dag-Erling, colleagues, I'm usually using -DNO_CLEAN builds including upgrades; however, it turns out that freebsd-version utility does not depend really on newvers.sh, despite it is included in Makefile dependencies: after upgrading from 1106 to 1121: marck@hamster:/usr/src/bin/freebsd-version> l /boot/*/kernel -r-xr-xr-x 1 root wheel 21165281 Nov 21 13:31 /boot/GENERIC/kernel* -r-xr-xr-x 1 root wheel 8386544 Nov 6 12:33 /boot/kernel.old/kernel* -r-xr-xr-x 1 root wheel 8396264 Nov 21 13:25 /boot/kernel/kernel* I still got marck@hamster:/usr/src/bin/freebsd-version> freebsd-version -ku 10.1-STABLE 10.1-PRERELEASE while script itself had been reinstalled: marck@hamster:/usr/src/bin/freebsd-version> l /bin/freebsd-version -r-xr-xr-x 1 root wheel 3197 Nov 21 13:38 /bin/freebsd-version* but its content did not regenerated: marck@hamster:/usr/src/bin/freebsd-version> grep -w BRANCH ../../sys/conf/newvers.sh BRANCH="STABLE" BRANCH=${BRANCH_OVERRIDE} RELEASE="${REVISION}-${BRANCH}" marck@hamster:/usr/src/bin/freebsd-version> grep USERLAND /bin/freebsd-version USERLAND_VERSION="10.1-PRERELEASE" echo $USERLAND_VERSION marck@hamster:/usr/src/bin/freebsd-version> l /usr/obj/usr/src/bin/freebsd-version/freebsd-version -rwxrwxr-x 1 marck wheel 3197 Sep 7 23:21 /usr/obj/usr/src/bin/freebsd-version/freebsd-version* -- Sincerely, D.Marck [DM5020, MCK-RIPE, DM3-RIPN] [ FreeBSD committer: marck@FreeBSD.org ] ------------------------------------------------------------------------ *** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck@rinet.ru *** ------------------------------------------------------------------------