From owner-freebsd-stable@freebsd.org Tue Aug 20 12:24:09 2019 Return-Path: Delivered-To: freebsd-stable@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 74479D0BA7 for ; Tue, 20 Aug 2019 12:24:09 +0000 (UTC) (envelope-from kiri@truefc.org) Received: from kx.truefc.org (flets-sg1026.kamome.or.jp [202.216.24.26]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp", Issuer "smtp" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 46CVMr2t6Vz4HvG for ; Tue, 20 Aug 2019 12:24:07 +0000 (UTC) (envelope-from kiri@truefc.org) Received: from kx.truefc.org (kx.truefc.org [202.216.24.26]) by kx.truefc.org (8.15.2/8.15.2) with ESMTP id x7KCO5rh030491; Tue, 20 Aug 2019 21:24:05 +0900 (JST) (envelope-from kiri@kx.truefc.org) Message-Id: <201908201224.x7KCO5rh030491@kx.truefc.org> Date: Tue, 20 Aug 2019 21:24:05 +0900 From: KIRIYAMA Kazuhiko To: Trond =?ISO-8859-1?Q?Endrest=F8l?= Cc: KIRIYAMA Kazuhiko , "FreeBSD-stable@FreeBSD.org" Subject: Re: `uname -a' can't display revision In-Reply-To: References: <201908200200.x7K20gxg003413@kx.truefc.org> <201908201118.x7KBIhCD027716@kx.truefc.org> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (=?ISO-8859-4?Q?Goj=F2?=) APEL/10.8 MULE XEmacs/21.4 (patch 24) (Standard C) (amd64--freebsd) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 46CVMr2t6Vz4HvG X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of kiri@truefc.org has no SPF policy when checking 202.216.24.26) smtp.mailfrom=kiri@truefc.org X-Spamd-Result: default: False [0.05 / 15.00]; ARC_NA(0.00)[]; SUBJECT_ENDS_SPACES(0.50)[]; TO_DN_EQ_ADDR_SOME(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TO_DN_SOME(0.00)[]; NEURAL_HAM_LONG(-0.63)[-0.630,0]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[truefc.org]; AUTH_NA(1.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_HAM_SHORT(-0.23)[-0.235,0]; NEURAL_HAM_MEDIUM(-0.67)[-0.675,0]; R_SPF_NA(0.00)[]; RCVD_COUNT_ONE(0.00)[1]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:4704, ipnet:202.216.0.0/19, country:JP]; IP_SCORE(-0.01)[country: JP(-0.03)]; ONCE_RECEIVED(0.10)[] X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Aug 2019 12:24:09 -0000 On Tue, 20 Aug 2019 20:58:26 +0900, Trond Endrest=F8l wrote: >=20 > [1 ] > On Tue, 20 Aug 2019 20:18+0900, KIRIYAMA Kazuhiko wrote: >=20 > > On Tue, 20 Aug 2019 13:47:55 +0900, > > Trond Endrest=F8l wrote: > > >=20 > > > On Tue, 20 Aug 2019 11:00+0900, KIRIYAMA Kazuhiko wrote: > > >=20 > > > > I've rebuild up to r351108 but `uname -a' can't display it's > > > > revision number.=20 > > >=20 > > > Add this to /etc/src.conf: > > >=20 > > > WITHOUT_REPRODUCIBLE_BUILD=3Dyes > >=20 > > Add above and rebuild with r351247, then > >=20 > > admin@tbedfs:~ % uname -a > > FreeBSD tbedfs 12.0-STABLE FreeBSD 12.0-STABLE #0: Tue Aug 20 19:10:53 = JST 2019 root@tbedfs:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64 > > admin@tbedfs:~ %=20 > >=20 > > Only revision number ommitted. Why ? >=20 > Hum. That's strange. Do you have dot-directories belonging to Git or=20 > some other VCS in the root of your source tree? I'm guessing this=20 > might confuse the script generating the kernel identification. That it is ! I've svn checkout in bhyve host (vm.tfc): root@vm:~ # svnlite info /ds/src/stable/12/r351247 Path: /ds/src/stable/12/r351247 Working Copy Root Path: /ds/src/stable/12/r351247 URL: svn://svn.freebsd.org/base/stable/12 Relative URL: ^/stable/12 Repository Root: svn://svn.freebsd.org/base Repository UUID: ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f Revision: 351247 Node Kind: directory Schedule: normal Last Changed Author: jhb Last Changed Rev: 351246 Last Changed Date: 2019-08-20 10:30:35 +0900 (Tue, 20 Aug 2019) root@vm:~ #=20 And I've rebuild in bhyve VM tbedfs that NFS mount /ds/src/stable/12/r351247 to /usr/src: admin@tbedfs:~ % df -h Filesystem Size Used Avail Capacity Mounted = on /dev/vtbd0p2 7.7G 3.2G 3.9G 45% / devfs 1.0K 1.0K 0B 100% /dev vm.tfc:/.dake 13T 209G 13T 2% /.dake vm.tfc:/ds/src/stable/12/r351247 13T 103G 13T 1% /usr/src vm.tfc:/ds/obj/stable/12/r351247 13T 332G 13T 2% /usr/obj admin@tbedfs:~ % ll /usr/src total 907 -rw-r--r-- 1 root wheel 85 Aug 2 07:57 .arcconfig -rw-r--r-- 1 root wheel 448 Aug 2 07:57 .arclint -rw-r--r-- 1 root wheel 152 Aug 2 07:57 .gitattributes -rw-r--r-- 1 root wheel 188 Aug 2 07:57 .gitignore drwxr-xr-x 4 root wheel 8 Aug 2 07:52 .svn/ -rw-r--r-- 1 root wheel 6179 Aug 2 07:57 COPYRIGHT -rw-r--r-- 1 root wheel 553 Aug 2 07:57 LOCKS -rw-r--r-- 1 root wheel 6020 Aug 2 07:57 MAINTAINERS -rw-r--r-- 1 root wheel 28704 Aug 2 07:57 Makefile -rw-r--r-- 1 root wheel 107133 Aug 2 07:57 Makefile.inc1 -rw-r--r-- 1 root wheel 7086 Aug 2 07:56 Makefile.libcompat -rw-r--r-- 1 root wheel 2017 Aug 2 07:57 Makefile.sys.inc -rw-r--r-- 1 root wheel 516207 Aug 12 14:57 ObsoleteFiles.inc -rw-r--r-- 1 root wheel 2480 Aug 2 07:57 README -rw-r--r-- 1 root wheel 2521 Aug 2 07:57 README.md -rw-r--r-- 1 root wheel 82783 Aug 12 14:57 UPDATING drwxr-xr-x 41 root wheel 43 Aug 2 07:57 bin/ drwxr-xr-x 9 root wheel 11 Aug 2 07:56 cddl/ drwxr-xr-x 94 root wheel 94 Aug 2 07:56 contrib/ drwxr-xr-x 5 root wheel 6 Aug 2 07:57 crypto/ drwxr-xr-x 7 root wheel 17 Aug 2 07:56 etc/ drwxr-xr-x 5 root wheel 9 Aug 2 07:57 gnu/ drwxr-xr-x 8 root wheel 106 Aug 2 07:57 include/ drwxr-xr-x 8 root wheel 11 Aug 2 07:57 kerberos5/ drwxr-xr-x 134 root wheel 136 Aug 2 07:52 lib/ drwxr-xr-x 36 root wheel 40 Aug 2 07:52 libexec/ drwxr-xr-x 13 root wheel 23 Aug 2 07:56 release/ drwxr-xr-x 4 root wheel 6 Aug 2 07:57 rescue/ drwxr-xr-x 92 root wheel 100 Aug 2 07:52 sbin/ drwxr-xr-x 7 root wheel 9 Aug 2 07:57 secure/ drwxr-xr-x 27 root wheel 29 Aug 2 07:52 share/ drwxr-xr-x 26 root wheel 35 Aug 2 07:56 stand/ drwxr-xr-x 54 root wheel 55 Aug 2 07:54 sys/ drwxr-xr-x 3 root wheel 6 Aug 2 07:57 targets/ drwxr-xr-x 5 root wheel 10 Aug 2 07:56 tests/ drwxr-xr-x 16 root wheel 20 Aug 2 07:56 tools/ drwxr-xr-x 283 root wheel 290 Aug 2 07:56 usr.bin/ drwxr-xr-x 231 root wheel 241 Aug 2 07:54 usr.sbin/ admin@tbedfs:~ %=20 >=20 > As a counter, this is from a recently updated VM running 13.0-CURRENT: >=20 > # uname -a > FreeBSD freebsd-head-zfs.FQDN 13.0-CURRENT FreeBSD 13.0-CURRENT #0 r35120= 9: Mon Aug 19 11:50:33 CEST 2019 root@freebsd-head-zfs.FQDN:/usr/obj/us= r/src/amd64.amd64/sys/XENGUEST amd64 >=20 > --=20 > Trond. --- KIRIYAMA Kazuhiko