From 3a620c5359e6cfe50fd0ec472c83efc2fae88271 Mon Sep 17 00:00:00 2001 From: Fabrice Fontaine Date: Mon, 8 Apr 2024 22:20:30 +0200 Subject: [PATCH] package/mariadb: really use system fmt Commit 821f9dee8112dc02fe58d60273d0dfdabbc46d1f wrongly used WITH_FMT instead of WITH_LIBFMT resulting in the following build failure: [ 0%] Creating directories for 'libfmt' [ 0%] Performing download step (download, verify and extract) for 'libfmt' make[3]: Leaving directory '/home/buildroot/autobuild/run/instance-0/output-1/build/mariadb-10.11.6' make[3]: Leaving directory '/home/buildroot/autobuild/run/instance-0/output-1/build/mariadb-10.11.6' -- Downloading... dst='/home/buildroot/autobuild/run/instance-0/output-1/build/mariadb-10.11.6/extra/libfmt/src/8.0.1.zip' timeout='none' inactivity timeout='none' -- Using src='https://github.com/fmtlib/fmt/archive/refs/tags/8.0.1.zip' CMake Error at libfmt-stamp/download-libfmt.cmake:170 (message): Each download failed! error: downloading 'https://github.com/fmtlib/fmt/archive/refs/tags/8.0.1.zip' failed status_code: 1 status_string: "Unsupported protocol" log: --- LOG BEGIN --- Protocol "https" not supported or disabled in libcurl Closing connection --- LOG END --- Fixes: 821f9dee8112dc02fe58d60273d0dfdabbc46d1f - http://autobuild.buildroot.org/results/fbe3bc347a83a810ffbbbff93a45994963712bee Signed-off-by: Fabrice Fontaine Signed-off-by: Thomas Petazzoni (cherry picked from commit 2cf2491a23e70dd38f037726551ed6df7a9ac340) Signed-off-by: Peter Korsgaard --- package/mariadb/mariadb.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/mariadb/mariadb.mk b/package/mariadb/mariadb.mk index 8641437d4d..1dcf6568da 100644 --- a/package/mariadb/mariadb.mk +++ b/package/mariadb/mariadb.mk @@ -26,7 +26,7 @@ MARIADB_DEPENDENCIES = \ libxml2 MARIADB_CONF_OPTS += \ - -DWITH_FMT=system \ + -DWITH_LIBFMT=system \ -DWITH_PCRE=system # use bundled GPL-2.0+ licensed readline as package/readline is GPL-3.0+