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

svnadmin: Mismatched FS module version for 'bdb': found 1.4.2, expected 1.3.2

From: Martin Marconcini <martin_at_marconcini.com.ar>
Date: 2006-11-15 14:10:27 CET

Hello list and forgive me for the long post,

I have compiled Subversion from source since 1.X; I normally download
the tar.gz (now deps too), and perform the basic:

./configure
make
** "kill" any running repository **
make install

and it just works (tm).

I use the Svn FS backend and not BerkeleyDB. The OS is Linux Fedora
Core 1.

However this time I am experiencing a strange behaviour. After the
usual configure/make/make install, everything runs ok (clients
connecting from Windows/Mac OS X can commit, browse, etc.); I wanted
to "dump/reload" my repo to make my repo smaller (thanks to
improvements in 1.4.X). My repo was 1.3.2 before being "touched" by
1.4.x clients. So when running svnadmin help (I always re-read that
before any operation, just in case i forget something) I got these...

Look at these outputs:

# svnadmin help
svnadmin: Mismatched FS module version for 'bdb': found 1.4.2,
expected 1.3.2

# svnserve --version
svn: Mismatched FS module version for 'bdb': found 1.4.2, expected 1.3.2

# svn --version
svn, version 1.4.2 (r22196)
    compiled Nov 15 2006, 11:53:17

Copyright (C) 2000-2006 CollabNet.
Subversion is open source software, see http://subversion.tigris.org/
This product includes software developed by CollabNet (http://
www.Collab.Net/).

The following repository access (RA) modules are available:

* ra_dav : Module for accessing a repository via WebDAV (DeltaV)
protocol.
   - handles 'http' scheme
* ra_svn : Module for accessing a repository using the svn network
protocol.
   - handles 'svn' scheme
* ra_local : Module for accessing a repository on local disk.
   - handles 'file' scheme

So I performed the usual "seek" the library, and found out that:

# locate libsvn_fs_base-1.so
/root/svn132/subversion-1.3.2/subversion/libsvn_fs_base/.libs/
libsvn_fs_base-1.so.0.0.0
/root/svn132/subversion-1.3.2/subversion/libsvn_fs_base/.libs/
libsvn_fs_base-1.so.0
/root/svn132/subversion-1.3.2/subversion/libsvn_fs_base/.libs/
libsvn_fs_base-1.so
/root/svn132/subversion-1.3.2/subversion/libsvn_fs_base/.libs/
libsvn_fs_base-1.so.0.0.0T
/usr/local/lib/libsvn_fs_base-1.so.0.0.0
/usr/local/lib/libsvn_fs_base-1.so.0
/usr/local/lib/libsvn_fs_base-1.so

The first four are the original SOURCE code i compiled for svn1.3.2
(i keep the entire tree just in case) ;)

