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

Re: Problem accessing local repo

From: Art Haas <ahaas_at_airmail.net>
Date: 2004-07-29 21:01:14 CEST

On Thu, Jul 29, 2004 at 01:42:44PM -0500, Ben Collins-Sussman wrote:
> On Thu, 2004-07-29 at 13:23, Art Haas wrote:
> > Hi.
> >
> > Subversion has been working well for me for months, but my latest update
> > and build now gives the following error when trying to access a repo
> > kept on my machine:
> >
> > svn: Unable to open an ra_local session to URL
> > svn: Unable to open repository 'file:///mnt/src/svnrepo/pythoncad/trunk'
> > svn: Berkeley DB error while opening environment for filesystem
> > /mnt/src/svnrepo/db:
> > Invalid argument
> This is issue 1968. Would you post a tarball of your repository for us
> to examine?

Sure. I'll reply to your reply once the repo is available. I'll put it
on my PythonCAD site so that it can be fetched from there.

> > Any known code issues from a day or two ago that cause Berkeley DB to
> > get messed up?
> No, see issue 1968. We've not touched BDB code in ages and ages.

> > My latest build also used Debian's 'libdb-4.2' package instead of my own
> > built DB-4.2 libraries. The 'libdb-4.2' libraries are configured so that
> > the 'db.h' header file redefines various calls by appending a number to
> > the call, and my older (home-built) library was not configured to do
> > that. As that change should just effect building and run-time linkage, I
> > don't see how that could affect the reading of existing Berkeley DB
> > files.
> Somehow your new version of BDb is incompatible with whatever data
> format the old BDB was writing to disk. Max Bowsher might get a better
> idea by looking at your repository.
> > Suggestions welcomed. Should I switch over to the 1.1.x branch, as the
> > trunk is in flux? An svn rebuild looks to be necessary at some point.
> This has nothing to do with svn's code; everything to do with your
> change of BDB library. :-)

I see. :-(

Running the Debian supplied 'db_*' utilies on some of the files in the
svn repo produce output like this:

$ db4.2_verify nodes
db_verify: Program version 4.2 doesn't match environment version

Running the versions from my db build produce no output, which I take to
mean the files are fine.

I still have my older Berkeley libraries on the machine, so I'll be
rebuiding Apache and Subversion. Thanks for replying so fast.

Art Haas

Man once surrendering his reason, has no remaining guard against absurdities
the most monstrous, and like a ship without rudder, is the sport of every wind.
-Thomas Jefferson to James Smith, 1822
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Jul 29 21:01:30 2004

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

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