Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 455818

Summary: media-sound/pulseaudio USE=xen should depend on app-emulation/xen-tools not app-emulation/xen
Product: Gentoo Linux Reporter: Paul Freeman <paul>
Component: Current packagesAssignee: Gentoo Sound Team <sound>
Status: RESOLVED FIXED    
Severity: normal CC: sound
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: pulseaudio 2.1 xen fix
pulseaudio 3.0 xen fix

Description Paul Freeman 2013-02-06 10:53:27 UTC
When compiling with Xen support pulseaudio requires /usr/include/xenctrl.h which comes from app-emulation/xen-tools not app-emulation/xen as is the current RDEPEND.

whilst app-emulation/xen-tools is pulled in by app-emulation/xen it is only a PDEPEND so it will not necessarily be pulled in in-time for the pulse build.

simple patches for current 2.x & 3.x pulseaudio ebuilds attached.


NOTES:
 this will cause a circular dependency on a vanilla system, since:

xen-tools depends libsdl depends pulseaudio depends xen-tools

a simple fix in that case being initially to USE=-xen emerge -av pulseaudio :)


Reproducible: Always
Comment 1 Paul Freeman 2013-02-06 10:54:53 UTC
Created attachment 338066 [details, diff]
pulseaudio 2.1 xen fix
Comment 2 Paul Freeman 2013-02-06 10:55:13 UTC
Created attachment 338068 [details, diff]
pulseaudio 3.0 xen fix
Comment 3 Pacho Ramos gentoo-dev 2014-02-16 21:21:53 UTC
fixed in 4.99.4