From 6967ed93b6fcefd5f4cd5ad12ce80dfb63e1200f Mon Sep 17 00:00:00 2001 From: Julien Olivain Date: Sun, 8 Jun 2025 13:03:17 +0200 Subject: [PATCH] package/dovecot: add missing mariadb dependencies for mysql support Buildroot commit [1] removed mysql and replaced it by mariadb in all packages, but did not propagated all dependencies. This commit fixes the issue. Fixes: WARNING: unmet direct dependencies detected for BR2_PACKAGE_MARIADB Depends on [n]: BR2_INSTALL_LIBSTDCPP [=y] && !BR2_STATIC_LIBS [=n] && BR2_USE_MMU [=y] && BR2_TOOLCHAIN_HAS_THREADS [=y] && (BR2_TOOLCHAIN_HAS_ATOMIC [=n] || BR2_TOOLCHAIN_HAS_SYNC_8 [=n]) && BR2_USE_WCHAR [=y] Selected by [y]: - BR2_PACKAGE_DOVECOT_MYSQL [=y] && BR2_PACKAGE_DOVECOT [=y] && BR2_INSTALL_LIBSTDCPP [=y] && BR2_TOOLCHAIN_HAS_THREADS [=y] [1] https://gitlab.com/buildroot.org/buildroot/-/commit/8708f3a23a7e28fdb04fc57406e13e6b7ff4a337 Signed-off-by: Julien Olivain Signed-off-by: Peter Korsgaard --- package/dovecot/Config.in | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/package/dovecot/Config.in b/package/dovecot/Config.in index 517040fad6..e109ce6be8 100644 --- a/package/dovecot/Config.in +++ b/package/dovecot/Config.in @@ -21,12 +21,16 @@ config BR2_PACKAGE_DOVECOT_MYSQL bool "mysql support" depends on BR2_INSTALL_LIBSTDCPP # mariadb depends on BR2_TOOLCHAIN_HAS_THREADS # mariadb + depends on BR2_TOOLCHAIN_HAS_ATOMIC || BR2_TOOLCHAIN_HAS_SYNC_8 # mariadb + depends on BR2_USE_WCHAR # mariadb select BR2_PACKAGE_MARIADB help Enable MySQL support. -comment "mysql support needs a toolchain w/ C++, threads" - depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS +comment "mysql support needs a toolchain w/ C++, threads, wchar" + depends on BR2_TOOLCHAIN_HAS_ATOMIC || BR2_TOOLCHAIN_HAS_SYNC_8 + depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS || \ + !BR2_USE_WCHAR config BR2_PACKAGE_DOVECOT_SQLITE bool "sqlite support"