Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Aug 2019 21:24:05 +0900
From:      KIRIYAMA Kazuhiko <kiri@truefc.org>
To:        Trond =?ISO-8859-1?Q?Endrest=F8l?= <trond.endrestol@ximalas.info>
Cc:        KIRIYAMA Kazuhiko <kiri@truefc.org>, "FreeBSD-stable@FreeBSD.org" <FreeBSD-stable@FreeBSD.org>
Subject:   Re: `uname -a' can't display revision 
Message-ID:  <201908201224.x7KCO5rh030491@kx.truefc.org>
In-Reply-To: <alpine.BSF.2.21.99999.352.1908201353530.12719@enterprise.ximalas.info>
References:  <201908200200.x7K20gxg003413@kx.truefc.org> <alpine.BSF.2.21.99999.352.1908200646080.12719@enterprise.ximalas.info> <201908201118.x7KBIhCD027716@kx.truefc.org> <alpine.BSF.2.21.99999.352.1908201353530.12719@enterprise.ximalas.info>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 20 Aug 2019 20:58:26 +0900,
Trond Endrest=F8l wrote:
>=20
> [1  <text/plain; UTF-8 (8bit)>]
> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201908201224.x7KCO5rh030491>