[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Problem with checkout for 1.7.0-rc4

From: Philip Martin <philip.martin_at_wandisco.com>
Date: Tue, 11 Oct 2011 00:48:29 +0100

Mark Phippard <markphip_at_gmail.com> writes:

> On Mon, Oct 10, 2011 at 4:19 PM, Philip Martin
> <philip.martin_at_wandisco.com> wrote:
>> Barry Scott <barry_at_barrys-emacs.org> writes:
>>
>>> I'm trying to build subversion 1.7.0-rc4 on Mac OS X 10.7.
>>> And I'm guessing that got something in the build/install wrong.
>>>
>>> I see the following error from svn checkout:
>>>
>>> $ /usr/local/svn-1.7.0-rc4/bin/svn checkout file:///Users/barry/BuildTemp/Darwin_body/svn-1.7.0-rc4/py27_pysvn_apple_com/Tests/testroot-01/repos/trunk /Users/barry/BuildTemp/Darwin_body/svn-1.7.0-rc4/py27_pysvn_apple_com/Tests/testroot-01/wc1
>>> svn: E200029: Couldn't perform atomic initialization
>>> svn: E200030: Could not initialize SQLite shared cache
>>>
>>> Does anyone know what can cause this, or point me to the area of code
>>> to check?
>>
>> libsvn_subr/sqlite.c:init_sqlite()
>>
>>  /* SQLite 3.5 allows sharing cache instances, even in a multithreaded
>>     environment. This allows sharing cached data when we open a database
>>     more than once (Very common in the current pre-single-database state) */
>>  SQLITE_ERR_MSG(sqlite3_enable_shared_cache(TRUE),
>>                 _("Could not initialize SQLite shared cache"));
>>
>>
>> Which version of SQLite are you using?
>
> This is the version that comes with OSX 10.7:
>
> $ /usr/bin/sqlite3 -version
> 3.7.5

Looking at sqlite.h I see this comment on sqlite3_enable_shared_cache:

** ^Note: This method is deprecated on MacOS X 10.7 and iOS version 5.0
** and will always return SQLITE_MISUSE, instead of calling this function
** shared cache mode should be enabled per-database connection via
** sqlite3_open_v2 with SQLITE_OPEN_SHAREDCACHE instead.

-- 
uberSVN: Apache Subversion Made Easy
http://www.uberSVN.com
Received on 2011-10-11 01:49:04 CEST

This is an archived mail posted to the Subversion Dev mailing list.