Determining if the function floor exists failed with the following output:
Change Dir: /var/tmp/portage/dev-db/mariadb-10.11.5/work/mariadb-10.11.5_build/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/ninja cmTC_45453 && [1/2] Building C object CMakeFiles/cmTC_45453.dir/CheckFunctionExists.c.o
<command-line>: 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 '<math.h>'
  +++ |+#include <math.h>
    1 | #ifdef CHECK_FUNCTION_EXISTS
[2/2] Linking C executable cmTC_45453
FAILED: cmTC_45453 
: && /usr/bin/x86_64-pc-linux-gnu-gcc -mtune=generic -O2 -pipe -fno-strict-aliasing -pie -fPIC -fstack-protector --param=ssp-buffer-size=4 -DCHECK_FUNCTION_EXISTS=floor -Wl,-O1 -Wl,--sort-common -Wl,--as-needed   -rdynamic CMakeFiles/cmTC_45453.dir/CheckFunctionExists.c.o -o cmTC_45453   && :
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/cmTC_45453.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.11.5/work/mariadb-10.11.5_build/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/ninja cmTC_a01c7 && [1/2] Building C object CMakeFiles/cmTC_a01c7.dir/CheckFunctionExists.c.o
[2/2] Linking C executable cmTC_a01c7
FAILED: cmTC_a01c7 
: && /usr/bin/x86_64-pc-linux-gnu-gcc -mtune=generic -O2 -pipe -fno-strict-aliasing -pie -fPIC -fstack-protector --param=ssp-buffer-size=4 -DCHECK_FUNCTION_EXISTS=crypt -Wl,-O1 -Wl,--sort-common -Wl,--as-needed   -rdynamic CMakeFiles/cmTC_a01c7.dir/CheckFunctionExists.c.o -o cmTC_a01c7   && :
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/cmTC_a01c7.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.



Performing C SOURCE FILE Test CMAKE_HAVE_LIBC_PTHREAD failed with the following output:
Change Dir: /var/tmp/portage/dev-db/mariadb-10.11.5/work/mariadb-10.11.5_build/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/ninja cmTC_f3a2b && [1/2] Building C object CMakeFiles/cmTC_f3a2b.dir/src.c.o
[2/2] Linking C executable cmTC_f3a2b
FAILED: cmTC_f3a2b 
: && /usr/bin/x86_64-pc-linux-gnu-gcc -mtune=generic -O2 -pipe -fno-strict-aliasing -pie -fPIC -fstack-protector --param=ssp-buffer-size=4 -Wl,-O1 -Wl,--sort-common -Wl,--as-needed   -rdynamic CMakeFiles/cmTC_f3a2b.dir/src.c.o -o cmTC_f3a2b   && :
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/cmTC_f3a2b.dir/src.c.o: in function `main':
src.c:(.text.startup+0x15): undefined reference to `pthread_create'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: src.c:(.text.startup+0x1f): undefined reference to `pthread_detach'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: src.c:(.text.startup+0x29): undefined reference to `pthread_cancel'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: src.c:(.text.startup+0x35): undefined reference to `pthread_join'
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.


Source file was:
#include <pthread.h>

static void* test_func(void* data)
{
  return data;
}

int main(void)
{
  pthread_t thread;
  pthread_create(&thread, NULL, test_func, NULL);
  pthread_detach(thread);
  pthread_cancel(thread);
  pthread_join(thread, NULL);
  pthread_atfork(NULL, NULL, NULL);
  pthread_exit(NULL);

  return 0;
}

Determining if files ieeefp.h exist failed with the following output:
Change Dir: /var/tmp/portage/dev-db/mariadb-10.11.5/work/mariadb-10.11.5_build/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/ninja cmTC_dbd93 && [1/2] Building C object CMakeFiles/cmTC_dbd93.dir/HAVE_IEEEFP_H.c.o
FAILED: CMakeFiles/cmTC_dbd93.dir/HAVE_IEEEFP_H.c.o 
/usr/bin/x86_64-pc-linux-gnu-gcc -D_GNU_SOURCE=1   -mtune=generic -O2 -pipe -fno-strict-aliasing -pie -fPIC -fstack-protector --param=ssp-buffer-size=4 -o CMakeFiles/cmTC_dbd93.dir/HAVE_IEEEFP_H.c.o -c /var/tmp/portage/dev-db/mariadb-10.11.5/work/mariadb-10.11.5_build/CMakeFiles/CheckIncludeFiles/HAVE_IEEEFP_H.c
/var/tmp/portage/dev-db/mariadb-10.11.5/work/mariadb-10.11.5_build/CMakeFiles/CheckIncludeFiles/HAVE_IEEEFP_H.c:2:10: fatal error: ieeefp.h: No such file or directory
    2 | #include <ieeefp.h>
      |          ^~~~~~~~~~
compilation terminated.
ninja: build stopped: subcommand failed.


Source:
/* */
#include <ieeefp.h>


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.11.5/work/mariadb-10.11.5_build/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/ninja cmTC_0d803 && [1/2] Building C object CMakeFiles/cmTC_0d803.dir/HAVE_NDIR_H.c.o
FAILED: CMakeFiles/cmTC_0d803.dir/HAVE_NDIR_H.c.o 
/usr/bin/x86_64-pc-linux-gnu-gcc -D_GNU_SOURCE=1   -mtune=generic -O2 -pipe -fno-strict-aliasing -pie -fPIC -fstack-protector --param=ssp-buffer-size=4 -o CMakeFiles/cmTC_0d803.dir/HAVE_NDIR_H.c.o -c /var/tmp/portage/dev-db/mariadb-10.11.5/work/mariadb-10.11.5_build/CMakeFiles/CheckIncludeFiles/HAVE_NDIR_H.c
/var/tmp/portage/dev-db/mariadb-10.11.5/work/mariadb-10.11.5_build/CMakeFiles/CheckIncludeFiles/HAVE_NDIR_H.c:2:10: fatal error: ndir.h: No such file or directory
    2 | #include <ndir.h>
      |          ^~~~~~~~
compilation terminated.
ninja: build stopped: subcommand failed.


Source:
/* */
#include <ndir.h>


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.11.5/work/mariadb-10.11.5_build/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/ninja cmTC_293d7 && [1/2] Building C object CMakeFiles/cmTC_293d7.dir/HAVE_SELECT_H.c.o
FAILED: CMakeFiles/cmTC_293d7.dir/HAVE_SELECT_H.c.o 
/usr/bin/x86_64-pc-linux-gnu-gcc -D_GNU_SOURCE=1   -mtune=generic -O2 -pipe -fno-strict-aliasing -pie -fPIC -fstack-protector --param=ssp-buffer-size=4 -o CMakeFiles/cmTC_293d7.dir/HAVE_SELECT_H.c.o -c /var/tmp/portage/dev-db/mariadb-10.11.5/work/mariadb-10.11.5_build/CMakeFiles/CheckIncludeFiles/HAVE_SELECT_H.c
/var/tmp/portage/dev-db/mariadb-10.11.5/work/mariadb-10.11.5_build/CMakeFiles/CheckIncludeFiles/HAVE_SELECT_H.c:2:10: fatal error: select.h: No such file or directory
    2 | #include <select.h>
      |          ^~~~~~~~~~
compilation terminated.
ninja: build stopped: subcommand failed.


Source:
/* */
#include <select.h>


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.11.5/work/mariadb-10.11.5_build/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/ninja cmTC_d7f4a && [1/2] Building C object CMakeFiles/cmTC_d7f4a.dir/HAVE_SYS_EVENT_H.c.o
FAILED: CMakeFiles/cmTC_d7f4a.dir/HAVE_SYS_EVENT_H.c.o 
/usr/bin/x86_64-pc-linux-gnu-gcc -D_GNU_SOURCE=1   -mtune=generic -O2 -pipe -fno-strict-aliasing -pie -fPIC -fstack-protector --param=ssp-buffer-size=4 -o CMakeFiles/cmTC_d7f4a.dir/HAVE_SYS_EVENT_H.c.o -c /var/tmp/portage/dev-db/mariadb-10.11.5/work/mariadb-10.11.5_build/CMakeFiles/CheckIncludeFiles/HAVE_SYS_EVENT_H.c
/var/tmp/portage/dev-db/mariadb-10.11.5/work/mariadb-10.11.5_build/CMakeFiles/CheckIncludeFiles/HAVE_SYS_EVENT_H.c:3:10: fatal error: sys/event.h: No such file or directory
    3 | #include <sys/event.h>
      |          ^~~~~~~~~~~~~
compilation terminated.
ninja: build stopped: subcommand failed.


Source:
/* */
#include <sys/types.h>
#include <sys/event.h>


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.11.5/work/mariadb-10.11.5_build/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/ninja cmTC_920df && [1/2] Building C object CMakeFiles/cmTC_920df.dir/HAVE_SYS_NDIR_H.c.o
FAILED: CMakeFiles/cmTC_920df.dir/HAVE_SYS_NDIR_H.c.o 
/usr/bin/x86_64-pc-linux-gnu-gcc -D_GNU_SOURCE=1   -mtune=generic -O2 -pipe -fno-strict-aliasing -pie -fPIC -fstack-protector --param=ssp-buffer-size=4 -o CMakeFiles/cmTC_920df.dir/HAVE_SYS_NDIR_H.c.o -c /var/tmp/portage/dev-db/mariadb-10.11.5/work/mariadb-10.11.5_build/CMakeFiles/CheckIncludeFiles/HAVE_SYS_NDIR_H.c
/var/tmp/portage/dev-db/mariadb-10.11.5/work/mariadb-10.11.5_build/CMakeFiles/CheckIncludeFiles/HAVE_SYS_NDIR_H.c:2:10: fatal error: sys/ndir.h: No such file or directory
    2 | #include <sys/ndir.h>
      |          ^~~~~~~~~~~~
compilation terminated.
ninja: build stopped: subcommand failed.


Source:
/* */
#include <sys/ndir.h>


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.11.5/work/mariadb-10.11.5_build/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/ninja cmTC_38437 && [1/2] Building C object CMakeFiles/cmTC_38437.dir/HAVE_SYS_PTE_H.c.o
FAILED: CMakeFiles/cmTC_38437.dir/HAVE_SYS_PTE_H.c.o 
/usr/bin/x86_64-pc-linux-gnu-gcc -D_GNU_SOURCE=1   -mtune=generic -O2 -pipe -fno-strict-aliasing -pie -fPIC -fstack-protector --param=ssp-buffer-size=4 -o CMakeFiles/cmTC_38437.dir/HAVE_SYS_PTE_H.c.o -c /var/tmp/portage/dev-db/mariadb-10.11.5/work/mariadb-10.11.5_build/CMakeFiles/CheckIncludeFiles/HAVE_SYS_PTE_H.c
/var/tmp/portage/dev-db/mariadb-10.11.5/work/mariadb-10.11.5_build/CMakeFiles/CheckIncludeFiles/HAVE_SYS_PTE_H.c:2:10: fatal error: sys/pte.h: No such file or directory
    2 | #include <sys/pte.h>
      |          ^~~~~~~~~~~
compilation terminated.
ninja: build stopped: subcommand failed.


Source:
/* */
#include <sys/pte.h>


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.11.5/work/mariadb-10.11.5_build/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/ninja cmTC_21646 && [1/2] Building C object CMakeFiles/cmTC_21646.dir/HAVE_SYNCH_H.c.o
FAILED: CMakeFiles/cmTC_21646.dir/HAVE_SYNCH_H.c.o 
/usr/bin/x86_64-pc-linux-gnu-gcc -D_GNU_SOURCE=1   -mtune=generic -O2 -pipe -fno-strict-aliasing -pie -fPIC -fstack-protector --param=ssp-buffer-size=4 -o CMakeFiles/cmTC_21646.dir/HAVE_SYNCH_H.c.o -c /var/tmp/portage/dev-db/mariadb-10.11.5/work/mariadb-10.11.5_build/CMakeFiles/CheckIncludeFiles/HAVE_SYNCH_H.c
/var/tmp/portage/dev-db/mariadb-10.11.5/work/mariadb-10.11.5_build/CMakeFiles/CheckIncludeFiles/HAVE_SYNCH_H.c:2:10: fatal error: synch.h: No such file or directory
    2 | #include <synch.h>
      |          ^~~~~~~~~
compilation terminated.
ninja: build stopped: subcommand failed.


