Performing C SOURCE FILE Test have_C__D_FORTIFY_SOURCE_2 failed with the following output: Change Dir: /var/tmp/portage/dev-db/mariadb-10.6.8/work/mariadb-10.6.8_build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/ninja cmTC_ae0e3 && [1/2] Building C object CMakeFiles/cmTC_ae0e3.dir/src.c.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition [2/2] Linking C executable cmTC_ae0e3 Source file was: int main(void) { return 0; } Performing C++ SOURCE FILE Test have_CXX__D_FORTIFY_SOURCE_2 failed with the following output: Change Dir: /var/tmp/portage/dev-db/mariadb-10.6.8/work/mariadb-10.6.8_build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/ninja cmTC_4ed2a && [1/2] Building CXX object CMakeFiles/cmTC_4ed2a.dir/src.cxx.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition [2/2] Linking CXX executable cmTC_4ed2a Source file was: int main(void) { return 0; } Determining if the function floor exists failed with the following output: Change Dir: /var/tmp/portage/dev-db/mariadb-10.6.8/work/mariadb-10.6.8_build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/ninja cmTC_70534 && [1/2] Building C object CMakeFiles/cmTC_70534.dir/CheckFunctionExists.c.o : warning: conflicting types for built-in function 'floor'; expected 'double(double)' [-Wbuiltin-declaration-mismatch] /usr/share/cmake/Modules/CheckFunctionExists.c:7:3: note: in expansion of macro 'CHECK_FUNCTION_EXISTS' 7 | CHECK_FUNCTION_EXISTS(void); | ^~~~~~~~~~~~~~~~~~~~~ /usr/share/cmake/Modules/CheckFunctionExists.c:1:1: note: 'floor' is declared in header '' +++ |+#include 1 | #ifdef CHECK_FUNCTION_EXISTS [2/2] Linking C executable cmTC_70534 FAILED: cmTC_70534 : && /usr/bin/x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -fno-strict-aliasing -pie -fPIC -fstack-protector --param=ssp-buffer-size=4 -DCHECK_FUNCTION_EXISTS=floor -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -rdynamic CMakeFiles/cmTC_70534.dir/CheckFunctionExists.c.o -o cmTC_70534 && : /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/cmTC_70534.dir/CheckFunctionExists.c.o: in function `main': CheckFunctionExists.c:(.text.startup+0xc): undefined reference to `floor' collect2: error: ld returned 1 exit status ninja: build stopped: subcommand failed. Determining if the function crypt exists failed with the following output: Change Dir: /var/tmp/portage/dev-db/mariadb-10.6.8/work/mariadb-10.6.8_build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/ninja cmTC_49f84 && [1/2] Building C object CMakeFiles/cmTC_49f84.dir/CheckFunctionExists.c.o [2/2] Linking C executable cmTC_49f84 FAILED: cmTC_49f84 : && /usr/bin/x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -fno-strict-aliasing -pie -fPIC -fstack-protector --param=ssp-buffer-size=4 -DCHECK_FUNCTION_EXISTS=crypt -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -rdynamic CMakeFiles/cmTC_49f84.dir/CheckFunctionExists.c.o -o cmTC_49f84 && : /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/cmTC_49f84.dir/CheckFunctionExists.c.o: in function `main': CheckFunctionExists.c:(.text.startup+0xc): undefined reference to `crypt' collect2: error: ld returned 1 exit status ninja: build stopped: subcommand failed. Determining if files ieeefp.h exist failed with the following output: Change Dir: /var/tmp/portage/dev-db/mariadb-10.6.8/work/mariadb-10.6.8_build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/ninja cmTC_b97c9 && [1/2] Building C object CMakeFiles/cmTC_b97c9.dir/HAVE_IEEEFP_H.c.o FAILED: CMakeFiles/cmTC_b97c9.dir/HAVE_IEEEFP_H.c.o /usr/bin/x86_64-pc-linux-gnu-gcc -D_GNU_SOURCE=1 -pipe -march=native -fno-diagnostics-color -O2 -fno-strict-aliasing -pie -fPIC -fstack-protector --param=ssp-buffer-size=4 -o CMakeFiles/cmTC_b97c9.dir/HAVE_IEEEFP_H.c.o -c /var/tmp/portage/dev-db/mariadb-10.6.8/work/mariadb-10.6.8_build/CMakeFiles/CheckIncludeFiles/HAVE_IEEEFP_H.c /var/tmp/portage/dev-db/mariadb-10.6.8/work/mariadb-10.6.8_build/CMakeFiles/CheckIncludeFiles/HAVE_IEEEFP_H.c:2:10: fatal error: ieeefp.h: No such file or directory 2 | #include | ^~~~~~~~~~ compilation terminated. ninja: build stopped: subcommand failed. Source: /* */ #include int main(void){return 0;} Determining if files ndir.h exist failed with the following output: Change Dir: /var/tmp/portage/dev-db/mariadb-10.6.8/work/mariadb-10.6.8_build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/ninja cmTC_2c93b && [1/2] Building C object CMakeFiles/cmTC_2c93b.dir/HAVE_NDIR_H.c.o FAILED: CMakeFiles/cmTC_2c93b.dir/HAVE_NDIR_H.c.o /usr/bin/x86_64-pc-linux-gnu-gcc -D_GNU_SOURCE=1 -pipe -march=native -fno-diagnostics-color -O2 -fno-strict-aliasing -pie -fPIC -fstack-protector --param=ssp-buffer-size=4 -o CMakeFiles/cmTC_2c93b.dir/HAVE_NDIR_H.c.o -c /var/tmp/portage/dev-db/mariadb-10.6.8/work/mariadb-10.6.8_build/CMakeFiles/CheckIncludeFiles/HAVE_NDIR_H.c /var/tmp/portage/dev-db/mariadb-10.6.8/work/mariadb-10.6.8_build/CMakeFiles/CheckIncludeFiles/HAVE_NDIR_H.c:2:10: fatal error: ndir.h: No such file or directory 2 | #include | ^~~~~~~~ compilation terminated. ninja: build stopped: subcommand failed. Source: /* */ #include int main(void){return 0;} Determining if files select.h exist failed with the following output: Change Dir: /var/tmp/portage/dev-db/mariadb-10.6.8/work/mariadb-10.6.8_build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/ninja cmTC_e122b && [1/2] Building C object CMakeFiles/cmTC_e122b.dir/HAVE_SELECT_H.c.o FAILED: CMakeFiles/cmTC_e122b.dir/HAVE_SELECT_H.c.o /usr/bin/x86_64-pc-linux-gnu-gcc -D_GNU_SOURCE=1 -pipe -march=native -fno-diagnostics-color -O2 -fno-strict-aliasing -pie -fPIC -fstack-protector --param=ssp-buffer-size=4 -o CMakeFiles/cmTC_e122b.dir/HAVE_SELECT_H.c.o -c /var/tmp/portage/dev-db/mariadb-10.6.8/work/mariadb-10.6.8_build/CMakeFiles/CheckIncludeFiles/HAVE_SELECT_H.c /var/tmp/portage/dev-db/mariadb-10.6.8/work/mariadb-10.6.8_build/CMakeFiles/CheckIncludeFiles/HAVE_SELECT_H.c:2:10: fatal error: select.h: No such file or directory 2 | #include | ^~~~~~~~~~ compilation terminated. ninja: build stopped: subcommand failed. Source: /* */ #include int main(void){return 0;} Determining if files sys/types.h;sys/event.h exist failed with the following output: Change Dir: /var/tmp/portage/dev-db/mariadb-10.6.8/work/mariadb-10.6.8_build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/ninja cmTC_2c2a1 && [1/2] Building C object CMakeFiles/cmTC_2c2a1.dir/HAVE_SYS_EVENT_H.c.o FAILED: CMakeFiles/cmTC_2c2a1.dir/HAVE_SYS_EVENT_H.c.o /usr/bin/x86_64-pc-linux-gnu-gcc -D_GNU_SOURCE=1 -pipe -march=native -fno-diagnostics-color -O2 -fno-strict-aliasing -pie -fPIC -fstack-protector --param=ssp-buffer-size=4 -o CMakeFiles/cmTC_2c2a1.dir/HAVE_SYS_EVENT_H.c.o -c /var/tmp/portage/dev-db/mariadb-10.6.8/work/mariadb-10.6.8_build/CMakeFiles/CheckIncludeFiles/HAVE_SYS_EVENT_H.c /var/tmp/portage/dev-db/mariadb-10.6.8/work/mariadb-10.6.8_build/CMakeFiles/CheckIncludeFiles/HAVE_SYS_EVENT_H.c:3:10: fatal error: sys/event.h: No such file or directory 3 | #include | ^~~~~~~~~~~~~ compilation terminated. ninja: build stopped: subcommand failed. Source: /* */ #include #include int main(void){return 0;} Determining if files sys/ndir.h exist failed with the following output: Change Dir: /var/tmp/portage/dev-db/mariadb-10.6.8/work/mariadb-10.6.8_build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/ninja cmTC_5ff8c && [1/2] Building C object CMakeFiles/cmTC_5ff8c.dir/HAVE_SYS_NDIR_H.c.o FAILED: CMakeFiles/cmTC_5ff8c.dir/HAVE_SYS_NDIR_H.c.o /usr/bin/x86_64-pc-linux-gnu-gcc -D_GNU_SOURCE=1 -pipe -march=native -fno-diagnostics-color -O2 -fno-strict-aliasing -pie -fPIC -fstack-protector --param=ssp-buffer-size=4 -o CMakeFiles/cmTC_5ff8c.dir/HAVE_SYS_NDIR_H.c.o -c /var/tmp/portage/dev-db/mariadb-10.6.8/work/mariadb-10.6.8_build/CMakeFiles/CheckIncludeFiles/HAVE_SYS_NDIR_H.c /var/tmp/portage/dev-db/mariadb-10.6.8/work/mariadb-10.6.8_build/CMakeFiles/CheckIncludeFiles/HAVE_SYS_NDIR_H.c:2:10: fatal error: sys/ndir.h: No such file or directory 2 | #include | ^~~~~~~~~~~~ compilation terminated. ninja: build stopped: subcommand failed. Source: /* */ #include int main(void){return 0;} Determining if files sys/pte.h exist failed with the following output: Change Dir: /var/tmp/portage/dev-db/mariadb-10.6.8/work/mariadb-10.6.8_build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/ninja cmTC_71680 && [1/2] Building C object CMakeFiles/cmTC_71680.dir/HAVE_SYS_PTE_H.c.o FAILED: CMakeFiles/cmTC_71680.dir/HAVE_SYS_PTE_H.c.o /usr/bin/x86_64-pc-linux-gnu-gcc -D_GNU_SOURCE=1 -pipe -march=native -fno-diagnostics-color -O2 -fno-strict-aliasing -pie -fPIC -fstack-protector --param=ssp-buffer-size=4 -o CMakeFiles/cmTC_71680.dir/HAVE_SYS_PTE_H.c.o -c /var/tmp/portage/dev-db/mariadb-10.6.8/work/mariadb-10.6.8_build/CMakeFiles/CheckIncludeFiles/HAVE_SYS_PTE_H.c /var/tmp/portage/dev-db/mariadb-10.6.8/work/mariadb-10.6.8_build/CMakeFiles/CheckIncludeFiles/HAVE_SYS_PTE_H.c:2:10: fatal error: sys/pte.h: No such file or directory 2 | #include | ^~~~~~~~~~~ compilation terminated. ninja: build stopped: subcommand failed. Source: /* */ #include int main(void){return 0;} Determining if files synch.h exist failed with the following output: Change Dir: /var/tmp/portage/dev-db/mariadb-10.6.8/work/mariadb-10.6.8_build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/ninja cmTC_9ff83 && [1/2] Building C object CMakeFiles/cmTC_9ff83.dir/HAVE_SYNCH_H.c.o FAILED: CMakeFiles/cmTC_9ff83.dir/HAVE_SYNCH_H.c.o /usr/bin/x86_64-pc-linux-gnu-gcc -D_GNU_SOURCE=1 -pipe -march=native -fno-diagnostics-color -O2 -fno-strict-aliasing -pie -fPIC -fstack-protector --param=ssp-buffer-size=4 -o CMakeFiles/cmTC_9ff83.dir/HAVE_SYNCH_H.c.o -c /var/tmp/portage/dev-db/mariadb-10.6.8/work/mariadb-10.6.8_build/CMakeFiles/CheckIncludeFiles/HAVE_SYNCH_H.c /var/tmp/portage/dev-db/mariadb-10.6.8/work/mariadb-10.6.8_build/CMakeFiles/CheckIncludeFiles/HAVE_SYNCH_H.c:2:10: fatal error: synch.h: No such file or directory 2 | #include | ^~~~~~~~~ compilation terminated. ninja: build stopped: subcommand failed. Source: /* */ #include int main(void){return 0;} Determining if files sysent.h exist failed with the following output: Change Dir: /var/tmp/portage/dev-db/mariadb-10.6.8/work/mariadb-10.6.8_build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/ninja cmTC_2521f && [1/2] Building C object CMakeFiles/cmTC_2521f.dir/HAVE_SYSENT_H.c.o FAILED: CMakeFiles/cmTC_2521f.dir/HAVE_SYSENT_H.c.o /usr/bin/x86_64-pc-linux-gnu-gcc -D_GNU_SOURCE=1 -pipe -march=native -fno-diagnostics-color -O2 -fno-strict-aliasing -pie -fPIC -fstack-protector --param=ssp-buffer-size=4 -o CMakeFiles/cmTC_2521f.dir/HAVE_SYSENT_H.c.o -c /var/tmp/portage/dev-db/mariadb-10.6.8/work/mariadb-10.6.8_build/CMakeFiles/CheckIncludeFiles/HAVE_SYSENT_H.c /var/tmp/portage/dev-db/mariadb-10.6.8/work/mariadb-10.6.8_build/CMakeFiles/CheckIncludeFiles/HAVE_SYSENT_H.c:2:10: fatal error: sysent.h: No such file or directory 2 | #include | ^~~~~~~~~~ compilation terminated. ninja: build stopped: subcommand failed. Source: /* */ #include int main(void){return 0;} Determining if files sys/fpu.h exist failed with the following output: Change Dir: /var/tmp/portage/dev-db/mariadb-10.6.8/work/mariadb-10.6.8_build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/ninja cmTC_9637d && [1/2] Building C object CMakeFiles/cmTC_9637d.dir/HAVE_SYS_FPU_H.c.o FAILED: CMakeFiles/cmTC_9637d.dir/HAVE_SYS_FPU_H.c.o /usr/bin/x86_64-pc-linux-gnu-gcc -D_GNU_SOURCE=1 -pipe -march=native -fno-diagnostics-color -O2 -fno-strict-aliasing -pie -fPIC -fstack-protector --param=ssp-buffer-size=4 -o CMakeFiles/cmTC_9637d.dir/HAVE_SYS_FPU_H.c.o -c /var/tmp/portage/dev-db/mariadb-10.6.8/work/mariadb-10.6.8_build/CMakeFiles/CheckIncludeFiles/HAVE_SYS_FPU_H.c /var/tmp/portage/dev-db/mariadb-10.6.8/work/mariadb-10.6.8_build/CMakeFiles/CheckIncludeFiles/HAVE_SYS_FPU_H.c:2:10: fatal error: sys/fpu.h: No such file or directory 2 | #include | ^~~~~~~~~~~ compilation terminated. ninja: build stopped: subcommand failed. Source: /* */ #include int main(void){return 0;} Determining if files sys/types.h;sys/malloc.h exist failed with the following output: Change Dir: /var/tmp/portage/dev-db/mariadb-10.6.8/work/mariadb-10.6.8_build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/ninja cmTC_5a612 && [1/2] Building C object CMakeFiles/cmTC_5a612.dir/HAVE_SYS_MALLOC_H.c.o FAILED: CMakeFiles/cmTC_5a612.dir/HAVE_SYS_MALLOC_H.c.o /usr/bin/x86_64-pc-linux-gnu-gcc -D_GNU_SOURCE=1 -pipe -march=native -fno-diagnostics-color -O2 -fno-strict-aliasing -pie -fPIC -fstack-protector --param=ssp-buffer-size=4 -o CMakeFiles/cmTC_5a612.dir/HAVE_SYS_MALLOC_H.c.o -c /var/tmp/portage/dev-db/mariadb-10.6.8/work/mariadb-10.6.8_build/CMakeFiles/CheckIncludeFiles/HAVE_SYS_MALLOC_H.c /var/tmp/portage/dev-db/mariadb-10.6.8/work/mariadb-10.6.8_build/CMakeFiles/CheckIncludeFiles/HAVE_SYS_MALLOC_H.c:3:10: fatal error: sys/malloc.h: No such file or directory 3 | #include | ^~~~~~~~~~~~~~ compilation terminated. ninja: build stopped: subcommand failed. Source: /* */ #include #include int main(void){return 0;} Determining if files sys/stream.h exist failed with the following output: Change Dir: /var/tmp/portage/dev-db/mariadb-10.6.8/work/mariadb-10.6.8_build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/ninja cmTC_a3197 && [1/2] Building C object CMakeFiles/cmTC_a3197.dir/HAVE_SYS_STREAM_H.c.o FAILED: CMakeFiles/cmTC_a3197.dir/HAVE_SYS_STREAM_H.c.o /usr/bin/x86_64-pc-linux-gnu-gcc -D_GNU_SOURCE=1 -pipe -march=native -fno-diagnostics-color -O2 -fno-strict-aliasing -pie -fPIC -fstack-protector --param=ssp-buffer-size=4 -o CMakeFiles/cmTC_a3197.dir/HAVE_SYS_STREAM_H.c.o -c /var/tmp/portage/dev-db/mariadb-10.6.8/work/mariadb-10.6.8_build/CMakeFiles/CheckIncludeFiles/HAVE_SYS_STREAM_H.c /var/tmp/portage/dev-db/mariadb-10.6.8/work/mariadb-10.6.8_build/CMakeFiles/CheckIncludeFiles/HAVE_SYS_STREAM_H.c:2:10: fatal error: sys/stream.h: No such file or directory 2 | #include | ^~~~~~~~~~~~~~ compilation terminated. ninja: build stopped: subcommand failed. Source: /* */ #include int main(void){return 0;} Determining if files termbits.h exist failed with the following output: Change Dir: /var/tmp/portage/dev-db/mariadb-10.6.8/work/mariadb-10.6.8_build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/ninja cmTC_74748 && [1/2] Building C object CMakeFiles/cmTC_74748.dir/HAVE_TERMBITS_H.c.o FAILED: CMakeFiles/cmTC_74748.dir/HAVE_TERMBITS_H.c.o /usr/bin/x86_64-pc-linux-gnu-gcc -D_GNU_SOURCE=1 -pipe -march=native -fno-diagnostics-color -O2 -fno-strict-aliasing -pie -fPIC -fstack-protector --param=ssp-buffer-size=4 -o CMakeFiles/cmTC_74748.dir/HAVE_TERMBITS_H.c.o -c /var/tmp/portage/dev-db/mariadb-10.6.8/work/mariadb-10.6.8_build/CMakeFiles/CheckIncludeFiles/HAVE_TERMBITS_H.c /var/tmp/portage/dev-db/mariadb-10.6.8/work/mariadb-10.6.8_build/CMakeFiles/CheckIncludeFiles/HAVE_TERMBITS_H.c:2:10: fatal error: termbits.h: No such file or directory 2 | #include | ^~~~~~~~~~~~ compilation terminated. ninja: build stopped: subcommand failed. Source: /* */ #include int main(void){return 0;} Determining if files varargs.h exist failed with the following output: Change Dir: /var/tmp/portage/dev-db/mariadb-10.6.8/work/mariadb-10.6.8_build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/ninja cmTC_e541a && [1/2] Building C object CMakeFiles/cmTC_e541a.dir/HAVE_VARARGS_H.c.o FAILED: CMakeFiles/cmTC_e541a.dir/HAVE_VARARGS_H.c.o /usr/bin/x86_64-pc-linux-gnu-gcc -D_GNU_SOURCE=1 -pipe -march=native -fno-diagnostics-color -O2 -fno-strict-aliasing -pie -fPIC -fstack-protector --param=ssp-buffer-size=4 -o CMakeFiles/cmTC_e541a.dir/HAVE_VARARGS_H.c.o -c /var/tmp/portage/dev-db/mariadb-10.6.8/work/mariadb-10.6.8_build/CMakeFiles/CheckIncludeFiles/HAVE_VARARGS_H.c In file included from /var/tmp/portage/dev-db/mariadb-10.6.8/work/mariadb-10.6.8_build/CMakeFiles/CheckIncludeFiles/HAVE_VARARGS_H.c:2: /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/include/varargs.h:4:2: error: #error "GCC no longer implements ." 4 | #error "GCC no longer implements ." | ^~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/include/varargs.h:5:2: error: #error "Revise your code to use ." 5 | #error "Revise your code to use ." | ^~~~~ ninja: build stopped: subcommand failed. Source: /* */ #include int main(void){return 0;} Determining if files sys/utime.h exist failed with the following output: Change Dir: /var/tmp/portage/dev-db/mariadb-10.6.8/work/mariadb-10.6.8_build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/ninja cmTC_6ddd7 && [1/2] Building C object CMakeFiles/cmTC_6ddd7.dir/HAVE_SYS_UTIME_H.c.o FAILED: CMakeFiles/cmTC_6ddd7.dir/HAVE_SYS_UTIME_H.c.o /usr/bin/x86_64-pc-linux-gnu-gcc -D_GNU_SOURCE=1 -pipe -march=native -fno-diagnostics-color -O2 -fno-strict-aliasing -pie -fPIC -fstack-protector --param=ssp-buffer-size=4 -o CMakeFiles/cmTC_6ddd7.dir/HAVE_SYS_UTIME_H.c.o -c /var/tmp/portage/dev-db/mariadb-10.6.8/work/mariadb-10.6.8_build/CMakeFiles/CheckIncludeFiles/HAVE_SYS_UTIME_H.c /var/tmp/portage/dev-db/mariadb-10.6.8/work/mariadb-10.6.8_build/CMakeFiles/CheckIncludeFiles/HAVE_SYS_UTIME_H.c:2:10: fatal error: sys/utime.h: No such file or directory 2 | #include | ^~~~~~~~~~~~~ compilation terminated. ninja: build stopped: subcommand failed. Source: /* */ #include int main(void){return 0;} Determining if files sys/vadvise.h exist failed with the following output: Change Dir: /var/tmp/portage/dev-db/mariadb-10.6.8/work/mariadb-10.6.8_build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/ninja cmTC_74f23 && [1/2] Building C object CMakeFiles/cmTC_74f23.dir/HAVE_SYS_VADVISE_H.c.o FAILED: CMakeFiles/cmTC_74f23.dir/HAVE_SYS_VADVISE_H.c.o /usr/bin/x86_64-pc-linux-gnu-gcc -D_GNU_SOURCE=1 -pipe -march=native -fno-diagnostics-color -O2 -fno-strict-aliasing -pie -fPIC -fstack-protector --param=ssp-buffer-size=4 -o CMakeFiles/cmTC_74f23.dir/HAVE_SYS_VADVISE_H.c.o -c /var/tmp/portage/dev-db/mariadb-10.6.8/work/mariadb-10.6.8_build/CMakeFiles/CheckIncludeFiles/HAVE_SYS_VADVISE_H.c /var/tmp/portage/dev-db/mariadb-10.6.8/work/mariadb-10.6.8_build/CMakeFiles/CheckIncludeFiles/HAVE_SYS_VADVISE_H.c:2:10: fatal error: sys/vadvise.h: No such file or directory 2 | #include | ^~~~~~~~~~~~~~~ compilation terminated. ninja: build stopped: subcommand failed. Source: /* */ #include int main(void){return 0;} Determining if files sys/sockio.h exist failed with the following output: Change Dir: /var/tmp/portage/dev-db/mariadb-10.6.8/work/mariadb-10.6.8_build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/ninja cmTC_58a29 && [1/2] Building C object CMakeFiles/cmTC_58a29.dir/HAVE_SYS_SOCKIO_H.c.o FAILED: CMakeFiles/cmTC_58a29.dir/HAVE_SYS_SOCKIO_H.c.o /usr/bin/x86_64-pc-linux-gnu-gcc -D_GNU_SOURCE=1 -pipe -march=native -fno-diagnostics-color -O2 -fno-strict-aliasing -pie -fPIC -fstack-protector --param=ssp-buffer-size=4 -o CMakeFiles/cmTC_58a29.dir/HAVE_SYS_SOCKIO_H.c.o -c /var/tmp/portage/dev-db/mariadb-10.6.8/work/mariadb-10.6.8_build/CMakeFiles/CheckIncludeFiles/HAVE_SYS_SOCKIO_H.c /var/tmp/portage/dev-db/mariadb-10.6.8/work/mariadb-10.6.8_build/CMakeFiles/CheckIncludeFiles/HAVE_SYS_SOCKIO_H.c:2:10: fatal error: sys/sockio.h: No such file or directory 2 | #include | ^~~~~~~~~~~~~~ compilation terminated. ninja: build stopped: subcommand failed. Source: /* */ #include int main(void){return 0;} Determining if files sys/ptem.h exist failed with the following output: Change Dir: /var/tmp/portage/dev-db/mariadb-10.6.8/work/mariadb-10.6.8_build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/ninja cmTC_6a6f3 && [1/2] Building C object CMakeFiles/cmTC_6a6f3.dir/HAVE_SYS_PTEM_H.c.o FAILED: CMakeFiles/cmTC_6a6f3.dir/HAVE_SYS_PTEM_H.c.o /usr/bin/x86_64-pc-linux-gnu-gcc -DPACKAGE=test -D_GNU_SOURCE=1 -pipe -march=native -fno-diagnostics-color -O2 -fno-strict-aliasing -pie -fPIC -fstack-protector --param=ssp-buffer-size=4 -o CMakeFiles/cmTC_6a6f3.dir/HAVE_SYS_PTEM_H.c.o -c /var/tmp/portage/dev-db/mariadb-10.6.8/work/mariadb-10.6.8_build/CMakeFiles/CheckIncludeFiles/HAVE_SYS_PTEM_H.c /var/tmp/portage/dev-db/mariadb-10.6.8/work/mariadb-10.6.8_build/CMakeFiles/CheckIncludeFiles/HAVE_SYS_PTEM_H.c:2:10: fatal error: sys/ptem.h: No such file or directory 2 | #include | ^~~~~~~~~~~~ compilation terminated. ninja: build stopped: subcommand failed. Source: /* */ #include int main(void){return 0;} Determining if the function printstack exists failed with the following output: Change Dir: /var/tmp/portage/dev-db/mariadb-10.6.8/work/mariadb-10.6.8_build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/ninja cmTC_558b4 && [1/2] Building C object CMakeFiles/cmTC_558b4.dir/CheckFunctionExists.c.o [2/2] Linking C executable cmTC_558b4 FAILED: cmTC_558b4 : && /usr/bin/x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -fno-strict-aliasing -pie -fPIC -fstack-protector --param=ssp-buffer-size=4 -DCHECK_FUNCTION_EXISTS=printstack -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -rdynamic CMakeFiles/cmTC_558b4.dir/CheckFunctionExists.c.o -o cmTC_558b4 -lm -lcrypt -ldl && : /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/cmTC_558b4.dir/CheckFunctionExists.c.o: in function `main': CheckFunctionExists.c:(.text.startup+0xc): undefined reference to `printstack' collect2: error: ld returned 1 exit status ninja: build stopped: subcommand failed. Determining if the function bfill exists failed with the following output: Change Dir: /var/tmp/portage/dev-db/mariadb-10.6.8/work/mariadb-10.6.8_build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/ninja cmTC_ebda4 && [1/2] Building C object CMakeFiles/cmTC_ebda4.dir/CheckFunctionExists.c.o [2/2] Linking C executable cmTC_ebda4 FAILED: cmTC_ebda4 : && /usr/bin/x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -fno-strict-aliasing -pie -fPIC -fstack-protector --param=ssp-buffer-size=4 -DCHECK_FUNCTION_EXISTS=bfill -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -rdynamic CMakeFiles/cmTC_ebda4.dir/CheckFunctionExists.c.o -o cmTC_ebda4 -lm -lcrypt -ldl && : /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/cmTC_ebda4.dir/CheckFunctionExists.c.o: in function `main': CheckFunctionExists.c:(.text.startup+0xc): undefined reference to `bfill' collect2: error: ld returned 1 exit status ninja: build stopped: subcommand failed. Determining if the function compress exists failed with the following output: Change Dir: /var/tmp/portage/dev-db/mariadb-10.6.8/work/mariadb-10.6.8_build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/ninja cmTC_41a92 && [1/2] Building C object CMakeFiles/cmTC_41a92.dir/CheckFunctionExists.c.o [2/2] Linking C executable cmTC_41a92 FAILED: cmTC_41a92 : && /usr/bin/x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -fno-strict-aliasing -pie -fPIC -fstack-protector --param=ssp-buffer-size=4 -DCHECK_FUNCTION_EXISTS=compress -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -rdynamic CMakeFiles/cmTC_41a92.dir/CheckFunctionExists.c.o -o cmTC_41a92 -lm -lcrypt -ldl && : /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/cmTC_41a92.dir/CheckFunctionExists.c.o: in function `main': CheckFunctionExists.c:(.text.startup+0xc): undefined reference to `compress' collect2: error: ld returned 1 exit status ninja: build stopped: subcommand failed. Determining if the function gethrtime exists failed with the following output: Change Dir: /var/tmp/portage/dev-db/mariadb-10.6.8/work/mariadb-10.6.8_build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/ninja cmTC_ddbd1 && [1/2] Building C object CMakeFiles/cmTC_ddbd1.dir/CheckFunctionExists.c.o [2/2] Linking C executable cmTC_ddbd1 FAILED: cmTC_ddbd1 : && /usr/bin/x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -fno-strict-aliasing -pie -fPIC -fstack-protector --param=ssp-buffer-size=4 -DCHECK_FUNCTION_EXISTS=gethrtime -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -rdynamic CMakeFiles/cmTC_ddbd1.dir/CheckFunctionExists.c.o -o cmTC_ddbd1 -lm -lcrypt -ldl && : /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/cmTC_ddbd1.dir/CheckFunctionExists.c.o: in function `main': CheckFunctionExists.c:(.text.startup+0xc): undefined reference to `gethrtime' collect2: error: ld returned 1 exit status ninja: build stopped: subcommand failed. Determining if the function getpassphrase exists failed with the following output: Change Dir: /var/tmp/portage/dev-db/mariadb-10.6.8/work/mariadb-10.6.8_build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/ninja cmTC_af561 && [1/2] Building C object CMakeFiles/cmTC_af561.dir/CheckFunctionExists.c.o [2/2] Linking C executable cmTC_af561 FAILED: cmTC_af561 : && /usr/bin/x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -fno-strict-aliasing -pie -fPIC -fstack-protector --param=ssp-buffer-size=4 -DCHECK_FUNCTION_EXISTS=getpassphrase -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -rdynamic CMakeFiles/cmTC_af561.dir/CheckFunctionExists.c.o -o cmTC_af561 -lm -lcrypt -ldl && : /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/cmTC_af561.dir/CheckFunctionExists.c.o: in function `main': CheckFunctionExists.c:(.text.startup+0xc): undefined reference to `getpassphrase' collect2: error: ld returned 1 exit status ninja: build stopped: subcommand failed. Determining if the function malloc_zone_statistics exists failed with the following output: Change Dir: /var/tmp/portage/dev-db/mariadb-10.6.8/work/mariadb-10.6.8_build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/ninja cmTC_8c04e && [1/2] Building C object CMakeFiles/cmTC_8c04e.dir/CheckFunctionExists.c.o [2/2] Linking C executable cmTC_8c04e FAILED: cmTC_8c04e : && /usr/bin/x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -fno-strict-aliasing -pie -fPIC -fstack-protector --param=ssp-buffer-size=4 -DCHECK_FUNCTION_EXISTS=malloc_zone_statistics -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -rdynamic CMakeFiles/cmTC_8c04e.dir/CheckFunctionExists.c.o -o cmTC_8c04e -lm -lcrypt -ldl && : /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/cmTC_8c04e.dir/CheckFunctionExists.c.o: in function `main': CheckFunctionExists.c:(.text.startup+0xc): undefined reference to `malloc_zone_statistics' collect2: error: ld returned 1 exit status ninja: build stopped: subcommand failed. Determining if the function pthread_attr_create exists failed with the following output: Change Dir: /var/tmp/portage/dev-db/mariadb-10.6.8/work/mariadb-10.6.8_build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/ninja cmTC_64ade && [1/2] Building C object CMakeFiles/cmTC_64ade.dir/CheckFunctionExists.c.o [2/2] Linking C executable cmTC_64ade FAILED: cmTC_64ade : && /usr/bin/x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -fno-strict-aliasing -pie -fPIC -fstack-protector --param=ssp-buffer-size=4 -DCHECK_FUNCTION_EXISTS=pthread_attr_create -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -rdynamic CMakeFiles/cmTC_64ade.dir/CheckFunctionExists.c.o -o cmTC_64ade -lm -lcrypt -ldl && : /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/cmTC_64ade.dir/CheckFunctionExists.c.o: in function `main': CheckFunctionExists.c:(.text.startup+0xc): undefined reference to `pthread_attr_create' collect2: error: ld returned 1 exit status ninja: build stopped: subcommand failed. Determining if the function pthread_condattr_create exists failed with the following output: Change Dir: /var/tmp/portage/dev-db/mariadb-10.6.8/work/mariadb-10.6.8_build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/ninja cmTC_6a6f5 && [1/2] Building C object CMakeFiles/cmTC_6a6f5.dir/CheckFunctionExists.c.o [2/2] Linking C executable cmTC_6a6f5 FAILED: cmTC_6a6f5 : && /usr/bin/x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -fno-strict-aliasing -pie -fPIC -fstack-protector --param=ssp-buffer-size=4 -DCHECK_FUNCTION_EXISTS=pthread_condattr_create -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -rdynamic CMakeFiles/cmTC_6a6f5.dir/CheckFunctionExists.c.o -o cmTC_6a6f5 -lm -lcrypt -ldl && : /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/cmTC_6a6f5.dir/CheckFunctionExists.c.o: in function `main': CheckFunctionExists.c:(.text.startup+0xc): undefined reference to `pthread_condattr_create' collect2: error: ld returned 1 exit status ninja: build stopped: subcommand failed. Determining if the function pthread_yield_np exists failed with the following output: Change Dir: /var/tmp/portage/dev-db/mariadb-10.6.8/work/mariadb-10.6.8_build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/ninja cmTC_29da6 && [1/2] Building C object CMakeFiles/cmTC_29da6.dir/CheckFunctionExists.c.o [2/2] Linking C executable cmTC_29da6 FAILED: cmTC_29da6 : && /usr/bin/x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -fno-strict-aliasing -pie -fPIC -fstack-protector --param=ssp-buffer-size=4 -DCHECK_FUNCTION_EXISTS=pthread_yield_np -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -rdynamic CMakeFiles/cmTC_29da6.dir/CheckFunctionExists.c.o -o cmTC_29da6 -lm -lcrypt -ldl && : /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/cmTC_29da6.dir/CheckFunctionExists.c.o: in function `main': CheckFunctionExists.c:(.text.startup+0xc): undefined reference to `pthread_yield_np' collect2: error: ld returned 1 exit status ninja: build stopped: subcommand failed. Determining if the function rwlock_init exists failed with the following output: Change Dir: /var/tmp/portage/dev-db/mariadb-10.6.8/work/mariadb-10.6.8_build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/ninja cmTC_08397 && [1/2] Building C object CMakeFiles/cmTC_08397.dir/CheckFunctionExists.c.o [2/2] Linking C executable cmTC_08397 FAILED: cmTC_08397 : && /usr/bin/x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -fno-strict-aliasing -pie -fPIC -fstack-protector --param=ssp-buffer-size=4 -DCHECK_FUNCTION_EXISTS=rwlock_init -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -rdynamic CMakeFiles/cmTC_08397.dir/CheckFunctionExists.c.o -o cmTC_08397 -lm -lcrypt -ldl && : /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/cmTC_08397.dir/CheckFunctionExists.c.o: in function `main': CheckFunctionExists.c:(.text.startup+0xc): undefined reference to `rwlock_init' collect2: error: ld returned 1 exit status ninja: build stopped: subcommand failed. Determining if the function sigthreadmask exists failed with the following output: Change Dir: /var/tmp/portage/dev-db/mariadb-10.6.8/work/mariadb-10.6.8_build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/ninja cmTC_24af4 && [1/2] Building C object CMakeFiles/cmTC_24af4.dir/CheckFunctionExists.c.o [2/2] Linking C executable cmTC_24af4 FAILED: cmTC_24af4 : && /usr/bin/x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -fno-strict-aliasing -pie -fPIC -fstack-protector --param=ssp-buffer-size=4 -DCHECK_FUNCTION_EXISTS=sigthreadmask -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -rdynamic CMakeFiles/cmTC_24af4.dir/CheckFunctionExists.c.o -o cmTC_24af4 -lm -lcrypt -ldl && : /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/cmTC_24af4.dir/CheckFunctionExists.c.o: in function `main': CheckFunctionExists.c:(.text.startup+0xc): undefined reference to `sigthreadmask' collect2: error: ld returned 1 exit status ninja: build stopped: subcommand failed. Determining if the function tell exists failed with the following output: Change Dir: /var/tmp/portage/dev-db/mariadb-10.6.8/work/mariadb-10.6.8_build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/ninja cmTC_fe469 && [1/2] Building C object CMakeFiles/cmTC_fe469.dir/CheckFunctionExists.c.o [2/2] Linking C executable cmTC_fe469 FAILED: cmTC_fe469 : && /usr/bin/x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -fno-strict-aliasing -pie -fPIC -fstack-protector --param=ssp-buffer-size=4 -DCHECK_FUNCTION_EXISTS=tell -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -rdynamic CMakeFiles/cmTC_fe469.dir/CheckFunctionExists.c.o -o cmTC_fe469 -lm -lcrypt -ldl && : /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/cmTC_fe469.dir/CheckFunctionExists.c.o: in function `main': CheckFunctionExists.c:(.text.startup+0xc): undefined reference to `tell' collect2: error: ld returned 1 exit status ninja: build stopped: subcommand failed. Determining if the function thr_setconcurrency exists failed with the following output: Change Dir: /var/tmp/portage/dev-db/mariadb-10.6.8/work/mariadb-10.6.8_build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/ninja cmTC_142fb && [1/2] Building C object CMakeFiles/cmTC_142fb.dir/CheckFunctionExists.c.o [2/2] Linking C executable cmTC_142fb FAILED: cmTC_142fb : && /usr/bin/x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -fno-strict-aliasing -pie -fPIC -fstack-protector --param=ssp-buffer-size=4 -DCHECK_FUNCTION_EXISTS=thr_setconcurrency -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -rdynamic CMakeFiles/cmTC_142fb.dir/CheckFunctionExists.c.o -o cmTC_142fb -lm -lcrypt -ldl && : /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/cmTC_142fb.dir/CheckFunctionExists.c.o: in function `main': CheckFunctionExists.c:(.text.startup+0xc): undefined reference to `thr_setconcurrency' collect2: error: ld returned 1 exit status ninja: build stopped: subcommand failed. Determining if the function thr_yield exists failed with the following output: Change Dir: /var/tmp/portage/dev-db/mariadb-10.6.8/work/mariadb-10.6.8_build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/ninja cmTC_33314 && [1/2] Building C object CMakeFiles/cmTC_33314.dir/CheckFunctionExists.c.o [2/2] Linking C executable cmTC_33314 FAILED: cmTC_33314 : && /usr/bin/x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -fno-strict-aliasing -pie -fPIC -fstack-protector --param=ssp-buffer-size=4 -DCHECK_FUNCTION_EXISTS=thr_yield -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -rdynamic CMakeFiles/cmTC_33314.dir/CheckFunctionExists.c.o -o cmTC_33314 -lm -lcrypt -ldl && : /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/cmTC_33314.dir/CheckFunctionExists.c.o: in function `main': CheckFunctionExists.c:(.text.startup+0xc): undefined reference to `thr_yield' collect2: error: ld returned 1 exit status ninja: build stopped: subcommand failed. Performing C++ SOURCE FILE Test HAVE_READDIR_R failed with the following output: Change Dir: /var/tmp/portage/dev-db/mariadb-10.6.8/work/mariadb-10.6.8_build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/ninja cmTC_f81fb && [1/2] Building CXX object CMakeFiles/cmTC_f81fb.dir/src.cxx.o FAILED: CMakeFiles/cmTC_f81fb.dir/src.cxx.o /usr/bin/x86_64-pc-linux-gnu-g++ -DHAVE_READDIR_R -DPACKAGE=test -D_GNU_SOURCE=1 -pipe -march=native -fno-diagnostics-color -O2 -felide-constructors -fno-strict-aliasing -pie -fPIC -fstack-protector --param=ssp-buffer-size=4 -Werror -o CMakeFiles/cmTC_f81fb.dir/src.cxx.o -c /var/tmp/portage/dev-db/mariadb-10.6.8/work/mariadb-10.6.8_build/CMakeFiles/CMakeTmp/src.cxx /var/tmp/portage/dev-db/mariadb-10.6.8/work/mariadb-10.6.8_build/CMakeFiles/CMakeTmp/src.cxx: In function 'int main()': /var/tmp/portage/dev-db/mariadb-10.6.8/work/mariadb-10.6.8_build/CMakeFiles/CMakeTmp/src.cxx:3:12: error: 'int readdir_r(DIR*, dirent*, dirent**)' is deprecated [-Werror=deprecated-declarations] 3 | readdir_r(0,0,0); | ~~~~~~~~~^~~~~~~ In file included from /var/tmp/portage/dev-db/mariadb-10.6.8/work/mariadb-10.6.8_build/CMakeFiles/CMakeTmp/src.cxx:1: /usr/include/dirent.h:183:12: note: declared here 183 | extern int readdir_r (DIR *__restrict __dirp, | ^~~~~~~~~ cc1plus: all warnings being treated as errors ninja: build stopped: subcommand failed. Source file was: #include int main() { readdir_r(0,0,0); return 0; } Determining if files ia64intrin.h exist failed with the following output: Change Dir: /var/tmp/portage/dev-db/mariadb-10.6.8/work/mariadb-10.6.8_build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/ninja cmTC_f3560 && [1/2] Building C object CMakeFiles/cmTC_f3560.dir/HAVE_IA64INTRIN_H.c.o FAILED: CMakeFiles/cmTC_f3560.dir/HAVE_IA64INTRIN_H.c.o /usr/bin/x86_64-pc-linux-gnu-gcc -DPACKAGE=test -D_GNU_SOURCE=1 -pipe -march=native -fno-diagnostics-color -O2 -fno-strict-aliasing -pie -fPIC -fstack-protector --param=ssp-buffer-size=4 -o CMakeFiles/cmTC_f3560.dir/HAVE_IA64INTRIN_H.c.o -c /var/tmp/portage/dev-db/mariadb-10.6.8/work/mariadb-10.6.8_build/CMakeFiles/CheckIncludeFiles/HAVE_IA64INTRIN_H.c /var/tmp/portage/dev-db/mariadb-10.6.8/work/mariadb-10.6.8_build/CMakeFiles/CheckIncludeFiles/HAVE_IA64INTRIN_H.c:2:10: fatal error: ia64intrin.h: No such file or directory 2 | #include | ^~~~~~~~~~~~~~ compilation terminated. ninja: build stopped: subcommand failed. Source: /* */ #include int main(void){return 0;} Determining if the function read_real_time exists failed with the following output: Change Dir: /var/tmp/portage/dev-db/mariadb-10.6.8/work/mariadb-10.6.8_build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/ninja cmTC_35f75 && [1/2] Building C object CMakeFiles/cmTC_35f75.dir/CheckFunctionExists.c.o [2/2] Linking C executable cmTC_35f75 FAILED: cmTC_35f75 : && /usr/bin/x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -fno-strict-aliasing -pie -fPIC -fstack-protector --param=ssp-buffer-size=4 -DCHECK_FUNCTION_EXISTS=read_real_time -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -rdynamic CMakeFiles/cmTC_35f75.dir/CheckFunctionExists.c.o -o cmTC_35f75 -lm -lcrypt -ldl && : /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/cmTC_35f75.dir/CheckFunctionExists.c.o: in function `main': CheckFunctionExists.c:(.text.startup+0xc): undefined reference to `read_real_time' collect2: error: ld returned 1 exit status ninja: build stopped: subcommand failed. Determining if the getpagesizes exist failed with the following output: Change Dir: /var/tmp/portage/dev-db/mariadb-10.6.8/work/mariadb-10.6.8_build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/ninja cmTC_a27c8 && [1/2] Building C object CMakeFiles/cmTC_a27c8.dir/CheckSymbolExists.c.o FAILED: CMakeFiles/cmTC_a27c8.dir/CheckSymbolExists.c.o /usr/bin/x86_64-pc-linux-gnu-gcc -DPACKAGE=test -D_GNU_SOURCE=1 -pipe -march=native -fno-diagnostics-color -O2 -fno-strict-aliasing -pie -fPIC -fstack-protector --param=ssp-buffer-size=4 -o CMakeFiles/cmTC_a27c8.dir/CheckSymbolExists.c.o -c /var/tmp/portage/dev-db/mariadb-10.6.8/work/mariadb-10.6.8_build/CMakeFiles/CMakeTmp/CheckSymbolExists.c /var/tmp/portage/dev-db/mariadb-10.6.8/work/mariadb-10.6.8_build/CMakeFiles/CMakeTmp/CheckSymbolExists.c: In function 'main': /var/tmp/portage/dev-db/mariadb-10.6.8/work/mariadb-10.6.8_build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19: error: 'getpagesizes' undeclared (first use in this function) 8 | return ((int*)(&getpagesizes))[argc]; | ^~~~~~~~~~~~ /var/tmp/portage/dev-db/mariadb-10.6.8/work/mariadb-10.6.8_build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19: note: each undeclared identifier is reported only once for each function it appears in ninja: build stopped: subcommand failed. File /var/tmp/portage/dev-db/mariadb-10.6.8/work/mariadb-10.6.8_build/CMakeFiles/CMakeTmp/CheckSymbolExists.c: /* */ #include int main(int argc, char** argv) { (void)argv; #ifndef getpagesizes return ((int*)(&getpagesizes))[argc]; #else (void)argc; return 0; #endif } Determining if the TIOCSTAT exist failed with the following output: Change Dir: /var/tmp/portage/dev-db/mariadb-10.6.8/work/mariadb-10.6.8_build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/ninja cmTC_df17b && [1/2] Building C object CMakeFiles/cmTC_df17b.dir/CheckSymbolExists.c.o FAILED: CMakeFiles/cmTC_df17b.dir/CheckSymbolExists.c.o /usr/bin/x86_64-pc-linux-gnu-gcc -DPACKAGE=test -D_GNU_SOURCE=1 -pipe -march=native -fno-diagnostics-color -O2 -fno-strict-aliasing -pie -fPIC -fstack-protector --param=ssp-buffer-size=4 -o CMakeFiles/cmTC_df17b.dir/CheckSymbolExists.c.o -c /var/tmp/portage/dev-db/mariadb-10.6.8/work/mariadb-10.6.8_build/CMakeFiles/CMakeTmp/CheckSymbolExists.c /var/tmp/portage/dev-db/mariadb-10.6.8/work/mariadb-10.6.8_build/CMakeFiles/CMakeTmp/CheckSymbolExists.c: In function 'main': /var/tmp/portage/dev-db/mariadb-10.6.8/work/mariadb-10.6.8_build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19: error: 'TIOCSTAT' undeclared (first use in this function); did you mean 'TIOCSTI'? 8 | return ((int*)(&TIOCSTAT))[argc]; | ^~~~~~~~ | TIOCSTI /var/tmp/portage/dev-db/mariadb-10.6.8/work/mariadb-10.6.8_build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19: note: each undeclared identifier is reported only once for each function it appears in ninja: build stopped: subcommand failed. File /var/tmp/portage/dev-db/mariadb-10.6.8/work/mariadb-10.6.8_build/CMakeFiles/CMakeTmp/CheckSymbolExists.c: /* */ #include int main(int argc, char** argv) { (void)argv; #ifndef TIOCSTAT return ((int*)(&TIOCSTAT))[argc]; #else (void)argc; return 0; #endif } Determining if the FIONREAD exist failed with the following output: Change Dir: /var/tmp/portage/dev-db/mariadb-10.6.8/work/mariadb-10.6.8_build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/ninja cmTC_cd7b5 && [1/2] Building C object CMakeFiles/cmTC_cd7b5.dir/CheckSymbolExists.c.o FAILED: CMakeFiles/cmTC_cd7b5.dir/CheckSymbolExists.c.o /usr/bin/x86_64-pc-linux-gnu-gcc -DPACKAGE=test -D_GNU_SOURCE=1 -pipe -march=native -fno-diagnostics-color -O2 -fno-strict-aliasing -pie -fPIC -fstack-protector --param=ssp-buffer-size=4 -o CMakeFiles/cmTC_cd7b5.dir/CheckSymbolExists.c.o -c /var/tmp/portage/dev-db/mariadb-10.6.8/work/mariadb-10.6.8_build/CMakeFiles/CMakeTmp/CheckSymbolExists.c /var/tmp/portage/dev-db/mariadb-10.6.8/work/mariadb-10.6.8_build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:2:10: fatal error: sys/filio.h: No such file or directory 2 | #include | ^~~~~~~~~~~~~ compilation terminated. ninja: build stopped: subcommand failed. File /var/tmp/portage/dev-db/mariadb-10.6.8/work/mariadb-10.6.8_build/CMakeFiles/CMakeTmp/CheckSymbolExists.c: /* */ #include int main(int argc, char** argv) { (void)argv; #ifndef FIONREAD return ((int*)(&FIONREAD))[argc]; #else (void)argc; return 0; #endif } Determining size of uchar failed with the following output: Change Dir: /var/tmp/portage/dev-db/mariadb-10.6.8/work/mariadb-10.6.8_build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/ninja cmTC_87cf0 && [1/2] Building C object CMakeFiles/cmTC_87cf0.dir/SIZEOF_UCHAR.c.o FAILED: CMakeFiles/cmTC_87cf0.dir/SIZEOF_UCHAR.c.o /usr/bin/x86_64-pc-linux-gnu-gcc -DPACKAGE=test -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGE_FILES -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -pipe -march=native -fno-diagnostics-color -O2 -fno-strict-aliasing -pie -fPIC -fstack-protector --param=ssp-buffer-size=4 -o CMakeFiles/cmTC_87cf0.dir/SIZEOF_UCHAR.c.o -c /var/tmp/portage/dev-db/mariadb-10.6.8/work/mariadb-10.6.8_build/CMakeFiles/CheckTypeSize/SIZEOF_UCHAR.c /var/tmp/portage/dev-db/mariadb-10.6.8/work/mariadb-10.6.8_build/CMakeFiles/CheckTypeSize/SIZEOF_UCHAR.c:29:22: error: 'uchar' undeclared here (not in a function); did you mean 'u_char'? 29 | #define SIZE (sizeof(uchar)) | ^~~~~ /var/tmp/portage/dev-db/mariadb-10.6.8/work/mariadb-10.6.8_build/CMakeFiles/CheckTypeSize/SIZEOF_UCHAR.c:31:12: note: in expansion of macro 'SIZE' 31 | ('0' + ((SIZE / 10000)%10)), | ^~~~ ninja: build stopped: subcommand failed. /var/tmp/portage/dev-db/mariadb-10.6.8/work/mariadb-10.6.8_build/CMakeFiles/CheckTypeSize/SIZEOF_UCHAR.c: #include #include #include #include "stdio.h" #include "sys/types.h" #undef KEY #if defined(__i386) # define KEY '_','_','i','3','8','6' #elif defined(__x86_64) # define KEY '_','_','x','8','6','_','6','4' #elif defined(__PPC64__) # define KEY '_','_','P','P','C','6','4','_','_' #elif defined(__ppc64__) # define KEY '_','_','p','p','c','6','4','_','_' #elif defined(__PPC__) # define KEY '_','_','P','P','C','_','_' #elif defined(__ppc__) # define KEY '_','_','p','p','c','_','_' #elif defined(__aarch64__) # define KEY '_','_','a','a','r','c','h','6','4','_','_' #elif defined(__ARM_ARCH_7A__) # define KEY '_','_','A','R','M','_','A','R','C','H','_','7','A','_','_' #elif defined(__ARM_ARCH_7S__) # define KEY '_','_','A','R','M','_','A','R','C','H','_','7','S','_','_' #endif #define SIZE (sizeof(uchar)) static char info_size[] = {'I', 'N', 'F', 'O', ':', 's','i','z','e','[', ('0' + ((SIZE / 10000)%10)), ('0' + ((SIZE / 1000)%10)), ('0' + ((SIZE / 100)%10)), ('0' + ((SIZE / 10)%10)), ('0' + (SIZE % 10)), ']', #ifdef KEY ' ','k','e','y','[', KEY, ']', #endif '\0'}; #ifdef __CLASSIC_C__ int main(argc, argv) int argc; char *argv[]; #else int main(int argc, char *argv[]) #endif { int require = 0; require += info_size[argc]; (void)argv; return require; } Determining size of int8 failed with the following output: Change Dir: /var/tmp/portage/dev-db/mariadb-10.6.8/work/mariadb-10.6.8_build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/ninja cmTC_27ba5 && [1/2] Building C object CMakeFiles/cmTC_27ba5.dir/SIZEOF_INT8.c.o FAILED: CMakeFiles/cmTC_27ba5.dir/SIZEOF_INT8.c.o /usr/bin/x86_64-pc-linux-gnu-gcc -DPACKAGE=test -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGE_FILES -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -pipe -march=native -fno-diagnostics-color -O2 -fno-strict-aliasing -pie -fPIC -fstack-protector --param=ssp-buffer-size=4 -o CMakeFiles/cmTC_27ba5.dir/SIZEOF_INT8.c.o -c /var/tmp/portage/dev-db/mariadb-10.6.8/work/mariadb-10.6.8_build/CMakeFiles/CheckTypeSize/SIZEOF_INT8.c /var/tmp/portage/dev-db/mariadb-10.6.8/work/mariadb-10.6.8_build/CMakeFiles/CheckTypeSize/SIZEOF_INT8.c:29:22: error: 'int8' undeclared here (not in a function); did you mean 'int'? 29 | #define SIZE (sizeof(int8)) | ^~~~ /var/tmp/portage/dev-db/mariadb-10.6.8/work/mariadb-10.6.8_build/CMakeFiles/CheckTypeSize/SIZEOF_INT8.c:31:12: note: in expansion of macro 'SIZE' 31 | ('0' + ((SIZE / 10000)%10)), | ^~~~ ninja: build stopped: subcommand failed. /var/tmp/portage/dev-db/mariadb-10.6.8/work/mariadb-10.6.8_build/CMakeFiles/CheckTypeSize/SIZEOF_INT8.c: #include #include #include #include "stdio.h" #include "sys/types.h" #undef KEY #if defined(__i386) # define KEY '_','_','i','3','8','6' #elif defined(__x86_64) # define KEY '_','_','x','8','6','_','6','4' #elif defined(__PPC64__) # define KEY '_','_','P','P','C','6','4','_','_' #elif defined(__ppc64__) # define KEY '_','_','p','p','c','6','4','_','_' #elif defined(__PPC__) # define KEY '_','_','P','P','C','_','_' #elif defined(__ppc__) # define KEY '_','_','p','p','c','_','_' #elif defined(__aarch64__) # define KEY '_','_','a','a','r','c','h','6','4','_','_' #elif defined(__ARM_ARCH_7A__) # define KEY '_','_','A','R','M','_','A','R','C','H','_','7','A','_','_' #elif defined(__ARM_ARCH_7S__) # define KEY '_','_','A','R','M','_','A','R','C','H','_','7','S','_','_' #endif #define SIZE (sizeof(int8)) static char info_size[] = {'I', 'N', 'F', 'O', ':', 's','i','z','e','[', ('0' + ((SIZE / 10000)%10)), ('0' + ((SIZE / 1000)%10)), ('0' + ((SIZE / 100)%10)), ('0' + ((SIZE / 10)%10)), ('0' + (SIZE % 10)), ']', #ifdef KEY ' ','k','e','y','[', KEY, ']', #endif '\0'}; #ifdef __CLASSIC_C__ int main(argc, argv) int argc; char *argv[]; #else int main(int argc, char *argv[]) #endif { int require = 0; require += info_size[argc]; (void)argv; return require; } Determining size of uint8 failed with the following output: Change Dir: /var/tmp/portage/dev-db/mariadb-10.6.8/work/mariadb-10.6.8_build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/ninja cmTC_546c3 && [1/2] Building C object CMakeFiles/cmTC_546c3.dir/SIZEOF_UINT8.c.o FAILED: CMakeFiles/cmTC_546c3.dir/SIZEOF_UINT8.c.o /usr/bin/x86_64-pc-linux-gnu-gcc -DPACKAGE=test -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGE_FILES -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -pipe -march=native -fno-diagnostics-color -O2 -fno-strict-aliasing -pie -fPIC -fstack-protector --param=ssp-buffer-size=4 -o CMakeFiles/cmTC_546c3.dir/SIZEOF_UINT8.c.o -c /var/tmp/portage/dev-db/mariadb-10.6.8/work/mariadb-10.6.8_build/CMakeFiles/CheckTypeSize/SIZEOF_UINT8.c /var/tmp/portage/dev-db/mariadb-10.6.8/work/mariadb-10.6.8_build/CMakeFiles/CheckTypeSize/SIZEOF_UINT8.c:29:22: error: 'uint8' undeclared here (not in a function); did you mean 'uint'? 29 | #define SIZE (sizeof(uint8)) | ^~~~~ /var/tmp/portage/dev-db/mariadb-10.6.8/work/mariadb-10.6.8_build/CMakeFiles/CheckTypeSize/SIZEOF_UINT8.c:31:12: note: in expansion of macro 'SIZE' 31 | ('0' + ((SIZE / 10000)%10)), | ^~~~ ninja: build stopped: subcommand failed. /var/tmp/portage/dev-db/mariadb-10.6.8/work/mariadb-10.6.8_build/CMakeFiles/CheckTypeSize/SIZEOF_UINT8.c: #include #include #include #include "stdio.h" #include "sys/types.h" #undef KEY #if defined(__i386) # define KEY '_','_','i','3','8','6' #elif defined(__x86_64) # define KEY '_','_','x','8','6','_','6','4' #elif defined(__PPC64__) # define KEY '_','_','P','P','C','6','4','_','_' #elif defined(__ppc64__) # define KEY '_','_','p','p','c','6','4','_','_' #elif defined(__PPC__) # define KEY '_','_','P','P','C','_','_' #elif defined(__ppc__) # define KEY '_','_','p','p','c','_','_' #elif defined(__aarch64__) # define KEY '_','_','a','a','r','c','h','6','4','_','_' #elif defined(__ARM_ARCH_7A__) # define KEY '_','_','A','R','M','_','A','R','C','H','_','7','A','_','_' #elif defined(__ARM_ARCH_7S__) # define KEY '_','_','A','R','M','_','A','R','C','H','_','7','S','_','_' #endif #define SIZE (sizeof(uint8)) static char info_size[] = {'I', 'N', 'F', 'O', ':', 's','i','z','e','[', ('0' + ((SIZE / 10000)%10)), ('0' + ((SIZE / 1000)%10)), ('0' + ((SIZE / 100)%10)), ('0' + ((SIZE / 10)%10)), ('0' + (SIZE % 10)), ']', #ifdef KEY ' ','k','e','y','[', KEY, ']', #endif '\0'}; #ifdef __CLASSIC_C__ int main(argc, argv) int argc; char *argv[]; #else int main(int argc, char *argv[]) #endif { int require = 0; require += info_size[argc]; (void)argv; return require; } Determining size of int16 failed with the following output: Change Dir: /var/tmp/portage/dev-db/mariadb-10.6.8/work/mariadb-10.6.8_build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/ninja cmTC_2036e && [1/2] Building C object CMakeFiles/cmTC_2036e.dir/SIZEOF_INT16.c.o FAILED: CMakeFiles/cmTC_2036e.dir/SIZEOF_INT16.c.o /usr/bin/x86_64-pc-linux-gnu-gcc -DPACKAGE=test -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGE_FILES -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -pipe -march=native -fno-diagnostics-color -O2 -fno-strict-aliasing -pie -fPIC -fstack-protector --param=ssp-buffer-size=4 -o CMakeFiles/cmTC_2036e.dir/SIZEOF_INT16.c.o -c /var/tmp/portage/dev-db/mariadb-10.6.8/work/mariadb-10.6.8_build/CMakeFiles/CheckTypeSize/SIZEOF_INT16.c /var/tmp/portage/dev-db/mariadb-10.6.8/work/mariadb-10.6.8_build/CMakeFiles/CheckTypeSize/SIZEOF_INT16.c:29:22: error: 'int16' undeclared here (not in a function); did you mean 'int16_t'? 29 | #define SIZE (sizeof(int16)) | ^~~~~ /var/tmp/portage/dev-db/mariadb-10.6.8/work/mariadb-10.6.8_build/CMakeFiles/CheckTypeSize/SIZEOF_INT16.c:31:12: note: in expansion of macro 'SIZE' 31 | ('0' + ((SIZE / 10000)%10)), | ^~~~ ninja: build stopped: subcommand failed. /var/tmp/portage/dev-db/mariadb-10.6.8/work/mariadb-10.6.8_build/CMakeFiles/CheckTypeSize/SIZEOF_INT16.c: #include #include #include #include "stdio.h" #include "sys/types.h" #undef KEY #if defined(__i386) # define KEY '_','_','i','3','8','6' #elif defined(__x86_64) # define KEY '_','_','x','8','6','_','6','4' #elif defined(__PPC64__) # define KEY '_','_','P','P','C','6','4','_','_' #elif defined(__ppc64__) # define KEY '_','_','p','p','c','6','4','_','_' #elif defined(__PPC__) # define KEY '_','_','P','P','C','_','_' #elif defined(__ppc__) # define KEY '_','_','p','p','c','_','_' #elif defined(__aarch64__) # define KEY '_','_','a','a','r','c','h','6','4','_','_' #elif defined(__ARM_ARCH_7A__) # define KEY '_','_','A','R','M','_','A','R','C','H','_','7','A','_','_' #elif defined(__ARM_ARCH_7S__) # define KEY '_','_','A','R','M','_','A','R','C','H','_','7','S','_','_' #endif #define SIZE (sizeof(int16)) static char info_size[] = {'I', 'N', 'F', 'O', ':', 's','i','z','e','[', ('0' + ((SIZE / 10000)%10)), ('0' + ((SIZE / 1000)%10)), ('0' + ((SIZE / 100)%10)), ('0' + ((SIZE / 10)%10)), ('0' + (SIZE % 10)), ']', #ifdef KEY ' ','k','e','y','[', KEY, ']', #endif '\0'}; #ifdef __CLASSIC_C__ int main(argc, argv) int argc; char *argv[]; #else int main(int argc, char *argv[]) #endif { int require = 0; require += info_size[argc]; (void)argv; return require; } Determining size of uint16 failed with the following output: Change Dir: /var/tmp/portage/dev-db/mariadb-10.6.8/work/mariadb-10.6.8_build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/ninja cmTC_8af79 && [1/2] Building C object CMakeFiles/cmTC_8af79.dir/SIZEOF_UINT16.c.o FAILED: CMakeFiles/cmTC_8af79.dir/SIZEOF_UINT16.c.o /usr/bin/x86_64-pc-linux-gnu-gcc -DPACKAGE=test -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGE_FILES -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -pipe -march=native -fno-diagnostics-color -O2 -fno-strict-aliasing -pie -fPIC -fstack-protector --param=ssp-buffer-size=4 -o CMakeFiles/cmTC_8af79.dir/SIZEOF_UINT16.c.o -c /var/tmp/portage/dev-db/mariadb-10.6.8/work/mariadb-10.6.8_build/CMakeFiles/CheckTypeSize/SIZEOF_UINT16.c /var/tmp/portage/dev-db/mariadb-10.6.8/work/mariadb-10.6.8_build/CMakeFiles/CheckTypeSize/SIZEOF_UINT16.c:29:22: error: 'uint16' undeclared here (not in a function); did you mean 'uint16_t'? 29 | #define SIZE (sizeof(uint16)) | ^~~~~~ /var/tmp/portage/dev-db/mariadb-10.6.8/work/mariadb-10.6.8_build/CMakeFiles/CheckTypeSize/SIZEOF_UINT16.c:31:12: note: in expansion of macro 'SIZE' 31 | ('0' + ((SIZE / 10000)%10)), | ^~~~ ninja: build stopped: subcommand failed. /var/tmp/portage/dev-db/mariadb-10.6.8/work/mariadb-10.6.8_build/CMakeFiles/CheckTypeSize/SIZEOF_UINT16.c: #include #include #include #include "stdio.h" #include "sys/types.h" #undef KEY #if defined(__i386) # define KEY '_','_','i','3','8','6' #elif defined(__x86_64) # define KEY '_','_','x','8','6','_','6','4' #elif defined(__PPC64__) # define KEY '_','_','P','P','C','6','4','_','_' #elif defined(__ppc64__) # define KEY '_','_','p','p','c','6','4','_','_' #elif defined(__PPC__) # define KEY '_','_','P','P','C','_','_' #elif defined(__ppc__) # define KEY '_','_','p','p','c','_','_' #elif defined(__aarch64__) # define KEY '_','_','a','a','r','c','h','6','4','_','_' #elif defined(__ARM_ARCH_7A__) # define KEY '_','_','A','R','M','_','A','R','C','H','_','7','A','_','_' #elif defined(__ARM_ARCH_7S__) # define KEY '_','_','A','R','M','_','A','R','C','H','_','7','S','_','_' #endif #define SIZE (sizeof(uint16)) static char info_size[] = {'I', 'N', 'F', 'O', ':', 's','i','z','e','[', ('0' + ((SIZE / 10000)%10)), ('0' + ((SIZE / 1000)%10)), ('0' + ((SIZE / 100)%10)), ('0' + ((SIZE / 10)%10)), ('0' + (SIZE % 10)), ']', #ifdef KEY ' ','k','e','y','[', KEY, ']', #endif '\0'}; #ifdef __CLASSIC_C__ int main(argc, argv) int argc; char *argv[]; #else int main(int argc, char *argv[]) #endif { int require = 0; require += info_size[argc]; (void)argv; return require; } Determining size of int32 failed with the following output: Change Dir: /var/tmp/portage/dev-db/mariadb-10.6.8/work/mariadb-10.6.8_build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/ninja cmTC_22177 && [1/2] Building C object CMakeFiles/cmTC_22177.dir/SIZEOF_INT32.c.o FAILED: CMakeFiles/cmTC_22177.dir/SIZEOF_INT32.c.o /usr/bin/x86_64-pc-linux-gnu-gcc -DPACKAGE=test -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGE_FILES -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -pipe -march=native -fno-diagnostics-color -O2 -fno-strict-aliasing -pie -fPIC -fstack-protector --param=ssp-buffer-size=4 -o CMakeFiles/cmTC_22177.dir/SIZEOF_INT32.c.o -c /var/tmp/portage/dev-db/mariadb-10.6.8/work/mariadb-10.6.8_build/CMakeFiles/CheckTypeSize/SIZEOF_INT32.c /var/tmp/portage/dev-db/mariadb-10.6.8/work/mariadb-10.6.8_build/CMakeFiles/CheckTypeSize/SIZEOF_INT32.c:29:22: error: 'int32' undeclared here (not in a function); did you mean 'int32_t'? 29 | #define SIZE (sizeof(int32)) | ^~~~~ /var/tmp/portage/dev-db/mariadb-10.6.8/work/mariadb-10.6.8_build/CMakeFiles/CheckTypeSize/SIZEOF_INT32.c:31:12: note: in expansion of macro 'SIZE' 31 | ('0' + ((SIZE / 10000)%10)), | ^~~~ ninja: build stopped: subcommand failed. /var/tmp/portage/dev-db/mariadb-10.6.8/work/mariadb-10.6.8_build/CMakeFiles/CheckTypeSize/SIZEOF_INT32.c: #include #include #include #include "stdio.h" #include "sys/types.h" #undef KEY #if defined(__i386) # define KEY '_','_','i','3','8','6' #elif defined(__x86_64) # define KEY '_','_','x','8','6','_','6','4' #elif defined(__PPC64__) # define KEY '_','_','P','P','C','6','4','_','_' #elif defined(__ppc64__) # define KEY '_','_','p','p','c','6','4','_','_' #elif defined(__PPC__) # define KEY '_','_','P','P','C','_','_' #elif defined(__ppc__) # define KEY '_','_','p','p','c','_','_' #elif defined(__aarch64__) # define KEY '_','_','a','a','r','c','h','6','4','_','_' #elif defined(__ARM_ARCH_7A__) # define KEY '_','_','A','R','M','_','A','R','C','H','_','7','A','_','_' #elif defined(__ARM_ARCH_7S__) # define KEY '_','_','A','R','M','_','A','R','C','H','_','7','S','_','_' #endif #define SIZE (sizeof(int32)) static char info_size[] = {'I', 'N', 'F', 'O', ':', 's','i','z','e','[', ('0' + ((SIZE / 10000)%10)), ('0' + ((SIZE / 1000)%10)), ('0' + ((SIZE / 100)%10)), ('0' + ((SIZE / 10)%10)), ('0' + (SIZE % 10)), ']', #ifdef KEY ' ','k','e','y','[', KEY, ']', #endif '\0'}; #ifdef __CLASSIC_C__ int main(argc, argv) int argc; char *argv[]; #else int main(int argc, char *argv[]) #endif { int require = 0; require += info_size[argc]; (void)argv; return require; } Determining size of uint32 failed with the following output: Change Dir: /var/tmp/portage/dev-db/mariadb-10.6.8/work/mariadb-10.6.8_build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/ninja cmTC_8507b && [1/2] Building C object CMakeFiles/cmTC_8507b.dir/SIZEOF_UINT32.c.o FAILED: CMakeFiles/cmTC_8507b.dir/SIZEOF_UINT32.c.o /usr/bin/x86_64-pc-linux-gnu-gcc -DPACKAGE=test -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGE_FILES -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -pipe -march=native -fno-diagnostics-color -O2 -fno-strict-aliasing -pie -fPIC -fstack-protector --param=ssp-buffer-size=4 -o CMakeFiles/cmTC_8507b.dir/SIZEOF_UINT32.c.o -c /var/tmp/portage/dev-db/mariadb-10.6.8/work/mariadb-10.6.8_build/CMakeFiles/CheckTypeSize/SIZEOF_UINT32.c /var/tmp/portage/dev-db/mariadb-10.6.8/work/mariadb-10.6.8_build/CMakeFiles/CheckTypeSize/SIZEOF_UINT32.c:29:22: error: 'uint32' undeclared here (not in a function); did you mean 'uint32_t'? 29 | #define SIZE (sizeof(uint32)) | ^~~~~~ /var/tmp/portage/dev-db/mariadb-10.6.8/work/mariadb-10.6.8_build/CMakeFiles/CheckTypeSize/SIZEOF_UINT32.c:31:12: note: in expansion of macro 'SIZE' 31 | ('0' + ((SIZE / 10000)%10)), | ^~~~ ninja: build stopped: subcommand failed. /var/tmp/portage/dev-db/mariadb-10.6.8/work/mariadb-10.6.8_build/CMakeFiles/CheckTypeSize/SIZEOF_UINT32.c: #include #include #include #include "stdio.h" #include "sys/types.h" #undef KEY #if defined(__i386) # define KEY '_','_','i','3','8','6' #elif defined(__x86_64) # define KEY '_','_','x','8','6','_','6','4' #elif defined(__PPC64__) # define KEY '_','_','P','P','C','6','4','_','_' #elif defined(__ppc64__) # define KEY '_','_','p','p','c','6','4','_','_' #elif defined(__PPC__) # define KEY '_','_','P','P','C','_','_' #elif defined(__ppc__) # define KEY '_','_','p','p','c','_','_' #elif defined(__aarch64__) # define KEY '_','_','a','a','r','c','h','6','4','_','_' #elif defined(__ARM_ARCH_7A__) # define KEY '_','_','A','R','M','_','A','R','C','H','_','7','A','_','_' #elif defined(__ARM_ARCH_7S__) # define KEY '_','_','A','R','M','_','A','R','C','H','_','7','S','_','_' #endif #define SIZE (sizeof(uint32)) static char info_size[] = {'I', 'N', 'F', 'O', ':', 's','i','z','e','[', ('0' + ((SIZE / 10000)%10)), ('0' + ((SIZE / 1000)%10)), ('0' + ((SIZE / 100)%10)), ('0' + ((SIZE / 10)%10)), ('0' + (SIZE % 10)), ']', #ifdef KEY ' ','k','e','y','[', KEY, ']', #endif '\0'}; #ifdef __CLASSIC_C__ int main(argc, argv) int argc; char *argv[]; #else int main(int argc, char *argv[]) #endif { int require = 0; require += info_size[argc]; (void)argv; return require; } Determining size of int64 failed with the following output: Change Dir: /var/tmp/portage/dev-db/mariadb-10.6.8/work/mariadb-10.6.8_build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/ninja cmTC_fbfbf && [1/2] Building C object CMakeFiles/cmTC_fbfbf.dir/SIZEOF_INT64.c.o FAILED: CMakeFiles/cmTC_fbfbf.dir/SIZEOF_INT64.c.o /usr/bin/x86_64-pc-linux-gnu-gcc -DPACKAGE=test -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGE_FILES -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -pipe -march=native -fno-diagnostics-color -O2 -fno-strict-aliasing -pie -fPIC -fstack-protector --param=ssp-buffer-size=4 -o CMakeFiles/cmTC_fbfbf.dir/SIZEOF_INT64.c.o -c /var/tmp/portage/dev-db/mariadb-10.6.8/work/mariadb-10.6.8_build/CMakeFiles/CheckTypeSize/SIZEOF_INT64.c /var/tmp/portage/dev-db/mariadb-10.6.8/work/mariadb-10.6.8_build/CMakeFiles/CheckTypeSize/SIZEOF_INT64.c:29:22: error: 'int64' undeclared here (not in a function); did you mean 'int64_t'? 29 | #define SIZE (sizeof(int64)) | ^~~~~ /var/tmp/portage/dev-db/mariadb-10.6.8/work/mariadb-10.6.8_build/CMakeFiles/CheckTypeSize/SIZEOF_INT64.c:31:12: note: in expansion of macro 'SIZE' 31 | ('0' + ((SIZE / 10000)%10)), | ^~~~ ninja: build stopped: subcommand failed. /var/tmp/portage/dev-db/mariadb-10.6.8/work/mariadb-10.6.8_build/CMakeFiles/CheckTypeSize/SIZEOF_INT64.c: #include #include #include #include "stdio.h" #include "sys/types.h" #undef KEY #if defined(__i386) # define KEY '_','_','i','3','8','6' #elif defined(__x86_64) # define KEY '_','_','x','8','6','_','6','4' #elif defined(__PPC64__) # define KEY '_','_','P','P','C','6','4','_','_' #elif defined(__ppc64__) # define KEY '_','_','p','p','c','6','4','_','_' #elif defined(__PPC__) # define KEY '_','_','P','P','C','_','_' #elif defined(__ppc__) # define KEY '_','_','p','p','c','_','_' #elif defined(__aarch64__) # define KEY '_','_','a','a','r','c','h','6','4','_','_' #elif defined(__ARM_ARCH_7A__) # define KEY '_','_','A','R','M','_','A','R','C','H','_','7','A','_','_' #elif defined(__ARM_ARCH_7S__) # define KEY '_','_','A','R','M','_','A','R','C','H','_','7','S','_','_' #endif #define SIZE (sizeof(int64)) static char info_size[] = {'I', 'N', 'F', 'O', ':', 's','i','z','e','[', ('0' + ((SIZE / 10000)%10)), ('0' + ((SIZE / 1000)%10)), ('0' + ((SIZE / 100)%10)), ('0' + ((SIZE / 10)%10)), ('0' + (SIZE % 10)), ']', #ifdef KEY ' ','k','e','y','[', KEY, ']', #endif '\0'}; #ifdef __CLASSIC_C__ int main(argc, argv) int argc; char *argv[]; #else int main(int argc, char *argv[]) #endif { int require = 0; require += info_size[argc]; (void)argv; return require; } Determining size of uint64 failed with the following output: Change Dir: /var/tmp/portage/dev-db/mariadb-10.6.8/work/mariadb-10.6.8_build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/ninja cmTC_f725c && [1/2] Building C object CMakeFiles/cmTC_f725c.dir/SIZEOF_UINT64.c.o FAILED: CMakeFiles/cmTC_f725c.dir/SIZEOF_UINT64.c.o /usr/bin/x86_64-pc-linux-gnu-gcc -DPACKAGE=test -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGE_FILES -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -pipe -march=native -fno-diagnostics-color -O2 -fno-strict-aliasing -pie -fPIC -fstack-protector --param=ssp-buffer-size=4 -o CMakeFiles/cmTC_f725c.dir/SIZEOF_UINT64.c.o -c /var/tmp/portage/dev-db/mariadb-10.6.8/work/mariadb-10.6.8_build/CMakeFiles/CheckTypeSize/SIZEOF_UINT64.c /var/tmp/portage/dev-db/mariadb-10.6.8/work/mariadb-10.6.8_build/CMakeFiles/CheckTypeSize/SIZEOF_UINT64.c:29:22: error: 'uint64' undeclared here (not in a function); did you mean 'uint64_t'? 29 | #define SIZE (sizeof(uint64)) | ^~~~~~ /var/tmp/portage/dev-db/mariadb-10.6.8/work/mariadb-10.6.8_build/CMakeFiles/CheckTypeSize/SIZEOF_UINT64.c:31:12: note: in expansion of macro 'SIZE' 31 | ('0' + ((SIZE / 10000)%10)), | ^~~~ ninja: build stopped: subcommand failed. /var/tmp/portage/dev-db/mariadb-10.6.8/work/mariadb-10.6.8_build/CMakeFiles/CheckTypeSize/SIZEOF_UINT64.c: #include #include #include #include "stdio.h" #include "sys/types.h" #undef KEY #if defined(__i386) # define KEY '_','_','i','3','8','6' #elif defined(__x86_64) # define KEY '_','_','x','8','6','_','6','4' #elif defined(__PPC64__) # define KEY '_','_','P','P','C','6','4','_','_' #elif defined(__ppc64__) # define KEY '_','_','p','p','c','6','4','_','_' #elif defined(__PPC__) # define KEY '_','_','P','P','C','_','_' #elif defined(__ppc__) # define KEY '_','_','p','p','c','_','_' #elif defined(__aarch64__) # define KEY '_','_','a','a','r','c','h','6','4','_','_' #elif defined(__ARM_ARCH_7A__) # define KEY '_','_','A','R','M','_','A','R','C','H','_','7','A','_','_' #elif defined(__ARM_ARCH_7S__) # define KEY '_','_','A','R','M','_','A','R','C','H','_','7','S','_','_' #endif #define SIZE (sizeof(uint64)) static char info_size[] = {'I', 'N', 'F', 'O', ':', 's','i','z','e','[', ('0' + ((SIZE / 10000)%10)), ('0' + ((SIZE / 1000)%10)), ('0' + ((SIZE / 100)%10)), ('0' + ((SIZE / 10)%10)), ('0' + (SIZE % 10)), ']', #ifdef KEY ' ','k','e','y','[', KEY, ']', #endif '\0'}; #ifdef __CLASSIC_C__ int main(argc, argv) int argc; char *argv[]; #else int main(int argc, char *argv[]) #endif { int require = 0; require += info_size[argc]; (void)argv; return require; } Performing C SOURCE FILE Test TIME_T_UNSIGNED failed with the following output: Change Dir: /var/tmp/portage/dev-db/mariadb-10.6.8/work/mariadb-10.6.8_build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/ninja cmTC_ba3f1 && [1/2] Building C object CMakeFiles/cmTC_ba3f1.dir/src.c.o FAILED: CMakeFiles/cmTC_ba3f1.dir/src.c.o /usr/bin/x86_64-pc-linux-gnu-gcc -DPACKAGE=test -DTIME_T_UNSIGNED -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGE_FILES -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -pipe -march=native -fno-diagnostics-color -O2 -fno-strict-aliasing -pie -fPIC -fstack-protector --param=ssp-buffer-size=4 -o CMakeFiles/cmTC_ba3f1.dir/src.c.o -c /var/tmp/portage/dev-db/mariadb-10.6.8/work/mariadb-10.6.8_build/CMakeFiles/CMakeTmp/src.c /var/tmp/portage/dev-db/mariadb-10.6.8/work/mariadb-10.6.8_build/CMakeFiles/CMakeTmp/src.c: In function 'main': /var/tmp/portage/dev-db/mariadb-10.6.8/work/mariadb-10.6.8_build/CMakeFiles/CMakeTmp/src.c:5:7: error: size of array 'array' is negative 5 | int array[(((time_t)-1) > 0) ? 1 : -1]; | ^~~~~ ninja: build stopped: subcommand failed. Source file was: #include int main() { int array[(((time_t)-1) > 0) ? 1 : -1]; return 0; } Performing C SOURCE FILE Test HAVE_TIMESPEC_TS_SEC failed with the following output: Change Dir: /var/tmp/portage/dev-db/mariadb-10.6.8/work/mariadb-10.6.8_build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/ninja cmTC_016d6 && [1/2] Building C object CMakeFiles/cmTC_016d6.dir/src.c.o FAILED: CMakeFiles/cmTC_016d6.dir/src.c.o /usr/bin/x86_64-pc-linux-gnu-gcc -DHAVE_TIMESPEC_TS_SEC -DPACKAGE=test -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGE_FILES -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -pipe -march=native -fno-diagnostics-color -O2 -fno-strict-aliasing -pie -fPIC -fstack-protector --param=ssp-buffer-size=4 -o CMakeFiles/cmTC_016d6.dir/src.c.o -c /var/tmp/portage/dev-db/mariadb-10.6.8/work/mariadb-10.6.8_build/CMakeFiles/CMakeTmp/src.c /var/tmp/portage/dev-db/mariadb-10.6.8/work/mariadb-10.6.8_build/CMakeFiles/CMakeTmp/src.c: In function 'main': /var/tmp/portage/dev-db/mariadb-10.6.8/work/mariadb-10.6.8_build/CMakeFiles/CMakeTmp/src.c:7:11: error: 'struct timespec' has no member named 'ts_sec'; did you mean 'tv_sec'? 7 | abstime.ts_sec = time(NULL)+1; | ^~~~~~ | tv_sec /var/tmp/portage/dev-db/mariadb-10.6.8/work/mariadb-10.6.8_build/CMakeFiles/CMakeTmp/src.c:8:11: error: 'struct timespec' has no member named 'ts_nsec'; did you mean 'tv_nsec'? 8 | abstime.ts_nsec = 0; | ^~~~~~~ | tv_nsec ninja: build stopped: subcommand failed. Source file was: #include int main(int ac, char **av) { struct timespec abstime; abstime.ts_sec = time(NULL)+1; abstime.ts_nsec = 0; } Performing C++ SOURCE FILE Test HAVE_SOLARIS_STYLE_GETHOST failed with the following output: Change Dir: /var/tmp/portage/dev-db/mariadb-10.6.8/work/mariadb-10.6.8_build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/ninja cmTC_c0967 && [1/2] Building CXX object CMakeFiles/cmTC_c0967.dir/src.cxx.o FAILED: CMakeFiles/cmTC_c0967.dir/src.cxx.o /usr/bin/x86_64-pc-linux-gnu-g++ -DHAVE_SOLARIS_STYLE_GETHOST -DPACKAGE=test -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGE_FILES -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -pipe -march=native -fno-diagnostics-color -O2 -felide-constructors -fno-strict-aliasing -pie -fPIC -fstack-protector --param=ssp-buffer-size=4 -o CMakeFiles/cmTC_c0967.dir/src.cxx.o -c /var/tmp/portage/dev-db/mariadb-10.6.8/work/mariadb-10.6.8_build/CMakeFiles/CMakeTmp/src.cxx /var/tmp/portage/dev-db/mariadb-10.6.8/work/mariadb-10.6.8_build/CMakeFiles/CMakeTmp/src.cxx: In function 'int main()': /var/tmp/portage/dev-db/mariadb-10.6.8/work/mariadb-10.6.8_build/CMakeFiles/CMakeTmp/src.cxx:17:58: error: cannot convert 'int*' to 'hostent**' 17 | 0, 0, (struct hostent *) 0, (char *) NULL, 0, (int *)0); | ^~~~~~~~ | | | int* In file included from /var/tmp/portage/dev-db/mariadb-10.6.8/work/mariadb-10.6.8_build/CMakeFiles/CMakeTmp/src.cxx:11: /usr/include/netdb.h:174:57: note: initializing argument 7 of 'int gethostbyaddr_r(const void*, __socklen_t, int, hostent*, char*, size_t, hostent**, int*)' 174 | struct hostent **__restrict __result, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ ninja: build stopped: subcommand failed. Source file was: #undef inline #if !defined(SCO) && !defined(__osf__) && !defined(_REENTRANT) #define _REENTRANT #endif #include #include #include #include #include #include int main() { struct hostent *foo = gethostbyaddr_r((const char *) 0, 0, 0, (struct hostent *) 0, (char *) NULL, 0, (int *)0); return 0; } Determining if files valgrind/memcheck.h;valgrind/valgrind.h exist failed with the following output: Change Dir: /var/tmp/portage/dev-db/mariadb-10.6.8/work/mariadb-10.6.8_build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/ninja cmTC_902b8 && [1/2] Building C object CMakeFiles/cmTC_902b8.dir/HAVE_VALGRIND_MEMCHECK_H.c.o FAILED: CMakeFiles/cmTC_902b8.dir/HAVE_VALGRIND_MEMCHECK_H.c.o /usr/bin/x86_64-pc-linux-gnu-gcc -DPACKAGE=test -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGE_FILES -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -pipe -march=native -fno-diagnostics-color -O2 -fno-strict-aliasing -pie -fPIC -fstack-protector --param=ssp-buffer-size=4 -o CMakeFiles/cmTC_902b8.dir/HAVE_VALGRIND_MEMCHECK_H.c.o -c /var/tmp/portage/dev-db/mariadb-10.6.8/work/mariadb-10.6.8_build/CMakeFiles/CheckIncludeFiles/HAVE_VALGRIND_MEMCHECK_H.c /var/tmp/portage/dev-db/mariadb-10.6.8/work/mariadb-10.6.8_build/CMakeFiles/CheckIncludeFiles/HAVE_VALGRIND_MEMCHECK_H.c:2:10: fatal error: valgrind/memcheck.h: No such file or directory 2 | #include | ^~~~~~~~~~~~~~~~~~~~~ compilation terminated. ninja: build stopped: subcommand failed. Source: /* */ #include #include int main(void){return 0;} Determining if the include file netinet/in6.h exists failed with the following output: Change Dir: /var/tmp/portage/dev-db/mariadb-10.6.8/work/mariadb-10.6.8_build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/ninja cmTC_dc481 && [1/2] Building C object CMakeFiles/cmTC_dc481.dir/CheckIncludeFile.c.o FAILED: CMakeFiles/cmTC_dc481.dir/CheckIncludeFile.c.o /usr/bin/x86_64-pc-linux-gnu-gcc -DPACKAGE=test -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGE_FILES -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -pipe -march=native -fno-diagnostics-color -O2 -fno-strict-aliasing -pie -fPIC -fstack-protector --param=ssp-buffer-size=4 -o CMakeFiles/cmTC_dc481.dir/CheckIncludeFile.c.o -c /var/tmp/portage/dev-db/mariadb-10.6.8/work/mariadb-10.6.8_build/CMakeFiles/CMakeTmp/CheckIncludeFile.c /var/tmp/portage/dev-db/mariadb-10.6.8/work/mariadb-10.6.8_build/CMakeFiles/CMakeTmp/CheckIncludeFile.c:1:10: fatal error: netinet/in6.h: No such file or directory 1 | #include | ^~~~~~~~~~~~~~~ compilation terminated. ninja: build stopped: subcommand failed. Performing C SOURCE FILE Test HAVE_SOCKADDR_IN_SIN_LEN failed with the following output: Change Dir: /var/tmp/portage/dev-db/mariadb-10.6.8/work/mariadb-10.6.8_build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/ninja cmTC_ea148 && [1/2] Building C object CMakeFiles/cmTC_ea148.dir/src.c.o FAILED: CMakeFiles/cmTC_ea148.dir/src.c.o /usr/bin/x86_64-pc-linux-gnu-gcc -DHAVE_SOCKADDR_IN_SIN_LEN -DPACKAGE=test -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGE_FILES -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -pipe -march=native -fno-diagnostics-color -O2 -fno-strict-aliasing -pie -fPIC -fstack-protector --param=ssp-buffer-size=4 -o CMakeFiles/cmTC_ea148.dir/src.c.o -c /var/tmp/portage/dev-db/mariadb-10.6.8/work/mariadb-10.6.8_build/CMakeFiles/CMakeTmp/src.c /var/tmp/portage/dev-db/mariadb-10.6.8/work/mariadb-10.6.8_build/CMakeFiles/CMakeTmp/src.c: In function 'main': /var/tmp/portage/dev-db/mariadb-10.6.8/work/mariadb-10.6.8_build/CMakeFiles/CMakeTmp/src.c:8:41: error: 'struct sockaddr_in' has no member named 'sin_len' 8 | (void)sizeof(((struct sockaddr_in *)0)->sin_len); | ^~ ninja: build stopped: subcommand failed. Source file was: #include #include #include int main() { (void)sizeof(((struct sockaddr_in *)0)->sin_len); return 0; } Performing C SOURCE FILE Test HAVE_SOCKADDR_IN6_SIN6_LEN failed with the following output: Change Dir: /var/tmp/portage/dev-db/mariadb-10.6.8/work/mariadb-10.6.8_build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/ninja cmTC_5cbe7 && [1/2] Building C object CMakeFiles/cmTC_5cbe7.dir/src.c.o FAILED: CMakeFiles/cmTC_5cbe7.dir/src.c.o /usr/bin/x86_64-pc-linux-gnu-gcc -DHAVE_SOCKADDR_IN6_SIN6_LEN -DPACKAGE=test -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGE_FILES -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -pipe -march=native -fno-diagnostics-color -O2 -fno-strict-aliasing -pie -fPIC -fstack-protector --param=ssp-buffer-size=4 -o CMakeFiles/cmTC_5cbe7.dir/src.c.o -c /var/tmp/portage/dev-db/mariadb-10.6.8/work/mariadb-10.6.8_build/CMakeFiles/CMakeTmp/src.c /var/tmp/portage/dev-db/mariadb-10.6.8/work/mariadb-10.6.8_build/CMakeFiles/CMakeTmp/src.c: In function 'main': /var/tmp/portage/dev-db/mariadb-10.6.8/work/mariadb-10.6.8_build/CMakeFiles/CMakeTmp/src.c:8:42: error: 'struct sockaddr_in6' has no member named 'sin6_len' 8 | (void)sizeof(((struct sockaddr_in6 *)0)->sin6_len); | ^~ ninja: build stopped: subcommand failed. Source file was: #include #include #include int main() { (void)sizeof(((struct sockaddr_in6 *)0)->sin6_len); return 0; } Performing C SOURCE FILE Test STRUCT_DIRENT_HAS_D_NAMLEN failed with the following output: Change Dir: /var/tmp/portage/dev-db/mariadb-10.6.8/work/mariadb-10.6.8_build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/ninja cmTC_93b73 && [1/2] Building C object CMakeFiles/cmTC_93b73.dir/src.c.o FAILED: CMakeFiles/cmTC_93b73.dir/src.c.o /usr/bin/x86_64-pc-linux-gnu-gcc -DPACKAGE=test -DSTRUCT_DIRENT_HAS_D_NAMLEN -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGE_FILES -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -pipe -march=native -fno-diagnostics-color -O2 -fno-strict-aliasing -pie -fPIC -fstack-protector --param=ssp-buffer-size=4 -o CMakeFiles/cmTC_93b73.dir/src.c.o -c /var/tmp/portage/dev-db/mariadb-10.6.8/work/mariadb-10.6.8_build/CMakeFiles/CMakeTmp/src.c /var/tmp/portage/dev-db/mariadb-10.6.8/work/mariadb-10.6.8_build/CMakeFiles/CMakeTmp/src.c: In function 'main': /var/tmp/portage/dev-db/mariadb-10.6.8/work/mariadb-10.6.8_build/CMakeFiles/CMakeTmp/src.c:6:38: error: 'struct dirent' has no member named 'd_namlen'; did you mean 'd_name'? 6 | (void)sizeof(((struct dirent *)0)->d_namlen); | ^~~~~~~~ | d_name ninja: build stopped: subcommand failed. Source file was: #include int main() { (void)sizeof(((struct dirent *)0)->d_namlen); return 0; }