[debian-mysql] MariaDB cross-compilation fails on HAVE_SYSTEM_LIBFMT_EXITCODE

Otto Kekäläinen otto at debian.org
Sun May 5 20:36:43 BST 2024


Thanks all for the advice!

I did it in https://salsa.debian.org/mariadb-team/mariadb-server/-/merge_requests/73
and builds passed fully, but 3 days later on mainline branch with no
other changes all cross-builds now failing with error below. Any ideas
what is going on?

-- The C compiler identification is unknown
-- The CXX compiler identification is unknown
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - failed
-- Check for working C compiler: /usr/lib/ccache/aarch64-linux-gnu-gcc
-- Check for working C compiler: /usr/lib/ccache/aarch64-linux-gnu-gcc - broken
CMake Error at /usr/share/cmake-3.29/Modules/CMakeTestCCompiler.cmake:67
(message):
  The C compiler
    "/usr/lib/ccache/aarch64-linux-gnu-gcc"
  is not able to compile a simple test program.

Did a cross-build toolchain dependency update in the past couple of
days that could cause this? I see libc6 updated from 2.37-19 to
2.38-7, and some packages changed from 'cross' to ':amd64', e.g
libc6-dev-arm64-cross to libc6:arm64.

See https://salsa.debian.org/otto/mariadb-server/-/jobs/5666753/raw vs
https://salsa.debian.org/mariadb-team/mariadb-server/-/jobs/5684034/raw



More information about the pkg-mysql-maint mailing list