Source:
/* */
#include <synch.h>


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.11.5/work/mariadb-10.11.5_build/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/ninja cmTC_1a856 && [1/2] Building C object CMakeFiles/cmTC_1a856.dir/HAVE_SYSENT_H.c.o
FAILED: CMakeFiles/cmTC_1a856.dir/HAVE_SYSENT_H.c.o 
/usr/bin/x86_64-pc-linux-gnu-gcc -D_GNU_SOURCE=1   -mtune=generic -O2 -pipe -fno-strict-aliasing -pie -fPIC -fstack-protector --param=ssp-buffer-size=4 -o CMakeFiles/cmTC_1a856.dir/HAVE_SYSENT_H.c.o -c /var/tmp/portage/dev-db/mariadb-10.11.5/work/mariadb-10.11.5_build/CMakeFiles/CheckIncludeFiles/HAVE_SYSENT_H.c
/var/tmp/portage/dev-db/mariadb-10.11.5/work/mariadb-10.11.5_build/CMakeFiles/CheckIncludeFiles/HAVE_SYSENT_H.c:2:10: fatal error: sysent.h: No such file or directory
    2 | #include <sysent.h>
      |          ^~~~~~~~~~
compilation terminated.
ninja: build stopped: subcommand failed.


Source:
/* */
#include <sysent.h>


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.11.5/work/mariadb-10.11.5_build/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/ninja cmTC_abe71 && [1/2] Building C object CMakeFiles/cmTC_abe71.dir/HAVE_SYS_FPU_H.c.o
FAILED: CMakeFiles/cmTC_abe71.dir/HAVE_SYS_FPU_H.c.o 
/usr/bin/x86_64-pc-linux-gnu-gcc -D_GNU_SOURCE=1   -mtune=generic -O2 -pipe -fno-strict-aliasing -pie -fPIC -fstack-protector --param=ssp-buffer-size=4 -o CMakeFiles/cmTC_abe71.dir/HAVE_SYS_FPU_H.c.o -c /var/tmp/portage/dev-db/mariadb-10.11.5/work/mariadb-10.11.5_build/CMakeFiles/CheckIncludeFiles/HAVE_SYS_FPU_H.c
/var/tmp/portage/dev-db/mariadb-10.11.5/work/mariadb-10.11.5_build/CMakeFiles/CheckIncludeFiles/HAVE_SYS_FPU_H.c:2:10: fatal error: sys/fpu.h: No such file or directory
    2 | #include <sys/fpu.h>
      |          ^~~~~~~~~~~
compilation terminated.
ninja: build stopped: subcommand failed.


Source:
/* */
#include <sys/fpu.h>


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.11.5/work/mariadb-10.11.5_build/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/ninja cmTC_2e354 && [1/2] Building C object CMakeFiles/cmTC_2e354.dir/HAVE_SYS_MALLOC_H.c.o
FAILED: CMakeFiles/cmTC_2e354.dir/HAVE_SYS_MALLOC_H.c.o 
/usr/bin/x86_64-pc-linux-gnu-gcc -D_GNU_SOURCE=1   -mtune=generic -O2 -pipe -fno-strict-aliasing -pie -fPIC -fstack-protector --param=ssp-buffer-size=4 -o CMakeFiles/cmTC_2e354.dir/HAVE_SYS_MALLOC_H.c.o -c /var/tmp/portage/dev-db/mariadb-10.11.5/work/mariadb-10.11.5_build/CMakeFiles/CheckIncludeFiles/HAVE_SYS_MALLOC_H.c
/var/tmp/portage/dev-db/mariadb-10.11.5/work/mariadb-10.11.5_build/CMakeFiles/CheckIncludeFiles/HAVE_SYS_MALLOC_H.c:3:10: fatal error: sys/malloc.h: No such file or directory
    3 | #include <sys/malloc.h>
      |          ^~~~~~~~~~~~~~
compilation terminated.
ninja: build stopped: subcommand failed.


Source:
/* */
#include <sys/types.h>
#include <sys/malloc.h>


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.11.5/work/mariadb-10.11.5_build/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/ninja cmTC_787bc && [1/2] Building C object CMakeFiles/cmTC_787bc.dir/HAVE_SYS_STREAM_H.c.o
FAILED: CMakeFiles/cmTC_787bc.dir/HAVE_SYS_STREAM_H.c.o 
/usr/bin/x86_64-pc-linux-gnu-gcc -D_GNU_SOURCE=1   -mtune=generic -O2 -pipe -fno-strict-aliasing -pie -fPIC -fstack-protector --param=ssp-buffer-size=4 -o CMakeFiles/cmTC_787bc.dir/HAVE_SYS_STREAM_H.c.o -c /var/tmp/portage/dev-db/mariadb-10.11.5/work/mariadb-10.11.5_build/CMakeFiles/CheckIncludeFiles/HAVE_SYS_STREAM_H.c
/var/tmp/portage/dev-db/mariadb-10.11.5/work/mariadb-10.11.5_build/CMakeFiles/CheckIncludeFiles/HAVE_SYS_STREAM_H.c:2:10: fatal error: sys/stream.h: No such file or directory
    2 | #include <sys/stream.h>
      |          ^~~~~~~~~~~~~~
compilation terminated.
ninja: build stopped: subcommand failed.


Source:
/* */
#include <sys/stream.h>


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.11.5/work/mariadb-10.11.5_build/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/ninja cmTC_192df && [1/2] Building C object CMakeFiles/cmTC_192df.dir/HAVE_TERMBITS_H.c.o
FAILED: CMakeFiles/cmTC_192df.dir/HAVE_TERMBITS_H.c.o 
/usr/bin/x86_64-pc-linux-gnu-gcc -D_GNU_SOURCE=1   -mtune=generic -O2 -pipe -fno-strict-aliasing -pie -fPIC -fstack-protector --param=ssp-buffer-size=4 -o CMakeFiles/cmTC_192df.dir/HAVE_TERMBITS_H.c.o -c /var/tmp/portage/dev-db/mariadb-10.11.5/work/mariadb-10.11.5_build/CMakeFiles/CheckIncludeFiles/HAVE_TERMBITS_H.c
/var/tmp/portage/dev-db/mariadb-10.11.5/work/mariadb-10.11.5_build/CMakeFiles/CheckIncludeFiles/HAVE_TERMBITS_H.c:2:10: fatal error: termbits.h: No such file or directory
    2 | #include <termbits.h>
      |          ^~~~~~~~~~~~
compilation terminated.
ninja: build stopped: subcommand failed.


Source:
/* */
#include <termbits.h>


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.11.5/work/mariadb-10.11.5_build/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/ninja cmTC_38173 && [1/2] Building C object CMakeFiles/cmTC_38173.dir/HAVE_VARARGS_H.c.o
FAILED: CMakeFiles/cmTC_38173.dir/HAVE_VARARGS_H.c.o 
/usr/bin/x86_64-pc-linux-gnu-gcc -D_GNU_SOURCE=1   -mtune=generic -O2 -pipe -fno-strict-aliasing -pie -fPIC -fstack-protector --param=ssp-buffer-size=4 -o CMakeFiles/cmTC_38173.dir/HAVE_VARARGS_H.c.o -c /var/tmp/portage/dev-db/mariadb-10.11.5/work/mariadb-10.11.5_build/CMakeFiles/CheckIncludeFiles/HAVE_VARARGS_H.c
In file included from /var/tmp/portage/dev-db/mariadb-10.11.5/work/mariadb-10.11.5_build/CMakeFiles/CheckIncludeFiles/HAVE_VARARGS_H.c:2:
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/varargs.h:4:2: error: #error "GCC no longer implements <varargs.h>."
    4 | #error "GCC no longer implements <varargs.h>."
      |  ^~~~~
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/varargs.h:5:2: error: #error "Revise your code to use <stdarg.h>."
    5 | #error "Revise your code to use <stdarg.h>."
      |  ^~~~~
ninja: build stopped: subcommand failed.


Source:
/* */
#include <varargs.h>


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.11.5/work/mariadb-10.11.5_build/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/ninja cmTC_eec16 && [1/2] Building C object CMakeFiles/cmTC_eec16.dir/HAVE_SYS_UTIME_H.c.o
FAILED: CMakeFiles/cmTC_eec16.dir/HAVE_SYS_UTIME_H.c.o 
/usr/bin/x86_64-pc-linux-gnu-gcc -D_GNU_SOURCE=1   -mtune=generic -O2 -pipe -fno-strict-aliasing -pie -fPIC -fstack-protector --param=ssp-buffer-size=4 -o CMakeFiles/cmTC_eec16.dir/HAVE_SYS_UTIME_H.c.o -c /var/tmp/portage/dev-db/mariadb-10.11.5/work/mariadb-10.11.5_build/CMakeFiles/CheckIncludeFiles/HAVE_SYS_UTIME_H.c
/var/tmp/portage/dev-db/mariadb-10.11.5/work/mariadb-10.11.5_build/CMakeFiles/CheckIncludeFiles/HAVE_SYS_UTIME_H.c:2:10: fatal error: sys/utime.h: No such file or directory
    2 | #include <sys/utime.h>
      |          ^~~~~~~~~~~~~
compilation terminated.
ninja: build stopped: subcommand failed.


Source:
/* */
#include <sys/utime.h>


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.11.5/work/mariadb-10.11.5_build/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/ninja cmTC_719c0 && [1/2] Building C object CMakeFiles/cmTC_719c0.dir/HAVE_SYS_VADVISE_H.c.o
FAILED: CMakeFiles/cmTC_719c0.dir/HAVE_SYS_VADVISE_H.c.o 
/usr/bin/x86_64-pc-linux-gnu-gcc -D_GNU_SOURCE=1   -mtune=generic -O2 -pipe -fno-strict-aliasing -pie -fPIC -fstack-protector --param=ssp-buffer-size=4 -o CMakeFiles/cmTC_719c0.dir/HAVE_SYS_VADVISE_H.c.o -c /var/tmp/portage/dev-db/mariadb-10.11.5/work/mariadb-10.11.5_build/CMakeFiles/CheckIncludeFiles/HAVE_SYS_VADVISE_H.c
/var/tmp/portage/dev-db/mariadb-10.11.5/work/mariadb-10.11.5_build/CMakeFiles/CheckIncludeFiles/HAVE_SYS_VADVISE_H.c:2:10: fatal error: sys/vadvise.h: No such file or directory
    2 | #include <sys/vadvise.h>
      |          ^~~~~~~~~~~~~~~
compilation terminated.
ninja: build stopped: subcommand failed.


Source:
/* */
#include <sys/vadvise.h>


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.11.5/work/mariadb-10.11.5_build/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/ninja cmTC_5e79a && [1/2] Building C object CMakeFiles/cmTC_5e79a.dir/HAVE_SYS_SOCKIO_H.c.o
FAILED: CMakeFiles/cmTC_5e79a.dir/HAVE_SYS_SOCKIO_H.c.o 
/usr/bin/x86_64-pc-linux-gnu-gcc -D_GNU_SOURCE=1   -mtune=generic -O2 -pipe -fno-strict-aliasing -pie -fPIC -fstack-protector --param=ssp-buffer-size=4 -o CMakeFiles/cmTC_5e79a.dir/HAVE_SYS_SOCKIO_H.c.o -c /var/tmp/portage/dev-db/mariadb-10.11.5/work/mariadb-10.11.5_build/CMakeFiles/CheckIncludeFiles/HAVE_SYS_SOCKIO_H.c
/var/tmp/portage/dev-db/mariadb-10.11.5/work/mariadb-10.11.5_build/CMakeFiles/CheckIncludeFiles/HAVE_SYS_SOCKIO_H.c:2:10: fatal error: sys/sockio.h: No such file or directory
    2 | #include <sys/sockio.h>
      |          ^~~~~~~~~~~~~~
compilation terminated.
ninja: build stopped: subcommand failed.


