Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 190373 - dev-libs/apr-util-1.2.8 doesn't compile with sys-libs/db-4.6.*
Summary: dev-libs/apr-util-1.2.8 doesn't compile with sys-libs/db-4.6.*
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High enhancement
Assignee: Apache Team - Bugzilla Reports
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-27 08:57 UTC by Tim Harder
Modified: 2007-09-08 20:10 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
db-4.6-support.patch (db-4.6-support.patch,4.21 KB, patch)
2007-08-27 08:58 UTC, Tim Harder
Details | Diff
apr-util-1.2.8-r2.ebuild (apr-util-1.2.8-r2.ebuild,2.21 KB, text/plain)
2007-08-27 09:04 UTC, Tim Harder
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tim Harder gentoo-dev 2007-08-27 08:57:31 UTC
The configure scripts of apr-util-1.2.8 don't support db-4.6.
Comment 1 Tim Harder gentoo-dev 2007-08-27 08:58:58 UTC
Created attachment 129296 [details, diff]
db-4.6-support.patch

Here is a patch to add db-4.6 support to apr-util-1.2.8.
Comment 2 Tim Harder gentoo-dev 2007-08-27 09:04:42 UTC
Created attachment 129297 [details]
apr-util-1.2.8-r2.ebuild

This ebuild adds the previous patch and works for me on ~x86.
Comment 3 Axel Dyks 2007-08-27 23:15:23 UTC
This is what happens if newer versions of a slotted package (sys-libs/db) get 
stabilized without checking if all dependent packages not refering a slot
really don't rely on a slot.

DEPEND = "
    ...
    berkdb? ( =sys-libs/db-4* )
"
is plain wrong!

Each time when I run an "update world" I check for "slotted updates" and
I'm trying to get rid of them by unmerging older versions (slot instances)
and then running "revdep-rebuild".

What I (everybody) would expect is that a dependent package
  * either can live with an instance from a newer slot
  * or pulls in newest stable from an older slot.

Axel
  
Comment 4 Axel Dyks 2007-08-27 23:33:30 UTC
Sorry!
It's actually "0.9.12" that needs the patch to make
   berkdb? ( =sys-libs/db-4* )
a valid dependency.

And 0.9.12 has already got the patch (--> -r1)

Sorry again,
Axel

P. S. Should have run "revdep-rebuild" without "-X" ...

Comment 5 Davide Pesavento (RETIRED) gentoo-dev 2007-09-08 18:16:54 UTC
Yet this bug is still valid. And db-4.6 has been unmasked now, so many packages depending on apr-util are broken (e.g. subversion) because libaprutil-1.la cannot be rebuilt correctly. Please consider raising the severity of this bug.
Comment 6 Benedikt Böhm (RETIRED) gentoo-dev 2007-09-08 20:10:32 UTC
fixed with apr-util-1.2.10