From 58b9eb270e47db8ba25ebc703ead84367b36d707 Mon Sep 17 00:00:00 2001 From: Bernd Kuhls Date: Sat, 30 May 2026 12:27:49 +0200 Subject: [PATCH] package/collectd: fix wchar dependency of mariadb Fmt depends on BR2_USE_WCHAR since its introduction in 2017 by buildroot commit 81fe75c855f9a598695f83b7384713820383efe4. Buildroot commit 821f9dee8112dc02fe58d60273d0dfdabbc46d1f added fmt as dependency to mariadb in July 2023, including the wchar dependency. Buildroot commit 8708f3a23a7e28fdb04fc57406e13e6b7ff4a337 from March 2024, which replaced the mysql virtual package with mariadb, causes build errors due to the wchar dependency not being propagated. Fixes: https://autobuild.buildroot.net/results/ef2/ef201a7d04330463ce46b93e6d5702dfefc6ad6c/ Signed-off-by: Bernd Kuhls Signed-off-by: Peter Korsgaard --- package/collectd/Config.in | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/package/collectd/Config.in b/package/collectd/Config.in index 127bcace6d..d1ed36ef5e 100644 --- a/package/collectd/Config.in +++ b/package/collectd/Config.in @@ -393,15 +393,17 @@ config BR2_PACKAGE_COLLECTD_MYSQL bool "mysql" depends on BR2_INSTALL_LIBSTDCPP # mysql depends on BR2_USE_MMU # mysql + depends on BR2_USE_WCHAR # fmt -> mariadb depends on BR2_TOOLCHAIN_HAS_THREADS # mysql select BR2_PACKAGE_MARIADB help Connects to a MySQL database and issues a "show status" command. -comment "mysql needs a toolchain w/ C++, threads" +comment "mysql needs a toolchain w/ C++, threads, wchar" depends on BR2_USE_MMU - depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS + depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS \ + || !BR2_USE_WCHAR config BR2_PACKAGE_COLLECTD_NETLINK bool "netlink"