All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/alsa-utils: selects BR2_PACKAGE_ALSA_LIB_{PCM, RAWMIDI}
@ 2022-06-15 20:50 Fabrice Fontaine
  2022-07-20 16:43 ` Thomas Petazzoni via buildroot
  0 siblings, 1 reply; 3+ messages in thread
From: Fabrice Fontaine @ 2022-06-15 20:50 UTC (permalink / raw)
  To: buildroot; +Cc: Bernd Kuhls, Fabrice Fontaine

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@gmail.com>
---
 package/alsa-utils/Config.in | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/package/alsa-utils/Config.in b/package/alsa-utils/Config.in
index 2d7062b0ca..2358b3f83a 100644
--- a/package/alsa-utils/Config.in
+++ b/package/alsa-utils/Config.in
@@ -7,6 +7,8 @@ menuconfig BR2_PACKAGE_ALSA_UTILS
 	depends on BR2_USE_MMU # fork
 	depends on BR2_TOOLCHAIN_HAS_THREADS # alsa-lib
 	select BR2_PACKAGE_ALSA_LIB
+	select BR2_PACKAGE_ALSA_LIB_RAWMIDI
+	select BR2_PACKAGE_ALSA_LIB_UCM
 	help
 	  This package contains the command line utilities for the ALSA
 	  project.
-- 
2.35.1

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [Buildroot] [PATCH 1/1] package/alsa-utils: selects BR2_PACKAGE_ALSA_LIB_{PCM, RAWMIDI}
  2022-06-15 20:50 [Buildroot] [PATCH 1/1] package/alsa-utils: selects BR2_PACKAGE_ALSA_LIB_{PCM, RAWMIDI} Fabrice Fontaine
@ 2022-07-20 16:43 ` Thomas Petazzoni via buildroot
  0 siblings, 0 replies; 3+ messages in thread
From: Thomas Petazzoni via buildroot @ 2022-07-20 16:43 UTC (permalink / raw)
  To: Fabrice Fontaine; +Cc: Bernd Kuhls, buildroot

On Wed, 15 Jun 2022 22:50:26 +0200
Fabrice Fontaine <fontaine.fabrice@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@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
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Buildroot] [PATCH 1/1] package/alsa-utils: selects BR2_PACKAGE_ALSA_LIB_{PCM, RAWMIDI}
       [not found] <20220615205026.117274-1-fontaine.fabrice__25682.1698903636$1655326420$gmane$org@gmail.com>
@ 2022-06-30 19:44 ` Bernd Kuhls
  0 siblings, 0 replies; 3+ messages in thread
From: Bernd Kuhls @ 2022-06-30 19:44 UTC (permalink / raw)
  To: buildroot

Am Wed, 15 Jun 2022 22:50:26 +0200 schrieb Fabrice Fontaine:

> 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:

Tested-by: Bernd Kuhls <bernd.kuhls@t-online.de>
(fixes http://autobuild.buildroot.net/results/af6/
af6a2727e562bbea1f7a334a83ed2bd3b3e41451/)

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-07-20 16:43 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-15 20:50 [Buildroot] [PATCH 1/1] package/alsa-utils: selects BR2_PACKAGE_ALSA_LIB_{PCM, RAWMIDI} Fabrice Fontaine
2022-07-20 16:43 ` Thomas Petazzoni via buildroot
     [not found] <20220615205026.117274-1-fontaine.fabrice__25682.1698903636$1655326420$gmane$org@gmail.com>
2022-06-30 19:44 ` Bernd Kuhls

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.