package/alsa-lib: bump version to 1.2.10
PATCH 1/2 package/alsa-lib: bump version to 1.2.10
Removed patch which is included in this release:
https://github.com/alsa-project/alsa-lib/commit/c72bbed82513074fb5f0d474c7e88e2b4b945905
Changelog:
https://www.alsa-project.org/wiki/Changes_v1.2.9_v1.2.10#alsa-lib
--- ...ver-build-error-on-non-ELF-platforms.patch | 84 ------------------- package/alsa-lib/alsa-lib.hash | 2 +- package/alsa-lib/alsa-lib.mk | 2 +- 3 files changed, 2 insertions(+), 86 deletions(-) delete mode 100644 package/alsa-lib/0002-Fix-symver-build-error-on-non-ELF-platforms.patch
package/alsa-lib/0002-Fix-symver-build-error-on-non-ELF-platforms.patch deleted +0 -84
@@ -1,84 +0,0 @@ -From 317aafb133ed797c4cd62599565a77ecc595daea Mon Sep 17 00:00:00 2001 -From: Bernd Kuhls <[email protected]> -Date: Thu, 29 Jun 2023 07:57:21 +0200 -Subject: [PATCH] Fix symver build error on non-ELF platforms - -The following error is observed on Microblaze [1] build: - - error: symver is only supported on ELF platforms - -due to using __attribute__((symver)) on non-ELF platform. - -[1] http://autobuild.buildroot.net/results/1e9/1e965d83d75615f35308440c5db044314a349357/build-end.log - -ac_check_attribute_symver.m4 was downloaded from -https://github.com/smuellerDD/libkcapi/blob/master/m4/ac_check_attribute_symver.m4 - -Upstream: https://github.com/alsa-project/alsa-lib/pull/334 - -Signed-off-by: Bernd Kuhls <[email protected]> ---- - configure.ac | 1 + - include/alsa-symbols.h | 2 +- - m4/ac_check_attribute_symver.m4 | 24 ++++++++++++++++++++++++ - 3 files changed, 26 insertions(+), 1 deletion(-) - create mode 100644 m4/ac_check_attribute_symver.m4 - -diff --git a/configure.ac b/configure.ac -index 0588eec3..71ec0b15 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -46,6 +46,7 @@ dnl Checks for typedefs, structures, and compiler characteristics. - AC_C_CONST - AC_C_INLINE - AC_HEADER_TIME -+AC_CHECK_ATTRIBUTE_SYMVER - - dnl Checks for library functions. - AC_PROG_GCC_TRADITIONAL -diff --git a/include/alsa-symbols.h b/include/alsa-symbols.h -index f8c49103..521e5956 100644 ---- a/include/alsa-symbols.h -+++ b/include/alsa-symbols.h -@@ -29,7 +29,7 @@ - #define INTERNAL_CONCAT2_2(Pre, Post) Pre##Post - #define INTERNAL(Name) INTERNAL_CONCAT2_2(__, Name) - --#if __GNUC__ > 10 -+#if HAVE_ATTRIBUTE_SYMVER && __GNUC__ > 10 - #define symbol_version(real, name, version) \ - extern __typeof (real) real __attribute__((symver (#name "@" #version))) - #define default_symbol_version(real, name, version) \ -diff --git a/m4/ac_check_attribute_symver.m4 b/m4/ac_check_attribute_symver.m4 -new file mode 100644 -index 00000000..b484c5eb ---- /dev/null -+++ b/m4/ac_check_attribute_symver.m4 -@@ -0,0 +1,24 @@ -+dnl Check compiler support for symver function attribute -+AC_DEFUN([AC_CHECK_ATTRIBUTE_SYMVER], [ -+ saved_CFLAGS=$CFLAGS -+ CFLAGS="-O0 -Werror" -+ AC_COMPILE_IFELSE( -+ [AC_LANG_PROGRAM( -+ [[ -+ void _test_attribute_symver(void); -+ __attribute__((__symver__("sym@VER_1.2.3"))) void _test_attribute_symver(void) {} -+ ]], -+ [[ -+ _test_attribute_symver() -+ ]] -+ )], -+ [ -+ AC_DEFINE([HAVE_ATTRIBUTE_SYMVER], 1, [Define to 1 if __attribute__((symver)) is supported]) -+ ], -+ [ -+ AC_DEFINE([HAVE_ATTRIBUTE_SYMVER], 0, [Define to 0 if __attribute__((symver)) is not supported]) -+ ] -+ ) -+ CFLAGS=$saved_CFLAGS -+]) -+ --- -2.39.2 -
package/alsa-lib/alsa-lib.hash +1 -1
@@ -1,4 +1,4 @@ # Locally calculated -sha256 dc9c643fdc4ccfd0572cc685858dd41e08afb583f30460b317e4188275f615b2 alsa-lib-1.2.9.tar.bz2 +sha256 c86a45a846331b1b0aa6e6be100be2a7aef92efd405cf6bac7eef8174baa920e alsa-lib-1.2.10.tar.bz2 sha256 32434afcc8666ba060e111d715bfdb6c2d5dd8a35fa4d3ab8ad67d8f850d2f2b COPYING sha256 bfe16cf823bcff261fc6a062c07ee96660e3c39678f42f39a788a68dbc234ced aserver/COPYING
package/alsa-lib/alsa-lib.mk +1 -1
@@ -4,7 +4,7 @@ # ################################################################################ -ALSA_LIB_VERSION = 1.2.9 +ALSA_LIB_VERSION = 1.2.10 ALSA_LIB_SOURCE = alsa-lib-$(ALSA_LIB_VERSION).tar.bz2 ALSA_LIB_SITE = https://www.alsa-project.org/files/pub/lib ALSA_LIB_LICENSE = LGPL-2.1+ (library), GPL-2.0+ (aserver)
Signature · 6 lines
2.39.2 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 2/2 package/alsa-utils: bump version to 1.2.10
Updated patch due to upstream commit
https://github.com/alsa-project/alsa-utils/commit/8ed9d7607f97537ca4c8f359ee76462174c6e77e
Changelog:
https://www.alsa-project.org/wiki/Changes_v1.2.9_v1.2.10#alsa-utils
--- ...sactl-info.c-fix-conditionals-on-__ALSA_PCM_H-and-.patch | 6 ++++-- package/alsa-utils/alsa-utils.hash | 2 +- package/alsa-utils/alsa-utils.mk | 2 +- 3 files changed, 6 insertions(+), 4 deletions(-)
package/alsa-utils/0001-alsactl-info.c-fix-conditionals-on-__ALSA_PCM_H-and-.patch +4 -2
@@ -28,6 +28,8 @@ functions when support is not available. Signed-off-by: Thomas Petazzoni <[email protected]> Upstream: https://mailman.alsa-project.org/pipermail/alsa-devel/2022-July/203846.html +[Bernd: update patch for 1.2.10] +Signed-off-by: Bernd Kuhls <[email protected]> --- alsactl/info.c | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-)
@@ -96,9 +98,9 @@ index 253539d..9bd72af 100644 +#ifdef __ALSA_RAWMIDI_H first = true; if (err >= 0) - err = rawmidi_device_list(ctl, SND_PCM_STREAM_PLAYBACK, &first); + err = rawmidi_device_list(ctl, SND_RAWMIDI_STREAM_INPUT, &first); if (err >= 0) - err = rawmidi_device_list(ctl, SND_PCM_STREAM_CAPTURE, &first); + err = rawmidi_device_list(ctl, SND_RAWMIDI_STREAM_OUTPUT, &first); +#endif if (err >= 0)
package/alsa-utils/alsa-utils.hash +1 -1
@@ -1,3 +1,3 @@ # Locally calculated -sha256 e7623d4525595f92e11ce25ee9a97f2040a14c6e4dcd027aa96e06cbce7817bd alsa-utils-1.2.9.tar.bz2 +sha256 104b62ec7f02a7ce16ca779f4815616df1cc21933503783a9107b5944f83063a alsa-utils-1.2.10.tar.bz2 sha256 231f7edcc7352d7734a96eef0b8030f77982678c516876fcb81e25b32d68564c COPYING
package/alsa-utils/alsa-utils.mk +1 -1
@@ -4,7 +4,7 @@ # ################################################################################ -ALSA_UTILS_VERSION = 1.2.9 +ALSA_UTILS_VERSION = 1.2.10 ALSA_UTILS_SOURCE = alsa-utils-$(ALSA_UTILS_VERSION).tar.bz2 ALSA_UTILS_SITE = https://www.alsa-project.org/files/pub/utils ALSA_UTILS_LICENSE = GPL-2.0
Signature · 6 lines
2.39.2 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Re: [Buildroot] [PATCH 2/2] package/alsa-utils: bump version to 1.2.10
Hello Bernd,
Quoted 7 lines · On Sat, 23 Sep 2023 13:47:13 +0200 Bernd Kuhls <[email protected]> wrote:
Updated patch due to upstream commit
https://github.com/alsa-project/alsa-utils/commit/8ed9d7607f97537ca4c8f359ee76462174c6e77eChangelog:
https://www.alsa-project.org/wiki/Changes_v1.2.9_v1.2.10#alsa-utilsSigned-off-by Bernd Kuhls <[email protected]>
I think there's still an unfixed issue with this version bump:
aplaymidi.c:34:10: fatal error: alsa/ump_msg.h: No such file or directory
34 | #include <alsa/ump_msg.h>
| ^~~~~~~~~~~~~~~~
http://autobuild.buildroot.net/results/e26/e269f862ebade30cf870d783a1006aba8fedc129/build-end.log
Could you have a look?
Thanks!
Thomas
Signature · 7 lines
Thomas Petazzoni, co-owner and CEO, Bootlin Embedded Linux and Kernel engineering and training https://bootlin.com _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
A message that is not in the archive (sent off-list or not yet received): 20230930144927.57fe951f__30987.6495086186$1696078194$gmane$org@windsurf
Re: [Buildroot] [PATCH 2/2] package/alsa-utils: bump version to 1.2.10
Am Sat, 30 Sep 2023 14:49:27 +0200 schrieb Thomas Petazzoni via buildroot:
Quoted 6 lines
I think there's still an unfixed issue with this version bump:
aplaymidi.c:34:10: fatal error:
alsa/ump_msg.h: No such file or directory
34 | #include <alsa/ump_msg.h>| ^~~~~~~~~~~~~~~~
Hi Thomas,
yes, I saw that error as well but left it for the moment due to time constraints. To fix it we propably should unconditionally enable BR2_PACKAGE_ALSA_LIB_RAWMIDI in the alsa-utils package.
This is necessary due to the, imho, weird way the buildroot package handles its suboptions. First all binaries are built, and we need the new dependency for this, but, by the ALSA_UTILS_INSTALL_TARGET_CMDS hook, only the enabled binaries are copied to $TARGET.
One could argue that this problem should be reported upstream so they provide a fix for this to avoid the new dependency, but again, time constraints on my side...
Otoh what about removing all these detailed suboptions in alsa-utils and let users, if needed, remove what they do not want by a post-build script?
Regards, Bernd
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
Re: [Buildroot] [PATCH 2/2] package/alsa-utils: bump version to 1.2.10
Am Sat, 30 Sep 2023 15:01:21 +0200 schrieb Bernd Kuhls:
Quoted 2 lines
yes, I saw that error as well but left it for the moment due to time constraints.
Hi,
finally found some time to fix the error, sent a new patch series
https://patchwork.ozlabs.org/project/buildroot/list/?series=377557
containing the previous three patches and a new one. Hopefully all build errors will be fixed by them.
Regards, Bernd
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
Bernd, All,
On 2023-09-23 13:47 +0200, Bernd Kuhls spake thusly:
Quoted 7 lines
Removed patch which is included in this release:
https://github.com/alsa-project/alsa-lib/commit/c72bbed82513074fb5f0d474c7e88e2b4b945905Changelog:
https://www.alsa-project.org/wiki/Changes_v1.2.9_v1.2.10#alsa-libSigned-off-by Bernd Kuhls <[email protected]>
Both applied to master, thanks.
Regards,
Yann E. MORIN.
Quoted 127 lines
--- ...ver-build-error-on-non-ELF-platforms.patch | 84 ------------------- package/alsa-lib/alsa-lib.hash | 2 +- package/alsa-lib/alsa-lib.mk | 2 +- 3 files changed, 2 insertions(+), 86 deletions(-) delete mode 100644 package/alsa-lib/0002-Fix-symver-build-error-on-non-ELF-platforms.patchpackage/alsa-lib/0002-Fix-symver-build-error-on-non-ELF-platforms.patch deleted +0
-84@@ -1,84 +0,0 @@ -From 317aafb133ed797c4cd62599565a77ecc595daea Mon Sep 17 00:00:00 2001 -From: Bernd Kuhls <[email protected]> -Date: Thu, 29 Jun 2023 07:57:21 +0200 -Subject: [PATCH] Fix symver build error on non-ELF platforms - -The following error is observed on Microblaze [1] build: - - error: symver is only supported on ELF platforms - -due to using __attribute__((symver)) on non-ELF platform. - -[1] http://autobuild.buildroot.net/results/1e9/1e965d83d75615f35308440c5db044314a349357/build-end.log - -ac_check_attribute_symver.m4 was downloaded from -https://github.com/smuellerDD/libkcapi/blob/master/m4/ac_check_attribute_symver.m4 - -Upstream: https://github.com/alsa-project/alsa-lib/pull/334 - -Signed-off-by: Bernd Kuhls <[email protected]> ---- - configure.ac | 1 + - include/alsa-symbols.h | 2 +- - m4/ac_check_attribute_symver.m4 | 24 ++++++++++++++++++++++++ - 3 files changed, 26 insertions(+), 1 deletion(-) - create mode 100644 m4/ac_check_attribute_symver.m4 - -diff --git a/configure.ac b/configure.ac -index 0588eec3..71ec0b15 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -46,6 +46,7 @@ dnl Checks for typedefs, structures, and compiler characteristics. - AC_C_CONST - AC_C_INLINE - AC_HEADER_TIME -+AC_CHECK_ATTRIBUTE_SYMVER - - dnl Checks for library functions. - AC_PROG_GCC_TRADITIONAL -diff --git a/include/alsa-symbols.h b/include/alsa-symbols.h -index f8c49103..521e5956 100644 ---- a/include/alsa-symbols.h -+++ b/include/alsa-symbols.h -@@ -29,7 +29,7 @@ - #define INTERNAL_CONCAT2_2(Pre, Post) Pre##Post - #define INTERNAL(Name) INTERNAL_CONCAT2_2(__, Name) - --#if __GNUC__ > 10 -+#if HAVE_ATTRIBUTE_SYMVER && __GNUC__ > 10 - #define symbol_version(real, name, version) \ - extern __typeof (real) real __attribute__((symver (#name "@" #version))) - #define default_symbol_version(real, name, version) \ -diff --git a/m4/ac_check_attribute_symver.m4 b/m4/ac_check_attribute_symver.m4 -new file mode 100644 -index 00000000..b484c5eb ---- /dev/null -+++ b/m4/ac_check_attribute_symver.m4 -@@ -0,0 +1,24 @@ -+dnl Check compiler support for symver function attribute -+AC_DEFUN([AC_CHECK_ATTRIBUTE_SYMVER], [ -+ saved_CFLAGS=$CFLAGS -+ CFLAGS="-O0 -Werror" -+ AC_COMPILE_IFELSE( -+ [AC_LANG_PROGRAM( -+ [[ -+ void _test_attribute_symver(void); -+ __attribute__((__symver__("sym@VER_1.2.3"))) void _test_attribute_symver(void) {} -+ ]], -+ [[ -+ _test_attribute_symver() -+ ]] -+ )], -+ [ -+ AC_DEFINE([HAVE_ATTRIBUTE_SYMVER], 1, [Define to 1 if __attribute__((symver)) is supported]) -+ ], -+ [ -+ AC_DEFINE([HAVE_ATTRIBUTE_SYMVER], 0, [Define to 0 if __attribute__((symver)) is not supported]) -+ ] -+ ) -+ CFLAGS=$saved_CFLAGS -+]) -+ --- -2.39.2 -package/alsa-lib/alsa-lib.hash +1
-1@@ -1,4 +1,4 @@ # Locally calculated -sha256 dc9c643fdc4ccfd0572cc685858dd41e08afb583f30460b317e4188275f615b2 alsa-lib-1.2.9.tar.bz2 +sha256 c86a45a846331b1b0aa6e6be100be2a7aef92efd405cf6bac7eef8174baa920e alsa-lib-1.2.10.tar.bz2 sha256 32434afcc8666ba060e111d715bfdb6c2d5dd8a35fa4d3ab8ad67d8f850d2f2b COPYING sha256 bfe16cf823bcff261fc6a062c07ee96660e3c39678f42f39a788a68dbc234ced aserver/COPYINGpackage/alsa-lib/alsa-lib.mk +1
-1@@ -4,7 +4,7 @@ # ################################################################################ -ALSA_LIB_VERSION = 1.2.9 +ALSA_LIB_VERSION = 1.2.10 ALSA_LIB_SOURCE = alsa-lib-$(ALSA_LIB_VERSION).tar.bz2 ALSA_LIB_SITE = https://www.alsa-project.org/files/pub/lib ALSA_LIB_LICENSE = LGPL-2.1+ (library), GPL-2.0+ (aserver)Signature · 6 lines
2.39.2 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Signature · 10 lines
.-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot