Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Jul 2013 09:07:11 +0300
From:      "Sergey V. Dyatko" <sergey.dyatko@gmail.com>
To:        gjb@freebsd.org, freebsd-current@freebsd.org
Subject:   Re: lost my r2xxxxx subversion id in uname & kern.version
Message-ID:  <20130715090711.730c39d8@laptop.minsk.domain>
In-Reply-To: <51E2CEB8.80909@cordula.ws>
References:  <alpine.BSF.2.00.1307121959040.1450@olive.macktronics.com> <51E2CEB8.80909@cordula.ws>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 14 Jul 2013 18:15:52 +0200
cpghost <cpghost@cordula.ws> wrote:

> On 07/13/13 03:03, Dan Mack wrote:
> > I'm not sure exactly when but recently I've lost the subversion id
> > from kern.version and hence uname and motd.
> >
> > Subsequent fresh rebuilds from source don't bring it back even after
> > wiping out the tree.
> >
> > Today it looks like this:
> >
> > root@olive:~ # uname -a
> > FreeBSD olive.example.com 10.0-CURRENT FreeBSD 10.0-CURRENT #0: Fri
> > Jul 12 19:38:24 CDT 2013
> > root@olive.example.com:/usr/obj/usr/src/sys/MACKGEN  amd64
> > root@olive:~ # sysctl kern.version
> > kern.version: FreeBSD 10.0-CURRENT #0: Fri Jul 12 19:38:24 CDT 2013
> >     root@olive.example.com:/usr/obj/usr/src/sys/MACKGEN
> >
> > Previously it would have '#0 r253307' in it's place.
> >
> > This only happened on 1 of 3 build machines.
> 
> There was an update to subversion recently (1.7.x to 1.8.y).
> If you updated the /usr/src tree with the new subversion
> (i.e. svn upgrade; svn update), and then transferred that tree
> to another machine that contains a non-upgraded subversion
> client, if you build the tree there, you'll miss the r###### in
> uname.
> 
> Upgrade your subversion client on the target machine, and,
> optionally, run 'svn upgrade' on the source tree, then rebuild
> and reinstall. uname -a should show r###### again.
> 
> > dan
> 
> -cpghost.
> 

2 gjb@: That is a case, when we have 1.7.x checkout and _possible_
subversion17 installed. We was talking few weeks ago about that.
(efnet@tigerby)

-- 
wbr, tiger



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