Skip to contentSkip to conversation

ALSA 1.2.15 updates

PATCH Superseded [email protected] 2 participants 8 messages Dec 17, 2025 – Dec 22, 2025

v2 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

v2 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

Changes in V2:
- alsa-lib: add this patch from upstream for uclibc:
https://github.com/alsa-project/alsa-lib/commit/a068cf08ad67447893b707cddfce31c9cafee643

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 ++++----
 ...use-closefrom-instead-of-close_range.patch | 50 +++++++++++++++++++
 ...{alsa-lib_1.2.14.bb => alsa-lib_1.2.15.bb} |  5 +-
 ...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 +--
 7 files changed, 99 insertions(+), 18 deletions(-)
 create mode 100644 meta/recipes-multimedia/alsa/alsa-lib-1.2.15/0001-ucm-use-closefrom-instead-of-close_range.patch
 rename meta/recipes-multimedia/alsa/{alsa-lib_1.2.14.bb => alsa-lib_1.2.15.bb} (89%)
 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%)
#2 lore raw

PATCH v2 2/5 alsa-utils: upgrade 1.2.14 -> 1.2.15

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
new file mode 100644
index 0000000000..d1c6b3d830
@@ -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
similarity index 96%
rename from meta/recipes-multimedia/alsa/alsa-utils_1.2.14.bb
rename to meta/recipes-multimedia/alsa/alsa-utils_1.2.15.bb
index 3cbb9b464b..8fae1cfd9e 100644
@@ -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
 
#6 lore raw

PATCH v2 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
similarity index 89%
rename from meta/recipes-multimedia/alsa/alsa-ucm-conf_1.2.14.bb
rename to meta/recipes-multimedia/alsa/alsa-ucm-conf_1.2.15.bb
index d9ef831937..1eaec98e3b 100644
@@ -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
#1 lore raw

PATCH v2 1/5 alsa-lib: upgrade 1.2.14 -> 1.2.15

In reply to [email protected]

From: Michael Opdenacker <[email protected]>

Include a fix from upstream that's needed with uclibc:
https://github.com/alsa-project/alsa-lib/commit/a068cf08ad67447893b707cddfce31c9cafee643

Upstream changes:
https://www.alsa-project.org/wiki/Changes_v1.2.14_v1.2.15#alsa-lib

---
 ...use-closefrom-instead-of-close_range.patch | 50 +++++++++++++++++++
 ...{alsa-lib_1.2.14.bb => alsa-lib_1.2.15.bb} |  5 +-
 2 files changed, 53 insertions(+), 2 deletions(-)
 create mode 100644 meta/recipes-multimedia/alsa/alsa-lib-1.2.15/0001-ucm-use-closefrom-instead-of-close_range.patch
 rename meta/recipes-multimedia/alsa/{alsa-lib_1.2.14.bb => alsa-lib_1.2.15.bb} (89%)
meta/recipes-multimedia/alsa/alsa-lib-1.2.15/0001-ucm-use-closefrom-instead-of-close_range.patch new file +50 -0
new file mode 100644
index 0000000000..815aca8019
@@ -0,0 +1,50 @@
+From a068cf08ad67447893b707cddfce31c9cafee643 Mon Sep 17 00:00:00 2001
+From: Michael Opdenacker <[email protected]>
+Date: Mon, 8 Dec 2025 23:46:17 -0500
+Subject: [PATCH] ucm: use closefrom instead of close_range
+
+From: Mike Gilbert <[email protected]>
+
+closefrom is a library function with a fallback mechanism for when the
+kernel does not support the close_range syscall.
+
+Also check for the function properly instead of assuming it is available
+with _GNU_SOURCE defined.
+
+Closes: https://github.com/alsa-project/alsa-lib/pull/486
+Fixes: https://github.com/alsa-project/alsa-lib/issues/485
+Signed-off-by: Mike Gilbert <[email protected]>
+Signed-off-by: Jaroslav Kysela <[email protected]>
+Upstream-Status: Backport [a068cf08ad67447893b707cddfce31c9cafee643]
+---
+ configure.ac       | 1 +
+ src/ucm/ucm_exec.c | 4 ++--
+ 2 files changed, 3 insertions(+), 2 deletions(-)
+
+diff --git a/configure.ac b/configure.ac
+index 8f4bd0de..f4862f64 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -52,6 +52,7 @@ dnl Checks for library functions.
+ AC_PROG_GCC_TRADITIONAL
+ AC_CHECK_FUNCS([uselocale])
+ AC_CHECK_FUNCS([eaccess])
++AC_CHECK_DECLS([closefrom])
+ 
+ dnl Enable largefile support
+ AC_SYS_LARGEFILE
+diff --git a/src/ucm/ucm_exec.c b/src/ucm/ucm_exec.c
+index b5a22023..713039b4 100644
+--- a/src/ucm/ucm_exec.c
++++ b/src/ucm/ucm_exec.c
+@@ -259,8 +259,8 @@ int uc_mgr_exec(const char *prog)
+ 
+ 		close(f);
+ 
+-#if defined(_GNU_SOURCE)
+-		close_range(3, maxfd, 0);
++#if HAVE_DECL_CLOSEFROM
++		closefrom(3);
+ #else
+ 		for (f = 3; f < maxfd; f++)
+ 			close(f);
meta/recipes-multimedia/alsa/alsa-lib_1.2.15.bb renamed from meta/recipes-multimedia/alsa/alsa-lib_1.2.14.bb +3 -2
similarity index 89%
rename from meta/recipes-multimedia/alsa/alsa-lib_1.2.14.bb
rename to meta/recipes-multimedia/alsa/alsa-lib_1.2.15.bb
index 41a42f9ecc..6ecdeefa46 100644
@@ -9,8 +9,9 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=a916467b91076e631dd8edb7424769c7 \
                     file://src/socket.c;md5=285675b45e83f571c6a957fe4ab79c93;beginline=9;endline=24 \
                     "
 
