svn error during 'make buildkernel'?

Glen Barber gjb at FreeBSD.org
Sat Aug 3 21:09:02 UTC 2013


On Sat, Aug 03, 2013 at 02:03:49PM -0700, Steve Kargl wrote:
> I updated my /usr/src with subversion from ports:
> 
> % pkg info | grep subver
> subversion-1.7.9_1             Version control system
> 
> 'make buildworld' completed as expected.  'make buildkernel'
> seems to complete, but I'm seeing
> 
> :> hack.c
> cc  -shared -nostdlib hack.c -o hack.So
> rm -f hack.c
> MAKE=make 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.
> 

> Why is svn being run during 'make buildkernel'?  More importantly,
> why is the freshly built svn in /usr/obj being invoked when it 
> has not previously been installed and so /usr/src may indeed be
> in a older, yet valid, format?
> 

src/sys/conf/newvers.sh sets the svn revision, which is printed by
uname(1).

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:

    # /usr/bin/svnlite upgrade /usr/src

Glen

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-current/attachments/20130803/f59d19bf/attachment.sig>


More information about the freebsd-current mailing list