Red Hat Bugzilla – Bug 742647
qemu incorrectly depends on libpulse
Last modified: 2013-01-09 06:55:05 EST
Description of problem:
Removing pulseaudios-libs also removes qemu.
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
The depends on libpulse is *intentional* as PulseAudio is the default host audio driver we build for QEMU.
* Fri Sep 4 2009 Mark McLoughlin <firstname.lastname@example.org> - 2:0.10.91-0.9.rc1
- Make pulseaudio the default audio backend (#519540, #495964, #496627)
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.