Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/4] package/pipewire: bump version to 1.4.9
@ 2025-11-30  7:48 Bernd Kuhls
  2025-11-30  7:48 ` [Buildroot] [PATCH 2/4] package/wireplumber: mark broken on uClibc Bernd Kuhls
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Bernd Kuhls @ 2025-11-30  7:48 UTC (permalink / raw)
  To: buildroot; +Cc: James Hilliard

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/

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
---
 .../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

diff --git a/package/pipewire/0001-Remove-unused-threads.h-header.patch b/package/pipewire/0001-Remove-unused-threads.h-header.patch
new file mode 100644
index 0000000000..8fe6b862c9
--- /dev/null
+++ b/package/pipewire/0001-Remove-unused-threads.h-header.patch
@@ -0,0 +1,35 @@
+From 954f76d1078bcf23539c459a5a98aead084146d0 Mon Sep 17 00:00:00 2001
+From: Jan Grulich <jgrulich@redhat.com>
+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 <bernd@kuhls.net>
+---
+ 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
+
diff --git a/package/pipewire/Config.in b/package/pipewire/Config.in
index 9d2de6c866..38a321d500 100644
--- a/package/pipewire/Config.in
+++ b/package/pipewire/Config.in
@@ -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.
diff --git a/package/pipewire/pipewire.hash b/package/pipewire/pipewire.hash
index 2e6a9ae3aa..6fbceb73cc 100644
--- a/package/pipewire/pipewire.hash
+++ b/package/pipewire/pipewire.hash
@@ -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
diff --git a/package/pipewire/pipewire.mk b/package/pipewire/pipewire.mk
index c1dc2aa0cc..397e9b3493 100644
--- a/package/pipewire/pipewire.mk
+++ b/package/pipewire/pipewire.mk
@@ -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
-- 
2.47.3

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

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

* [Buildroot] [PATCH 2/4] package/wireplumber: mark broken on uClibc
  2025-11-30  7:48 [Buildroot] [PATCH 1/4] package/pipewire: bump version to 1.4.9 Bernd Kuhls
@ 2025-11-30  7:48 ` Bernd Kuhls
  2025-11-30 21:40   ` Thomas Petazzoni via buildroot
  2025-11-30  7:48 ` [Buildroot] [PATCH 3/4] package/wireplumber: bump version to 0.5.12 Bernd Kuhls
  2025-11-30  7:48 ` [Buildroot] [PATCH 4/4] package/pipewire-media-session: bump version to 0.4.3 Bernd Kuhls
  2 siblings, 1 reply; 8+ messages in thread
From: Bernd Kuhls @ 2025-11-30  7:48 UTC (permalink / raw)
  To: buildroot; +Cc: James Hilliard

../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.

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
---
 package/wireplumber/Config.in | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/package/wireplumber/Config.in b/package/wireplumber/Config.in
index 6528a2e102..e43f1ed52a 100644
--- a/package/wireplumber/Config.in
+++ b/package/wireplumber/Config.in
@@ -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)
+
-- 
2.47.3

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

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

* [Buildroot] [PATCH 3/4] package/wireplumber: bump version to 0.5.12
  2025-11-30  7:48 [Buildroot] [PATCH 1/4] package/pipewire: bump version to 1.4.9 Bernd Kuhls
  2025-11-30  7:48 ` [Buildroot] [PATCH 2/4] package/wireplumber: mark broken on uClibc Bernd Kuhls
@ 2025-11-30  7:48 ` Bernd Kuhls
  2025-11-30  7:48 ` [Buildroot] [PATCH 4/4] package/pipewire-media-session: bump version to 0.4.3 Bernd Kuhls
  2 siblings, 0 replies; 8+ messages in thread
From: Bernd Kuhls @ 2025-11-30  7:48 UTC (permalink / raw)
  To: buildroot; +Cc: James Hilliard

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

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
---
 package/wireplumber/wireplumber.hash | 2 +-
 package/wireplumber/wireplumber.mk   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/package/wireplumber/wireplumber.hash b/package/wireplumber/wireplumber.hash
index a254b68cca..1004c6f453 100644
--- a/package/wireplumber/wireplumber.hash
+++ b/package/wireplumber/wireplumber.hash
@@ -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
diff --git a/package/wireplumber/wireplumber.mk b/package/wireplumber/wireplumber.mk
index 8818662059..ceb42455d8 100644
--- a/package/wireplumber/wireplumber.mk
+++ b/package/wireplumber/wireplumber.mk
@@ -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
-- 
2.47.3

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

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