Source:
/* */
#include <sys/sockio.h>


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.11.5/work/mariadb-10.11.5_build/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/ninja cmTC_31097 && [1/2] Building C object CMakeFiles/cmTC_31097.dir/HAVE_SYS_PTEM_H.c.o
FAILED: CMakeFiles/cmTC_31097.dir/HAVE_SYS_PTEM_H.c.o 
/usr/bin/x86_64-pc-linux-gnu-gcc -DPACKAGE=test -D_GNU_SOURCE=1   -mtune=generic -O2 -pipe -fno-strict-aliasing -pie -fPIC -fstack-protector --param=ssp-buffer-size=4 -o CMakeFiles/cmTC_31097.dir/HAVE_SYS_PTEM_H.c.o -c /var/tmp/portage/dev-db/mariadb-10.11.5/work/mariadb-10.11.5_build/CMakeFiles/CheckIncludeFiles/HAVE_SYS_PTEM_H.c
/var/tmp/portage/dev-db/mariadb-10.11.5/work/mariadb-10.11.5_build/CMakeFiles/CheckIncludeFiles/HAVE_SYS_PTEM_H.c:2:10: fatal error: sys/ptem.h: No such file or directory
    2 | #include <sys/ptem.h>
      |          ^~~~~~~~~~~~
compilation terminated.
ninja: build stopped: subcommand failed.


Source:
/* */
#include <sys/ptem.h>


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.11.5/work/mariadb-10.11.5_build/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/ninja cmTC_03f20 && [1/2] Building C object CMakeFiles/cmTC_03f20.dir/CheckFunctionExists.c.o
[2/2] Linking C executable cmTC_03f20
FAILED: cmTC_03f20 
: && /usr/bin/x86_64-pc-linux-gnu-gcc -mtune=generic -O2 -pipe -fno-strict-aliasing -pie -fPIC -fstack-protector --param=ssp-buffer-size=4 -DCHECK_FUNCTION_EXISTS=printstack -Wl,-O1 -Wl,--sort-common -Wl,--as-needed   -rdynamic CMakeFiles/cmTC_03f20.dir/CheckFunctionExists.c.o -o cmTC_03f20  -lm  -lcrypt  -ldl  -pthread && :
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/cmTC_03f20.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.11.5/work/mariadb-10.11.5_build/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/ninja cmTC_abdf8 && [1/2] Building C object CMakeFiles/cmTC_abdf8.dir/CheckFunctionExists.c.o
[2/2] Linking C executable cmTC_abdf8
FAILED: cmTC_abdf8 
: && /usr/bin/x86_64-pc-linux-gnu-gcc -mtune=generic -O2 -pipe -fno-strict-aliasing -pie -fPIC -fstack-protector --param=ssp-buffer-size=4 -DCHECK_FUNCTION_EXISTS=bfill -Wl,-O1 -Wl,--sort-common -Wl,--as-needed   -rdynamic CMakeFiles/cmTC_abdf8.dir/CheckFunctionExists.c.o -o cmTC_abdf8  -lm  -lcrypt  -ldl  -pthread && :
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/cmTC_abdf8.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.11.5/work/mariadb-10.11.5_build/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/ninja cmTC_2a317 && [1/2] Building C object CMakeFiles/cmTC_2a317.dir/CheckFunctionExists.c.o
[2/2] Linking C executable cmTC_2a317
FAILED: cmTC_2a317 
: && /usr/bin/x86_64-pc-linux-gnu-gcc -mtune=generic -O2 -pipe -fno-strict-aliasing -pie -fPIC -fstack-protector --param=ssp-buffer-size=4 -DCHECK_FUNCTION_EXISTS=compress -Wl,-O1 -Wl,--sort-common -Wl,--as-needed   -rdynamic CMakeFiles/cmTC_2a317.dir/CheckFunctionExists.c.o -o cmTC_2a317  -lm  -lcrypt  -ldl  -pthread && :
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/cmTC_2a317.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.11.5/work/mariadb-10.11.5_build/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/ninja cmTC_5f88b && [1/2] Building C object CMakeFiles/cmTC_5f88b.dir/CheckFunctionExists.c.o
[2/2] Linking C executable cmTC_5f88b
FAILED: cmTC_5f88b 
: && /usr/bin/x86_64-pc-linux-gnu-gcc -mtune=generic -O2 -pipe -fno-strict-aliasing -pie -fPIC -fstack-protector --param=ssp-buffer-size=4 -DCHECK_FUNCTION_EXISTS=gethrtime -Wl,-O1 -Wl,--sort-common -Wl,--as-needed   -rdynamic CMakeFiles/cmTC_5f88b.dir/CheckFunctionExists.c.o -o cmTC_5f88b  -lm  -lcrypt  -ldl  -pthread && :
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/cmTC_5f88b.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.11.5/work/mariadb-10.11.5_build/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/ninja cmTC_ceca3 && [1/2] Building C object CMakeFiles/cmTC_ceca3.dir/CheckFunctionExists.c.o
[2/2] Linking C executable cmTC_ceca3
FAILED: cmTC_ceca3 
: && /usr/bin/x86_64-pc-linux-gnu-gcc -mtune=generic -O2 -pipe -fno-strict-aliasing -pie -fPIC -fstack-protector --param=ssp-buffer-size=4 -DCHECK_FUNCTION_EXISTS=getpassphrase -Wl,-O1 -Wl,--sort-common -Wl,--as-needed   -rdynamic CMakeFiles/cmTC_ceca3.dir/CheckFunctionExists.c.o -o cmTC_ceca3  -lm  -lcrypt  -ldl  -pthread && :
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/cmTC_ceca3.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.11.5/work/mariadb-10.11.5_build/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/ninja cmTC_6c01f && [1/2] Building C object CMakeFiles/cmTC_6c01f.dir/CheckFunctionExists.c.o
[2/2] Linking C executable cmTC_6c01f
FAILED: cmTC_6c01f 
: && /usr/bin/x86_64-pc-linux-gnu-gcc -mtune=generic -O2 -pipe -fno-strict-aliasing -pie -fPIC -fstack-protector --param=ssp-buffer-size=4 -DCHECK_FUNCTION_EXISTS=malloc_zone_statistics -Wl,-O1 -Wl,--sort-common -Wl,--as-needed   -rdynamic CMakeFiles/cmTC_6c01f.dir/CheckFunctionExists.c.o -o cmTC_6c01f  -lm  -lcrypt  -ldl  -pthread && :
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/cmTC_6c01f.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.11.5/work/mariadb-10.11.5_build/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/ninja cmTC_8ae3a && [1/2] Building C object CMakeFiles/cmTC_8ae3a.dir/CheckFunctionExists.c.o
[2/2] Linking C executable cmTC_8ae3a
FAILED: cmTC_8ae3a 
: && /usr/bin/x86_64-pc-linux-gnu-gcc -mtune=generic -O2 -pipe -fno-strict-aliasing -pie -fPIC -fstack-protector --param=ssp-buffer-size=4 -DCHECK_FUNCTION_EXISTS=pthread_attr_create -Wl,-O1 -Wl,--sort-common -Wl,--as-needed   -rdynamic CMakeFiles/cmTC_8ae3a.dir/CheckFunctionExists.c.o -o cmTC_8ae3a  -lm  -lcrypt  -ldl  -pthread && :
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/cmTC_8ae3a.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.11.5/work/mariadb-10.11.5_build/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/ninja cmTC_82f4d && [1/2] Building C object CMakeFiles/cmTC_82f4d.dir/CheckFunctionExists.c.o
[2/2] Linking C executable cmTC_82f4d
FAILED: cmTC_82f4d 
: && /usr/bin/x86_64-pc-linux-gnu-gcc -mtune=generic -O2 -pipe -fno-strict-aliasing -pie -fPIC -fstack-protector --param=ssp-buffer-size=4 -DCHECK_FUNCTION_EXISTS=pthread_condattr_create -Wl,-O1 -Wl,--sort-common -Wl,--as-needed   -rdynamic CMakeFiles/cmTC_82f4d.dir/CheckFunctionExists.c.o -o cmTC_82f4d  -lm  -lcrypt  -ldl  -pthread && :
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/cmTC_82f4d.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.11.5/work/mariadb-10.11.5_build/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/ninja cmTC_dee3f && [1/2] Building C object CMakeFiles/cmTC_dee3f.dir/CheckFunctionExists.c.o
[2/2] Linking C executable cmTC_dee3f
FAILED: cmTC_dee3f 
: && /usr/bin/x86_64-pc-linux-gnu-gcc -mtune=generic -O2 -pipe -fno-strict-aliasing -pie -fPIC -fstack-protector --param=ssp-buffer-size=4 -DCHECK_FUNCTION_EXISTS=pthread_yield_np -Wl,-O1 -Wl,--sort-common -Wl,--as-needed   -rdynamic CMakeFiles/cmTC_dee3f.dir/CheckFunctionExists.c.o -o cmTC_dee3f  -lm  -lcrypt  -ldl  -pthread && :
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/cmTC_dee3f.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.11.5/work/mariadb-10.11.5_build/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/ninja cmTC_a1965 && [1/2] Building C object CMakeFiles/cmTC_a1965.dir/CheckFunctionExists.c.o
[2/2] Linking C executable cmTC_a1965
FAILED: cmTC_a1965 
: && /usr/bin/x86_64-pc-linux-gnu-gcc -mtune=generic -O2 -pipe -fno-strict-aliasing -pie -fPIC -fstack-protector --param=ssp-buffer-size=4 -DCHECK_FUNCTION_EXISTS=rwlock_init -Wl,-O1 -Wl,--sort-common -Wl,--as-needed   -rdynamic CMakeFiles/cmTC_a1965.dir/CheckFunctionExists.c.o -o cmTC_a1965  -lm  -lcrypt  -ldl  -pthread && :
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/cmTC_a1965.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.11.5/work/mariadb-10.11.5_build/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/ninja cmTC_e1507 && [1/2] Building C object CMakeFiles/cmTC_e1507.dir/CheckFunctionExists.c.o
[2/2] Linking C executable cmTC_e1507
FAILED: cmTC_e1507 
: && /usr/bin/x86_64-pc-linux-gnu-gcc -mtune=generic -O2 -pipe -fno-strict-aliasing -pie -fPIC -fstack-protector --param=ssp-buffer-size=4 -DCHECK_FUNCTION_EXISTS=sigthreadmask -Wl,-O1 -Wl,--sort-common -Wl,--as-needed   -rdynamic CMakeFiles/cmTC_e1507.dir/CheckFunctionExists.c.o -o cmTC_e1507  -lm  -lcrypt  -ldl  -pthread && :
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/cmTC_e1507.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.11.5/work/mariadb-10.11.5_build/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/ninja cmTC_757eb && [1/2] Building C object CMakeFiles/cmTC_757eb.dir/CheckFunctionExists.c.o
[2/2] Linking C executable cmTC_757eb
FAILED: cmTC_757eb 
: && /usr/bin/x86_64-pc-linux-gnu-gcc -mtune=generic -O2 -pipe -fno-strict-aliasing -pie -fPIC -fstack-protector --param=ssp-buffer-size=4 -DCHECK_FUNCTION_EXISTS=tell -Wl,-O1 -Wl,--sort-common -Wl,--as-needed   -rdynamic CMakeFiles/cmTC_757eb.dir/CheckFunctionExists.c.o -o cmTC_757eb  -lm  -lcrypt  -ldl  -pthread && :
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/cmTC_757eb.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.11.5/work/mariadb-10.11.5_build/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/ninja cmTC_efce4 && [1/2] Building C object CMakeFiles/cmTC_efce4.dir/CheckFunctionExists.c.o
[2/2] Linking C executable cmTC_efce4
FAILED: cmTC_efce4 
: && /usr/bin/x86_64-pc-linux-gnu-gcc -mtune=generic -O2 -pipe -fno-strict-aliasing -pie -fPIC -fstack-protector --param=ssp-buffer-size=4 -DCHECK_FUNCTION_EXISTS=thr_setconcurrency -Wl,-O1 -Wl,--sort-common -Wl,--as-needed   -rdynamic CMakeFiles/cmTC_efce4.dir/CheckFunctionExists.c.o -o cmTC_efce4  -lm  -lcrypt  -ldl  -pthread && :
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/cmTC_efce4.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.11.5/work/mariadb-10.11.5_build/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/ninja cmTC_557ed && [1/2] Building C object CMakeFiles/cmTC_557ed.dir/CheckFunctionExists.c.o
[2/2] Linking C executable cmTC_557ed
FAILED: cmTC_557ed 
: && /usr/bin/x86_64-pc-linux-gnu-gcc -mtune=generic -O2 -pipe -fno-strict-aliasing -pie -fPIC -fstack-protector --param=ssp-buffer-size=4 -DCHECK_FUNCTION_EXISTS=thr_yield -Wl,-O1 -Wl,--sort-common -Wl,--as-needed   -rdynamic CMakeFiles/cmTC_557ed.dir/CheckFunctionExists.c.o -o cmTC_557ed  -lm  -lcrypt  -ldl  -pthread && :
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/cmTC_557ed.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.11.5/work/mariadb-10.11.5_build/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/ninja cmTC_aba64 && [1/2] Building CXX object CMakeFiles/cmTC_aba64.dir/src.cxx.o
FAILED: CMakeFiles/cmTC_aba64.dir/src.cxx.o 
/usr/bin/x86_64-pc-linux-gnu-g++ -DHAVE_READDIR_R -DPACKAGE=test -D_GNU_SOURCE=1   -mtune=generic -O2 -pipe -felide-constructors -fno-strict-aliasing -pie -fPIC -fstack-protector --param=ssp-buffer-size=4 -Werror -o CMakeFiles/cmTC_aba64.dir/src.cxx.o -c src.cxx
src.cxx: In function 'int main()':
src.cxx:3:18: error: 'int readdir_r(DIR*, dirent*, dirent**)' is deprecated [-Werror=deprecated-declarations]
    3 |   readdir_r(0,0,0);
      |                  ^
