From owner-freebsd-current@freebsd.org Fri Jan 4 06:52:46 2019 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 83128141BEE5 for ; Fri, 4 Jan 2019 06:52:46 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from tensor.andric.com (tensor.andric.com [IPv6:2001:470:7a58:1::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "tensor.andric.com", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 22F5583CF1; Fri, 4 Jan 2019 06:52:46 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from [IPv6:2001:470:7a58::421:dad0:efc3:628f] (unknown [IPv6:2001:470:7a58:0:421:dad0:efc3:628f]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id 4E03E9B9E; Fri, 4 Jan 2019 07:52:44 +0100 (CET) From: Dimitry Andric Message-Id: <49D022CD-CBC4-47A9-91F7-27C48A707338@FreeBSD.org> Content-Type: multipart/signed; boundary="Apple-Mail=_7BFAEE00-6BAA-4EE0-91BB-3907958417A1"; protocol="application/pgp-signature"; micalg=pgp-sha1 Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.1\)) Subject: Re: uname -a output without svn revision number Date: Fri, 4 Jan 2019 07:52:40 +0100 In-Reply-To: <20190104055218.GA3408@c720-r342378> Cc: FreeBSD Current , Ed Maste To: Matthias Apitz References: <20190104055218.GA3408@c720-r342378> X-Mailer: Apple Mail (2.3445.9.1) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 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: Fri, 04 Jan 2019 06:52:46 -0000 --Apple-Mail=_7BFAEE00-6BAA-4EE0-91BB-3907958417A1 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii On 4 Jan 2019, at 06:52, Matthias Apitz wrote: >=20 > I've compiled CURRENT from svn and this gave me as 'uname -a' output: >=20 > FreeBSD c720-r342378 13.0-CURRENT FreeBSD 13.0-CURRENT r342378 GENERIC = amd64 >=20 > Now I've had do modify a source file (to nail down some problem) and = the > revision number went away from the output; it now says: >=20 > FreeBSD c720-r342378 13.0-CURRENT FreeBSD 13.0-CURRENT GENERIC amd64 >=20 > Why is this? I've read in UPDATING that: >=20 > ... > 20180913: > Reproducible build mode is now on by default, in preparation = for > FreeBSD 12.0. This eliminates build metadata such as the user, > host, and time from the kernel (and uname), unless the working = tree > corresponds to a modified checkout from a version control = system. > The previous behavior can be obtained by setting the = /etc/src.conf > knob WITHOUT_REPRODUCIBLE_BUILD. > ... >=20 > But this does not explain why now the SVN revision number went away. For me, it doesn't go away, but shows an "M" suffix, instead. In /usr/obj/usr/src/sys/GENERIC/vers.c it shows: #define VERSTR "FreeBSD 13.0-CURRENT r342593M \n" What is the output of sh /usr/src/sys/conf/newvers.sh for you? -Dimitry --Apple-Mail=_7BFAEE00-6BAA-4EE0-91BB-3907958417A1 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.2 iF0EARECAB0WIQR6tGLSzjX8bUI5T82wXqMKLiCWowUCXC8CuAAKCRCwXqMKLiCW o3DWAKDZTR6gfMGC1gGApg6UGzNitGjlSACg9Q00VRYxzD6QUfKDyW+q3cuI8sQ= =k1jV -----END PGP SIGNATURE----- --Apple-Mail=_7BFAEE00-6BAA-4EE0-91BB-3907958417A1--