* [Buildroot] [PATCH 4/4] package/pipewire-media-session: bump version to 0.4.3
  2025-11-30  7:48 [Buildroot] [PATCH 1/4] package/pipewire: bump version to 1.4.9 Bernd Kuhls
  2025-11-30  7:48 ` [Buildroot] [PATCH 2/4] package/wireplumber: mark broken on uClibc Bernd Kuhls
  2025-11-30  7:48 ` [Buildroot] [PATCH 3/4] package/wireplumber: bump version to 0.5.12 Bernd Kuhls
@ 2025-11-30  7:48 ` Bernd Kuhls
  2 siblings, 0 replies; 8+ messages in thread
From: Bernd Kuhls @ 2025-11-30  7:48 UTC (permalink / raw)
  To: buildroot; +Cc: James Hilliard

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

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
---
 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(-)

diff --git a/package/pipewire-media-session/pipewire-media-session.hash b/package/pipewire-media-session/pipewire-media-session.hash
index e6b176eea2..3559d3c222 100644
--- a/package/pipewire-media-session/pipewire-media-session.hash
+++ b/package/pipewire-media-session/pipewire-media-session.hash
@@ -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
diff --git a/package/pipewire-media-session/pipewire-media-session.mk b/package/pipewire-media-session/pipewire-media-session.mk
index cc7317f925..16e12d9eb3 100644
--- a/package/pipewire-media-session/pipewire-media-session.mk
+++ b/package/pipewire-media-session/pipewire-media-session.mk
@@ -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
-- 
2.47.3

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

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

* Re: [Buildroot] [PATCH 2/4] package/wireplumber: mark broken on uClibc
  2025-11-30  7:48 ` [Buildroot] [PATCH 2/4] package/wireplumber: mark broken on uClibc Bernd Kuhls
@ 2025-11-30 21:40   ` Thomas Petazzoni via buildroot
  0 siblings, 0 replies; 8+ messages in thread
From: Thomas Petazzoni via buildroot @ 2025-11-30 21:40 UTC (permalink / raw)
  To: Bernd Kuhls; +Cc: buildroot, James Hilliard

On Sun, 30 Nov 2025 08:48:34 +0100
Bernd Kuhls <bernd@kuhls.net> 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
-- 
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] 8+ messages in thread

* [Buildroot] [PATCH 2/4] package/wireplumber: mark broken on uClibc
  2026-02-26 22:11 [Buildroot] [PATCH 1/4] package/pipewire: bump version to 1.6.0 Bernd Kuhls
@ 2026-02-26 22:11 ` Bernd Kuhls
  0 siblings, 0 replies; 8+ messages in thread
From: Bernd Kuhls @ 2026-02-26 22:11 UTC (permalink / raw)
  To: buildroot; +Cc: James Hilliard

../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());

The problem was hidden by pipewire being broken with uClibc since at
least Sep 2024: https://autobuild.buildroot.net/results/ee5/ee50c8331946814c2fecb0ca56ca51c1bb0bc551/

Pipewire was bumped from 0.3.81 to 1.2.2 in Aug 2024 with buildroot commit
93b72692c36f8357e867650f4b8fac91dff375f5 which afaics caused all uClibc
builds to fail due to missing tss_t() whose usage was added to pipewire in
version 1.1.81 (https://gitlab.freedesktop.org/pipewire/pipewire/-/commit/
de0db48f17aa391917ff5b430b7b9fe1dac443fe) and later removed with https://
gitlab.freedesktop.org/pipewire/pipewire/-/commit/
9c19284f7f062a50e059b0593068429b345acf34 in version 1.3.81.

In wireplumber the relevant part of code with gettid() was added in
version 0.5.9. Buildroot bumped wireplumber from 0.5.5 directly to 0.5.10
with commit c42b26bb471a260e2bb3da7988af77f78b2b4280.

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
---
 package/wireplumber/Config.in | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/package/wireplumber/Config.in b/package/wireplumber/Config.in
index 6528a2e102..e43f1ed52a 100644
--- a/package/wireplumber/Config.in
+++ b/package/wireplumber/Config.in
@@ -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)
+
-- 
2.47.3

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

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

* [Buildroot] [PATCH 2/4] package/wireplumber: mark broken on uClibc
  2026-04-14 16:20 [Buildroot] [PATCH 1/4] package/pipewire: bump version to 1.6.3 Bernd Kuhls
