From 13325a9ba3897308ec00857963fdbf7fb350ce0a Mon Sep 17 00:00:00 2001 From: Bernd Kuhls Date: Sun, 31 May 2026 08:25:24 +0200 Subject: [PATCH] package/wireplumber: mark broken on uClibc MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ../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, see 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 [Julien: unwrap URLs in commit log] Signed-off-by: Julien Olivain --- package/wireplumber/Config.in | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/package/wireplumber/Config.in b/package/wireplumber/Config.in index 6528a2e102..5f07a7c664 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,9 @@ 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)