From owner-freebsd-current@FreeBSD.ORG Sat Aug 3 21:43:17 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 1DD614F6; Sat, 3 Aug 2013 21:43:17 +0000 (UTC) (envelope-from gjb@FreeBSD.org) Received: from mail0.glenbarber.us (mail0.glenbarber.us [IPv6:2607:fc50:1:2300:1001:1001:1001:face]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id E765D2ECB; Sat, 3 Aug 2013 21:43:16 +0000 (UTC) Received: from glenbarber.us (70.15.88.86.res-cmts.sewb.ptd.net [70.15.88.86]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) (Authenticated sender: gjb) by mail0.glenbarber.us (Postfix) with ESMTPSA id B3CC58167; Sat, 3 Aug 2013 21:43:15 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.8.3 mail0.glenbarber.us B3CC58167 Authentication-Results: mail0.glenbarber.us; dkim=none reason="no signature"; dkim-adsp=none Date: Sat, 3 Aug 2013 17:43:13 -0400 From: Glen Barber To: Steve Kargl Subject: Re: svn error during 'make buildkernel'? Message-ID: <20130803214313.GL78299@glenbarber.us> References: <20130803210348.GA715@troutmask.apl.washington.edu> <20130803210858.GJ78299@glenbarber.us> <20130803213023.GA812@troutmask.apl.washington.edu> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="HLsZ5Z1opAQvdr2J" Content-Disposition: inline In-Reply-To: <20130803213023.GA812@troutmask.apl.washington.edu> X-Operating-System: FreeBSD 10.0-CURRENT amd64 User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-current@freebsd.org 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: Sat, 03 Aug 2013 21:43:17 -0000 --HLsZ5Z1opAQvdr2J Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Aug 03, 2013 at 02:30:23PM -0700, Steve Kargl wrote: > On Sat, Aug 03, 2013 at 05:08:58PM -0400, Glen Barber wrote: > > On Sat, Aug 03, 2013 at 02:03:49PM -0700, Steve Kargl wrote: > > > I updated my /usr/src with subversion from ports: > > >=20 > > > % pkg info | grep subver > > > subversion-1.7.9_1 Version control system > > >=20 > > > 'make buildworld' completed as expected. 'make buildkernel' > > > seems to complete, but I'm seeing > > >=20 > > > :> hack.c > > > cc -shared -nostdlib hack.c -o hack.So > > > rm -f hack.c > > > MAKE=3Dmake sh /usr/src/sys/conf/newvers.sh MOBILE > > > svn: E155036: The working copy at '/usr/src' > > > is too old (format 29) to work with client version '1.8.0 (r1490375)'= (expects format 31). You need to upgrade the working copy first. > > >=20 > >=20 > > > Why is svn being run during 'make buildkernel'? More importantly, > > > why is the freshly built svn in /usr/obj being invoked when it=20 > > > has not previously been installed and so /usr/src may indeed be > > > in a older, yet valid, format? > > >=20 > >=20 > > src/sys/conf/newvers.sh sets the svn revision, which is printed by > > uname(1). > >=20 > > devel/subversion is at version 1.8.x, so you should upgrade your > > installed port. Or you can use /usr/bin/svnlite directly, and run: > >=20 > > # /usr/bin/svnlite upgrade /usr/src > >=20 >=20 > Thanks. >=20 > Looks like an entry in /usr/src/UPDATING is missing if > /usr/bin/svn* is forcing an obsolscence of a functioning > installed port. >=20 The port was at 1.8.x before I added the additional lookup of svnlite to the script. There really is no need for UPDATING entry, since 1.7.9 is deprecated, and the behavior you have seen is not a fatal error with the buildkernel process. BTW, you should upgrade devel/subversion anyway, since there are security vulnerabilities. Glen --HLsZ5Z1opAQvdr2J Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.20 (FreeBSD) iQEcBAEBCAAGBQJR/XlxAAoJEFJPDDeguUaj89YIAJUI48ERqc74VBH7+tsqWvGU 8H7ulX26XweUmO2lsAtoIfhdydqdmaUn4z8v2t5Rx4B4x77qAiJ7nZE/Hvw9+2uX f2exYWAMCv6qgtd0bgMfqDA2aBDlF4J4eo0yjhbrVJ6uMzxuEVhra1JzVww759Pq /gLsVUsEpZhIcFGI6zsDlu3SWI2xpxmQ5pmQwS037reaQ5MN1QeBKk8I//yXra0R XU1ukgMP++qVmcLgB9jTQsM89EVJzB03mBdmLv90SnDE2Kz0dfQIy4gR7UeDUTGr vkped3RS1KwbfUkMjfEjlv9FUgCPHaRBubGQjne9hFeNJs9J7/+vO1CC/WvSqTo= =u1np -----END PGP SIGNATURE----- --HLsZ5Z1opAQvdr2J--