@ 2026-04-14 16:20 ` Bernd Kuhls
  0 siblings, 0 replies; 8+ messages in thread
From: Bernd Kuhls @ 2026-04-14 16:20 UTC (permalink / raw)
  To: buildroot; +Cc: James Hilliard

../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());

The problem was hidden by pipewire being broken with uClibc since at
least Sep 2024: https://autobuild.buildroot.net/results/ee5/ee50c8331946814c2fecb0ca56ca51c1bb0bc551/

Pipewire was bumped from 0.3.81 to 1.2.2 in Aug 2024 with buildroot commit
93b72692c36f8357e867650f4b8fac91dff375f5 which afaics caused all uClibc
builds to fail due to missing tss_t() whose usage was added to pipewire in
version 1.1.81 (https://gitlab.freedesktop.org/pipewire/pipewire/-/commit/
de0db48f17aa391917ff5b430b7b9fe1dac443fe) and later removed with https://
gitlab.freedesktop.org/pipewire/pipewire/-/commit/
9c19284f7f062a50e059b0593068429b345acf34 in version 1.3.81.

In wireplumber the relevant part of code with gettid() was added in
version 0.5.9. Buildroot bumped wireplumber from 0.5.5 directly to 0.5.10
with commit c42b26bb471a260e2bb3da7988af77f78b2b4280.

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
---
 package/wireplumber/Config.in | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/package/wireplumber/Config.in b/package/wireplumber/Config.in
index 6528a2e102..e43f1ed52a 100644
--- a/package/wireplumber/Config.in
+++ b/package/wireplumber/Config.in
@@ -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)
+
-- 
2.47.3

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

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

* [Buildroot] [PATCH 2/4] package/wireplumber: mark broken on uClibc
  2026-05-11 18:17 [Buildroot] [PATCH 1/4] package/pipewire: bump version to 1.6.4 Bernd Kuhls
@ 2026-05-11 18:17 ` Bernd Kuhls
  0 siblings, 0 replies; 8+ messages in thread
From: Bernd Kuhls @ 2026-05-11 18:17 UTC (permalink / raw)
  To: buildroot; +Cc: James Hilliard

../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());

The problem was hidden by pipewire being broken with uClibc since at
least Sep 2024: https://autobuild.buildroot.net/results/ee5/ee50c8331946814c2fecb0ca56ca51c1bb0bc551/

Pipewire was bumped from 0.3.81 to 1.2.2 in Aug 2024 with buildroot commit
93b72692c36f8357e867650f4b8fac91dff375f5 which afaics caused all uClibc
builds to fail due to missing tss_t() whose usage was added to pipewire in
version 1.1.81 (https://gitlab.freedesktop.org/pipewire/pipewire/-/commit/
de0db48f17aa391917ff5b430b7b9fe1dac443fe) and later removed with https://
gitlab.freedesktop.org/pipewire/pipewire/-/commit/
9c19284f7f062a50e059b0593068429b345acf34 in version 1.3.81.

In wireplumber the relevant part of code with gettid() was added in
version 0.5.9. Buildroot bumped wireplumber from 0.5.5 directly to 0.5.10
with commit c42b26bb471a260e2bb3da7988af77f78b2b4280.

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
---
 package/wireplumber/Config.in | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/package/wireplumber/Config.in b/package/wireplumber/Config.in
index 6528a2e102..e43f1ed52a 100644
--- a/package/wireplumber/Config.in
+++ b/package/wireplumber/Config.in
@@ -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)
+
-- 
2.47.3

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

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

end of thread, other threads:[~2026-05-11 18:17 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-11-30  7:48 [Buildroot] [PATCH 1/4] package/pipewire: bump version to 1.4.9 Bernd Kuhls
2025-11-30  7:48 ` [Buildroot] [PATCH 2/4] package/wireplumber: mark broken on uClibc Bernd Kuhls
2025-11-30 21:40   ` Thomas Petazzoni via buildroot
2025-11-30  7:48 ` [Buildroot] [PATCH 3/4] package/wireplumber: bump version to 0.5.12 Bernd Kuhls
2025-11-30  7:48 ` [Buildroot] [PATCH 4/4] package/pipewire-media-session: bump version to 0.4.3 Bernd Kuhls
  -- strict thread matches above, loose matches on Subject: below --
2026-02-26 22:11 [Buildroot] [PATCH 1/4] package/pipewire: bump version to 1.6.0 Bernd Kuhls
2026-02-26 22:11 ` [Buildroot] [PATCH 2/4] package/wireplumber: mark broken on uClibc Bernd Kuhls
2026-04-14 16:20 [Buildroot] [PATCH 1/4] package/pipewire: bump version to 1.6.3 Bernd Kuhls
2026-04-14 16:20 ` [Buildroot] [PATCH 2/4] package/wireplumber: mark broken on uClibc Bernd Kuhls
2026-05-11 18:17 [Buildroot] [PATCH 1/4] package/pipewire: bump version to 1.6.4 Bernd Kuhls
2026-05-11 18:17 ` [Buildroot] [PATCH 2/4] package/wireplumber: mark broken on uClibc Bernd Kuhls

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox