Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 98688
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Paul de Vrieze <pauldv@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Masatomo Nakano (RETIRED) <nakano@gentoo.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

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

Bug 98688 depends on: Show dependency tree
Bug 98688 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-07-11 10:11 0000
I want to run subversion with sys-libs/db-4.3 which is package.masked yet.

I unmasked/emerged db-4.3.
Then, emerged subversion-1.2.1  but subverion was going to link with db-4.2.

After that, I tried to add 'db-4.3' to files/subversion-db4.patch. But the
result was same.

I know a masked ebuild is not supported well.
But if you have any chance, can you take care of it please?


Reproducible: Always
Steps to Reproduce:
1.
2.
3.

Actual Results:  
subversion always link db-4.2.

Expected Results:  
suversion with db-4.3 works fine.

------- Comment #1 From Paul de Vrieze 2005-07-17 13:48:50 0000 -------
Well, it actually will link against the db version that apr/apr-util was linked
against. To link it against 4.3 you therefore need to remerge apr and/or apr-util.

------- Comment #2 From Andrew Johnson 2005-07-18 18:10:26 0000 -------
This can cause problems when upgrading from subversion 1.1.x to 1.2.x.

As an example,
Subversion 1.1.x, which apparently didn't utilize apr-util, may have been
compiled against db4.1.

During an upgrade to 1.2.1, subversion uses whatever version of db that apr-util
was compiled against (as you mentioned). Because the apr-util ebuilds do not
take into account version db4.1 or db4.3, this results in the 1.2.1 subversion
package being compiled against db4.0. As a result, subversion repositories
created with the 1.1.x subversion installation will not be readable by the newly
installed subversion package. Re emerging apr-util + subversion will not fix
this problem, because the apr-util ebuild will still only look for db4.0 and db4.2.

To fix this problem for myself, I changed the apr-util ebuild to take into
account db4.1, and re-emerged apr-util and subversion.

This may or may not be the proper fix. Let me know if you me to submit a patch.

------- Comment #3 From Paul de Vrieze 2005-07-19 01:05:24 0000 -------
I'm CC'ing the apache team on this. They maintain apr/apr-util. Probably the
reason that 4.1 is not used by apache has to do with bugs. Usage of 4.3 is
probably just not enabled.

------- Comment #4 From Jakub Moc (RETIRED) 2005-12-06 19:05:50 0000 -------
*** Bug 106978 has been marked as a duplicate of this bug. ***

------- Comment #5 From Paul de Vrieze 2005-12-07 02:02:55 0000 -------
Please note that berkeley db is kind of problematic in the update path. For
this
reason fsfs is now the default subversion filesystem. If you want to avoid
these
issues, you might want to consider using fsfs.

------- Comment #6 From Michael Stewart (vericgar) (RETIRED) 2006-06-04 20:45:36 0000 -------
apr-util now uses the db-use.eclass with the fixing of bug 133871. The issue of
which db version subversion links against is probably now resolved.

------- Comment #7 From Paul de Vrieze 2006-06-05 13:28:04 0000 -------
Happy to see the db-use eclass being of some use ;-). I consider this closed
then. If it is still an issue, please reopen.

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug