Skip to contentSkip to conversation

package/pipewire: bump version to 1.4.9

PATCH In review Bernd Kuhls 2 participants 5 messages Nov 30, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/4 package/pipewire: bump version to 1.4.9

Release notes:
https://gitlab.freedesktop.org/pipewire/pipewire/-/blob/1.4.9/NEWS

Added upstream patch to fix a build error which would be introduced by this bump. Please note that patch 0001 does not fix uClibc-related build errors with pipewire 1.2.8 like
https://autobuild.buildroot.net/results/217/217f4500a7dadf089b90438e1eb06aaa9c50f4c5/
because uClibc does not implement tss_t which was removed from spa/plugins/support/loop.c with upstream commit
https://gitlab.freedesktop.org/pipewire/pipewire/-/commit/9c19284f7f062a50e059b0593068429b345acf34
added in version 1.3.81.

Ffmpeg support needs swscale support:
https://gitlab.freedesktop.org/pipewire/pipewire/-/commit/2cbcdbc579bbffa682088fbedbca10e278e061dd

Disabled jack2 support for uClibc to fix a build error:

../pipewire-jack/src/pipewire-jack.c:13:10: fatal error: threads.h: No such file or directory
13 | #include <threads.h>

Removing this include, like patch 0001 does, will not fix the problem:

../pipewire-jack/src/pipewire-jack.c:127:20: error: expected ‘;’ before ‘float’
127 | static thread_local float midi_scratch[MIDI_SCRATCH_FRAMES];

Fixes:
https://autobuild.buildroot.net/results/217/217f4500a7dadf089b90438e1eb06aaa9c50f4c5/

---
 .../0001-Remove-unused-threads.h-header.patch | 35 +++++++++++++++++++
 package/pipewire/Config.in                    |  1 +
 package/pipewire/pipewire.hash                |  2 +-
 package/pipewire/pipewire.mk                  |  5 +--
 4 files changed, 40 insertions(+), 3 deletions(-)
 create mode 100644 package/pipewire/0001-Remove-unused-threads.h-header.patch
package/pipewire/0001-Remove-unused-threads.h-header.patch new file +35 -0
new file mode 100644
index 0000000000..8fe6b862c9
@@ -0,0 +1,35 @@
+From 954f76d1078bcf23539c459a5a98aead084146d0 Mon Sep 17 00:00:00 2001
+From: Jan Grulich <[email protected]>
+Date: Mon, 10 Nov 2025 17:42:44 +0100
+Subject: [PATCH] Remove unused <threads.h> header
+
+This was introduced before for some threading implementation to have
+definitions for 'tss_t' and 'tss_set()' and similar, but these were
+later removed, while the header was still kept.
+
+This header doesn't exist on older systems with older glibc and is the
+reason for the only patch we need to have in Chromium to make PipeWire
+to build.
+
+Upstream: https://gitlab.freedesktop.org/pipewire/pipewire/-/commit/954f76d1078bcf23539c459a5a98aead084146d0
+
+Signed-off-by: Bernd Kuhls <[email protected]>
+---
+ spa/plugins/support/loop.c | 1 -
+ 1 file changed, 1 deletion(-)
+
+diff --git a/spa/plugins/support/loop.c b/spa/plugins/support/loop.c
+index fd53ef16d1..e5e49849fe 100644
+--- a/spa/plugins/support/loop.c
++++ b/spa/plugins/support/loop.c
+@@ -9,7 +9,6 @@
+ #include <stdlib.h>
+ #include <stdio.h>
+ #include <pthread.h>
+-#include <threads.h>
+ #include <stdatomic.h>
+ 
+ #include <spa/support/loop.h>
+-- 
+GitLab
+
package/pipewire/Config.in +1 -0
index 9d2de6c866..38a321d500 100644
@@ -7,6 +7,7 @@ config BR2_PACKAGE_PIPEWIRE
 	select BR2_PACKAGE_ALSA_LIB_UCM if BR2_PACKAGE_ALSA_LIB
 	select BR2_PACKAGE_ALSA_LIB_SEQ if BR2_PACKAGE_ALSA_LIB
 	select BR2_PACKAGE_BLUEZ5_UTILS_PLUGINS_AUDIO if BR2_PACKAGE_BLUEZ5_UTILS # runtime
+	select BR2_PACKAGE_FFMPEG_SWSCALE if BR2_PACKAGE_FFMPEG
 	help
 	  PipeWire is a server and user space API to deal with
 	  multimedia pipelines.
package/pipewire/pipewire.hash +1 -1
index 2e6a9ae3aa..6fbceb73cc 100644
@@ -1,4 +1,4 @@
 # Locally calculated
-sha256  7670f617220cc053948fc8f2c1ff788192479ef5d4f373d878ac8a7cab76a71c  pipewire-1.2.8.tar.bz2
+sha256  e606aa3f6d53ec4c56fe35034d35cadfe0bbea1a5275e4e006dd7d1abaec6b92  pipewire-1.4.9.tar.bz2
 sha256  8909c319a7e27dbb33a15b9035f89ab3b7b2f6a12f8bcddc755206a8db1ada44  COPYING
 sha256  be4be5d77424833edf31f53fc1f1cecb6996b9e2d747d9e6fb8f878362ebc92b  LICENSE
package/pipewire/pipewire.mk +3 -2
index c1dc2aa0cc..397e9b3493 100644
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-PIPEWIRE_VERSION = 1.2.8
+PIPEWIRE_VERSION = 1.4.9
 PIPEWIRE_SOURCE = pipewire-$(PIPEWIRE_VERSION).tar.bz2
 PIPEWIRE_SITE = https://gitlab.freedesktop.org/pipewire/pipewire/-/archive/$(PIPEWIRE_VERSION)
 PIPEWIRE_LICENSE = MIT, LGPL-2.1+ (libspa-alsa), GPL-2.0 (libjackserver)
@@ -100,7 +100,8 @@ else
 PIPEWIRE_CONF_OPTS += -Davahi=disabled
 endif
 
-ifeq ($(BR2_PACKAGE_JACK2),y)
+# uClibc does not implement thread_local
+ifeq ($(BR2_PACKAGE_JACK2):$(BR2_TOOLCHAIN_USES_UCLIBC),y:)
 PIPEWIRE_CONF_OPTS += -Dpipewire-jack=enabled -Djack=enabled
 PIPEWIRE_DEPENDENCIES += jack2
 else
Signature · 6 lines
2.47.3

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw

PATCH 2/4 package/wireplumber: mark broken on uClibc

../lib/wp/log.c:780:49: error: implicit declaration of function ‘gettid’;
did you mean ‘getgid’? [-Wimplicit-function-declaration]
780 | g_autofree gchar *tid = g_strdup_printf("%d", gettid());

Due to build errors with pipewire this error was not found by the autobuilders.

---
 package/wireplumber/Config.in | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
package/wireplumber/Config.in +4 -1
index 6528a2e102..e43f1ed52a 100644
@@ -4,6 +4,7 @@ config BR2_PACKAGE_WIREPLUMBER
 	depends on BR2_PACKAGE_LUA_5_3 || BR2_PACKAGE_LUA_5_4
 	depends on BR2_USE_WCHAR # libglib2
 	depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2
+	depends on !BR2_TOOLCHAIN_USES_UCLIBC # gettid
 	depends on BR2_USE_MMU # libglib2
 	select BR2_PACKAGE_LIBGLIB2
 	help
@@ -15,8 +16,10 @@ config BR2_PACKAGE_WIREPLUMBER
 
 	  https://pipewire.pages.freedesktop.org/wireplumber/
 
-comment "wireplumber needs a toolchain w/ wchar, threads and Lua >= 5.3"
+comment "wireplumber needs a glibc or musl toolchain w/ wchar, threads and Lua >= 5.3"
 	depends on BR2_PACKAGE_PIPEWIRE
 	depends on BR2_USE_MMU
 	depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \
+		BR2_TOOLCHAIN_USES_UCLIBC || \
 		(!BR2_PACKAGE_LUA_5_3 && !BR2_PACKAGE_LUA_5_4)
+
Signature · 6 lines
2.47.3

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#2 lore raw

Re: [Buildroot] [PATCH 2/4] package/wireplumber: mark broken on uClibc

Quoted 6 lines · On Sun, 30 Nov 2025 08:48:34 +0100 Bernd Kuhls <[email protected]> wrote:

../lib/wp/log.c:780:49: error: implicit declaration of function ‘gettid’;
did you mean ‘getgid’? [-Wimplicit-function-declaration]
780 | g_autofree gchar *tid = g_strdup_printf("%d", gettid());

Due to build errors with pipewire this error was not found by the autobuilders.

Is this issue new with the bump to 1.4.9 ? Or it already exists with the current 1.2.8 version we have in Buildroot ? Or it did exist with 1.2.8, but was hidden by other build issues earlier ?

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
#3 lore raw

PATCH 3/4 package/wireplumber: bump version to 0.5.12

In reply to Bernd Kuhls

Release notes:
https://gitlab.freedesktop.org/pipewire/wireplumber/-/blob/0.5.12/NEWS.rst

---
 package/wireplumber/wireplumber.hash | 2 +-
 package/wireplumber/wireplumber.mk   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
package/wireplumber/wireplumber.hash +1 -1
index a254b68cca..1004c6f453 100644
@@ -1,3 +1,3 @@
 # Locally calculated
-sha256  c89fa29694e89939c0e57cade5c9a7da8e5da21c19071862978ef5f3a346f1e7  wireplumber-0.5.10.tar.bz2
+sha256  b772f48c61f5c2a397e0bf59b3ea3fb745ec974de739756fc3d6ee8ee2d7395c  wireplumber-0.5.12.tar.bz2
 sha256  ff2eb9af5b05d92ac3a38cffcad27582ef555a31ff1781e1c1d4e087f77c9c81  LICENSE
package/wireplumber/wireplumber.mk +1 -1
index 8818662059..ceb42455d8 100644
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-WIREPLUMBER_VERSION = 0.5.10
+WIREPLUMBER_VERSION = 0.5.12
 WIREPLUMBER_SOURCE = wireplumber-$(WIREPLUMBER_VERSION).tar.bz2
 WIREPLUMBER_SITE = https://gitlab.freedesktop.org/pipewire/wireplumber/-/archive/$(WIREPLUMBER_VERSION)
 WIREPLUMBER_LICENSE = MIT
Signature · 6 lines
2.47.3

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#4 lore raw

PATCH 4/4 package/pipewire-media-session: bump version to 0.4.3

In reply to Bernd Kuhls

Release notes:
https://gitlab.freedesktop.org/pipewire/media-session/-/tags/0.4.3

---
 package/pipewire-media-session/pipewire-media-session.hash | 2 +-
 package/pipewire-media-session/pipewire-media-session.mk   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
package/pipewire-media-session/pipewire-media-session.hash +1 -1
index e6b176eea2..3559d3c222 100644
@@ -1,4 +1,4 @@
 # Locally calculated
-sha256  26e21852e0834a4418b40eae342ac5178dfe40342b9c5afe204d43ef8aafa14e  media-session-0.4.2.tar.bz2
+sha256  ea0e371b08f9fa158fb070283b04ce1c4c0a3180d6e89de46c206296918ee1e4  media-session-0.4.3.tar.bz2
 sha256  8909c319a7e27dbb33a15b9035f89ab3b7b2f6a12f8bcddc755206a8db1ada44  COPYING
 sha256  77b9c867237ef919e33c0fdbcf22ab84b1cf24a63f9431ec68759026b658c994  LICENSE
package/pipewire-media-session/pipewire-media-session.mk +1 -1
index cc7317f925..16e12d9eb3 100644
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-PIPEWIRE_MEDIA_SESSION_VERSION = 0.4.2
+PIPEWIRE_MEDIA_SESSION_VERSION = 0.4.3
 PIPEWIRE_MEDIA_SESSION_SOURCE = media-session-$(PIPEWIRE_MEDIA_SESSION_VERSION).tar.bz2
 PIPEWIRE_MEDIA_SESSION_SITE = https://gitlab.freedesktop.org/pipewire/media-session/-/archive/$(PIPEWIRE_MEDIA_SESSION_VERSION)
 PIPEWIRE_MEDIA_SESSION_LICENSE = MIT
Signature · 6 lines
2.47.3

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot