<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>98688</bug_id>
          
          <creation_ts>2005-07-11 10:11 0000</creation_ts>
          <short_desc>subversion with db-4.3</short_desc>
          <delta_ts>2006-06-05 13:28:04 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Applications</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>nakano@gentoo.org</reporter>
          <assigned_to>pauldv@gentoo.org</assigned_to>
          <cc>andrei.ivanov@gmail.com</cc>
    
    <cc>apache-bugs@gentoo.org</cc>
    
    <cc>matthias.foerste@freenet.de</cc>
    
    <cc>raybooysen@rjb.za.net</cc>

      

      
          <long_desc isprivate="0">
            <who>nakano@gentoo.org</who>
            <bug_when>2005-07-11 10:11:07 0000</bug_when>
            <thetext>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 &apos;db-4.3&apos; 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.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>pauldv@gentoo.org</who>
            <bug_when>2005-07-17 13:48:50 0000</bug_when>
            <thetext>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.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>ajohnson@lastaccess.com</who>
            <bug_when>2005-07-18 18:10:26 0000</bug_when>
            <thetext>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&apos;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.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>pauldv@gentoo.org</who>
            <bug_when>2005-07-19 01:05:24 0000</bug_when>
            <thetext>I&apos;m CC&apos;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.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jakub@gentoo.org</who>
            <bug_when>2005-12-06 19:05:50 0000</bug_when>
            <thetext>*** Bug 106978 has been marked as a duplicate of this bug. ***</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>pauldv@gentoo.org</who>
            <bug_when>2005-12-07 02:02:55 0000</bug_when>
            <thetext>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.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vericgar@gentoo.org</who>
            <bug_when>2006-06-04 20:45:36 0000</bug_when>
            <thetext>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.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>pauldv@gentoo.org</who>
            <bug_when>2006-06-05 13:28:04 0000</bug_when>
            <thetext>Happy to see the db-use eclass being of some use ;-). I consider this closed then. If it is still an issue, please reopen.</thetext>
          </long_desc>
      
    </bug>

</bugzilla>