From owner-freebsd-current@freebsd.org Fri Jan 4 07:36:14 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 8A118141EFB9 for ; Fri, 4 Jan 2019 07:36:14 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms-10.1blu.de (ms-10.1blu.de [178.254.4.101]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 0B29D84FE7; Fri, 4 Jan 2019 07:36:13 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from [82.113.121.248] (helo=localhost.unixarea.de) by ms-10.1blu.de with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.86_2) (envelope-from ) id 1gfK1Z-0005rT-U6; Fri, 04 Jan 2019 08:36:10 +0100 Received: from localhost.my.domain (localhost [127.0.0.1]) by localhost.unixarea.de (8.15.2/8.14.9) with ESMTPS id x047a8M7002738 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Fri, 4 Jan 2019 08:36:08 +0100 (CET) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by localhost.my.domain (8.15.2/8.14.9/Submit) id x047a8Rp002737; Fri, 4 Jan 2019 08:36:08 +0100 (CET) (envelope-from guru@unixarea.de) X-Authentication-Warning: localhost.my.domain: guru set sender to guru@unixarea.de using -f Date: Fri, 4 Jan 2019 08:36:08 +0100 From: Matthias Apitz To: Dimitry Andric Cc: FreeBSD Current , Ed Maste Subject: Re: uname -a output without svn revision number Message-ID: <20190104073608.GA2604@c720-r342378> Reply-To: Matthias Apitz Mail-Followup-To: Dimitry Andric , FreeBSD Current , Ed Maste References: <20190104055218.GA3408@c720-r342378> <49D022CD-CBC4-47A9-91F7-27C48A707338@FreeBSD.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="UlVJffcvxoiEqYs2" Content-Disposition: inline In-Reply-To: <49D022CD-CBC4-47A9-91F7-27C48A707338@FreeBSD.org> X-Operating-System: FreeBSD 13.0-CURRENT r342378 (amd64) X-message-flag: Mails containing HTML will not be read! Please send only plain text. User-Agent: Mutt/1.11.1 (2018-12-01) X-Con-Id: 51246 X-Con-U: 0-guru X-Originating-IP: 82.113.121.248 X-Rspamd-Queue-Id: 0B29D84FE7 X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-6.98 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.98)[-0.982,0]; REPLY(-4.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0] 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 07:36:14 -0000 --UlVJffcvxoiEqYs2 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable El d=C3=ADa viernes, enero 04, 2019 a las 07:52:40a. m. +0100, Dimitry Andr= ic escribi=C3=B3: > 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 > > ... > >=20 > > But this does not explain why now the SVN revision number went away. >=20 > For me, it doesn't go away, but shows an "M" suffix, instead. In > /usr/obj/usr/src/sys/GENERIC/vers.c it shows: >=20 > #define VERSTR "FreeBSD 13.0-CURRENT r342593M \n" >=20 > What is the output of sh /usr/src/sys/conf/newvers.sh for you? $ ls -l /usr/obj/usr/src/amd64.amd64/sys/GENERIC/vers.c -rw-r--r-- 1 root wheel 1919 3 ene. 11:59 /usr/obj/usr/src/amd64.amd64= /sys/GENERIC/vers.c $ tail -12 /usr/obj/usr/src/amd64.amd64/sys/GENERIC/vers.c #define SCCSSTR "@(#)FreeBSD 13.0-CURRENT GENERIC" #define VERSTR "FreeBSD 13.0-CURRENT GENERIC\n" #define RELSTR "13.0-CURRENT" char sccs[sizeof(SCCSSTR) > 128 ? sizeof(SCCSSTR) : 128] =3D SCCSSTR; char version[sizeof(VERSTR) > 256 ? sizeof(VERSTR) : 256] =3D VERSTR; char compiler_version[] =3D "FreeBSD clang version 7.0.1 (tags/RELEASE_701/= final 349250) (based on LLVM 7.0.1)"; char ostype[] =3D "FreeBSD"; char osrelease[sizeof(RELSTR) > 32 ? sizeof(RELSTR) : 32] =3D RELSTR; int osreldate =3D 1300005; char kern_ident[] =3D "GENERIC"; $ sh /usr/src/sys/conf/newvers.sh I did around 11:50 am (i.e. the mod time of vers.c matches) a 'make buildke= rnel NO_CLEAN=3Dyes' matthias --=20 Matthias Apitz, =E2=9C=89 guru@unixarea.de, http://www.unixarea.de/ +49-176= -38902045 Public GnuPG key: http://www.unixarea.de/key.pub October, 7 -- The GDR was different: Peace instead of Bundeswehr and wars, = Druschba instead of Nazis, to live instead of to survive. --UlVJffcvxoiEqYs2 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEXmn7rBYYViyzy/vBR8z35Hb+nREFAlwvDOUACgkQR8z35Hb+ nRGF+Q//aNerpx3/oqgJ3RRRxXYjFTicol+JU9d4TZztPVRwikHbmNUhmCQ/8160 jvKYN06UmlOwwqXYSow3p7bzlJXKvV6aQY+/v0xcV0tCzpXDjFHYk2Lrpb1F2kXQ N8higD4OtNvPwbdpcV0tZIl6YGJfzKYJM4Jf81GiW7OsHzr5KTkg/DL0+WSlF7MV kbJyxRBy2qfULS3CR8KAxfWNe+lrJHtEpg6v3KwPxoLN5a4nJHvtJSN1dIo9r3Zg Ow/RFHgFrqBQI9BiBCljpdi/AQwRtz6KbOZt+KQOAb8QaSqUgI1z8WEincaDlFGn Ysmt/Q5Zp9spr2FFMF0sWO9uyyxlMLLF7VUqVPKoqDB9CfWZbeZhW0Kf1hnDlaX8 mlGMYukQyyOms6U/ti40EAZGQanheK3xlfgZgLmRC9gZYbOUpT07RYn8JQJcxxRA I5SpMbS/6KNJypnuhZn7l7CrN4F/BNHyLUZhzYhD5FDV6KfY6AQPkSSYrlZ7mzOe TZCGRChbumzwi5Qc3nM7Dly0TrHDHfXvYJ1cTI24l+REH947kmZzlEixBwwA6SDE YuQ5NWPSqLMP+97f0kSapYwDu8cZGDCME1qAvvkBdsR4V7cQzVKnsnohouYPax6r VleTqsjZO4u0k9miaa8GU3QWJyEYTN4zhbLinYzhcEQu4z6Lfso= =kyTE -----END PGP SIGNATURE----- --UlVJffcvxoiEqYs2--