[Buildbot-devel] svnversion broken on a slave

David Froger david.froger at inria.fr
Tue Nov 26 15:24:19 UTC 2013


Dear all,

After upgrading a Mac OS X slave, the 'svnversion' command on this slave no 
more works. (see for example: https://bugzilla.redhat.com/show_bug.cgi?id=821642)

For some reason, it's hard to fix the problem due to svn/sqlite on this Mac.

We are trying to replace the call to '/usr/bin/snvversion' with a call to
'/path/to/a/patched/snvversion', which is a script that give the same result
as the broken svnversion with this bash command:
    svn info | grep Revision | cut -f2 -d: | tr -d ' '

We add '/path/to/a/patched/snvversion' to the slave PATH, make it 
executable, and restarted the slave.

When trying to update his SVN repo copy, the slave does:
svn --version (ok)
svn info --non-interactive --no-auth-cache (ok)
svn update --revision NNNN --non-interactive --no-auth-cache (ok)
svnversion (error)

The 'svnversion' that is executed is still '/usr/bin/svnversion', although the
PATH printed above with all environment variables is:
PATH=/path/to/a/patch/svnversion:(...):/usr/bin:(...)

Any idea to solve the problem?

Thanks,
David




More information about the devel mailing list