lost my r2xxxxx subversion id in uname & kern.version
cpghost
cpghost at cordula.ws
Sun Jul 14 16:16:00 UTC 2013
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 at olive:~ # uname -a
> FreeBSD olive.example.com 10.0-CURRENT FreeBSD 10.0-CURRENT #0: Fri
> Jul 12 19:38:24 CDT 2013
> root at olive.example.com:/usr/obj/usr/src/sys/MACKGEN amd64
> root at olive:~ # sysctl kern.version
> kern.version: FreeBSD 10.0-CURRENT #0: Fri Jul 12 19:38:24 CDT 2013
> root at 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/
More information about the freebsd-current
mailing list