Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 114953 - dev-libs/apr and dev-libs/apr-util slotted versions have collisions
Summary: dev-libs/apr and dev-libs/apr-util slotted versions have collisions
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Apache Team - Bugzilla Reports
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-08 22:20 UTC by Georgi Georgiev
Modified: 2006-10-15 13:23 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Georgi Georgiev 2005-12-08 22:20:43 UTC
dev-libs/apr (slot 0) and dev-libs/apr (slot 1) cause collisions on the
/usr/lib/apr.exp file. I looked at apr.spec that is distributed with both
versions and saw that they all contain the following:

# Unpackaged files:
rm -f $RPM_BUILD_ROOT%{_libdir}/apr.exp

I guess this means that the apr ebuilds can be modified like:

@@ -46,4 +46,5 @@
 src_install() {
        einstall installbuilddir=${D}/usr/share/apr-1/build
+       rm -fv ${D}/usr/$(get_libdir)/apr.exp
 
        #bogus values pointing at /var/tmp/portage

Same goes for apr-util. However, in that case it is aprutil.exp that has to be
removed.

Actually it should actually be ${D}/usr/lib/apr.exp, as the apr* ebuilds are not
get_libdir friendly. I'll submit another bug about that.

Patches tested and working.
Comment 1 Michael Stewart (vericgar) (RETIRED) gentoo-dev 2006-01-04 20:00:38 UTC
apr-1.x isn't quite supported, it's more of an experimental ebuild, that will more then likely be rewritten when we start preparing for apache-2.2.
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-06-19 11:54:15 UTC
Well, as I did hit this right now, I'm reopening this. It's needed for apache-2.2.x anyway.
Comment 3 Michael Stewart (vericgar) (RETIRED) gentoo-dev 2006-10-15 13:23:22 UTC
Fixed in CVS.