SVN on Pi 3
Chris Mahoney (1684) 2100 posts |
I just tried to run Subversion (latest version, according to PackMan) on my Pi 3 with RC15 and as soon as I type “svn” with no further parameters it chews up 100% CPU and doesn’t do anything else until I close the window. The same install on my old Pi 1 works correctly. Has anyone else run into this? Could it be the dreaded SWP issue? I was under the impression that that froze the whole machine instead of just the app, but I could be wrong! |
dave_j (3231) 50 posts |
It is, !PatchSWP worked on it, whereas a build on the autobuilder didn’t. /media/pittdj/GCCSDK/build/libapr1/apr-1.5.2/build/mkdir.sh include/private tools/gen_test_char,e1f > include/private/apr_escape_test_char.h /bin/bash: tools/gen_test_char,e1f: cannot execute binary file: Exec format error Makefile:146: recipe for target 'include/private/apr_escape_test_char.h' failed make[1]: *** [include/private/apr_escape_test_char.h] Error 126 make[1]: *** Waiting for unfinished jobs.... make[1]: Leaving directory '/media/pittdj/GCCSDK/build/libapr1/apr-1.5.2' /media/pittdj/GCCSDK/build/libapr1/apr-1.5.2/build/apr_rules.mk:118: recipe for target 'all-recursive' failed make: *** [all-recursive] Error 1 Package libapr1: ***Failure*** Dependency "libapr1" failed for apr-util Dependency "apr-util" failed for subversion Build for package "subversion" failed |
Chris Mahoney (1684) 2100 posts |
Thanks; I’ll try PatchSWP in the morning :) |
Chris Mahoney (1684) 2100 posts |
I can confirm that PatchSWP has fixed it, at least as far as generating the help text. I don’t have anything to commit right now so can’t do a full test, but it’s looking promising! Thanks again. |
Alan Buckley (167) 232 posts |
I’ve now built and uploaded subversion 1.6.17dfsg-1 to www.riscos.info. Hopefully this should work on a Raspberry Pi without the need for PatchSWP. If anyone has the time or inclination to update the GCCSDK autobuilder to get a more modern version of SVN building, then I can build and upload that in future.
libapr1 needed a newer version of the db package. Once I put that in place I found there were too many changes to subversion for me to have time to look into and fix. |
Chris Mahoney (1684) 2100 posts |
I finally got around to trying this. The previous version (1.6.12dfsg-1) with PatchSWP works fine. The new one (1.6.17dfsg-1) fails as soon as I try to check anything out, with the error “Unrecognised URL scheme for ‘https://server:8443/svn/main/projectname’”. A quick search indicates that this means it was compiled without SSL support. I wouldn’t even know where to start with this, but I’m happy to use the patched version as it seems to work fine. |