From 997ee1124deeaa4392d950d454cdb0a68e46fcbb Mon Sep 17 00:00:00 2001 From: Thomas Petazzoni Date: Sat, 3 Jan 2026 23:43:23 +0100 Subject: [PATCH] package/perl-dbd-mysql: add missing dependencies Since commit 8708f3a23a7e28fdb04fc57406e13e6b7ff4a337 ("package/mysql: drop virtual package"), we no longer have mysql as a virtual package, and therefore perl-dbd-mysql directly selects mariadb. However, mariadb as stricter dependencies than what the mysql virtual package had, and this commit forgot to properly propagate those dependencies, causing a Config.in warning: 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 [=y] || BR2_TOOLCHAIN_HAS_SYNC_8 [=n]) && BR2_USE_WCHAR [=n] Selected by [y]: - BR2_PACKAGE_PERL_DBD_MYSQL [=y] && BR2_PACKAGE_PERL [=y] && !BR2_STATIC_LIBS [=n] && BR2_INSTALL_LIBSTDCPP [=y] && BR2_USE_MMU [=y] && BR2_TOOLCHAIN_HAS_THREADS [=y] Fixes: 8708f3a23a7e28fdb04fc57406e13e6b7ff4a337 ("package/mysql: drop virtual package") Signed-off-by: Thomas Petazzoni Signed-off-by: Julien Olivain (cherry picked from commit 64a288e33c076300bacfdf1aa3e955a7da86ad65) Signed-off-by: Thomas Perale --- package/perl-dbd-mysql/Config.in | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/package/perl-dbd-mysql/Config.in b/package/perl-dbd-mysql/Config.in index b430e44027..cd75c9d18b 100644 --- a/package/perl-dbd-mysql/Config.in +++ b/package/perl-dbd-mysql/Config.in @@ -4,6 +4,8 @@ config BR2_PACKAGE_PERL_DBD_MYSQL depends on BR2_INSTALL_LIBSTDCPP # mariadb depends on BR2_USE_MMU # 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 select BR2_PACKAGE_PERL_DBI # runtime help @@ -11,7 +13,8 @@ config BR2_PACKAGE_PERL_DBD_MYSQL http://dbi.perl.org/ -comment "perl-dbd-mysql needs a toolchain w/ dynamic library, C++, threads" +comment "perl-dbd-mysql needs a toolchain w/ dynamic library, wchar, C++, threads" depends on BR2_USE_MMU + depends on BR2_TOOLCHAIN_HAS_ATOMIC || BR2_TOOLCHAIN_HAS_SYNC_8 depends on BR2_STATIC_LIBS || !BR2_INSTALL_LIBSTDCPP || \ - !BR2_TOOLCHAIN_HAS_THREADS + !BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR