Summary: | media-libs/alsa-lib ABI_X86=32 on multiilib should enforce media-plugins/alsa-plugins to be installed with ABI_X86=32 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Till Schäfer <till2.schaefer> |
Component: | Current packages | Assignee: | Gentoo ALSA team <alsa-bugs> |
Status: | UNCONFIRMED --- | ||
Severity: | normal | CC: | floppym, gnome, jstein, multilib+disabled, sound |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Till Schäfer
2015-04-04 16:55:51 UTC
I don't think there is any reasonable way to accomplish what you are asking in the general case. However, in the case of pulseaudio, the PDEPEND on alsa-plugins could be updated to this: # This is a PDEPEND to avoid a circular dep PDEPEND="alsa? ( alsa-plugin? ( >=media-plugins/alsa-plugins-1.0.27-r1[pulseaudio,${MULITLIB_USEDEP}] ) )" Assuming you have abi_x86_32 enabled on pulseaudio, that would also force you to have alsa-plugins with abi_x86_32. sounds reasonable and would actually solve my problem. I was actually thinking about this in the past and then forgot about it. This not limited to ALSA but also extends to PAM, nss… Long story short, any plugin system doesn't force correct USE dependencies on Gentoo. One possible solution is to have abi_x86_32= flags on plugins, i.e. alsa-plugins would have: media-sound/alsa-lib[abi_x86_64(-)=,abi_x86_32(-)=,...] This would prevent installing alsa-plugins with 32-bit support disabled when it's enabled on ALSA itself. However, I suspect that in the most cases Portage would ask users to disable 32-bit alsa-lib rather than enable it on the plugins. |