Date: Mon, 15 Jul 2013 08:56:57 +0300 From: "Sergey V. Dyatko" <sergey.dyatko@gmail.com> To: freebsd-current@freebsd.org Subject: Re: lost my r2xxxxx subversion id in uname & kern.version Message-ID: <20130715085657.795d4109@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 > svnlite was imported into base system. And newvers.sh use svnliteversion (1.8.x). svn upgrade /usr/src should help > -cpghost. > -- wbr, tiger
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130715085657.795d4109>