Date: Sat, 3 Aug 2013 17:43:13 -0400 From: Glen Barber <gjb@FreeBSD.org> To: Steve Kargl <sgk@troutmask.apl.washington.edu> Cc: freebsd-current@freebsd.org Subject: Re: svn error during 'make buildkernel'? Message-ID: <20130803214313.GL78299@glenbarber.us> In-Reply-To: <20130803213023.GA812@troutmask.apl.washington.edu> References: <20130803210348.GA715@troutmask.apl.washington.edu> <20130803210858.GJ78299@glenbarber.us> <20130803213023.GA812@troutmask.apl.washington.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
--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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130803214313.GL78299>