In file included from src.cxx:1:
/usr/include/dirent.h:183:12: note: declared here
  183 | extern int readdir_r (DIR *__restrict __dirp,
      |            ^~~~~~~~~
src.cxx:3:18: error: 'int readdir_r(DIR*, dirent*, dirent**)' is deprecated [-Werror=deprecated-declarations]
    3 |   readdir_r(0,0,0);
      |                  ^
In file included from 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  <dirent.h>
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.11.5/work/mariadb-10.11.5_build/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/ninja cmTC_9ca9f && [1/2] Building C object CMakeFiles/cmTC_9ca9f.dir/HAVE_IA64INTRIN_H.c.o
FAILED: CMakeFiles/cmTC_9ca9f.dir/HAVE_IA64INTRIN_H.c.o 
/usr/bin/x86_64-pc-linux-gnu-gcc -DPACKAGE=test -D_GNU_SOURCE=1   -mtune=generic -O2 -pipe -fno-strict-aliasing -pie -fPIC -fstack-protector --param=ssp-buffer-size=4 -o CMakeFiles/cmTC_9ca9f.dir/HAVE_IA64INTRIN_H.c.o -c /var/tmp/portage/dev-db/mariadb-10.11.5/work/mariadb-10.11.5_build/CMakeFiles/CheckIncludeFiles/HAVE_IA64INTRIN_H.c
/var/tmp/portage/dev-db/mariadb-10.11.5/work/mariadb-10.11.5_build/CMakeFiles/CheckIncludeFiles/HAVE_IA64INTRIN_H.c:2:10: fatal error: ia64intrin.h: No such file or directory
    2 | #include <ia64intrin.h>
      |          ^~~~~~~~~~~~~~
compilation terminated.
ninja: build stopped: subcommand failed.


Source:
/* */
#include <ia64intrin.h>


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.11.5/work/mariadb-10.11.5_build/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/ninja cmTC_cd887 && [1/2] Building C object CMakeFiles/cmTC_cd887.dir/CheckFunctionExists.c.o
[2/2] Linking C executable cmTC_cd887
FAILED: cmTC_cd887 
: && /usr/bin/x86_64-pc-linux-gnu-gcc -mtune=generic -O2 -pipe -fno-strict-aliasing -pie -fPIC -fstack-protector --param=ssp-buffer-size=4 -DCHECK_FUNCTION_EXISTS=read_real_time -Wl,-O1 -Wl,--sort-common -Wl,--as-needed   -rdynamic CMakeFiles/cmTC_cd887.dir/CheckFunctionExists.c.o -o cmTC_cd887  -lm  -lcrypt  -ldl  -pthread && :
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/cmTC_cd887.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.11.5/work/mariadb-10.11.5_build/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/ninja cmTC_c0b01 && [1/2] Building C object CMakeFiles/cmTC_c0b01.dir/CheckSymbolExists.c.o
FAILED: CMakeFiles/cmTC_c0b01.dir/CheckSymbolExists.c.o 
/usr/bin/x86_64-pc-linux-gnu-gcc -DPACKAGE=test -D_GNU_SOURCE=1   -mtune=generic -O2 -pipe -fno-strict-aliasing -pie -fPIC -fstack-protector --param=ssp-buffer-size=4 -o CMakeFiles/cmTC_c0b01.dir/CheckSymbolExists.c.o -c CheckSymbolExists.c
CheckSymbolExists.c: In function 'main':
CheckSymbolExists.c:8:19: error: 'getpagesizes' undeclared (first use in this function)
    8 |   return ((int*)(&getpagesizes))[argc];
      |                   ^~~~~~~~~~~~
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.11.5/work/mariadb-10.11.5_build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
/* */
#include <sys/mman.h>

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.11.5/work/mariadb-10.11.5_build/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/ninja cmTC_53d0e && [1/2] Building C object CMakeFiles/cmTC_53d0e.dir/CheckSymbolExists.c.o
FAILED: CMakeFiles/cmTC_53d0e.dir/CheckSymbolExists.c.o 
/usr/bin/x86_64-pc-linux-gnu-gcc -DPACKAGE=test -D_GNU_SOURCE=1   -mtune=generic -O2 -pipe -fno-strict-aliasing -pie -fPIC -fstack-protector --param=ssp-buffer-size=4 -o CMakeFiles/cmTC_53d0e.dir/CheckSymbolExists.c.o -c CheckSymbolExists.c
CheckSymbolExists.c: In function 'main':
CheckSymbolExists.c:8:19: error: 'TIOCSTAT' undeclared (first use in this function); did you mean 'TIOCSTI'?
    8 |   return ((int*)(&TIOCSTAT))[argc];
      |                   ^~~~~~~~
      |                   TIOCSTI
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.11.5/work/mariadb-10.11.5_build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
/* */
#include <sys/ioctl.h>

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.11.5/work/mariadb-10.11.5_build/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/ninja cmTC_0c084 && [1/2] Building C object CMakeFiles/cmTC_0c084.dir/CheckSymbolExists.c.o
FAILED: CMakeFiles/cmTC_0c084.dir/CheckSymbolExists.c.o 
/usr/bin/x86_64-pc-linux-gnu-gcc -DPACKAGE=test -D_GNU_SOURCE=1   -mtune=generic -O2 -pipe -fno-strict-aliasing -pie -fPIC -fstack-protector --param=ssp-buffer-size=4 -o CMakeFiles/cmTC_0c084.dir/CheckSymbolExists.c.o -c CheckSymbolExists.c
CheckSymbolExists.c:2:10: fatal error: sys/filio.h: No such file or directory
    2 | #include <sys/filio.h>
      |          ^~~~~~~~~~~~~
compilation terminated.
ninja: build stopped: subcommand failed.


File /var/tmp/portage/dev-db/mariadb-10.11.5/work/mariadb-10.11.5_build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
/* */
#include <sys/filio.h>

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.11.5/work/mariadb-10.11.5_build/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/ninja cmTC_be58e && [1/2] Building C object CMakeFiles/cmTC_be58e.dir/SIZEOF_UCHAR.c.o
FAILED: CMakeFiles/cmTC_be58e.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   -mtune=generic -O2 -pipe -fno-strict-aliasing -pie -fPIC -fstack-protector --param=ssp-buffer-size=4 -o CMakeFiles/cmTC_be58e.dir/SIZEOF_UCHAR.c.o -c /var/tmp/portage/dev-db/mariadb-10.11.5/work/mariadb-10.11.5_build/CMakeFiles/CheckTypeSize/SIZEOF_UCHAR.c
/var/tmp/portage/dev-db/mariadb-10.11.5/work/mariadb-10.11.5_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.11.5/work/mariadb-10.11.5_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.11.5/work/mariadb-10.11.5_build/CMakeFiles/CheckTypeSize/SIZEOF_UCHAR.c:
#include <sys/types.h>
#include <stdint.h>
#include <stddef.h>
#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.11.5/work/mariadb-10.11.5_build/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/ninja cmTC_c0185 && [1/2] Building C object CMakeFiles/cmTC_c0185.dir/SIZEOF_INT8.c.o
FAILED: CMakeFiles/cmTC_c0185.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   -mtune=generic -O2 -pipe -fno-strict-aliasing -pie -fPIC -fstack-protector --param=ssp-buffer-size=4 -o CMakeFiles/cmTC_c0185.dir/SIZEOF_INT8.c.o -c /var/tmp/portage/dev-db/mariadb-10.11.5/work/mariadb-10.11.5_build/CMakeFiles/CheckTypeSize/SIZEOF_INT8.c
/var/tmp/portage/dev-db/mariadb-10.11.5/work/mariadb-10.11.5_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.11.5/work/mariadb-10.11.5_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.11.5/work/mariadb-10.11.5_build/CMakeFiles/CheckTypeSize/SIZEOF_INT8.c:
#include <sys/types.h>
#include <stdint.h>
#include <stddef.h>
#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.11.5/work/mariadb-10.11.5_build/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/ninja cmTC_e937c && [1/2] Building C object CMakeFiles/cmTC_e937c.dir/SIZEOF_UINT8.c.o
FAILED: CMakeFiles/cmTC_e937c.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   -mtune=generic -O2 -pipe -fno-strict-aliasing -pie -fPIC -fstack-protector --param=ssp-buffer-size=4 -o CMakeFiles/cmTC_e937c.dir/SIZEOF_UINT8.c.o -c /var/tmp/portage/dev-db/mariadb-10.11.5/work/mariadb-10.11.5_build/CMakeFiles/CheckTypeSize/SIZEOF_UINT8.c
/var/tmp/portage/dev-db/mariadb-10.11.5/work/mariadb-10.11.5_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.11.5/work/mariadb-10.11.5_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.11.5/work/mariadb-10.11.5_build/CMakeFiles/CheckTypeSize/SIZEOF_UINT8.c:
#include <sys/types.h>
#include <stdint.h>
#include <stddef.h>
#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.11.5/work/mariadb-10.11.5_build/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/ninja cmTC_5a4c5 && [1/2] Building C object CMakeFiles/cmTC_5a4c5.dir/SIZEOF_INT16.c.o
FAILED: CMakeFiles/cmTC_5a4c5.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   -mtune=generic -O2 -pipe -fno-strict-aliasing -pie -fPIC -fstack-protector --param=ssp-buffer-size=4 -o CMakeFiles/cmTC_5a4c5.dir/SIZEOF_INT16.c.o -c /var/tmp/portage/dev-db/mariadb-10.11.5/work/mariadb-10.11.5_build/CMakeFiles/CheckTypeSize/SIZEOF_INT16.c
/var/tmp/portage/dev-db/mariadb-10.11.5/work/mariadb-10.11.5_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.11.5/work/mariadb-10.11.5_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.11.5/work/mariadb-10.11.5_build/CMakeFiles/CheckTypeSize/SIZEOF_INT16.c:
#include <sys/types.h>
#include <stdint.h>
#include <stddef.h>
#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.11.5/work/mariadb-10.11.5_build/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/ninja cmTC_f67d2 && [1/2] Building C object CMakeFiles/cmTC_f67d2.dir/SIZEOF_UINT16.c.o
FAILED: CMakeFiles/cmTC_f67d2.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   -mtune=generic -O2 -pipe -fno-strict-aliasing -pie -fPIC -fstack-protector --param=ssp-buffer-size=4 -o CMakeFiles/cmTC_f67d2.dir/SIZEOF_UINT16.c.o -c /var/tmp/portage/dev-db/mariadb-10.11.5/work/mariadb-10.11.5_build/CMakeFiles/CheckTypeSize/SIZEOF_UINT16.c
/var/tmp/portage/dev-db/mariadb-10.11.5/work/mariadb-10.11.5_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.11.5/work/mariadb-10.11.5_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.11.5/work/mariadb-10.11.5_build/CMakeFiles/CheckTypeSize/SIZEOF_UINT16.c:
#include <sys/types.h>
#include <stdint.h>
#include <stddef.h>
#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.11.5/work/mariadb-10.11.5_build/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/ninja cmTC_e7d23 && [1/2] Building C object CMakeFiles/cmTC_e7d23.dir/SIZEOF_INT32.c.o
FAILED: CMakeFiles/cmTC_e7d23.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   -mtune=generic -O2 -pipe -fno-strict-aliasing -pie -fPIC -fstack-protector --param=ssp-buffer-size=4 -o CMakeFiles/cmTC_e7d23.dir/SIZEOF_INT32.c.o -c /var/tmp/portage/dev-db/mariadb-10.11.5/work/mariadb-10.11.5_build/CMakeFiles/CheckTypeSize/SIZEOF_INT32.c
/var/tmp/portage/dev-db/mariadb-10.11.5/work/mariadb-10.11.5_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.11.5/work/mariadb-10.11.5_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.11.5/work/mariadb-10.11.5_build/CMakeFiles/CheckTypeSize/SIZEOF_INT32.c:
#include <sys/types.h>
#include <stdint.h>
#include <stddef.h>
#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.11.5/work/mariadb-10.11.5_build/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/ninja cmTC_cd560 && [1/2] Building C object CMakeFiles/cmTC_cd560.dir/SIZEOF_UINT32.c.o
FAILED: CMakeFiles/cmTC_cd560.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   -mtune=generic -O2 -pipe -fno-strict-aliasing -pie -fPIC -fstack-protector --param=ssp-buffer-size=4 -o CMakeFiles/cmTC_cd560.dir/SIZEOF_UINT32.c.o -c /var/tmp/portage/dev-db/mariadb-10.11.5/work/mariadb-10.11.5_build/CMakeFiles/CheckTypeSize/SIZEOF_UINT32.c
/var/tmp/portage/dev-db/mariadb-10.11.5/work/mariadb-10.11.5_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.11.5/work/mariadb-10.11.5_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.11.5/work/mariadb-10.11.5_build/CMakeFiles/CheckTypeSize/SIZEOF_UINT32.c:
#include <sys/types.h>
#include <stdint.h>
#include <stddef.h>
#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.11.5/work/mariadb-10.11.5_build/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/ninja cmTC_8b605 && [1/2] Building C object CMakeFiles/cmTC_8b605.dir/SIZEOF_INT64.c.o
FAILED: CMakeFiles/cmTC_8b605.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   -mtune=generic -O2 -pipe -fno-strict-aliasing -pie -fPIC -fstack-protector --param=ssp-buffer-size=4 -o CMakeFiles/cmTC_8b605.dir/SIZEOF_INT64.c.o -c /var/tmp/portage/dev-db/mariadb-10.11.5/work/mariadb-10.11.5_build/CMakeFiles/CheckTypeSize/SIZEOF_INT64.c
/var/tmp/portage/dev-db/mariadb-10.11.5/work/mariadb-10.11.5_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.11.5/work/mariadb-10.11.5_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.11.5/work/mariadb-10.11.5_build/CMakeFiles/CheckTypeSize/SIZEOF_INT64.c:
#include <sys/types.h>
#include <stdint.h>
#include <stddef.h>
#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.11.5/work/mariadb-10.11.5_build/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/ninja cmTC_1d8b3 && [1/2] Building C object CMakeFiles/cmTC_1d8b3.dir/SIZEOF_UINT64.c.o
FAILED: CMakeFiles/cmTC_1d8b3.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   -mtune=generic -O2 -pipe -fno-strict-aliasing -pie -fPIC -fstack-protector --param=ssp-buffer-size=4 -o CMakeFiles/cmTC_1d8b3.dir/SIZEOF_UINT64.c.o -c /var/tmp/portage/dev-db/mariadb-10.11.5/work/mariadb-10.11.5_build/CMakeFiles/CheckTypeSize/SIZEOF_UINT64.c
/var/tmp/portage/dev-db/mariadb-10.11.5/work/mariadb-10.11.5_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.11.5/work/mariadb-10.11.5_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.11.5/work/mariadb-10.11.5_build/CMakeFiles/CheckTypeSize/SIZEOF_UINT64.c:
#include <sys/types.h>
#include <stdint.h>
#include <stddef.h>
#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.11.5/work/mariadb-10.11.5_build/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/ninja cmTC_a3ffd && [1/2] Building C object CMakeFiles/cmTC_a3ffd.dir/src.c.o
FAILED: CMakeFiles/cmTC_a3ffd.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   -mtune=generic -O2 -pipe -fno-strict-aliasing -pie -fPIC -fstack-protector --param=ssp-buffer-size=4 -o CMakeFiles/cmTC_a3ffd.dir/src.c.o -c src.c
src.c: In function 'main':
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 <time.h>
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.11.5/work/mariadb-10.11.5_build/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/ninja cmTC_69241 && [1/2] Building C object CMakeFiles/cmTC_69241.dir/src.c.o
FAILED: CMakeFiles/cmTC_69241.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   -mtune=generic -O2 -pipe -fno-strict-aliasing -pie -fPIC -fstack-protector --param=ssp-buffer-size=4 -o CMakeFiles/cmTC_69241.dir/src.c.o -c src.c
src.c: In function 'main':
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
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 <pthread.h>

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.11.5/work/mariadb-10.11.5_build/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/ninja cmTC_67a18 && [1/2] Building CXX object CMakeFiles/cmTC_67a18.dir/src.cxx.o
FAILED: CMakeFiles/cmTC_67a18.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   -mtune=generic -O2 -pipe -felide-constructors -fno-strict-aliasing -pie -fPIC -fstack-protector --param=ssp-buffer-size=4 -o CMakeFiles/cmTC_67a18.dir/src.cxx.o -c src.cxx
src.cxx: In function 'int main()':
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 src.cxx:11:
/usr/include/netdb.h:174:36: 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 <pthread.h>
    #include <sys/types.h>
    #include <sys/socket.h>
    #include <netinet/in.h>
    #include <arpa/inet.h>
    #include <netdb.h>
    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.11.5/work/mariadb-10.11.5_build/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/ninja cmTC_37607 && [1/2] Building C object CMakeFiles/cmTC_37607.dir/HAVE_VALGRIND_MEMCHECK_H.c.o
FAILED: CMakeFiles/cmTC_37607.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   -mtune=generic -O2 -pipe -fno-strict-aliasing -pie -fPIC -fstack-protector --param=ssp-buffer-size=4 -o CMakeFiles/cmTC_37607.dir/HAVE_VALGRIND_MEMCHECK_H.c.o -c /var/tmp/portage/dev-db/mariadb-10.11.5/work/mariadb-10.11.5_build/CMakeFiles/CheckIncludeFiles/HAVE_VALGRIND_MEMCHECK_H.c
/var/tmp/portage/dev-db/mariadb-10.11.5/work/mariadb-10.11.5_build/CMakeFiles/CheckIncludeFiles/HAVE_VALGRIND_MEMCHECK_H.c:2:10: fatal error: valgrind/memcheck.h: No such file or directory
    2 | #include <valgrind/memcheck.h>
      |          ^~~~~~~~~~~~~~~~~~~~~
compilation terminated.
ninja: build stopped: subcommand failed.


Source:
/* */
#include <valgrind/memcheck.h>
#include <valgrind/valgrind.h>


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.11.5/work/mariadb-10.11.5_build/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/ninja cmTC_1eb70 && [1/2] Building C object CMakeFiles/cmTC_1eb70.dir/CheckIncludeFile.c.o
FAILED: CMakeFiles/cmTC_1eb70.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   -mtune=generic -O2 -pipe -fno-strict-aliasing -pie -fPIC -fstack-protector --param=ssp-buffer-size=4 -o CMakeFiles/cmTC_1eb70.dir/CheckIncludeFile.c.o -c CheckIncludeFile.c
CheckIncludeFile.c:1:10: fatal error: netinet/in6.h: No such file or directory
    1 | #include <netinet/in6.h>
      |          ^~~~~~~~~~~~~~~
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.11.5/work/mariadb-10.11.5_build/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/ninja cmTC_aa339 && [1/2] Building C object CMakeFiles/cmTC_aa339.dir/src.c.o
FAILED: CMakeFiles/cmTC_aa339.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   -mtune=generic -O2 -pipe -fno-strict-aliasing -pie -fPIC -fstack-protector --param=ssp-buffer-size=4 -o CMakeFiles/cmTC_aa339.dir/src.c.o -c src.c
src.c: In function 'main':
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 <sys/types.h>
#include <netinet/in.h>
#include <sys/socket.h>

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.11.5/work/mariadb-10.11.5_build/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/ninja cmTC_ff1f1 && [1/2] Building C object CMakeFiles/cmTC_ff1f1.dir/src.c.o
FAILED: CMakeFiles/cmTC_ff1f1.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   -mtune=generic -O2 -pipe -fno-strict-aliasing -pie -fPIC -fstack-protector --param=ssp-buffer-size=4 -o CMakeFiles/cmTC_ff1f1.dir/src.c.o -c src.c
src.c: In function 'main':
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 <sys/types.h>
#include <netinet/in.h>
#include <sys/socket.h>

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.11.5/work/mariadb-10.11.5_build/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/ninja cmTC_94d86 && [1/2] Building C object CMakeFiles/cmTC_94d86.dir/src.c.o
FAILED: CMakeFiles/cmTC_94d86.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   -mtune=generic -O2 -pipe -fno-strict-aliasing -pie -fPIC -fstack-protector --param=ssp-buffer-size=4 -o CMakeFiles/cmTC_94d86.dir/src.c.o -c src.c
src.c: In function 'main':
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 <dirent.h>

int main()
{
  (void)sizeof(((struct dirent *)0)->d_namlen);
  return 0;
}

Determining if the function PCRE2regcomp exists in the pcre2-posix failed with the following output:
Change Dir: /var/tmp/portage/dev-db/mariadb-10.11.5/work/mariadb-10.11.5_build/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/ninja cmTC_87125 && [1/2] Building C object CMakeFiles/cmTC_87125.dir/CheckFunctionExists.c.o
[2/2] Linking C executable cmTC_87125
FAILED: cmTC_87125 
: && /usr/bin/x86_64-pc-linux-gnu-gcc -mtune=generic -O2 -pipe -fno-strict-aliasing -pie -fPIC -fstack-protector --param=ssp-buffer-size=4 -DCHECK_FUNCTION_EXISTS=PCRE2regcomp -Wl,-O1 -Wl,--sort-common -Wl,--as-needed   -rdynamic CMakeFiles/cmTC_87125.dir/CheckFunctionExists.c.o -o cmTC_87125  -lpcre2-posix && :
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/cmTC_87125.dir/CheckFunctionExists.c.o: in function `main':
CheckFunctionExists.c:(.text.startup+0xc): undefined reference to `PCRE2regcomp'
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.



Performing C++ SOURCE FILE Test HAVE_SYSTEM_LIBFMT failed with the following output:
Change Dir: /var/tmp/portage/dev-db/mariadb-10.11.5/work/mariadb-10.11.5_build/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/ninja cmTC_76531 && [1/2] Building CXX object CMakeFiles/cmTC_76531.dir/src.cxx.o
FAILED: CMakeFiles/cmTC_76531.dir/src.cxx.o 
/usr/bin/x86_64-pc-linux-gnu-g++ -DHAVE_SYSTEM_LIBFMT   -mtune=generic -O2 -pipe -felide-constructors -fno-strict-aliasing -pie -fPIC -fstack-protector --param=ssp-buffer-size=4 -o CMakeFiles/cmTC_76531.dir/src.cxx.o -c src.cxx
src.cxx: In function 'int main()':
src.cxx:7:55: error: no matching function for call to 'make_arg<fmt::v10::format_context>(int)'
    7 |          fmt::detail::make_arg<fmt::format_context>(42);
      |                                                       ^
In file included from /usr/include/fmt/format.h:49,
                 from /usr/include/fmt/format-inl.h:25,
                 from src.cxx:3:
/usr/include/fmt/core.h:1558:31: note: candidate: 'template<bool PACKED, class Context, class T, typename std::enable_if<PACKED, int>::type <anonymous> > constexpr fmt::v10::detail::value<Context> fmt::v10::detail::make_arg(T&)'
 1558 | FMT_CONSTEXPR FMT_INLINE auto make_arg(T& val) -> value<Context> {
      |                               ^~~~~~~~
/usr/include/fmt/core.h:1558:31: note:   template argument deduction/substitution failed:
/usr/include/fmt/core.h:1587:20: note: candidate: 'constexpr fmt::v10::basic_format_arg<Context> fmt::v10::detail::make_arg(T&) [with Context = fmt::v10::basic_format_context<fmt::v10::appender, char>; T = int]' <near match>
 1587 | FMT_CONSTEXPR auto make_arg(T& val) -> basic_format_arg<Context> {
      |                    ^~~~~~~~
/usr/include/fmt/core.h:1587:20: note:   conversion of argument 1 would be ill-formed:
src.cxx:7:53: error: cannot bind non-const lvalue reference of type 'int&' to an rvalue of type 'int'
    7 |          fmt::detail::make_arg<fmt::format_context>(42);
      |                                                     ^~
In file included from /usr/include/fmt/format.h:49,
                 from /usr/include/fmt/format-inl.h:25,
                 from src.cxx:3:
/usr/include/fmt/core.h:1595:27: note: candidate: 'template<bool PACKED, class Context, class T, typename std::enable_if<(! PACKED), int>::type <anonymous> > constexpr fmt::v10::basic_format_arg<Context> fmt::v10::detail::make_arg(T&)'
 1595 | FMT_CONSTEXPR inline auto make_arg(T& val) -> basic_format_arg<Context> {
      |                           ^~~~~~~~
/usr/include/fmt/core.h:1595:27: note:   template argument deduction/substitution failed:
ninja: build stopped: subcommand failed.


Source file was:
#define FMT_STATIC_THOUSANDS_SEPARATOR ','
     #define FMT_HEADER_ONLY 1
     #include <fmt/format-inl.h>
     #include <iostream>
     int main() {
       fmt::format_args::format_arg arg=
         fmt::detail::make_arg<fmt::format_context>(42);
         std::cout << fmt::vformat("The answer is {}.",
                                   fmt::format_args(&arg, 1));
     }
Determining if the function sd_listen_fds exists in the systemd failed with the following output:
Change Dir: /var/tmp/portage/dev-db/mariadb-10.11.5/work/mariadb-10.11.5_build/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/ninja cmTC_f7320 && [1/2] Building C object CMakeFiles/cmTC_f7320.dir/CheckFunctionExists.c.o
[2/2] Linking C executable cmTC_f7320
FAILED: cmTC_f7320 
: && /usr/bin/x86_64-pc-linux-gnu-gcc -mtune=generic -O2 -pipe -fno-strict-aliasing -pie -fPIC -fstack-protector --param=ssp-buffer-size=4 -DCHECK_FUNCTION_EXISTS=sd_listen_fds -Wl,-O1 -Wl,--sort-common -Wl,--as-needed   -rdynamic CMakeFiles/cmTC_f7320.dir/CheckFunctionExists.c.o -o cmTC_f7320  -lsystemd && :
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lsystemd
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.



Determining if the function sd_listen_fds_with_names exists in the systemd failed with the following output:
Change Dir: /var/tmp/portage/dev-db/mariadb-10.11.5/work/mariadb-10.11.5_build/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/ninja cmTC_2d04a && [1/2] Building C object CMakeFiles/cmTC_2d04a.dir/CheckFunctionExists.c.o
[2/2] Linking C executable cmTC_2d04a
FAILED: cmTC_2d04a 
: && /usr/bin/x86_64-pc-linux-gnu-gcc -mtune=generic -O2 -pipe -fno-strict-aliasing -pie -fPIC -fstack-protector --param=ssp-buffer-size=4 -DCHECK_FUNCTION_EXISTS=sd_listen_fds_with_names -Wl,-O1 -Wl,--sort-common -Wl,--as-needed   -rdynamic CMakeFiles/cmTC_2d04a.dir/CheckFunctionExists.c.o -o cmTC_2d04a  -lsystemd && :
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lsystemd
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.



Determining if files systemd/sd-daemon.h exist failed with the following output:
Change Dir: /var/tmp/portage/dev-db/mariadb-10.11.5/work/mariadb-10.11.5_build/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/ninja cmTC_715ef && [1/2] Building C object CMakeFiles/cmTC_715ef.dir/HAVE_SYSTEMD_SD_DAEMON_H.c.o
FAILED: CMakeFiles/cmTC_715ef.dir/HAVE_SYSTEMD_SD_DAEMON_H.c.o 
/usr/bin/x86_64-pc-linux-gnu-gcc    -mtune=generic -O2 -pipe -fno-strict-aliasing -pie -fPIC -fstack-protector --param=ssp-buffer-size=4 -o CMakeFiles/cmTC_715ef.dir/HAVE_SYSTEMD_SD_DAEMON_H.c.o -c /var/tmp/portage/dev-db/mariadb-10.11.5/work/mariadb-10.11.5_build/CMakeFiles/CheckIncludeFiles/HAVE_SYSTEMD_SD_DAEMON_H.c
/var/tmp/portage/dev-db/mariadb-10.11.5/work/mariadb-10.11.5_build/CMakeFiles/CheckIncludeFiles/HAVE_SYSTEMD_SD_DAEMON_H.c:2:10: fatal error: systemd/sd-daemon.h: No such file or directory
    2 | #include <systemd/sd-daemon.h>
      |          ^~~~~~~~~~~~~~~~~~~~~
compilation terminated.
ninja: build stopped: subcommand failed.


Source:
/* */
#include <systemd/sd-daemon.h>


int main(void){return 0;}

Determining if the function sd_notify exists failed with the following output:
Change Dir: /var/tmp/portage/dev-db/mariadb-10.11.5/work/mariadb-10.11.5_build/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/ninja cmTC_8de89 && [1/2] Building C object CMakeFiles/cmTC_8de89.dir/CheckFunctionExists.c.o
[2/2] Linking C executable cmTC_8de89
FAILED: cmTC_8de89 
: && /usr/bin/x86_64-pc-linux-gnu-gcc -mtune=generic -O2 -pipe -fno-strict-aliasing -pie -fPIC -fstack-protector --param=ssp-buffer-size=4 -DCHECK_FUNCTION_EXISTS=sd_notify -Wl,-O1 -Wl,--sort-common -Wl,--as-needed   -rdynamic CMakeFiles/cmTC_8de89.dir/CheckFunctionExists.c.o -o cmTC_8de89   && :
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/cmTC_8de89.dir/CheckFunctionExists.c.o: in function `main':
CheckFunctionExists.c:(.text.startup+0xc): undefined reference to `sd_notify'
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.



Determining if the function sd_notifyf exists failed with the following output:
Change Dir: /var/tmp/portage/dev-db/mariadb-10.11.5/work/mariadb-10.11.5_build/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/ninja cmTC_3871f && [1/2] Building C object CMakeFiles/cmTC_3871f.dir/CheckFunctionExists.c.o
[2/2] Linking C executable cmTC_3871f
FAILED: cmTC_3871f 
: && /usr/bin/x86_64-pc-linux-gnu-gcc -mtune=generic -O2 -pipe -fno-strict-aliasing -pie -fPIC -fstack-protector --param=ssp-buffer-size=4 -DCHECK_FUNCTION_EXISTS=sd_notifyf -Wl,-O1 -Wl,--sort-common -Wl,--as-needed   -rdynamic CMakeFiles/cmTC_3871f.dir/CheckFunctionExists.c.o -o cmTC_3871f   && :
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/cmTC_3871f.dir/CheckFunctionExists.c.o: in function `main':
CheckFunctionExists.c:(.text.startup+0xc): undefined reference to `sd_notifyf'
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.



Performing C++ SOURCE FILE Test have_CXX__Wdeclaration_after_statement failed with the following output:
Change Dir: /var/tmp/portage/dev-db/mariadb-10.11.5/work/mariadb-10.11.5_build/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/ninja cmTC_a46b8 && [1/2] Building CXX object CMakeFiles/cmTC_a46b8.dir/src.cxx.o
cc1plus: warning: command line option '-Wdeclaration-after-statement' is valid for C/ObjC but not for C++
[2/2] Linking CXX executable cmTC_a46b8


Source file was:
int main(void) { return 0; }
Performing C SOURCE FILE Test have_C__Wenum_conversion failed with the following output:
Change Dir: /var/tmp/portage/dev-db/mariadb-10.11.5/work/mariadb-10.11.5_build/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/ninja cmTC_1cc26 && [1/2] Building C object CMakeFiles/cmTC_1cc26.dir/src.c.o
FAILED: CMakeFiles/cmTC_1cc26.dir/src.c.o 
/usr/bin/x86_64-pc-linux-gnu-gcc -Dhave_C__Wenum_conversion   -mtune=generic -O2 -pipe -fno-strict-aliasing -pie -fPIC -fstack-protector --param=ssp-buffer-size=4  -Wenum-conversion -o CMakeFiles/cmTC_1cc26.dir/src.c.o -c src.c
x86_64-pc-linux-gnu-gcc: error: unrecognized command line option '-Wenum-conversion'; did you mean '-Wno-conversion'?
ninja: build stopped: subcommand failed.


Source file was:
int main(void) { return 0; }
Performing C++ SOURCE FILE Test have_CXX__Wenum_conversion failed with the following output:
Change Dir: /var/tmp/portage/dev-db/mariadb-10.11.5/work/mariadb-10.11.5_build/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/ninja cmTC_b9939 && [1/2] Building CXX object CMakeFiles/cmTC_b9939.dir/src.cxx.o
FAILED: CMakeFiles/cmTC_b9939.dir/src.cxx.o 
/usr/bin/x86_64-pc-linux-gnu-g++ -Dhave_CXX__Wenum_conversion   -mtune=generic -O2 -pipe -felide-constructors -fno-strict-aliasing -pie -fPIC -fstack-protector --param=ssp-buffer-size=4  -Wenum-conversion -o CMakeFiles/cmTC_b9939.dir/src.cxx.o -c src.cxx
x86_64-pc-linux-gnu-g++: error: unrecognized command line option '-Wenum-conversion'; did you mean '-Wno-conversion'?
ninja: build stopped: subcommand failed.


Source file was:
int main(void) { return 0; }
Performing C SOURCE FILE Test have_C__Wformat_security failed with the following output:
Change Dir: /var/tmp/portage/dev-db/mariadb-10.11.5/work/mariadb-10.11.5_build/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/ninja cmTC_b36f2 && [1/2] Building C object CMakeFiles/cmTC_b36f2.dir/src.c.o
cc1: warning: '-Wformat-security' ignored without '-Wformat' [-Wformat-security]
[2/2] Linking C executable cmTC_b36f2


Source file was:
int main(void) { return 0; }
Performing C++ SOURCE FILE Test have_CXX__Wformat_security failed with the following output:
Change Dir: /var/tmp/portage/dev-db/mariadb-10.11.5/work/mariadb-10.11.5_build/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/ninja cmTC_d2039 && [1/2] Building CXX object CMakeFiles/cmTC_d2039.dir/src.cxx.o
cc1plus: warning: '-Wformat-security' ignored without '-Wformat' [-Wformat-security]
[2/2] Linking CXX executable cmTC_d2039


Source file was:
int main(void) { return 0; }
Performing C SOURCE FILE Test have_C__Wnull_conversion failed with the following output:
Change Dir: /var/tmp/portage/dev-db/mariadb-10.11.5/work/mariadb-10.11.5_build/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/ninja cmTC_2778c && [1/2] Building C object CMakeFiles/cmTC_2778c.dir/src.c.o
FAILED: CMakeFiles/cmTC_2778c.dir/src.c.o 
/usr/bin/x86_64-pc-linux-gnu-gcc -Dhave_C__Wnull_conversion   -mtune=generic -O2 -pipe -fno-strict-aliasing -pie -fPIC -fstack-protector --param=ssp-buffer-size=4  -Wnull-conversion -o CMakeFiles/cmTC_2778c.dir/src.c.o -c src.c
x86_64-pc-linux-gnu-gcc: error: unrecognized command line option '-Wnull-conversion'; did you mean '-Wno-conversion'?
ninja: build stopped: subcommand failed.


Source file was:
int main(void) { return 0; }
Performing C++ SOURCE FILE Test have_CXX__Wnull_conversion failed with the following output:
Change Dir: /var/tmp/portage/dev-db/mariadb-10.11.5/work/mariadb-10.11.5_build/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/ninja cmTC_52f6e && [1/2] Building CXX object CMakeFiles/cmTC_52f6e.dir/src.cxx.o
FAILED: CMakeFiles/cmTC_52f6e.dir/src.cxx.o 
/usr/bin/x86_64-pc-linux-gnu-g++ -Dhave_CXX__Wnull_conversion   -mtune=generic -O2 -pipe -felide-constructors -fno-strict-aliasing -pie -fPIC -fstack-protector --param=ssp-buffer-size=4  -Wnull-conversion -o CMakeFiles/cmTC_52f6e.dir/src.cxx.o -c src.cxx
x86_64-pc-linux-gnu-g++: error: unrecognized command line option '-Wnull-conversion'; did you mean '-Wno-conversion'?
ninja: build stopped: subcommand failed.


Source file was:
int main(void) { return 0; }
Performing C SOURCE FILE Test have_C__Wunused_private_field failed with the following output:
Change Dir: /var/tmp/portage/dev-db/mariadb-10.11.5/work/mariadb-10.11.5_build/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/ninja cmTC_a3506 && [1/2] Building C object CMakeFiles/cmTC_a3506.dir/src.c.o
FAILED: CMakeFiles/cmTC_a3506.dir/src.c.o 
/usr/bin/x86_64-pc-linux-gnu-gcc -Dhave_C__Wunused_private_field   -mtune=generic -O2 -pipe -fno-strict-aliasing -pie -fPIC -fstack-protector --param=ssp-buffer-size=4  -Wunused-private-field -o CMakeFiles/cmTC_a3506.dir/src.c.o -c src.c
x86_64-pc-linux-gnu-gcc: error: unrecognized command line option '-Wunused-private-field'
ninja: build stopped: subcommand failed.


Source file was:
int main(void) { return 0; }
Performing C++ SOURCE FILE Test have_CXX__Wunused_private_field failed with the following output:
Change Dir: /var/tmp/portage/dev-db/mariadb-10.11.5/work/mariadb-10.11.5_build/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/ninja cmTC_c6c68 && [1/2] Building CXX object CMakeFiles/cmTC_c6c68.dir/src.cxx.o
FAILED: CMakeFiles/cmTC_c6c68.dir/src.cxx.o 
/usr/bin/x86_64-pc-linux-gnu-g++ -Dhave_CXX__Wunused_private_field   -mtune=generic -O2 -pipe -felide-constructors -fno-strict-aliasing -pie -fPIC -fstack-protector --param=ssp-buffer-size=4  -Wunused-private-field -o CMakeFiles/cmTC_c6c68.dir/src.cxx.o -c src.cxx
x86_64-pc-linux-gnu-g++: error: unrecognized command line option '-Wunused-private-field'
ninja: build stopped: subcommand failed.


Source file was:
int main(void) { return 0; }
Performing C SOURCE FILE Test have_C__Woverloaded_virtual failed with the following output:
Change Dir: /var/tmp/portage/dev-db/mariadb-10.11.5/work/mariadb-10.11.5_build/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/ninja cmTC_d9628 && [1/2] Building C object CMakeFiles/cmTC_d9628.dir/src.c.o
cc1: warning: command line option '-Woverloaded-virtual' is valid for C++/ObjC++ but not for C
[2/2] Linking C executable cmTC_d9628


Source file was:
int main(void) { return 0; }
Performing C SOURCE FILE Test have_C__Wnon_virtual_dtor failed with the following output:
Change Dir: /var/tmp/portage/dev-db/mariadb-10.11.5/work/mariadb-10.11.5_build/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/ninja cmTC_c246c && [1/2] Building C object CMakeFiles/cmTC_c246c.dir/src.c.o
cc1: warning: command line option '-Wnon-virtual-dtor' is valid for C++/ObjC++ but not for C
[2/2] Linking C executable cmTC_c246c


Source file was:
int main(void) { return 0; }
Determining size of socklen_t failed with the following output:
Change Dir: /var/tmp/portage/dev-db/mariadb-10.11.5/work/mariadb-10.11.5_build/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/ninja cmTC_cc4df && [1/2] Building C object CMakeFiles/cmTC_cc4df.dir/SIZEOF_SOCKLEN_T.c.o
FAILED: CMakeFiles/cmTC_cc4df.dir/SIZEOF_SOCKLEN_T.c.o 
/usr/bin/x86_64-pc-linux-gnu-gcc    -mtune=generic -O2 -pipe -fno-strict-aliasing -pie -fPIC -fstack-protector --param=ssp-buffer-size=4 -Wunused -Wlogical-op -Wno-uninitialized -Wall -Wextra -Wformat-security -Wno-init-self -Wwrite-strings -Wshift-count-overflow -Wdeclaration-after-statement -Wno-undef -Wno-unknown-pragmas -o CMakeFiles/cmTC_cc4df.dir/SIZEOF_SOCKLEN_T.c.o -c /var/tmp/portage/dev-db/mariadb-10.11.5/work/mariadb-10.11.5_build/CMakeFiles/CheckTypeSize/SIZEOF_SOCKLEN_T.c
/var/tmp/portage/dev-db/mariadb-10.11.5/work/mariadb-10.11.5_build/CMakeFiles/CheckTypeSize/SIZEOF_SOCKLEN_T.c:28:22: error: 'socklen_t' undeclared here (not in a function)
   28 | #define SIZE (sizeof(socklen_t))
      |                      ^~~~~~~~~
/var/tmp/portage/dev-db/mariadb-10.11.5/work/mariadb-10.11.5_build/CMakeFiles/CheckTypeSize/SIZEOF_SOCKLEN_T.c:30:12: note: in expansion of macro 'SIZE'
   30 |   ('0' + ((SIZE / 10000)%10)),
      |            ^~~~
ninja: build stopped: subcommand failed.


/var/tmp/portage/dev-db/mariadb-10.11.5/work/mariadb-10.11.5_build/CMakeFiles/CheckTypeSize/SIZEOF_SOCKLEN_T.c:
#include <sys/types.h>
#include <stdint.h>
#include <stddef.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(socklen_t))
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 if the function floor exists failed with the following output:
Change Dir: /var/tmp/portage/dev-db/mariadb-10.11.5/work/mariadb-10.11.5_build/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/ninja cmTC_5f8a9 && [1/2] Building C object CMakeFiles/cmTC_5f8a9.dir/CheckFunctionExists.c.o
<command-line>: 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 '<math.h>'
  +++ |+#include <math.h>
    1 | #ifdef CHECK_FUNCTION_EXISTS
[2/2] Linking C executable cmTC_5f8a9
FAILED: cmTC_5f8a9 
: && /usr/bin/x86_64-pc-linux-gnu-gcc -mtune=generic -O2 -pipe -fno-strict-aliasing -pie -fPIC -fstack-protector --param=ssp-buffer-size=4 -Wunused -Wlogical-op -Wno-uninitialized -Wall -Wextra -Wformat-security -Wno-init-self -Wwrite-strings -Wshift-count-overflow -Wdeclaration-after-statement -Wno-undef -Wno-unknown-pragmas -DCHECK_FUNCTION_EXISTS=floor -Wl,-O1 -Wl,--sort-common -Wl,--as-needed   -rdynamic CMakeFiles/cmTC_5f8a9.dir/CheckFunctionExists.c.o -o cmTC_5f8a9   && :
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/cmTC_5f8a9.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 pthread_getspecific exists failed with the following output:
Change Dir: /var/tmp/portage/dev-db/mariadb-10.11.5/work/mariadb-10.11.5_build/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/ninja cmTC_23ac6 && [1/2] Building C object CMakeFiles/cmTC_23ac6.dir/CheckFunctionExists.c.o
[2/2] Linking C executable cmTC_23ac6
FAILED: cmTC_23ac6 
: && /usr/bin/x86_64-pc-linux-gnu-gcc -mtune=generic -O2 -pipe -fno-strict-aliasing -pie -fPIC -fstack-protector --param=ssp-buffer-size=4 -Wunused -Wlogical-op -Wno-uninitialized -Wall -Wextra -Wformat-security -Wno-init-self -Wwrite-strings -Wshift-count-overflow -Wdeclaration-after-statement -Wno-undef -Wno-unknown-pragmas -DCHECK_FUNCTION_EXISTS=pthread_getspecific -Wl,-O1 -Wl,--sort-common -Wl,--as-needed   -rdynamic CMakeFiles/cmTC_23ac6.dir/CheckFunctionExists.c.o -o cmTC_23ac6   && :
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/cmTC_23ac6.dir/CheckFunctionExists.c.o: in function `main':
CheckFunctionExists.c:(.text.startup+0xc): undefined reference to `pthread_getspecific'
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.



Performing C SOURCE FILE Test HAVE_PTHREAD_THREADID_NP failed with the following output:
Change Dir: /var/tmp/portage/dev-db/mariadb-10.11.5/work/mariadb-10.11.5_build/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/ninja cmTC_fc153 && [1/2] Building C object CMakeFiles/cmTC_fc153.dir/src.c.o
src.c: In function 'main':
src.c:6:3: warning: implicit declaration of function 'pthread_threadid_np' [-Wimplicit-function-declaration]
    6 |   pthread_threadid_np(NULL, &tid64);
      |   ^~~~~~~~~~~~~~~~~~~
[2/2] Linking C executable cmTC_fc153
FAILED: cmTC_fc153 
: && /usr/bin/x86_64-pc-linux-gnu-gcc -mtune=generic -O2 -pipe -fno-strict-aliasing -pie -fPIC -fstack-protector --param=ssp-buffer-size=4 -Wl,-O1 -Wl,--sort-common -Wl,--as-needed   -rdynamic CMakeFiles/cmTC_fc153.dir/src.c.o -o cmTC_fc153   && :
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/cmTC_fc153.dir/src.c.o: in function `main':
src.c:(.text.startup+0xe): undefined reference to `pthread_threadid_np'
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.


Source file was:

#include <pthread.h>
int main(int ac, char **av)
{
  unsigned long long tid64;
  pthread_threadid_np(NULL, &tid64);
  return (tid64 != 0 ? 0 : 1);
}
Determining if the gettid exist failed with the following output:
Change Dir: /var/tmp/portage/dev-db/mariadb-10.11.5/work/mariadb-10.11.5_build/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/ninja cmTC_528a6 && [1/2] Building C object CMakeFiles/cmTC_528a6.dir/CheckSymbolExists.c.o
FAILED: CMakeFiles/cmTC_528a6.dir/CheckSymbolExists.c.o 
/usr/bin/x86_64-pc-linux-gnu-gcc    -mtune=generic -O2 -pipe -fno-strict-aliasing -pie -fPIC -fstack-protector --param=ssp-buffer-size=4 -o CMakeFiles/cmTC_528a6.dir/CheckSymbolExists.c.o -c CheckSymbolExists.c
CheckSymbolExists.c: In function 'main':
CheckSymbolExists.c:8:19: error: 'gettid' undeclared (first use in this function); did you mean 'getgid'?
    8 |   return ((int*)(&gettid))[argc];
      |                   ^~~~~~
      |                   getgid
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.11.5/work/mariadb-10.11.5_build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
/* */
#include <unistd.h>

int main(int argc, char** argv)
{
  (void)argv;
#ifndef gettid
  return ((int*)(&gettid))[argc];
#else
  (void)argc;
  return 0;
#endif
}
Performing C SOURCE FILE Test HAVE_GETTHRID failed with the following output:
Change Dir: /var/tmp/portage/dev-db/mariadb-10.11.5/work/mariadb-10.11.5_build/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/ninja cmTC_bd2b7 && [1/2] Building C object CMakeFiles/cmTC_bd2b7.dir/src.c.o
src.c: In function 'main':
src.c:5:28: warning: implicit declaration of function 'getthrid' [-Wimplicit-function-declaration]
    5 |   unsigned long long tid = getthrid();
      |                            ^~~~~~~~
[2/2] Linking C executable cmTC_bd2b7
FAILED: cmTC_bd2b7 
: && /usr/bin/x86_64-pc-linux-gnu-gcc -mtune=generic -O2 -pipe -fno-strict-aliasing -pie -fPIC -fstack-protector --param=ssp-buffer-size=4 -Wl,-O1 -Wl,--sort-common -Wl,--as-needed   -rdynamic CMakeFiles/cmTC_bd2b7.dir/src.c.o -o cmTC_bd2b7   && :
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/cmTC_bd2b7.dir/src.c.o: in function `main':
src.c:(.text.startup+0x7): undefined reference to `getthrid'
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.


Source file was:

#include <unistd.h>
int main(int ac, char **av)
{
  unsigned long long tid = getthrid();
  return (tid != 0 ? 0 : 1);
}
Performing C SOURCE FILE Test HAVE_PTHREAD_GETTHREADID_NP failed with the following output:
Change Dir: /var/tmp/portage/dev-db/mariadb-10.11.5/work/mariadb-10.11.5_build/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/ninja cmTC_9b3eb && [1/2] Building C object CMakeFiles/cmTC_9b3eb.dir/src.c.o
FAILED: CMakeFiles/cmTC_9b3eb.dir/src.c.o 
/usr/bin/x86_64-pc-linux-gnu-gcc -DHAVE_PTHREAD_GETTHREADID_NP   -mtune=generic -O2 -pipe -fno-strict-aliasing -pie -fPIC -fstack-protector --param=ssp-buffer-size=4 -o CMakeFiles/cmTC_9b3eb.dir/src.c.o -c src.c
src.c:2:10: fatal error: pthread_np.h: No such file or directory
    2 | #include <pthread_np.h>
      |          ^~~~~~~~~~~~~~
compilation terminated.
ninja: build stopped: subcommand failed.


Source file was:

#include <pthread_np.h>
int main(int ac, char **av)
{
  unsigned long long tid = pthread_getthreadid_np();
  return (tid != 0 ? 0 : 1);
}
Performing C SOURCE FILE Test have_C__Wrange_loop_construct failed with the following output:
Change Dir: /var/tmp/portage/dev-db/mariadb-10.11.5/work/mariadb-10.11.5_build/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/ninja cmTC_02d83 && [1/2] Building C object CMakeFiles/cmTC_02d83.dir/src.c.o
FAILED: CMakeFiles/cmTC_02d83.dir/src.c.o 
/usr/bin/x86_64-pc-linux-gnu-gcc -Dhave_C__Wrange_loop_construct   -mtune=generic -O2 -pipe -fno-strict-aliasing -pie -fPIC -fstack-protector --param=ssp-buffer-size=4  -Wrange-loop-construct -o CMakeFiles/cmTC_02d83.dir/src.c.o -c src.c
x86_64-pc-linux-gnu-gcc: error: unrecognized command line option '-Wrange-loop-construct'
ninja: build stopped: subcommand failed.


Source file was:
int main(void) { return 0; }
Performing C++ SOURCE FILE Test have_CXX__Wrange_loop_construct failed with the following output:
Change Dir: /var/tmp/portage/dev-db/mariadb-10.11.5/work/mariadb-10.11.5_build/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/ninja cmTC_1c806 && [1/2] Building CXX object CMakeFiles/cmTC_1c806.dir/src.cxx.o
FAILED: CMakeFiles/cmTC_1c806.dir/src.cxx.o 
/usr/bin/x86_64-pc-linux-gnu-g++ -Dhave_CXX__Wrange_loop_construct   -mtune=generic -O2 -pipe -felide-constructors -fno-strict-aliasing -pie -fPIC -fstack-protector --param=ssp-buffer-size=4  -Wrange-loop-construct -o CMakeFiles/cmTC_1c806.dir/src.cxx.o -c src.cxx
x86_64-pc-linux-gnu-g++: error: unrecognized command line option '-Wrange-loop-construct'
ninja: build stopped: subcommand failed.


Source file was:
int main(void) { return 0; }
Determining if the getmntent exist failed with the following output:
Change Dir: /var/tmp/portage/dev-db/mariadb-10.11.5/work/mariadb-10.11.5_build/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/ninja cmTC_fc370 && [1/2] Building C object CMakeFiles/cmTC_fc370.dir/CheckSymbolExists.c.o
FAILED: CMakeFiles/cmTC_fc370.dir/CheckSymbolExists.c.o 
/usr/bin/x86_64-pc-linux-gnu-gcc    -mtune=generic -O2 -pipe -fno-strict-aliasing -pie -fPIC -fstack-protector --param=ssp-buffer-size=4 -o CMakeFiles/cmTC_fc370.dir/CheckSymbolExists.c.o -c CheckSymbolExists.c
CheckSymbolExists.c:2:10: fatal error: sys/mnttab.h: No such file or directory
    2 | #include <sys/mnttab.h>
      |          ^~~~~~~~~~~~~~
compilation terminated.
ninja: build stopped: subcommand failed.


File /var/tmp/portage/dev-db/mariadb-10.11.5/work/mariadb-10.11.5_build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
/* */
#include <sys/mnttab.h>

int main(int argc, char** argv)
{
  (void)argv;
#ifndef getmntent
  return ((int*)(&getmntent))[argc];
#else
  (void)argc;
  return 0;
#endif
}
Determining if the getmntinfo exist failed with the following output:
Change Dir: /var/tmp/portage/dev-db/mariadb-10.11.5/work/mariadb-10.11.5_build/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/ninja cmTC_d2f67 && [1/2] Building C object CMakeFiles/cmTC_d2f67.dir/CheckSymbolExists.c.o
FAILED: CMakeFiles/cmTC_d2f67.dir/CheckSymbolExists.c.o 
/usr/bin/x86_64-pc-linux-gnu-gcc    -mtune=generic -O2 -pipe -fno-strict-aliasing -pie -fPIC -fstack-protector --param=ssp-buffer-size=4 -o CMakeFiles/cmTC_d2f67.dir/CheckSymbolExists.c.o -c CheckSymbolExists.c
CheckSymbolExists.c: In function 'main':
CheckSymbolExists.c:9:19: error: 'getmntinfo' undeclared (first use in this function)
    9 |   return ((int*)(&getmntinfo))[argc];
      |                   ^~~~~~~~~~
CheckSymbolExists.c:9: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.11.5/work/mariadb-10.11.5_build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
/* */
#include <sys/types.h>
#include <sys/mount.h>

int main(int argc, char** argv)
{
  (void)argv;
#ifndef getmntinfo
  return ((int*)(&getmntinfo))[argc];
#else
  (void)argc;
  return 0;
#endif
}
Determining if the getmntinfo64 exist failed with the following output:
Change Dir: /var/tmp/portage/dev-db/mariadb-10.11.5/work/mariadb-10.11.5_build/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/ninja cmTC_9f9af && [1/2] Building C object CMakeFiles/cmTC_9f9af.dir/CheckSymbolExists.c.o
FAILED: CMakeFiles/cmTC_9f9af.dir/CheckSymbolExists.c.o 
/usr/bin/x86_64-pc-linux-gnu-gcc    -mtune=generic -O2 -pipe -fno-strict-aliasing -pie -fPIC -fstack-protector --param=ssp-buffer-size=4 -o CMakeFiles/cmTC_9f9af.dir/CheckSymbolExists.c.o -c CheckSymbolExists.c
CheckSymbolExists.c: In function 'main':
CheckSymbolExists.c:9:19: error: 'getmntinfo64' undeclared (first use in this function)
    9 |   return ((int*)(&getmntinfo64))[argc];
      |                   ^~~~~~~~~~~~
CheckSymbolExists.c:9: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.11.5/work/mariadb-10.11.5_build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
/* */
#include <sys/types.h>
#include <sys/mount.h>

int main(int argc, char** argv)
{
  (void)argv;
#ifndef getmntinfo64
  return ((int*)(&getmntinfo64))[argc];
#else
  (void)argc;
  return 0;
#endif
}
Determining if the function tputs exists in the /usr/lib/libcurses.so failed with the following output:
Change Dir: /var/tmp/portage/dev-db/mariadb-10.11.5/work/mariadb-10.11.5_build/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/ninja cmTC_c8a15 && [1/2] Building C object CMakeFiles/cmTC_c8a15.dir/CheckFunctionExists.c.o
[2/2] Linking C executable cmTC_c8a15
FAILED: cmTC_c8a15 
: && /usr/bin/x86_64-pc-linux-gnu-gcc -mtune=generic -O2 -pipe -fno-strict-aliasing -pie -fPIC -fstack-protector --param=ssp-buffer-size=4 -DCHECK_FUNCTION_EXISTS=tputs -Wl,-O1 -Wl,--sort-common -Wl,--as-needed   -rdynamic CMakeFiles/cmTC_c8a15.dir/CheckFunctionExists.c.o -o cmTC_c8a15  -lcurses && :
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/cmTC_c8a15.dir/CheckFunctionExists.c.o: in function `main':
CheckFunctionExists.c:(.text.startup+0xc): undefined reference to `tputs'
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.



Determining if the function vidattr exists in the tinfo failed with the following output:
Change Dir: /var/tmp/portage/dev-db/mariadb-10.11.5/work/mariadb-10.11.5_build/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/ninja cmTC_0a770 && [1/2] Building C object CMakeFiles/cmTC_0a770.dir/CheckFunctionExists.c.o
[2/2] Linking C executable cmTC_0a770
FAILED: cmTC_0a770 
: && /usr/bin/x86_64-pc-linux-gnu-gcc -mtune=generic -O2 -pipe -fno-strict-aliasing -pie -fPIC -fstack-protector --param=ssp-buffer-size=4 -DCHECK_FUNCTION_EXISTS=vidattr -Wl,-O1 -Wl,--sort-common -Wl,--as-needed   -rdynamic CMakeFiles/cmTC_0a770.dir/CheckFunctionExists.c.o -o cmTC_0a770  -ltinfo && :
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/cmTC_0a770.dir/CheckFunctionExists.c.o: in function `main':
CheckFunctionExists.c:(.text.startup+0xc): undefined reference to `vidattr'
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.



Performing C SOURCE FILE Test READLINE_V5 failed with the following output:
Change Dir: /var/tmp/portage/dev-db/mariadb-10.11.5/work/mariadb-10.11.5_build/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/ninja cmTC_56ed7 && [1/2] Building C object CMakeFiles/cmTC_56ed7.dir/src.c.o
FAILED: CMakeFiles/cmTC_56ed7.dir/src.c.o 
/usr/bin/x86_64-pc-linux-gnu-gcc -DREADLINE_V5 -I/usr/include/readline  -mtune=generic -O2 -pipe -fno-strict-aliasing -pie -fPIC -fstack-protector --param=ssp-buffer-size=4 -o CMakeFiles/cmTC_56ed7.dir/src.c.o -c src.c
src.c:5:6: error: #error 
    5 |     #error
      |      ^~~~~
ninja: build stopped: subcommand failed.


Source file was:

    #include <stdio.h>
    #include <readline.h>
    #if RL_VERSION_MAJOR > 5
    #error
    #endif
    int main(int argc, char **argv)
    {
      return 0;
    }
Performing C++ SOURCE FILE Test HAVE_HIST_ENTRY failed with the following output:
Change Dir: /var/tmp/portage/dev-db/mariadb-10.11.5/work/mariadb-10.11.5_build/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/ninja cmTC_647f2 && [1/2] Building CXX object CMakeFiles/cmTC_647f2.dir/src.cxx.o
FAILED: CMakeFiles/cmTC_647f2.dir/src.cxx.o 
/usr/bin/x86_64-pc-linux-gnu-g++ -DHAVE_HIST_ENTRY -I/usr/include/readline  -mtune=generic -O2 -pipe -felide-constructors -fno-strict-aliasing -pie -fPIC -fstack-protector --param=ssp-buffer-size=4 -o CMakeFiles/cmTC_647f2.dir/src.cxx.o -c src.cxx
src.cxx: In function 'int main(int, char**)':
src.cxx:6:8: error: 'HIST_ENTRY' was not declared in this scope; did you mean 'HAVE_HIST_ENTRY'?
    6 |        HIST_ENTRY entry;
      |        ^~~~~~~~~~
      |        HAVE_HIST_ENTRY
ninja: build stopped: subcommand failed.


Source file was:

    #include <stdio.h>
    #include <readline.h>
    int main(int argc, char **argv)
    {
       HIST_ENTRY entry;
       return 0;
    }
Determining if the include file event.h exists failed with the following output:
Change Dir: /var/tmp/portage/dev-db/mariadb-10.11.5/work/mariadb-10.11.5_build/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/ninja cmTC_1cd3c && [1/2] Building C object CMakeFiles/cmTC_1cd3c.dir/CheckIncludeFile.c.o
FAILED: CMakeFiles/cmTC_1cd3c.dir/CheckIncludeFile.c.o 
/usr/bin/x86_64-pc-linux-gnu-gcc    -mtune=generic -O2 -pipe -fno-strict-aliasing -pie -fPIC -fstack-protector --param=ssp-buffer-size=4 -o CMakeFiles/cmTC_1cd3c.dir/CheckIncludeFile.c.o -c CheckIncludeFile.c
CheckIncludeFile.c:1:10: fatal error: event.h: No such file or directory
    1 | #include <event.h>
      |          ^~~~~~~~~
compilation terminated.
ninja: build stopped: subcommand failed.



