[debian-mysql] MariaDB cross-compilation fails on HAVE_SYSTEM_LIBFMT_EXITCODE
Otto Kekäläinen
otto at debian.org
Tue Apr 30 21:27:38 BST 2024
Hi!
Currently MariaDB cross-compilation in both
https://crossqa.debian.net/src/mariadb and
https://salsa.debian.org/mariadb-team/mariadb-server/-/merge_requests/73
is failing on:
-- Performing Test HAVE_SYSTEM_LIBFMT
CMake Error: try_run() invoked in cross-compiling mode, please set the
following cache variables appropriately:
HAVE_SYSTEM_LIBFMT_EXITCODE (advanced)
For details see /<<PKGBUILDDIR>>/builddir/TryRunResults.cmake
-- Performing Test HAVE_SYSTEM_LIBFMT - Failed
Is anyone familiar with this, and how to properly instruct this?
Should I just set '-DHAVE_SYSTEM_LIBFMT_EXITCODE=0' as was done in
https://git.openembedded.org/meta-openembedded/commit/?id=0e18a0cea962a187cffcca248b1685924742afd4
?
The commit above has good references to related issues and upstream
commits and it has similar patch to
https://salsa.debian.org/mariadb-team/mariadb-server/-/commit/cad4f02094460d54b84de68f61ae1d879ab97222
to revert one upstream commit partially, but thought I'd ask for views
before just applying the CMake flag workaround.
- Otto
More information about the pkg-mysql-maint
mailing list