I ran updatedb and to my surprise this lib didn't appear in the
Subversion 1.4.2 tree. Again, comparing those in /usr/local/lib/*
with the ones in the 1.3.2 tree shows that the libs are the same!
Which explains the error.

My question is, what am I supposed to do with these "old" libraries?
If I remove them, will Subversion continue working? Why aren't these
included in the new tree (1.4.2) ? Have they been replaced in 1.4.X?

For what is worth:

# which svn
/usr/local/bin/svn

Another curious thing is that there's now a libsvn_fs_fs instead of
base (notice the build time, Nov15 -> today) whereas I built 1.3.2 on
sept 5th.

# ls -l /usr/local/lib/libsvn_fs*
-rw-r--r-- 1 root root 147476 Nov 15 12:12 /usr/local/lib/
libsvn_fs-1.a
-rwxr-xr-x 1 root root 1047 Nov 15 12:12 /usr/local/lib/
libsvn_fs-1.la
lrwxrwxrwx 1 root root 20 Nov 15 12:12 /usr/local/lib/
libsvn_fs-1.so -> libsvn_fs-1.so.0.0.0
lrwxrwxrwx 1 root root 20 Nov 15 12:12 /usr/local/lib/
libsvn_fs-1.so.0 -> libsvn_fs-1.so.0.0.0
-rwxr-xr-x 1 root root 104627 Nov 15 12:12 /usr/local/lib/
libsvn_fs-1.so.0.0.0
-rw-r--r-- 1 root root 2368524 Sep 5 18:26 /usr/local/lib/
libsvn_fs_base-1.a
-rwxr-xr-x 1 root root 1087 Sep 5 18:26 /usr/local/lib/
libsvn_fs_base-1.la
lrwxrwxrwx 1 root root 25 Sep 5 18:26 /usr/local/lib/
libsvn_fs_base-1.so -> libsvn_fs_base-1.so.0.0.0
lrwxrwxrwx 1 root root 25 Sep 5 18:26 /usr/local/lib/
libsvn_fs_base-1.so.0 -> libsvn_fs_base-1.so.0.0.0
-rwxr-xr-x 1 root root 1257056 Sep 5 18:26 /usr/local/lib/
libsvn_fs_base-1.so.0.0.0
-rw-r--r-- 1 root root 720806 Nov 15 12:12 /usr/local/lib/
libsvn_fs_fs-1.a
-rwxr-xr-x 1 root root 1035 Nov 15 12:12 /usr/local/lib/
libsvn_fs_fs-1.la
lrwxrwxrwx 1 root root 23 Nov 15 12:12 /usr/local/lib/
libsvn_fs_fs-1.so -> libsvn_fs_fs-1.so.0.0.0
lrwxrwxrwx 1 root root 23 Nov 15 12:12 /usr/local/lib/
libsvn_fs_fs-1.so.0 -> libsvn_fs_fs-1.so.0.0.0
-rwxr-xr-x 1 root root 428641 Nov 15 12:12 /usr/local/lib/
libsvn_fs_fs-1.so.0.0.0

Here's the output of a make check inside the svn142 tree:

# make check
Running all tests in compat-test...success
Running all tests in config-test...success
Running all tests in diff-diff3-test...success
Running all tests in fs-test...success
Running all tests in hashdump-test...success
Running all tests in locks-test...success
Running all tests in opt-test...success
Running all tests in path-test...success
Running all tests in ra-local-test...success
Running all tests in random-test...success
Running all tests in repos-test...success
Running all tests in stream-test...success
Running all tests in string-test...success
Running all tests in time-test...success
Running all tests in translate-test...success
Running all tests in utf-test...success
Running all tests in target-test.py...success
Running all tests in getopt_tests.py...success
Running all tests in basic_tests.py...success
Running all tests in commit_tests.py...success
Running all tests in update_tests.py...success
Running all tests in switch_tests.py...FAILURE
Running all tests in prop_tests.py...success
Running all tests in schedule_tests.py...success
Running all tests in log_tests.py...success
Running all tests in copy_tests.py...success
Running all tests in diff_tests.py...success
Running all tests in export_tests.py...success
Running all tests in externals_tests.py...success
Running all tests in merge_tests.py...success
Running all tests in revert_tests.py...success
Running all tests in stat_tests.py...success
Running all tests in trans_tests.py...success
Running all tests in autoprop_tests.py...success
Running all tests in blame_tests.py...success
Running all tests in special_tests.py...success
Running all tests in svnadmin_tests.py...success
Running all tests in svnlook_tests.py...success
Running all tests in svnversion_tests.py...success
Running all tests in utf8_tests.py...success
Running all tests in history_tests.py...success
Running all tests in lock_tests.py...success
Running all tests in cat_tests.py...success
Running all tests in import_tests.py...success
Running all tests in svnsync_tests.py...success
Running all tests in authz_tests.py...success
At least one test FAILED, checking /root/svn142/subversion-1.4.2/
tests.log
FAIL: switch_tests.py 17: refresh the WC file system read-only
attribute
At least one test was SKIPPED, checking /root/svn142/subversion-1.4.2/
tests.log
SKIP: utf8_tests.py 1: conversion of paths and logs to/from utf8
SKIP: svnsync_tests.py 14: verify that unreadable content is not synced
SKIP: svnsync_tests.py 15: verify that copies from unreadable dirs work
SKIP: authz_tests.py 1: authz issue #2486 - open root
SKIP: authz_tests.py 2: authz issue #2486 - open directory
SKIP: authz_tests.py 3: broken authz files cause errors
SKIP: authz_tests.py 4: test authz for read operations
SKIP: authz_tests.py 5: test authz for write operations
SKIP: authz_tests.py 6: test authz for checkout
SKIP: authz_tests.py 7: test authz for log and tracing path changes
SKIP: authz_tests.py 8: test authz for checkout and update
SKIP: authz_tests.py 9: test authz for export with unreadable subfolder
make: *** [check] Error 1

The svnserve is up and running (repository path has been
intentionally modified to protect the innocent ;) ):

# ps -ax | grep svn
17427 ? S 0:00 svnserve -r /path/to/my/repo -d

I am puzzled and now sure how to proceed… any ideas or hints will be
appreciated.

One last command that might help is the output of:

# ldd /usr/local/bin/svn
         libsvn_client-1.so.0 => /usr/local/lib/libsvn_client-1.so.0
(0x00bd0000)
         libsvn_wc-1.so.0 => /usr/local/lib/libsvn_wc-1.so.0
(0x0026a000)
         libsvn_ra-1.so.0 => /usr/local/lib/libsvn_ra-1.so.0
(0x004fe000)
         libsvn_diff-1.so.0 => /usr/local/lib/libsvn_diff-1.so.0
(0x001c3000)
         libsvn_ra_local-1.so.0 => /usr/local/lib/
libsvn_ra_local-1.so.0 (0x00f1c000)
         libsvn_repos-1.so.0 => /usr/local/lib/libsvn_repos-1.so.0
(0x00e8b000)
         libsvn_fs-1.so.0 => /usr/local/lib/libsvn_fs-1.so.0
(0x0059f000)
         libsvn_fs_fs-1.so.0 => /usr/local/lib/libsvn_fs_fs-1.so.0
(0x00afb000)
         libsvn_ra_svn-1.so.0 => /usr/local/lib/libsvn_ra_svn-1.so.0
(0x00460000)
         libsvn_ra_dav-1.so.0 => /usr/local/lib/libsvn_ra_dav-1.so.0
(0x00162000)
         libsvn_delta-1.so.0 => /usr/local/lib/libsvn_delta-1.so.0
(0x00d6d000)
         libsvn_subr-1.so.0 => /usr/local/lib/libsvn_subr-1.so.0
(0x007af000)
         libaprutil-0.so.0 => /usr/local/apr/lib/libaprutil-0.so.0
(0x00486000)
         libapr-0.so.0 => /usr/local/apr/lib/libapr-0.so.0 (0x00504000)
         librt.so.1 => /lib/tls/librt.so.1 (0x005d6000)
         libm.so.6 => /lib/tls/libm.so.6 (0x00e4e000)
         libcrypt.so.1 => /lib/libcrypt.so.1 (0x002a6000)
         libnsl.so.1 => /lib/libnsl.so.1 (0x00d2f000)
         libpthread.so.0 => /lib/tls/libpthread.so.0 (0x00ec7000)
         libdl.so.2 => /lib/libdl.so.2 (0x006b9000)
         libgssapi_krb5.so.2 => /usr/lib/libgssapi_krb5.so.2
(0x001ce000)
         libkrb5.so.3 => /usr/lib/libkrb5.so.3 (0x009bd000)
         libk5crypto.so.3 => /usr/lib/libk5crypto.so.3 (0x00859000)
         libcom_err.so.2 => /lib/libcom_err.so.2 (0x001b9000)
         libresolv.so.2 => /lib/libresolv.so.2 (0x00111000)
         libexpat.so.0 => /usr/lib/libexpat.so.0 (0x00123000)
         libz.so.1 => /usr/lib/libz.so.1 (0x00bbf000)
         libc.so.6 => /lib/tls/libc.so.6 (0x002d3000)
         /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x008b9000)

# ldd /usr/local/bin/svnserve
         libsvn_repos-1.so.0 => /usr/local/lib/libsvn_repos-1.so.0
(0x007de000)
         libsvn_fs-1.so.0 => /usr/local/lib/libsvn_fs-1.so.0
(0x00719000)
         libsvn_fs_fs-1.so.0 => /usr/local/lib/libsvn_fs_fs-1.so.0
(0x004b2000)
         libsvn_delta-1.so.0 => /usr/local/lib/libsvn_delta-1.so.0
(0x00486000)
         libsvn_subr-1.so.0 => /usr/local/lib/libsvn_subr-1.so.0
(0x00559000)
         libsvn_ra_svn-1.so.0 => /usr/local/lib/libsvn_ra_svn-1.so.0
(0x00c30000)
         libaprutil-0.so.0 => /usr/local/apr/lib/libaprutil-0.so.0
(0x00c82000)
         libexpat.so.0 => /usr/lib/libexpat.so.0 (0x00539000)
         libapr-0.so.0 => /usr/local/apr/lib/libapr-0.so.0 (0x00111000)
         librt.so.1 => /lib/tls/librt.so.1 (0x007ba000)
         libm.so.6 => /lib/tls/libm.so.6 (0x00c96000)
         libcrypt.so.1 => /lib/libcrypt.so.1 (0x0012f000)
         libnsl.so.1 => /lib/libnsl.so.1 (0x00f27000)
         libpthread.so.0 => /lib/tls/libpthread.so.0 (0x001f0000)
         libdl.so.2 => /lib/libdl.so.2 (0x0051e000)
         libz.so.1 => /usr/lib/libz.so.1 (0x00c6e000)
         libc.so.6 => /lib/tls/libc.so.6 (0x00200000)
         /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x009a7000)

# ldd /usr/local/bin/svnadmin
         libsvn_repos-1.so.0 => /usr/local/lib/libsvn_repos-1.so.0
(0x00a4f000)
         libsvn_fs-1.so.0 => /usr/local/lib/libsvn_fs-1.so.0
(0x005a0000)
         libsvn_fs_fs-1.so.0 => /usr/local/lib/libsvn_fs_fs-1.so.0
(0x00b5b000)
         libsvn_delta-1.so.0 => /usr/local/lib/libsvn_delta-1.so.0
(0x00e3d000)
         libsvn_subr-1.so.0 => /usr/local/lib/libsvn_subr-1.so.0
(0x006d7000)
         libaprutil-0.so.0 => /usr/local/apr/lib/libaprutil-0.so.0
(0x00968000)
         libexpat.so.0 => /usr/lib/libexpat.so.0 (0x0068f000)
         libapr-0.so.0 => /usr/local/apr/lib/libapr-0.so.0 (0x00bf2000)
         librt.so.1 => /lib/tls/librt.so.1 (0x00436000)
         libm.so.6 => /lib/tls/libm.so.6 (0x00a2a000)
         libcrypt.so.1 => /lib/libcrypt.so.1 (0x00eb2000)
         libnsl.so.1 => /lib/libnsl.so.1 (0x008e7000)
         libpthread.so.0 => /lib/tls/libpthread.so.0 (0x00549000)
         libdl.so.2 => /lib/libdl.so.2 (0x00111000)
         libz.so.1 => /usr/lib/libz.so.1 (0x00c15000)
         libc.so.6 => /lib/tls/libc.so.6 (0x00114000)
         /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x007a2000)

Ideas?

Thanks in advance!!

--
Martín Marconcini
“The bitterness of poor quality lasts much longer than the sweetness  
of meeting the schedule.” Anonymous
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Nov 15 14:11:39 2006

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.