Conflict between subversion 1.6 and 1.7

Posted on
Picture of user. brandmaier Joined: 02/04/2010

I cannot compile OpenMx from SVN.

The repository seems to be running on subversion 1.6 while I am running subversion 1.7. This makes the following version extraction command from the makefile fail:
svnversion -c | sed -e 's/[MS]//g' -e 's/^[[:digit:]]*://'
with the error:
svn: E155036: Working copy '/workspace/OpenMx/trunk' is too old (format 10, created by Subversion 1.6)

I could not found a workaround other than downgrading my subversion to 1.6. Have you encountered this?

Replied on Wed, 04/11/2012 - 07:45
Picture of user. brandmaier Joined: Feb 04, 2010

In reply to by mspiegel

With "svn upgrade" I receive:

svn: E155019: Can't upgrade '/workspace/OpenMx/trunk' as it is not a pre-1.7 working copy root, the root is '/workspace/OpenMx'

I am running svn, Version 1.7.2 (r1207936) on OSX 10.7.3.

Tim's workaround solves the problem. Can we integrate this into the Makefile somehow, e.g. by setting a default version number "0" and issue a warning during the build process?

Replied on Wed, 04/11/2012 - 04:48
Picture of user. tbrick Joined: Jul 31, 2009

I'm actually getting a different error from the same command. I'm using svn 1.7.4(r1295709) on Mac OS X 10.7.3.

The command tells me:
svn: E200030: sqlite: callback requested query abort
svn: E200030: sqlite: callback requested query abort

(yes, twice)
and then the compile fails with

Warning: invalid package ‘OpenMx_999.0.0-.tar.gz’
Error: ERROR: no packages specified
make: *** [install] Error 1

because $(BUILDNO) in the Makefile wasn't populated right.
svn upgrade didn't fix it.

A workaround is to manually edit the last line of DESCRIPTION to add the subversion checkout number. I had just checked out r2012, so I changed the line from
Version: 999.0.0-
to
Version: 999.0.0-2012
You could use any number, of course, but then don't trust the version number OpenMx thinks it is.

Might work for your error, too.