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

Re: repo corrupted?

From: Rob Clark <robdclark_at_mac.com>
Date: 2004-01-03 18:28:40 CET

On Jan 3, 2004, at 5:26 AM, mark benedetto king wrote:

> On Fri, Jan 02, 2004 at 09:53:04AM -0800, Rob Clark wrote:
>> It looks like my repository has gone belly up, and 'svn recover' can't
>> help:
>>
>> # svnadmin recover /Users/www/svn
>> Acquiring exclusive lock on repository db.
>> Recovery is running, please stand by...svn: Berkeley DB error
>> svn: DB_RUNRECOVERY: Fatal error, run database recovery
>>
>> This is with subversion 0.33.0, installed on macosx from the fink
>> package. In the past when I built subversion from source myself, db
>> 4.0.x was recommended, but it looks like the fink package is built
>> against 4.1.25. Is rebuilding subversion 0.33.0 from source, using db
>> 4.0.x going to help me? Will it be able to read the files in the
>> repository created by 4.1.25? Anyone have another suggestion for
>> recovering my data? Someone please help!
>>
>
> Do NOT run svn over BDB 4.0.x on Mac OS X (you mentioned fink),
> as it is "known to turn your database into tapioca", to quote
> B. W. Fitzpatrick.
>

I tried building with 4.0.x, but the configure script wasn't having any
of it, insisting on 4.1.x. But by dump'ing and load'ing, I've got
things back to normal.

I had a go at building 0.35.1, but that ends in compile error, if
anyone has any ideas:

------ completed all in neon
cd subversion/clients/cmdline && /bin/sh
/Users/robclark/Documents/src/subversion-0.35.1/libtool --silent
--mode=link gcc -g -O2 -g -O2 -DNEON_ZLIB -DNEON_SSL
-L/usr/local/db-4.2.52/lib
-L/Users/robclark/Documents/src/subversion-0.35.1/apr-util/xml/expat/
lib -rpath /usr/local/subversion-0.35.1/lib -o svn add-cmd.o
blame-cmd.o cat-cmd.o checkout-cmd.o cleanup-cmd.o commit-cmd.o
copy-cmd.o delete-cmd.o diff-cmd.o export-cmd.o help-cmd.o import-cmd.o
info-cmd.o log-cmd.o ls-cmd.o main.o merge-cmd.o mkdir-cmd.o move-cmd.o
notify.o prompt.o propdel-cmd.o propedit-cmd.o propget-cmd.o
proplist-cmd.o props.o propset-cmd.o resolved-cmd.o revert-cmd.o
status-cmd.o status.o switch-cmd.o update-cmd.o util.o
../../../subversion/libsvn_client/libsvn_client-1.la
../../../subversion/libsvn_wc/libsvn_wc-1.la
../../../subversion/libsvn_ra/libsvn_ra-1.la
../../../subversion/libsvn_delta/libsvn_delta-1.la
../../../subversion/libsvn_subr/libsvn_subr-1.la
/Users/robclark/Documents/src/subversion-0.35.1/apr-util/libaprutil
-0.la -ldb
/Users/robclark/Documents/src/subversion-0.35.1/apr-util/xml/expat/lib/
libexpat.la -liconv
/Users/robclark/Documents/src/subversion-0.35.1/apr/libapr-0.la
-lresolv
/Users/robclark/Documents/src/subversion-0.35.1/neon/src/libneon.la
-L/usr/local/subversion-0.35.1/lib -lz -L/sw/lib -lssl -lcrypto -lz
ld: warning -L: directory name (/usr/local/subversion-0.35.1/lib) does
not exist
ld: warning can't open dynamic library:
/usr/local/subversion-0.35.1/lib/libsvn_delta-1.0.dylib (checking for
undefined symbols may be affected) (No such file or directory, errno =
2)
ld: warning can't open dynamic library:
/usr/local/subversion-0.35.1/lib/libsvn_subr-1.0.dylib (checking for
undefined symbols may be affected) (No such file or directory, errno =
2)
ld: warning can't open dynamic library:
/usr/local/subversion-0.35.1/lib/libsvn_diff-1.0.dylib (checking for
undefined symbols may be affected) (No such file or directory, errno =
2)
ld: warning can't open dynamic library:
/usr/local/subversion-0.35.1/lib/libaprutil-0.0.dylib (checking for
undefined symbols may be affected) (No such file or directory, errno =
2)
ld: warning can't open dynamic library:
/usr/local/subversion-0.35.1/lib/libexpat.0.dylib (checking for
undefined symbols may be affected) (No such file or directory, errno =
2)
ld: warning can't open dynamic library:
/usr/local/subversion-0.35.1/lib/libapr-0.0.dylib (checking for
undefined symbols may be affected) (No such file or directory, errno =
2)
ld: Undefined symbols:
_svn_error_wrap_apr
_svn_cmdline_path_local_style_from_utf8
_svn_io_file_read
_svn_io_file_read_full
_svn_io_file_write_full
make: *** [subversion/clients/cmdline/svn] Error 1

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sat Jan 3 18:29:51 2004

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.