Files
rpi-buildroot/package/perl-dbd-mysql/Config.in
Thomas Petazzoni 997ee1124d package/perl-dbd-mysql: add missing dependencies
Since commit 8708f3a23a ("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: 8708f3a23a ("package/mysql: drop virtual package")
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Julien Olivain <ju.o@free.fr>
(cherry picked from commit 64a288e33c076300bacfdf1aa3e955a7da86ad65)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
2026-01-09 18:23:21 +01:00

21 lines
758 B
Plaintext

config BR2_PACKAGE_PERL_DBD_MYSQL
bool "perl-dbd-mysql"
depends on !BR2_STATIC_LIBS
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
A MySQL driver for the Perl5 Database Interface (DBI).
http://dbi.perl.org/
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_USE_WCHAR