support/testing: package: mariadb: fix test configuration
PATCH 1/1 support/testing: package: mariadb: fix test configuration
The mysql virtual package was removed in commit 8708f3a23a "package/mysql: drop virtual package".
The mariadb runtime test was authored before this mysql virtual package removal, but was merged after it, in commit 5356754d1e "support/testing: add mariadb runtime test". Due to this, this test always failed with the error:
Makefile.legacy:9: *** "You have legacy configuration in your .config! Please check your configuration.". Stop.
This commit fixes the issue by removing the legacy BR2_PACKAGE_MYSQL=y configuration directive.
Fixes:
https://gitlab.com/buildroot.org/buildroot/-/jobs/7540345406
---
Note: this patch is not sufficient to run this runtime test successfully. The mariadb package has other unrelated build issues. See for example:
http://autobuild.buildroot.org/results/3106928a2d6b32acfb075a2840cf549a81784270/
--- support/testing/tests/package/test_mariadb.py | 1 - 1 file changed, 1 deletion(-)
support/testing/tests/package/test_mariadb.py +0 -1
@@ -19,7 +19,6 @@ class TestMariaDB(infra.basetest.BRTest): BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.1.78" BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/aarch64-virt/linux.config" - BR2_PACKAGE_MYSQL=y BR2_PACKAGE_MARIADB=y BR2_PACKAGE_MARIADB_SERVER=y BR2_TARGET_ROOTFS_EXT2=y
Signature · 6 lines
2.46.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Quoted 12 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Julien" == Julien Olivain <[email protected]> writes:
The mysql virtual package was removed in commit
8708f3a23a"package/mysql: drop virtual package".The mariadb runtime test was authored before this mysql virtual package removal, but was merged after it, in commit
5356754d1e"support/testing: add mariadb runtime test". Due to this, this test always failed with the error:Makefile.legacy:9: *** "You have legacy configuration in your .config! Please check your configuration.". Stop.
Quoted 7 lines
This commit fixes the issue by removing the legacy BR2_PACKAGE_MYSQL=y configuration directive.
Fixes:
https://gitlab.com/buildroot.org/buildroot/-/jobs/7540345406Signed-off-by Julien Olivain <[email protected]>
I was just about to send a similar patch to fix this - Committed, thanks.
Signature · 5 lines
Bye, Peter Korsgaard _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Quoted 12 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Julien" == Julien Olivain <[email protected]> writes:
The mysql virtual package was removed in commit
8708f3a23a"package/mysql: drop virtual package".The mariadb runtime test was authored before this mysql virtual package removal, but was merged after it, in commit
5356754d1e"support/testing: add mariadb runtime test". Due to this, this test always failed with the error:Makefile.legacy:9: *** "You have legacy configuration in your .config! Please check your configuration.". Stop.
Quoted 7 lines
This commit fixes the issue by removing the legacy BR2_PACKAGE_MYSQL=y configuration directive.
Fixes:
https://gitlab.com/buildroot.org/buildroot/-/jobs/7540345406Signed-off-by Julien Olivain <[email protected]>
Committed to 2024.02.x and 2024.05.x, thanks.
Signature · 5 lines
Bye, Peter Korsgaard _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot