Bug 742647 - qemu incorrectly depends on libpulse
Summary: qemu incorrectly depends on libpulse
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: qemu
Version: 15
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Justin M. Forbes
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-09-30 21:49 UTC by John Schmitt
Modified: 2013-01-09 11:55 UTC (History)
12 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2011-10-03 08:27:48 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description John Schmitt 2011-09-30 21:49:35 UTC
Description of problem:
Removing pulseaudios-libs also removes qemu.

How reproducible:
Always

Steps to Reproduce:
$ yum remove pulseaudio-libs
....

---> Package pulseaudio-libs.x86_64 0:0.9.22-5.fc15 will be erased
...
--> Processing Dependency: libpulse-simple.so.0()(64bit) for package: 2:qemu-system-sh4-0.14.0-7.fc15.x86_64
--> Processing Dependency: libpulse-simple.so.0()(64bit) for package: 2:qemu-system-m68k-0.14.0-7.fc15.x86_64
--> Processing Dependency: libpulse-simple.so.0()(64bit) for package: 2:qemu-system-arm-0.14.0-7.fc15.x86_64

Comment 1 Daniel Berrangé 2011-10-03 08:27:48 UTC
The depends on libpulse is *intentional* as PulseAudio is the default host audio driver we build for QEMU. 

* Fri Sep  4 2009 Mark McLoughlin <markmc> - 2:0.10.91-0.9.rc1
- Make pulseaudio the default audio backend (#519540, #495964, #496627)

Comment 2 John Schmitt 2011-10-07 20:35:52 UTC
I've taken some time to think about this.  

In this context, does default mean "mandatory"?  As far as I can tell by rpm -qil pulseaudio-libs, there isn't even a static pulse library.

Since libpulse is a shared object, you can know whether it's installed by what dlopen() returns.


Note You need to log in before you can comment on or make changes to this bug.