Bug 742647

Summary: qemu incorrectly depends on libpulse
Product: [Fedora] Fedora Reporter: John Schmitt <nuonguy>
Component: qemuAssignee: Justin M. Forbes <jforbes>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 15CC: amit.shah, berrange, dougsland, dwmw2, ehabkost, gcosta, itamar, jaswinder, jforbes, knoel, scottt.tw, virt-maint
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-10-03 04:27:48 EDT Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

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

How reproducible:

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 Berrange 2011-10-03 04:27:48 EDT
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@redhat.com> - 2:0.10.91-0.9.rc1
- Make pulseaudio the default audio backend (#519540, #495964, #496627)
Comment 2 John Schmitt 2011-10-07 16:35:52 EDT
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.