New comment by Veganizer on void-packages repository https://github.com/void-linux/void-packages/pull/30143#issuecomment-817253436 Comment: ```bash Determining if the function floor exists failed with the following output: Change Dir: /builddir/mariadb-10.5.9/build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/ninja cmTC_d867c && [1/2] Building C object CMakeFiles/cmTC_d867c.dir/CheckFunctionExists.c.o : warning: conflicting types for built-in function 'floor'; expected 'double(double)' [-Wbuiltin-declaration-mismatch] /usr/share/cmake-3.19/Modules/CheckFunctionExists.c:7:3: note: in expansion of macro 'CHECK_FUNCTION_EXISTS' 7 | CHECK_FUNCTION_EXISTS(void); | ^~~~~~~~~~~~~~~~~~~~~ /usr/share/cmake-3.19/Modules/CheckFunctionExists.c:1:1: note: 'floor' is declared in header '' +++ |+#include 1 | #ifdef CHECK_FUNCTION_EXISTS [2/2] Linking C executable cmTC_d867c FAILED: cmTC_d867c : && /builddir/.xbps-mariadb/wrappers/aarch64-linux-gnu-gcc -fstack-clash-protection -D_FORTIFY_SOURCE=2 -O2 -march=armv8-a -I/usr/aarch64-linux-gnu/usr/include -pie -fPIC -fstack-protector --param=ssp-buffer-size=4 -moutline-atomics -DCHECK_FUNCTION_EXISTS=floor -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -L/usr/aarch64-linux-gnu/usr/lib -rdynamic CMakeFiles/cmTC_d867c.dir/CheckFunctionExists.c.o -o cmTC_d867c && : /usr/lib/gcc/aarch64-linux-gnu/10.2.1/../../../../aarch64-linux-gnu/bin/ld: CMakeFiles/cmTC_d867c.dir/CheckFunctionExists.c.o: in function `main': CheckFunctionExists.c:(.text.startup+0x14): undefined reference to `floor' collect2: error: ld returned 1 exit status ninja: build stopped: subcommand failed. ``` This for example. I mean there are a lot of `subcommand failed` but is this stopping the compiler? There are some optional dependency checks too, which are resulting in errors. Full CMakeError.log is here: https://pastebin.com/bpNsufyY Following error it gots in the end: ```bash => ERROR: mariadb-10.5.9_2: do_configure: 'CFLAGS="${CFLAGS/ -pipe / }" CXXFLAGS="${CXXFLAGS/ -pipe / }" cmake ${cmake_args} ${configure_args} ${wrksrc}/${build_wrksrc}' exited with 1 => ERROR: in do_configure() at common/build-style/cmake.sh:67 ````