I am trying out the Mac OS X Yosemite beta [edit: same issue in full release], which seems to have broken my Eclipse/Subversion. When I attempt to perform any svn action, I get:
svn: Couldn't perform atomic initialization
SQLite error
svn: SQLite compiled for 3.8.6, but running with 3.8.5
I have installed subversion-javahlbindings +nobdb+universal using macports, which includes the most recent SQLite3 (3.8.6), so I have no idea where the 3.8.5 is coming from on my system.
Svn works fine on the commandline, but not Eclipse. I have looked at this similar problem and googled the relevant E200029 error code without success.
Since it works on the command line, I'm thinking there's something in my Eclipse setup which is somehow pointing to the wrong/old svn but I can't find anywhere I can change any settings that would apply.
Any advice? (other than the obvious switching my OS back to Mavericks)
Edit: I've got svnkit working to get the Eclipse svn functionality but still would like to figure out what's going on with the subversion-javahl for future reference.
I have solved this problem.
replace version to 3.8.5.0, it's ok.
1, # brew uninstall sqlite
2, # brew uninstall subversion
3, # brew edit sqlite
modify following content:
3 class Sqlite < Formula
4 homepage "http://sqlite.org/"
5 url "https://www.sqlite.org/2014/sqlite-autoconf-3080500.tar.gz"
6 version "3.8.5.0"
7 sha1 "7f667e10ccebc26ab2086b8a30cb0a600ca0acae"
34 resource "docs" do
35 url "https://www.sqlite.org/2014/sqlite-doc-3080500.zip"
36 version "3.8.5.0"
37 sha1 "c5655a4004095c50dc8403661e0ed02fd4191d57"
38 end
like vim , :wq to save changes and quit.
4, # brew install --universal --java subversion
5, # rm -f /Library/Java/Extensions/libsvnjavahl-1.dylib
delete symbolic link file;
6, # sudo mkdir -p /Library/Java/Extensions
# sudo ln -s /usr/local/lib/libsvnjavahl-1.dylib /Library/Java/Extensions/libsvnjavahl-1.dylib
7, reboot Eclipse, it's OK.
This problem is caused by the fact that Yosemite appears to include a version of sqlite that is earlier than the one delivered by MacPorts. I have found a work-around to this problem by downgrading the version that MacPorts installs. MacPorts does not have 3.8.5 version of the port, so the following steps will manually do this. Also, the next time you do a port selfupdate
you will wipe out these changes, so you may have to repeat these steps.
Type sudo port edit sqlite3
Edit the version
and checksums
lines to the following:
version 3.8.5
checksums rmd160 b8da5ec594ac808da85469349c7506bd343946bf \
sha256 98c33abe4106e508e73fda648b2657ac9e969fe24695f543dcde68cc71f3091b
Type sudo port install sqlite3
Type sudo port upgrade --force subversion-javahlbindings +no_bdb+universal
This will cause subversion to recompile against the 3.8.5 version of sqlite3.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With