-SRC_URI = "https://www.alsa-project.org/files/pub/lib/${BP}.tar.bz2"
-SRC_URI[sha256sum] = "be9c88a0b3604367dd74167a2b754a35e142f670292ae47a2fdef27a2ee97a32"
+SRC_URI = "https://www.alsa-project.org/files/pub/lib/${BP}.tar.bz2 \
+           file://0001-ucm-use-closefrom-instead-of-close_range.patch"
+SRC_URI[sha256sum] = "83770841585e766a60c99fd23f8c574c22643ae0cb1f2d20b793c3d84eb95a8d"
 
 inherit autotools pkgconfig
 
#5 lore raw

PATCH v2 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
similarity index 97%
rename from meta/recipes-multimedia/alsa/alsa-tools_1.2.14.bb
rename to meta/recipes-multimedia/alsa/alsa-tools_1.2.15.bb
index 751d9e8a76..1228176fb9 100644
@@ -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
#7 lore raw

PATCH v2 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
index 8971b9b552..447faf8fb3 100644
@@ -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]>"
#3 lore raw

Re: [OE-core] [PATCH v2 2/5] alsa-utils: upgrade 1.2.14 -> 1.2.15

In reply to [email protected]

meta/recipes-multimedia/alsa/alsa-utils_1.2.15.bb PACKAGECONFIG[udev] = "--with-udev-rules-dir=`pkg-config --variable=udevdir udev · line 35

Quoted 6 lines · Michael Opdenacker via lists.openembedded.org

# 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
meta/recipes-multimedia/alsa/alsa-utils_1.2.15.bb renamed from meta/recipes-multimedia/alsa/alsa-utils_1.2.14.bb +1 -1
-EXTRA_OECONF = "--disable-rst2man"
+# EXTRA_OECONF = "--disable-rst2man"

Hello Michael,

is this commented out by mistake? Either you need to explain why --disable-rst2man is not needed anymore (and remove the comments above), or not do it.

Alex

#4 lore raw

Re: [OE-core] [PATCH v2 2/5] alsa-utils: upgrade 1.2.14 -> 1.2.15

Hi Alex

Quoted 12 lines · Alexander Kanavin

meta/recipes-multimedia/alsa/alsa-utils_1.2.15.bb PACKAGECONFIG[udev] = "--with-udev-rules-dir=`pkg-config --variable=udevdir udev · line 35

Quoted 6 lines · Michael Opdenacker via lists.openembedded.org

# 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
meta/recipes-multimedia/alsa/alsa-utils_1.2.15.bb renamed from meta/recipes-multimedia/alsa/alsa-utils_1.2.14.bb +1 -1
-EXTRA_OECONF = "--disable-rst2man"
+# EXTRA_OECONF = "--disable-rst2man"

Hello Michael,

Quoted 3 lines

is this commented out by mistake? Either you need to explain why --disable-rst2man is not needed anymore (and remove the comments above), or not do it.

Thanks for the review!

Oops, my mistake, I tested whether the setting was still needed or not, and then forgot about it.

I'd rather address this in a separate commit, because my machine doesn't have the issue. Cheers
Michael.

Signature · 4 lines
Michael Opdenacker
Root Commit
Yocto Project and OpenEmbedded Training course - Learn by doing:
https://rootcommit.com/training/yocto/