From 944b0ef086dab217eb2d38bda132eace3006d5cf Mon Sep 17 00:00:00 2001 From: Bernd Kuhls Date: Sat, 6 Dec 2025 12:34:30 +0100 Subject: [PATCH 1/8] package/squeezelite: fix build with gcc >= 15.x No autobuilder errors recorded yet. Signed-off-by: Bernd Kuhls Signed-off-by: Thomas Petazzoni --- .../0001-ir.c-fix-build-with-gcc-15.patch | 44 +++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 package/squeezelite/0001-ir.c-fix-build-with-gcc-15.patch diff --git a/package/squeezelite/0001-ir.c-fix-build-with-gcc-15.patch b/package/squeezelite/0001-ir.c-fix-build-with-gcc-15.patch new file mode 100644 index 000000000000..4fe61e25c05f --- /dev/null +++ b/package/squeezelite/0001-ir.c-fix-build-with-gcc-15.patch @@ -0,0 +1,44 @@ +From 787961d52130bd3c6c18b19218219650786e5352 Mon Sep 17 00:00:00 2001 +From: Bernd Kuhls +Date: Sat, 6 Dec 2025 12:25:08 +0100 +Subject: [PATCH] ir.c: fix build with gcc-15 + +ir.c: In function 'ir_init': +ir.c:273:48: error: passing argument 3 of 'pthread_create' from incompatible pointer type [-Wincompatible-pointer-types] + 273 | pthread_create(&thread, &attr, ir_thread, NULL); + | ^~~~~~~~~ + | | + | void * (*)(void) +In file included from squeezelite.h:300, + from ir.c:36: +/home/buildroot/br/output/per-package/squeezelite/host/lib/gcc/x86_64-buildroot-linux-gnu/15.2.0/include-fixed/pthread.h:213:36: + note: expected 'void * (*)(void *)' but argument is of type 'void * (*)(void)' + 213 | void *(*__start_routine) (void *), + | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ +ir.c:169:14: note: 'ir_thread' declared here + 169 | static void *ir_thread() { + | ^~~~~~~~~ + +Upstream: https://github.com/ralph-irving/squeezelite/commit/1e8fb181366467b6c4046119eedb821e4a5f9adb + +Signed-off-by: Bernd Kuhls +--- + ir.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/ir.c b/ir.c +index 84294b6..aeea23c 100644 +--- a/ir.c ++++ b/ir.c +@@ -166,7 +166,7 @@ static u32_t ir_key_map(const char *c, const char *r) { + return 0; + } + +-static void *ir_thread() { ++static void *ir_thread(void *vargp) { + char *code; + + while (fd > 0 && LIRC(i, nextcode, &code) == 0) { +-- +2.47.3 + From c10c9c2283b731f59620172ba882f6ac070eb9c5 Mon Sep 17 00:00:00 2001 From: Michael Nosthoff Date: Wed, 4 Feb 2026 15:40:20 +0100 Subject: [PATCH 2/8] package/azmq: disable tests, drop Boost.System When bumping to version v1.0.3-54-g819b24035c in Buildroot commit 7d5bd5ecc0 ("package/azmq: bump version to git v1.0.3-54-g819b2403"), two things were missed: - the parameter to disable tests was renamed to AZMQ_BUILD_TESTS - the commit [0] was included. It removes the need for the Boost.System library linkage Fixes: https://autobuild.buildroot.org/results/2e7/2e7fe61cc349b843604091190fa7346f95dd0d56/ [0] https://github.com/zeromq/azmq/commit/b8b2a1aac47f8da70bc4d2d1c2f5d9a9ceaec748 Signed-off-by: Michael Nosthoff Signed-off-by: Peter Korsgaard --- package/azmq/Config.in | 1 - package/azmq/azmq.mk | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/package/azmq/Config.in b/package/azmq/Config.in index 7bdd07ebf820..75cbeabf53eb 100644 --- a/package/azmq/Config.in +++ b/package/azmq/Config.in @@ -12,7 +12,6 @@ config BR2_PACKAGE_AZMQ select BR2_PACKAGE_BOOST_CHRONO select BR2_PACKAGE_BOOST_DATE_TIME select BR2_PACKAGE_BOOST_RANDOM - select BR2_PACKAGE_BOOST_SYSTEM select BR2_PACKAGE_BOOST_THREAD help This library provides Boost Asio style bindings for ZeroMQ. diff --git a/package/azmq/azmq.mk b/package/azmq/azmq.mk index 99fb3212dfb5..bb918bd529d3 100644 --- a/package/azmq/azmq.mk +++ b/package/azmq/azmq.mk @@ -15,6 +15,6 @@ AZMQ_LICENSE_FILES = LICENSE-BOOST_1_0 AZMQ_INSTALL_STAGING = YES AZMQ_INSTALL_TARGET = NO -AZMQ_CONF_OPTS = -DAZMQ_NO_TESTS=ON +AZMQ_CONF_OPTS = -DAZMQ_BUILD_TESTS=OFF $(eval $(cmake-package)) From 026c635508cf9518b20cfd76350a01b2d0f57a5c Mon Sep 17 00:00:00 2001 From: Thomas Petazzoni Date: Wed, 4 Feb 2026 17:24:10 +0100 Subject: [PATCH 3/8] package/uclibc: rename UCLIBC_INSTALL_UTILS_STAGING to UCLIBC_INSTALL_HOST_UTILS The UCLIBC_INSTALL_UTILS_STAGING is really badly named, as it doesn't install anything to STAGING_DIR. Instead, it installs the host variant of ldd and ldconfig into $(HOST_DIR)/bin. Therefore, rename it to UCLIBC_INSTALL_HOST_UTILS. This is important as a follow-up commit will re-introduce a UCLIBC_INSTALL_UTILS_STAGING variable which really installs things into STAGING_DIR. Signed-off-by: Thomas Petazzoni Signed-off-by: Peter Korsgaard --- package/uclibc/uclibc.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package/uclibc/uclibc.mk b/package/uclibc/uclibc.mk index e1cf12fa68de..dea5445b16b8 100644 --- a/package/uclibc/uclibc.mk +++ b/package/uclibc/uclibc.mk @@ -463,7 +463,7 @@ endef # STATIC has no ld* tools, only getconf ifeq ($(BR2_STATIC_LIBS),) -define UCLIBC_INSTALL_UTILS_STAGING +define UCLIBC_INSTALL_HOST_UTILS $(INSTALL) -D -m 0755 $(@D)/utils/ldd.host $(HOST_DIR)/bin/ldd ln -sf ldd $(HOST_DIR)/bin/$(GNU_TARGET_NAME)-ldd $(INSTALL) -D -m 0755 $(@D)/utils/ldconfig.host $(HOST_DIR)/bin/ldconfig @@ -478,7 +478,7 @@ define UCLIBC_INSTALL_STAGING_CMDS DEVEL_PREFIX=/usr/ \ RUNTIME_PREFIX=/ \ install_runtime install_dev - $(UCLIBC_INSTALL_UTILS_STAGING) + $(UCLIBC_INSTALL_HOST_UTILS) endef # Checks to give errors that the user can understand From 272d281ba9a06cfdb802ff13d5ca32ef06166cce Mon Sep 17 00:00:00 2001 From: Thomas Petazzoni Date: Wed, 4 Feb 2026 17:24:11 +0100 Subject: [PATCH 4/8] package/uclibc: also install utils to STAGING_DIR When BR2_UCLIBC_INSTALL_UTILS is enabled, utils such as getconf, ldd, locale get installed to TARGET_DIR. However, they do not get installed to STAGING_DIR, which is annoying as it means that they are not part of external toolchains built by Buildroot. This commit adjusts the uclibc package to make sure those tools also get installed to STAGING_DIR. Signed-off-by: Thomas Petazzoni Signed-off-by: Peter Korsgaard --- package/uclibc/uclibc.mk | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/package/uclibc/uclibc.mk b/package/uclibc/uclibc.mk index dea5445b16b8..69eb73510e3b 100644 --- a/package/uclibc/uclibc.mk +++ b/package/uclibc/uclibc.mk @@ -449,6 +449,14 @@ define UCLIBC_INSTALL_UTILS_TARGET PREFIX=$(TARGET_DIR) \ utils install_utils endef + +define UCLIBC_INSTALL_UTILS_STAGING + $(MAKE1) -C $(@D) \ + CC="$(TARGET_CC)" CPP="$(TARGET_CPP)" LD="$(TARGET_LD)" \ + ARCH="$(UCLIBC_TARGET_ARCH)" \ + PREFIX=$(STAGING_DIR) \ + utils install_utils +endef endif define UCLIBC_INSTALL_TARGET_CMDS @@ -479,6 +487,7 @@ define UCLIBC_INSTALL_STAGING_CMDS RUNTIME_PREFIX=/ \ install_runtime install_dev $(UCLIBC_INSTALL_HOST_UTILS) + $(UCLIBC_INSTALL_UTILS_STAGING) endef # Checks to give errors that the user can understand From 70043d9e9a0ecb97d46be9527f73b3157da799f7 Mon Sep 17 00:00:00 2001 From: Giulio Benetti Date: Mon, 29 Dec 2025 10:40:10 +0100 Subject: [PATCH 5/8] package/dash: fix build failure due to wchar Since commit [1] package dash requires wchar so let's depend on it to fix build failure. Doing so makes default non-busybox shell dash to depend on wchar. This is too restrictive since this way wchar becomes mandatory, so let's switch default non-busybox shell to bash. [1]: https://git.kernel.org/pub/scm/utils/dash/dash.git/commit/?id=c0674f487c7aec2a3bdf6795cea7e60c9530c360 Fixes: https://autobuild.buildroot.org/results/e9108ebd9fb8c471add1c5a7f581757175fa5f15/ Signed-off-by: Giulio Benetti Signed-off-by: Thomas Petazzoni --- package/dash/Config.in | 6 ++++++ system/Config.in | 3 ++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/package/dash/Config.in b/package/dash/Config.in index b816ac7837b5..3573a40aa38b 100644 --- a/package/dash/Config.in +++ b/package/dash/Config.in @@ -2,6 +2,7 @@ config BR2_PACKAGE_DASH bool "dash" depends on BR2_USE_MMU # fork() depends on BR2_PACKAGE_BUSYBOX_SHOW_OTHERS + depends on BR2_USE_WCHAR help DASH is a POSIX-compliant implementation of /bin/sh that aims to be as small as possible. It does this without @@ -10,3 +11,8 @@ config BR2_PACKAGE_DASH for most tasks. http://gondor.apana.org.au/~herbert/dash + +comment "dash needs a toolchain w/ wchar" + depends on BR2_USE_MMU + depends on BR2_PACKAGE_BUSYBOX_SHOW_OTHERS + depends on !BR2_USE_WCHAR diff --git a/system/Config.in b/system/Config.in index 98bbd9309243..8f2dde59e7f2 100644 --- a/system/Config.in +++ b/system/Config.in @@ -399,7 +399,7 @@ config BR2_TARGET_GENERIC_ROOT_PASSWD choice bool "/bin/sh" - default BR2_SYSTEM_BIN_SH_DASH if !BR2_PACKAGE_BUSYBOX + default BR2_SYSTEM_BIN_SH_BASH if !BR2_PACKAGE_BUSYBOX help Select which shell will provide /bin/sh. @@ -418,6 +418,7 @@ config BR2_SYSTEM_BIN_SH_DASH bool "dash" depends on BR2_USE_MMU # dash depends on BR2_PACKAGE_BUSYBOX_SHOW_OTHERS + depends on BR2_USE_WCHAR # dash select BR2_PACKAGE_DASH config BR2_SYSTEM_BIN_SH_MKSH From 96e6d7092c25506e40061b5bc3a2cc2731953b99 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20M=C3=A9lotte?= Date: Fri, 1 Aug 2025 15:07:14 +0000 Subject: [PATCH 6/8] package/llvm-project: enable clang python bindings MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It should be noted that because the python bindings have wrong default include dirs, they are useless if the includes are not provided externally. Signed-off-by: Raphaël Mélotte Signed-off-by: Romain Naour --- package/llvm-project/clang/clang.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/package/llvm-project/clang/clang.mk b/package/llvm-project/clang/clang.mk index 2f17a04efcec..3e41cb3b13a3 100644 --- a/package/llvm-project/clang/clang.mk +++ b/package/llvm-project/clang/clang.mk @@ -109,6 +109,10 @@ CLANG_CONF_OPTS += -DLLVM_LINK_LLVM_DYLIB=ON HOST_CLANG_CONF_OPTS += -DLLVM_DYLIB_COMPONENTS=all CLANG_CONF_OPTS += -DLLVM_DYLIB_COMPONENTS=all +# host-python3 is a permanent dependency of clang, so we can build the +# python bindings unconditionally: +HOST_CLANG_CONF_OPTS += -DCLANG_PYTHON_BINDINGS_VERSIONS=$(PYTHON3_VERSION_MAJOR) + # Help host-clang to find our external toolchain, use a relative path from the clang # installation directory to the external toolchain installation directory in order to # not hardcode the toolchain absolute path. From ba48197d1fe5d6a67c3138377851c43482b5698c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20M=C3=A9lotte?= Date: Fri, 1 Aug 2025 15:07:16 +0000 Subject: [PATCH 7/8] package/mupdf: skip installing docs to the target MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The current 'install' target comprises 'install-libs', 'install-apps' and 'install-docs'. In our case we don't want to install documentation to the target, so just run the other two. Signed-off-by: Raphaël Mélotte Signed-off-by: Romain Naour --- package/mupdf/mupdf.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/mupdf/mupdf.mk b/package/mupdf/mupdf.mk index 57501ab9546a..fe4f3e675621 100644 --- a/package/mupdf/mupdf.mk +++ b/package/mupdf/mupdf.mk @@ -68,7 +68,7 @@ endef define MUPDF_INSTALL_TARGET_CMDS $(MUPDF_MAKE_ENV) $(MAKE) -C $(@D) $(MUPDF_MAKE_OPTS) \ - DESTDIR="$(TARGET_DIR)" install + DESTDIR="$(TARGET_DIR)" install-libs install-apps endef $(eval $(generic-package)) From 6fed872e083c5d5d490977b2bffbd68ebd141f1b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20M=C3=A9lotte?= Date: Fri, 1 Aug 2025 15:07:17 +0000 Subject: [PATCH 8/8] package/mupdf: update release hashes comment MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The old URL now leads to an HTTP 404 not found error. Update it to the new one which contains the hashes for the current release as well as older ones. Signed-off-by: Raphaël Mélotte Signed-off-by: Romain Naour --- package/mupdf/mupdf.hash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/mupdf/mupdf.hash b/package/mupdf/mupdf.hash index 580235eecaac..80de6f3b2c98 100644 --- a/package/mupdf/mupdf.hash +++ b/package/mupdf/mupdf.hash @@ -1,4 +1,4 @@ -# From https://mupdf.com/downloads/index.html: +# From https://mupdf.com/releases: sha1 d79600bccd70ab9d0e8ee19dae4e275f2af95ced mupdf-1.23.9-source.tar.lz # Locally computed: