Date: Sun, 14 Jul 2013 18:15:52 +0200 From: cpghost <cpghost@cordula.ws> To: freebsd-current@freebsd.org Subject: Re: lost my r2xxxxx subversion id in uname & kern.version Message-ID: <51E2CEB8.80909@cordula.ws> In-Reply-To: <alpine.BSF.2.00.1307121959040.1450@olive.macktronics.com> References: <alpine.BSF.2.00.1307121959040.1450@olive.macktronics.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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. -- Cordula's Web. http://www.cordula.ws/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?51E2CEB8.80909>