ALSA 1.2.15 updates
cover ALSA 1.2.15 updates
From: Michael Opdenacker <[email protected]>
These changes update alsa-lib, alsa-utils, alsa-tools and alsa-ucm-conf to the latest version: 1.2.15
Michael Opdenacker (5):
alsa-lib: upgrade 1.2.14 -> 1.2.15
alsa-utils: upgrade 1.2.14 -> 1.2.15
alsa-tools: upgrade 1.2.14 -> 1.2.15
alsa-ucm-conf: upgrade 1.2.14 -> 1.2.15
maintainers.inc: update e-mail address
meta/conf/distro/include/maintainers.inc | 22 +++++++-------
...{alsa-lib_1.2.14.bb => alsa-lib_1.2.15.bb} | 2 +-
...a-tools_1.2.14.bb => alsa-tools_1.2.15.bb} | 2 +-
...conf_1.2.14.bb => alsa-ucm-conf_1.2.15.bb} | 2 +-
...sactl-fix-build-when-in-subdirectory.patch | 29 +++++++++++++++++++
...a-utils_1.2.14.bb => alsa-utils_1.2.15.bb} | 7 +++--
6 files changed, 47 insertions(+), 17 deletions(-)
rename meta/recipes-multimedia/alsa/{alsa-lib_1.2.14.bb => alsa-lib_1.2.15.bb} (94%)
rename meta/recipes-multimedia/alsa/{alsa-tools_1.2.14.bb => alsa-tools_1.2.15.bb} (97%)
rename meta/recipes-multimedia/alsa/{alsa-ucm-conf_1.2.14.bb => alsa-ucm-conf_1.2.15.bb} (89%)
create mode 100644 meta/recipes-multimedia/alsa/alsa-utils-1.2.15/0001-alsactl-fix-build-when-in-subdirectory.patch
rename meta/recipes-multimedia/alsa/{alsa-utils_1.2.14.bb => alsa-utils_1.2.15.bb} (96%)PATCH 1/5 alsa-lib: upgrade 1.2.14 -> 1.2.15
From: Michael Opdenacker <[email protected]>
Upstream changes:
https://www.alsa-project.org/wiki/Changes_v1.2.14_v1.2.15#alsa-lib
---
.../alsa/{alsa-lib_1.2.14.bb => alsa-lib_1.2.15.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta/recipes-multimedia/alsa/{alsa-lib_1.2.14.bb => alsa-lib_1.2.15.bb} (94%)meta/recipes-multimedia/alsa/alsa-lib_1.2.15.bb renamed from meta/recipes-multimedia/alsa/alsa-lib_1.2.14.bb +1 -1
@@ -10,7 +10,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=a916467b91076e631dd8edb7424769c7 \ " SRC_URI = "https://www.alsa-project.org/files/pub/lib/${BP}.tar.bz2" -SRC_URI[sha256sum] = "be9c88a0b3604367dd74167a2b754a35e142f670292ae47a2fdef27a2ee97a32" +SRC_URI[sha256sum] = "83770841585e766a60c99fd23f8c574c22643ae0cb1f2d20b793c3d84eb95a8d" inherit autotools pkgconfig
PATCH 2/5 alsa-utils: upgrade 1.2.14 -> 1.2.15
In reply to [email protected]From: Michael Opdenacker <[email protected]>
Include a fix from upstream fixing a build issue:
https://github.com/alsa-project/alsa-utils/commit/10587067fcf5b05e7fa5a84c38238dbffd079c4f
Upstream changes:
https://www.alsa-project.org/wiki/Changes_v1.2.14_v1.2.15#alsa-utils
---
...sactl-fix-build-when-in-subdirectory.patch | 29 +++++++++++++++++++
...a-utils_1.2.14.bb => alsa-utils_1.2.15.bb} | 7 +++--
2 files changed, 33 insertions(+), 3 deletions(-)
create mode 100644 meta/recipes-multimedia/alsa/alsa-utils-1.2.15/0001-alsactl-fix-build-when-in-subdirectory.patch
rename meta/recipes-multimedia/alsa/{alsa-utils_1.2.14.bb => alsa-utils_1.2.15.bb} (96%)meta/recipes-multimedia/alsa/alsa-utils-1.2.15/0001-alsactl-fix-build-when-in-subdirectory.patch new file +29 -0
@@ -0,0 +1,29 @@ +From 10587067fcf5b05e7fa5a84c38238dbffd079c4f Mon Sep 17 00:00:00 2001 +From: Michael Opdenacker <[email protected]> +Date: Mon, 8 Dec 2025 11:12:34 +0000 +Subject: [PATCH] alsactl: fix build when in subdirectory + +From: Rudi Heitbaum <[email protected]> + +create the conf directory as part of the edit recipe + +Closes: https://github.com/alsa-project/alsa-utils/pull/311 +Signed-off-by: Rudi Heitbaum <[email protected]> +Signed-off-by: Jaroslav Kysela <[email protected]> +Upstream-Status: Backport [10587067fcf5b05e7fa5a84c38238dbffd079c4f] +--- + alsactl/Makefile.am | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/alsactl/Makefile.am b/alsactl/Makefile.am +index 48b7c7a..c8729e0 100644 +--- a/alsactl/Makefile.am ++++ b/alsactl/Makefile.am +@@ -47,6 +47,7 @@ endif + edit = \ + extratest=$$(echo ' $(ALSACTL_UDEV_EXTRATEST)' | sed -e 's/__/ /g' -e 's/^ $$//'); \ + args=$$(echo ' $(ALSACTL_UDEV_ARGS)' | sed -e 's/__/ /g' -e 's/^ $$//'); \ ++ mkdir -p conf; \ + $(SED) -r -e 's,@sbindir\@,$(sbindir),g' \ + -e 's,@mydatadir\@,$(mydatadir),g' \ + -e 's,@daemonswitch\@,$(ALSACTL_DAEMONSWITCH),g' \
meta/recipes-multimedia/alsa/alsa-utils_1.2.15.bb renamed from meta/recipes-multimedia/alsa/alsa-utils_1.2.14.bb +4 -3
@@ -24,14 +24,15 @@ PACKAGECONFIG[udev] = "--with-udev-rules-dir=`pkg-config --variable=udevdir udev PACKAGECONFIG[manpages] = "--enable-xmlto, --disable-xmlto, xmlto-native docbook-xml-dtd4-native docbook-xsl-stylesheets-native" # alsa-utils specified in SRC_URI due to alsa-utils-scripts recipe -SRC_URI = "https://www.alsa-project.org/files/pub/utils/alsa-utils-${PV}.tar.bz2" -SRC_URI[sha256sum] = "0794c74d33fed943e7c50609c13089e409312b6c403d6ae8984fc429c0960741" +SRC_URI = "https://www.alsa-project.org/files/pub/utils/alsa-utils-${PV}.tar.bz2 \ + file://0001-alsactl-fix-build-when-in-subdirectory.patch" +SRC_URI[sha256sum] = "d3183d2ed2d69e9143c5beb97036267c3fdabfe8bfbea8bc6863f17b1f0b568e" # On build machines with python-docutils (not python3-docutils !!) installed # rst2man (not rst2man.py) is detected and compile fails with # | make[1]: *** No rule to make target 'alsaucm.1', needed by 'all-am'. Stop. # Avoid this by disabling expicitly -EXTRA_OECONF = "--disable-rst2man" +# EXTRA_OECONF = "--disable-rst2man" inherit autotools gettext pkgconfig manpages
PATCH 3/5 alsa-tools: upgrade 1.2.14 -> 1.2.15
In reply to [email protected]From: Michael Opdenacker <[email protected]>
Upstream changes:
https://www.alsa-project.org/wiki/Changes_v1.2.14_v1.2.15#alsa-tools
---
.../alsa/{alsa-tools_1.2.14.bb => alsa-tools_1.2.15.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta/recipes-multimedia/alsa/{alsa-tools_1.2.14.bb => alsa-tools_1.2.15.bb} (97%)meta/recipes-multimedia/alsa/alsa-tools_1.2.15.bb renamed from meta/recipes-multimedia/alsa/alsa-tools_1.2.14.bb +1 -1
@@ -14,7 +14,7 @@ LIC_FILES_CHKSUM = "file://hdsploader/COPYING;md5=59530bdf33659b29e73d4adb9f9f65 SRC_URI = "https://www.alsa-project.org/files/pub/tools/${BP}.tar.bz2" -SRC_URI[sha256sum] = "faef6fdd39ec79c9a5473dc63aa1b6331bf7664a9d452a0a8198cec7016cbc6f" +SRC_URI[sha256sum] = "800498d35233672ef67f4bf74cc6e1d37e1fe70c0540e2d2e062f2319e7b5df7" inherit autotools-brokensep pkgconfig # brokensep as as10k1 (and probably more) fail out of tree
PATCH 4/5 alsa-ucm-conf: upgrade 1.2.14 -> 1.2.15
In reply to [email protected]From: Michael Opdenacker <[email protected]>
Upstream changes:
https://www.alsa-project.org/wiki/Changes_v1.2.14_v1.2.15#alsa-ucm-conf
---
.../alsa/{alsa-ucm-conf_1.2.14.bb => alsa-ucm-conf_1.2.15.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta/recipes-multimedia/alsa/{alsa-ucm-conf_1.2.14.bb => alsa-ucm-conf_1.2.15.bb} (89%)meta/recipes-multimedia/alsa/alsa-ucm-conf_1.2.15.bb renamed from meta/recipes-multimedia/alsa/alsa-ucm-conf_1.2.14.bb +1 -1
@@ -8,7 +8,7 @@ LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://LICENSE;md5=20d74d74db9741697903372ad001d3b4" SRC_URI = "https://www.alsa-project.org/files/pub/lib/${BP}.tar.bz2" -SRC_URI[sha256sum] = "32e9809f592d92b978aa1032e35293c33b8d0f1ec475f937022c3ee9a3069c21" +SRC_URI[sha256sum] = "5510cb0947a3bb877b5ce218e3ecedd78bfa6643e372346c87d93d4844a45ffa" # Something went wrong at upstream tarballing inherit allarch
PATCH 5/5 maintainers.inc: update e-mail address
In reply to [email protected]From: Michael Opdenacker <[email protected]>
--- meta/conf/distro/include/maintainers.inc | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-)
meta/conf/distro/include/maintainers.inc +11 -11
@@ -31,13 +31,13 @@ RECIPE_MAINTAINER:pn-acl = "Chen Qi <[email protected]>" RECIPE_MAINTAINER:pn-acpica = "Ross Burton <[email protected]>" RECIPE_MAINTAINER:pn-acpid = "Ross Burton <[email protected]>" RECIPE_MAINTAINER:pn-adwaita-icon-theme = "Ross Burton <[email protected]>" -RECIPE_MAINTAINER:pn-alsa-lib = "Michael Opdenacker <[email protected]>" -RECIPE_MAINTAINER:pn-alsa-plugins = "Michael Opdenacker <[email protected]>" -RECIPE_MAINTAINER:pn-alsa-state = "Michael Opdenacker <[email protected]>" -RECIPE_MAINTAINER:pn-alsa-tools = "Michael Opdenacker <[email protected]>" -RECIPE_MAINTAINER:pn-alsa-topology-conf = "Michael Opdenacker <[email protected]>" -RECIPE_MAINTAINER:pn-alsa-ucm-conf = "Michael Opdenacker <[email protected]>" -RECIPE_MAINTAINER:pn-alsa-utils = "Michael Opdenacker <[email protected]>" +RECIPE_MAINTAINER:pn-alsa-lib = "Michael Opdenacker <[email protected]>" +RECIPE_MAINTAINER:pn-alsa-plugins = "Michael Opdenacker <[email protected]>" +RECIPE_MAINTAINER:pn-alsa-state = "Michael Opdenacker <[email protected]>" +RECIPE_MAINTAINER:pn-alsa-tools = "Michael Opdenacker <[email protected]>" +RECIPE_MAINTAINER:pn-alsa-topology-conf = "Michael Opdenacker <[email protected]>" +RECIPE_MAINTAINER:pn-alsa-ucm-conf = "Michael Opdenacker <[email protected]>" +RECIPE_MAINTAINER:pn-alsa-utils = "Michael Opdenacker <[email protected]>" RECIPE_MAINTAINER:pn-appstream = "Markus Volk <[email protected]>" RECIPE_MAINTAINER:pn-apr = "Hongxu Jia <[email protected]>" RECIPE_MAINTAINER:pn-apr-util = "Hongxu Jia <[email protected]>"
@@ -182,7 +182,7 @@ RECIPE_MAINTAINER:pn-ffmpeg = "Unassigned <[email protected]>" RECIPE_MAINTAINER:pn-fastfloat = "Markus Volk <[email protected]>" RECIPE_MAINTAINER:pn-file = "Yi Zhao <[email protected]>" RECIPE_MAINTAINER:pn-findutils = "Chen Qi <[email protected]>" -RECIPE_MAINTAINER:pn-flac = "Michael Opdenacker <[email protected]>" +RECIPE_MAINTAINER:pn-flac = "Michael Opdenacker <[email protected]>" RECIPE_MAINTAINER:pn-flex = "Chen Qi <[email protected]>" RECIPE_MAINTAINER:pn-fmt = "Robert Yang <[email protected]>" RECIPE_MAINTAINER:pn-font-alias = "Unassigned <[email protected]>"
@@ -311,7 +311,7 @@ RECIPE_MAINTAINER:pn-keymaps = "Unassigned <[email protected]>" RECIPE_MAINTAINER:pn-kmod = "Chen Qi <[email protected]>" RECIPE_MAINTAINER:pn-kmscube = "Unassigned <[email protected]>" RECIPE_MAINTAINER:pn-l3afpad = "Unassigned <[email protected]>" -RECIPE_MAINTAINER:pn-lame = "Michael Opdenacker <[email protected]>" +RECIPE_MAINTAINER:pn-lame = "Michael Opdenacker <[email protected]>" RECIPE_MAINTAINER:pn-ldconfig-native = "Khem Raj <[email protected]>" RECIPE_MAINTAINER:pn-less = "Yi Zhao <[email protected]>" RECIPE_MAINTAINER:pn-libacpi = "Unassigned <[email protected]>"
@@ -797,8 +797,8 @@ RECIPE_MAINTAINER:pn-shutdown-desktop = "Unassigned <[email protected] RECIPE_MAINTAINER:pn-signing-keys = "Richard Purdie <[email protected]>" RECIPE_MAINTAINER:pn-slang = "Yi Zhao <[email protected]>" RECIPE_MAINTAINER:pn-socat = "Hongxu Jia <[email protected]>" -RECIPE_MAINTAINER:pn-speex = "Michael Opdenacker <[email protected]>" -RECIPE_MAINTAINER:pn-speexdsp = "Michael Opdenacker <[email protected]>" +RECIPE_MAINTAINER:pn-speex = "Michael Opdenacker <[email protected]>" +RECIPE_MAINTAINER:pn-speexdsp = "Michael Opdenacker <[email protected]>" RECIPE_MAINTAINER:pn-spirv-headers = "Jose Quaresma <[email protected]>" RECIPE_MAINTAINER:pn-spirv-llvm-translator = "Khem Raj <[email protected]>" RECIPE_MAINTAINER:pn-spirv-tools = "Jose Quaresma <[email protected]>"
Quoted 6 lines · Michael Opdenacker via lists.openembedded.org
From: Michael Opdenacker <[email protected]>
These changes update alsa-lib, alsa-utils, alsa-tools and alsa-ucm-conf to the latest version: 1.2.15
Michael Opdenacker (5):
Hi Michael,
Thanks for your patch.
Based on the discussion on the other thread, you are probably already aware of this, but just to confirm: this is failing with musl:
ERROR: alsa-lib-1.2.15-r0 do_compile: Execution of '/srv/pokybuild/yocto-worker/musl-qemux86/build/build/tmp/work/core2-32-poky-linux-musl/alsa-lib/1.2.15/temp/run.do_compile.644079' failed with exit code 1
...
| ../../../sources/alsa-lib-1.2.15/src/ucm/ucm_exec.c: In function 'uc_mgr_exec': | ../../../sources/alsa-lib-1.2.15/src/ucm/ucm_exec.c:263:17: error: implicit declaration of function 'close_range' [-Wimplicit-function-declaration] | 263 | close_range(3, maxfd, 0); | | ^~~~~~~~~~~
https://autobuilder.yoctoproject.org/valkyrie/#/builders/6/builds/2885
https://autobuilder.yoctoproject.org/valkyrie/#/builders/111/builds/1605
Thanks,
Mathieu
Signature · 3 lines
Mathieu Dubois-Briand, Bootlin Embedded Linux and Kernel engineering https://bootlin.com
Hi Mathieu
Quoted 16 lines · Mathieu Dubois-Briand
Quoted 6 lines · Michael Opdenacker via lists.openembedded.org
From: Michael Opdenacker <[email protected]>
These changes update alsa-lib, alsa-utils, alsa-tools and alsa-ucm-conf to the latest version: 1.2.15
Michael Opdenacker (5):
Hi Michael,
Thanks for your patch.
Based on the discussion on the other thread, you are probably already aware of this, but just to confirm: this is failing with musl:
ERROR: alsa-lib-1.2.15-r0
do_compile: Execution of '/srv/pokybuild/yocto-worker/musl-qemux86/build/build/tmp/work/core2-32-poky-linux-musl/alsa-lib/1.2.15/temp/run.do_compile.644079' failed with exit code 1
...
Quoted 7 lines
| ../../../sources/alsa-lib-1.2.15/src/ucm/ucm_exec.c: In function 'uc_mgr_exec': | ../../../sources/alsa-lib-1.2.15/src/ucm/ucm_exec.c:263:17: error: implicit declaration of function 'close_range' [-Wimplicit-function-declaration] | 263 | close_range(3, maxfd, 0); | | ^~~~~~~~~~~https://autobuilder.yoctoproject.org/valkyrie/#/builders/6/builds/2885
https://autobuilder.yoctoproject.org/valkyrie/#/builders/111/builds/1605
Thanks for the confirmation!
Fortunately, upstream already has a fix for this issue:
https://github.com/alsa-project/alsa-lib/commit/a068cf08ad67447893b707cddfce31c9cafee643
I'm preparing a V2 for your robots to test :)
Thanks again
Michael.
Signature · 4 lines
Michael Opdenacker Root Commit Yocto Project and OpenEmbedded Training course - Learn by doing: https://rootcommit.com/training/yocto/