From owner-freebsd-current@FreeBSD.ORG Mon Jul 15 05:57:06 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 77995D84 for ; Mon, 15 Jul 2013 05:57:06 +0000 (UTC) (envelope-from sergey.dyatko@gmail.com) Received: from mail-ea0-x231.google.com (mail-ea0-x231.google.com [IPv6:2a00:1450:4013:c01::231]) by mx1.freebsd.org (Postfix) with ESMTP id 10D4BA29 for ; Mon, 15 Jul 2013 05:57:05 +0000 (UTC) Received: by mail-ea0-f177.google.com with SMTP id j14so7414885eak.36 for ; Sun, 14 Jul 2013 22:57:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:subject:message-id:in-reply-to:references:x-mailer :mime-version:content-type:content-transfer-encoding; bh=tA5Ou7akQPT3pBgVt78lE2cATtGujzs6nNbzd3bGqOY=; b=C879CZreAshOx9zH5sTjWV2X3EpIXMbq73cTDOU2Taagp4TZTJZPkmlWl1HyXugF6K NnZIph1qZmXZ1V75kStLDrBlJakMuIcVLY6Pko3tmQTWSbyDo4CAEFxMe4/M6LRazSmh U/20yqjFdAf3c+Y5NkqcBXyTtQKjZsbGE8xBF/SlVcVVCJq4LRoXSNdjISJjEIfB472A ZbeCA8xNZys0Yswyvt/4PJ02wcI9GFrw0m9rqvF3kqqbLiim6dRBVQWEF11XoxCAc74t fBdfyOtAOn17zG8xGoh8psiplCOtaV9gghtfiWblD5hf7C5k9iu4PR372JBLaGLhgdEr LJbg== X-Received: by 10.15.98.3 with SMTP id bi3mr55534713eeb.124.1373867825212; Sun, 14 Jul 2013 22:57:05 -0700 (PDT) Received: from laptop.minsk.domain (m-s.agava.net. [195.222.84.203]) by mx.google.com with ESMTPSA id b7sm99759286eef.16.2013.07.14.22.57.04 for (version=SSLv3 cipher=RC4-SHA bits=128/128); Sun, 14 Jul 2013 22:57:04 -0700 (PDT) Date: Mon, 15 Jul 2013 08:56:57 +0300 From: "Sergey V. Dyatko" 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: <51E2CEB8.80909@cordula.ws> X-Mailer: Claws Mail 3.9.2 (GTK+ 2.24.19; amd64-portbld-freebsd10.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Jul 2013 05:57:06 -0000 On Sun, 14 Jul 2013 18:15:52 +0200 cpghost 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