[Buildroot] [PATCH 1/1] package/alsa-utils: selects BR2_PACKAGE_ALSA_LIB_{PCM, RAWMIDI}

Thomas Petazzoni thomas.petazzoni at bootlin.com
Wed Jul 20 16:43:23 UTC 2022


On Wed, 15 Jun 2022 22:50:26 +0200
Fabrice Fontaine <fontaine.fabrice at gmail.com> wrote:

> alsactl (which is unconditionally built) needs
> BR2_PACKAGE_ALSA_LIB_RAWMIDI since bump to version 1.2.7 in commit
> 4dc8563363d639255217ffc59482eaccf93a1b51 and
> https://github.com/alsa-project/alsa-utils/commit/bbc74a61ac7c35e506c3d7f76ecf943cb55736a6:
> 
> info.c:83:44: error: unknown type name 'snd_rawmidi_stream_t'; did you mean 'snd_pcm_stream_t'?
>    83 | static const char *snd_rawmidi_stream_name(snd_rawmidi_stream_t stream)
>       |                                            ^~~~~~~~~~~~~~~~~~~~
>       |                                            snd_pcm_stream_t
> 
> aplay (which is always built as BR2_PACKAGE_ALSA_LIB_PCM is selected by
> BR2_PACKAGE_ALSA_LIB) needs BR2_PACKAGE_ALSA_LIB_UCM since bump to
> version 1.2.7 in commit 4dc8563363d639255217ffc59482eaccf93a1b51 and
> https://github.com/alsa-project/alsa-utils/commit/90f59671784a7e47b40485095cd66892d4840ed7:
> 
> aplay.c:44:10: fatal error: alsa/use-case.h: No such file or directory
>    44 | #include <alsa/use-case.h>
>       |          ^~~~~~~~~~~~~~~~~
> 
> Fixes:
>  - http://autobuild.buildroot.org/results/708aecfafccecd99f8a4178412a9dd0cf9123f72
>  - http://autobuild.buildroot.org/results/366aa43e82615e2a5a36fcb98b3bdfbc5e99786f
> 
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>

This has been fixed differently in:

  https://git.buildroot.org/buildroot/commit/?id=83bad5e0f00df3b03fd55916f5e03e64946ff177

Best regards,

Thomas
-- 
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com



More information about the buildroot mailing list