Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 348806 - pulseaudio : wrong libX11 dependency
Summary: pulseaudio : wrong libX11 dependency
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-15 19:40 UTC by Rodolphe Rocca
Modified: 2010-12-16 21:03 UTC (History)
0 users

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 Rodolphe Rocca 2010-12-15 19:40:27 UTC
Hi,

it looks like the libX11 dependency described in pulseaudio-0.9.22 is wrong.

paludis says :

!   x11-libs/libX11
    Reasons: target (installed-packages::installed),
app-emulation/emul-linux-x86-xlibs, dev-dotnet/libgdiplus, 126 more
    Unsuitable candidates:
      * x11-libs/libX11-1.3.4:0::gentoo
        Did not meet >=x11-libs/libX11-1.3.99.901, use existing if possible,
installing to / from media-libs/mesa
      * x11-libs/libX11-1.3.6:0::gentoo
        Did not meet >=x11-libs/libX11-1.3.99.901, use existing if possible,
installing to / from media-libs/mesa
      * x11-libs/libX11-1.4.0:0::gentoo
        Did not meet <x11-libs/libX11-1.4.0[xcb], use existing if possible,
installing to / from media-sound/pulseaudio
        Did not meet <x11-libs/libX11-1.3.99.901[xcb], use existing if
possible, installing to / from media-video/vlc
      * x11-libs/libX11-9999:0::x11
        Masked by repository
            Repository masked
/var/paludis/repositories/x11/profiles/package.mask
            Don't let people install these accidentally
        Masked by user
        Did not meet <x11-libs/libX11-1.4.0[xcb], use existing if possible,
installing to / from media-sound/pulseaudio
        Did not meet <x11-libs/libX11-1.3.99.901[xcb], use existing if
possible, installing to / from media-video/vlc

Looking at the ebuild I see :

|| ( <x11-libs/libX11-1.4.0[xcb] >=x11-libs/libX11-1.4.0 )

which, according to Ciaran, is wrong. Quoting him :

"If you've got || ( a b c ) then the best solution is supposed to be listed
first. In particular, if you've got || ( >cat/a-1 <cat/a-1 ) then the > should
always be to the left of the < thing. Otherwise, you're telling the package
manager that it should prefer the older version."

This is documented in ebuild(5).

So in this case the dependency should be :

|| ( >=x11-libs/libX11-1.4.0 <x11-libs/libX11-1.4.0[xcb] )

See http://bugs.gentoo.org/show_bug.cgi?id=348518 for more information.

Reproducible: Always
Comment 1 Rafał Mużyło 2010-12-15 19:57:00 UTC
Stop creating dupes.
And anyway, if portage handles it fine, problem goes to paludis side.
Comment 2 Rodolphe Rocca 2010-12-15 20:36:59 UTC
It's not a dupe. This one is for pulseaudio. The other one for vlc.

Comment 3 Tim Harder gentoo-dev 2010-12-16 19:59:52 UTC
Fixed in CVS.
Comment 4 Rodolphe Rocca 2010-12-16 21:03:00 UTC
(In reply to comment #3)
> Fixed in CVS.
> 

Thank you Tim you rock !