Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 749041 - media-libs/alsa-lib should depend on media-libs/alsa-topology-conf and media-libs/alsa-ucm-conf (???)
Summary: media-libs/alsa-lib should depend on media-libs/alsa-topology-conf and media-...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo ALSA team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-10-14 18:17 UTC by Matt Turner
Modified: 2020-10-15 00:36 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matt Turner gentoo-dev 2020-10-14 18:17:11 UTC
Discovered due to https://github.com/thesofproject/sof/issues/3519

The microphone array on this laptop does not work out of the box (i.e., with pulseaudio) without one or both (unsure) of media-libs/alsa-topology-conf and media-libs/alsa-ucm-conf. Currently *nothing* in gentoo.git depends on either of these packages, so you have to know that they're needed for your hardware.

These two packages are ~300kB each, and the failure mode without them is not easily debuggable. Just search for this laptop's model number (x360 13-aw0xxx) and "microphone" to see all of the problems!

Should alsa-lib just depend on these packages to avoid this problem? Or should pulseaudio?
Comment 1 Matt Turner gentoo-dev 2020-10-14 18:20:55 UTC
Cc'ing Polynomial-C since he added these packages and might have an opinion.
Comment 2 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2020-10-14 18:27:28 UTC
To be honest, I only added the alsa-*-conf packages because I saw in upstream's changelog that they had been split off of alsa-lib package.
IMHO your inquiry makes sense and we should make alsa-lib depend on these packages.
Comment 3 Matt Turner gentoo-dev 2020-10-14 18:43:48 UTC
Thanks! That's great information.
Comment 4 Tony Vroon (RETIRED) gentoo-dev 2020-10-14 19:16:10 UTC
Indeed, we might as well put an explicit dependency without a USE-flag to start with. If an appropriate USE-flag comes to light we can revisit. Non-debuggable breakage is bad.
Comment 5 Larry the Git Cow gentoo-dev 2020-10-15 00:36:48 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4fc62f6c60ed72a92418d57866c95c565ac6f0ea

commit 4fc62f6c60ed72a92418d57866c95c565ac6f0ea
Author:     Matt Turner <mattst88@gentoo.org>
AuthorDate: 2020-10-15 00:34:29 +0000
Commit:     Matt Turner <mattst88@gentoo.org>
CommitDate: 2020-10-15 00:36:35 +0000

    media-libs/alsa-lib: Depend on media-libs/alsa-*-conf
    
    Closes: https://bugs.gentoo.org/749041
    Signed-off-by: Matt Turner <mattst88@gentoo.org>

 media-libs/alsa-lib/alsa-lib-1.2.3.2-r1.ebuild | 84 ++++++++++++++++++++++++++
 1 file changed, 84 insertions(+)