First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 106978
Alias:
Product:
Component:
Status: RESOLVED
Resolution: DUPLICATE of bug 98688
Assigned To: Paul de Vrieze <pauldv@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Matthias Foerste <matthias.foerste@freenet.de>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 106978 depends on: Show dependency tree
Bug 106978 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2005-09-23 04:26 0000
Subversion ebuilds using the apr ebuild instead of subversions own apr should
make sure that the subversion binary will not be linked against a previous db
version. See http://bugs.gentoo.org/show_bug.cgi?id=98688#c2 for more details.
This problem happened to me while upgrading from subversion 1.2.3 to 1.2.3-r1,
because I generally dont update world --deep, which led to db-4.1 being the
latest installed version and subversion-1.2.3 being linked against it. During
the latest update apr and thus subversion have been linked against db-4.0
causing my repositories being inaccessible causing me one or two heart attacks
and a medium headache.

Reproducible: Always
Steps to Reproduce:
1.emerge subversion without >=db-4.2 installed and >=db-4.2 masked and
>subversion-1.2.3 masked
2.create a svn repository
3.remove the masks on subversion and db
4.remerge subversion with db-4.0 installed
5.try "svn ls" on the repository

Actual Results:  
svn ls failed with an error message similar to this one:

svn: Unable to open an ra_local session to URL
svn: Unable to open repository 'file:///path/to/rep'
svn: Berkeley DB error for filesystem /path/to/rep/db while opening environment:
DB_RUNRECOVERY: Fatal error, run database recovery
svn: bdb: region error detected; run recovery

the suggested "svnadmin recover" would fail with an error message similar to
this one:

Repository lock acquired.
Please wait; recovering the repository may take some time...
*** glibc detected *** free(): invalid pointer: 0x08068250 ***
Aborted


Expected Results:  
The software should have succeeded :)

------- Comment #1 From Paul de Vrieze 2005-09-23 12:37:36 0000 -------
the 1.2.3-r1 version uses the db version that apr was installed with. I'll
think
about doing some checks on db versions. db probably needs this kinds of checks.

------- Comment #2 From Jakub Moc (RETIRED) 2005-12-06 19:05:50 0000 -------

*** This bug has been marked as a duplicate of 98688 ***

First Last Prev Next    No search results available      Search page      Enter new bug