Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 200654 - media-plugins/libao{,-pulse} collision
Summary: media-plugins/libao{,-pulse} collision
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-28 16:48 UTC by Jeremy Johnson
Modified: 2007-11-28 18:20 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 Jeremy Johnson 2007-11-28 16:48:06 UTC
I'm running an ~x86 i686 system.
I recently did an 'emerge -uvDN world' and got a collision between 
libao-0.8.8 (~x86) and libao-pulse-0.9.3


# epm -qf /usr/lib/ao/plugins-2/libpulse.so
libao-0.8.8
libao-pulse-0.9.3

# epm -qf /usr/lib/ao/plugins-2/libpulse.la
libao-0.8.8
libao-pulse-0.9.3

Reproducible: Always
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2007-11-28 16:50:22 UTC
Impossible, it has blockers.

Calculating dependencies... done!
[ebuild  N    ] media-plugins/libao-pulse-0.9.3  0 kB 
[blocks B     ] media-plugins/libao-pulse (is blocking media-libs/libao-0.8.8)

Total: 1 package (1 new, 1 block), Size of downloads: 0 kB

!!! Error: The above package list contains packages which cannot be installed
!!!        at the same time on the same system.

For more information about Blocked Packages, please refer to the following
section of the Gentoo Linux x86 Handbook (architecture is irrelevant):

http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?full=1#blocked
Comment 2 Jeremy Johnson 2007-11-28 17:39:02 UTC
OK, I see what I did wrong.

When I did 'emerge -puvDNt world', 
I got something similar to:

#emerge -pv libao libao-pulse
Calculating dependencies... done!
[ebuild   R   ] media-libs/libao-0.8.8  USE="alsa arts esd nas pulseaudio -doc -mmap" 0 kB
[ebuild   R   ] media-plugins/libao-pulse-0.9.3  0 kB
[blocks B     ] media-plugins/libao-pulse (is blocking media-libs/libao-0.8.8)

So I unmerged libao-pulse and upgraded libao, then re-installed libao-pulse (which did not complain that it should not be installed with libao). 
I then got the message about file collisions which I reported here.

If instead of installing libao and libao-pulse sequentially, I try installing
them at the same time, i.e. 'emerge -v libao libao-pulse', then I do get the
message prohibiting installing both on the same system:

# emerge -v libao libao-pulse

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] media-libs/libao-0.8.8  USE="alsa arts esd nas pulseaudio -doc -mmap" 0 kB
[ebuild   R   ] media-plugins/libao-pulse-0.9.3  0 kB
[blocks B     ] media-plugins/libao-pulse (is blocking media-libs/libao-0.8.8)

Total: 2 packages (2 reinstalls, 1 block), Size of downloads: 0 kB

!!! Error: The above package list contains packages which cannot be installed
!!!        at the same time on the same system.


I did not intentionally try to circumvent gentoo's blocking system.
Maybe the "pretend" option just doesn't fully state the reason for a block.
Sometimes when there's a block, unmerging one package, updating the other, and 
re-emerging the one, fixes the problem; but in this case I guess it merely 
obfuscated the issue.

THANKS
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2007-11-28 18:05:24 UTC
As said above.