Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 371899 - x11-libs/libdrm should drop it's dependency of x11-libs/libpciaccess if possible
Summary: x11-libs/libdrm should drop it's dependency of x11-libs/libpciaccess if possible
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All All
: Normal normal (vote)
Assignee: Matt Turner
URL:
Whiteboard: x11 overlay
Keywords: InOverlay, REGRESSION
Depends on:
Blocks:
 
Reported: 2011-06-16 08:31 UTC by Rabbe Fogelholm
Modified: 2012-03-17 02:06 UTC (History)
3 users (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 Rabbe Fogelholm 2011-06-16 08:31:23 UTC
Platform is Gentoo Prefix on SUSE Enterprise 10 SP2. Emerging xulrunner is not possible since the dependency x11-libs/libdrm-2.4.25 requires x11-libs/libpciaccess, which is not in Prefix Portage.

A workaround is to mask libdrm-2.4.25 in etc/portage/package.mask, causing an earlier version to be used.
Comment 1 Richard Yao (RETIRED) gentoo-dev 2012-03-01 15:12:01 UTC
I can confirm this issue on Solaris 10 on sparc64. It causes problems when trying to compile firefox 10.

>=x11-libs/libdrm-2.4.25 has the following double dependency on >=x11-libs/libpciaccess-0.10, which looks wrong to me:

RDEPEND="dev-libs/libpthread-stubs
	video_cards_intel? ( >=x11-libs/libpciaccess-0.10 )"
DEPEND="${RDEPEND}
	>=x11-libs/libpciaccess-0.10"
Comment 2 Richard Yao (RETIRED) gentoo-dev 2012-03-01 15:48:56 UTC
xarhtisius in #gentoo-dev had the following to say on this:

10:41 <@xarthisius> ryao: there's a stupid check in libdrm's configure that relies on presence of libpciaccess unconditionally, whereas it's actually linked to anything only if you're building for intel, hence the deps :)

This is not a prefix problem. I am reassigning this to the x11 herd.
Comment 3 Chí-Thanh Christopher Nguyễn gentoo-dev 2012-03-01 17:06:26 UTC
Best submit a patch on upstream's bug tracker https://bugs.freedesktop.org/ and provide the link here. When upstream ACKs, then we can include it in libdrm ebuild.
Comment 4 Matt Turner gentoo-dev 2012-03-01 17:21:58 UTC
I've sent a patch.
Comment 5 Matt Turner gentoo-dev 2012-03-02 19:45:11 UTC
Patch committed upstream and libdrm-9999.ebuild fixed in the x11 overlay.
Comment 6 Richard Yao (RETIRED) gentoo-dev 2012-03-03 01:35:45 UTC
(In reply to comment #5)
> Patch committed upstream and libdrm-9999.ebuild fixed in the x11 overlay.

The new ebuild resolves the problem on Gentoo Prefix.
Comment 7 Matt Turner gentoo-dev 2012-03-17 02:06:21 UTC
libdrm-2.4.32 in the tree fixes this. Thanks.