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

svn FSFS backend breaks in Mandriva Linux Cooker after upgrading sqlite3 to 3.7.7

From: by way of Shlomi Fish <shlomif_at_shlomifish.org>
Date: Sun, 26 Jun 2011 13:17:25 +0300

Hi all,

after I upgraded sqlite3 to 3.7.7 on Mandriva Cooker I'm getting this:

https://qa.mandriva.com/show_bug.cgi?id=63582

[QUOTE]

When I'm using Subversion on the file:/// ra_local repository access backend on
Cooker, then I'm getting this:

<<<<<<<<<<<<<<
shlomif[xml-fiction]:~/tmp/svn$ ls
shlomif[xml-fiction]:~/tmp/svn$ svnadmin create foo
shlomif[xml-fiction]:~/tmp/svn$ svn ls file://`pwd/foo
> ^C
shlomif[xml-fiction]:~/tmp/svn$ svn ls file://`pwd`/foo
shlomif[xml-fiction]:~/tmp/svn$ svn ls file://`pwd`/foo
shlomif[xml-fiction]:~/tmp/svn$ echo file://`pwd`/foo
file:///home/shlomif/tmp/svn/foo
shlomif[xml-fiction]:~/tmp/svn$ svn mkdir -m "Creating foo"
file:///home/shlomif/tmp/svn/foo/foo

Committed revision 1.

Warning: post-commit FS processing had error 'Couldn't perform atomic
initialization'.
shlomif[xml-fiction]:~/tmp/svn$ svn mkdir -m "Creating foo"
file:///home/shlomif/tmp/svn/foo/foo
svn: File already exists: filesystem '/home/shlomif/tmp/svn/foo/db',
transaction '1-1', path '/foo'
shlomif[xml-fiction]:~/tmp/svn$ svn
lsfile:///home/shlomif/tmp/svn/foo/fooUnknown command:
'lsfile:///home/shlomif/tmp/svn/foo/foo'
Type 'svn help' for usage.
shlomif[xml-fiction]:~/tmp/svn$ svn ls file:///home/shlomif/tmp/svn/foo/foo
shlomif[xml-fiction]:~/tmp/svn$ svn mkdir -m "Creating trunk"
file:///home/shlomif/tmp/svn/foo/foo
svn: File already exists: filesystem '/home/shlomif/tmp/svn/foo/db',
transaction '1-2', path '/foo'
shlomif[xml-fiction]:~/tmp/svn$ svn mkdir -m "Creating trunk"
file:///home/shlomif/tmp/svn/foo/foo/trunk

Committed revision 2.

Warning: post-commit FS processing had error 'Couldn't perform atomic
initialization'.
shlomif[xml-fiction]:~/tmp/svn$ svn co
file:///home/shlomif/tmp/svn/foo/foo/trunk
Checked out revision 2.
shlomif[xml-fiction]:~/tmp/svn$ tmux
[detached]
shlomif[xml-fiction]:~/tmp/svn$ cd trunk/
shlomif[xml-fiction]:~/tmp/svn/trunk$ ls
shlomif[xml-fiction]:~/tmp/svn/trunk$ echo h > j
shlomif[xml-fiction]:~/tmp/svn/trunk$ svn add j
A j
shlomif[xml-fiction]:~/tmp/svn/trunk$ svn ci -m "Commiting j"
Adding j
Transmitting file data .svn: Commit failed (details follow):
svn: While preparing '/home/shlomif/tmp/svn/trunk/j' for commit
svn: Couldn't perform atomic initialization
svn: database schema has changed
shlomif[xml-fiction]:~/tmp/svn/trunk$ svn st
A j
shlomif[xml-fiction]:~/tmp/svn/trunk$
>>>>>>>>>>>>>>

This may be due to the sqlite3 upgrade:

http://blog.fh-kaernten.at/wehr/2011/01/04/svn-couldnt-perform-atomic-initialization-fix/

[/QUOTE]

I checked that svn behaved fine on the Mandriva build system before sqlite3 was
upgraded, but then after I upgraded sqlite3 it started breaking.

I tried compiling Subversion from source and invoked it from ~/apps/svn/bin/svn
- and got the same bug.

Regards,

        Shlomi Fish

-- 
-----------------------------------------------------------------
Shlomi Fish       http://www.shlomifish.org/
Rethinking CPAN - http://shlom.in/rethinking-cpan
Bugs are too afraid to reproduce on Chuck Norris’ computer. As a result, when
he uses Microsoft Windows, it behaves just like a Linux system.
Please reply to list if it's a mailing list post - http://shlom.in/reply .
Received on 2011-06-26 12:45:44 CEST

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.