Performing C SOURCE FILE Test CMAKE_HAVE_LIBC_PTHREAD failed with the following output: Change Dir: /tmp/instance-0/output-1/build/poppler-0.84.0/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make cmTC_d088e/fast && make[1]: Entering directory '/tmp/instance-0/output-1/build/poppler-0.84.0/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_d088e.dir/build.make CMakeFiles/cmTC_d088e.dir/build make[2]: Entering directory '/tmp/instance-0/output-1/build/poppler-0.84.0/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_d088e.dir/src.c.o /tmp/instance-0/output-1/host/bin/arm-buildroot-linux-gnueabihf-gcc --sysroot=/tmp/instance-0/output-1/host/arm-buildroot-linux-gnueabihf/sysroot -std=c99 -D_DEFAULT_SOURCE -DCMAKE_HAVE_LIBC_PTHREAD -DNDEBUG -o CMakeFiles/cmTC_d088e.dir/src.c.o -c /tmp/instance-0/output-1/build/poppler-0.84.0/CMakeFiles/CMakeTmp/src.c Linking C executable cmTC_d088e /tmp/instance-0/output-1/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_d088e.dir/link.txt --verbose=1 /tmp/instance-0/output-1/host/bin/arm-buildroot-linux-gnueabihf-gcc --sysroot=/tmp/instance-0/output-1/host/arm-buildroot-linux-gnueabihf/sysroot -std=c99 -D_DEFAULT_SOURCE -DCMAKE_HAVE_LIBC_PTHREAD -DNDEBUG CMakeFiles/cmTC_d088e.dir/src.c.o -o cmTC_d088e /tmp/instance-0/output-1/host/lib/gcc/arm-buildroot-linux-gnueabihf/11.1.0/../../../../arm-buildroot-linux-gnueabihf/bin/ld: CMakeFiles/cmTC_d088e.dir/src.c.o: in function `main': src.c:(.text+0x60): undefined reference to `pthread_create' /tmp/instance-0/output-1/host/lib/gcc/arm-buildroot-linux-gnueabihf/11.1.0/../../../../arm-buildroot-linux-gnueabihf/bin/ld: src.c:(.text+0x6c): undefined reference to `pthread_detach' /tmp/instance-0/output-1/host/lib/gcc/arm-buildroot-linux-gnueabihf/11.1.0/../../../../arm-buildroot-linux-gnueabihf/bin/ld: src.c:(.text+0x7c): undefined reference to `pthread_join' collect2: error: ld returned 1 exit status make[2]: *** [CMakeFiles/cmTC_d088e.dir/build.make:90: cmTC_d088e] Error 1 make[2]: Leaving directory '/tmp/instance-0/output-1/build/poppler-0.84.0/CMakeFiles/CMakeTmp' make[1]: *** [Makefile:124: cmTC_d088e/fast] Error 2 make[1]: Leaving directory '/tmp/instance-0/output-1/build/poppler-0.84.0/CMakeFiles/CMakeTmp' Source file was: #include void* test_func(void* data) { return data; } int main(void) { pthread_t thread; pthread_create(&thread, NULL, test_func, NULL); pthread_detach(thread); pthread_join(thread, NULL); pthread_atfork(NULL, NULL, NULL); pthread_exit(NULL); return 0; } Performing C++ SOURCE FILE Test ICONV_SECOND_ARGUMENT_IS_CONST failed with the following output: Change Dir: /tmp/instance-0/output-1/build/poppler-0.84.0/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make cmTC_3b01a/fast && make[1]: Entering directory '/tmp/instance-0/output-1/build/poppler-0.84.0/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_3b01a.dir/build.make CMakeFiles/cmTC_3b01a.dir/build make[2]: Entering directory '/tmp/instance-0/output-1/build/poppler-0.84.0/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_3b01a.dir/src.cxx.o /tmp/instance-0/output-1/host/bin/arm-buildroot-linux-gnueabihf-g++ --sysroot=/tmp/instance-0/output-1/host/arm-buildroot-linux-gnueabihf/sysroot -fno-exceptions -fno-check-new -fno-common -D_DEFAULT_SOURCE -DICONV_SECOND_ARGUMENT_IS_CONST -DNDEBUG -o CMakeFiles/cmTC_3b01a.dir/src.cxx.o -c /tmp/instance-0/output-1/build/poppler-0.84.0/CMakeFiles/CMakeTmp/src.cxx /tmp/instance-0/output-1/build/poppler-0.84.0/CMakeFiles/CMakeTmp/src.cxx: In function 'int main()': /tmp/instance-0/output-1/build/poppler-0.84.0/CMakeFiles/CMakeTmp/src.cxx:9:17: error: invalid conversion from 'const char**' to 'char**' [-fpermissive] 9 | iconv(conv, &in, &ilen, &out, &olen); | ^~~ | | | const char** In file included from /tmp/instance-0/output-1/build/poppler-0.84.0/CMakeFiles/CMakeTmp/src.cxx:2: /tmp/instance-0/output-1/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/iconv.h:42:54: note: initializing argument 2 of 'size_t iconv(iconv_t, char**, size_t*, char**, size_t*)' 42 | extern size_t iconv (iconv_t __cd, char **__restrict __inbuf, | ~~~~~~~~~~~~~~~~~~^~~~~~~ make[2]: *** [CMakeFiles/cmTC_3b01a.dir/build.make:69: CMakeFiles/cmTC_3b01a.dir/src.cxx.o] Error 1 make[2]: Leaving directory '/tmp/instance-0/output-1/build/poppler-0.84.0/CMakeFiles/CMakeTmp' make[1]: *** [Makefile:124: cmTC_3b01a/fast] Error 2 make[1]: Leaving directory '/tmp/instance-0/output-1/build/poppler-0.84.0/CMakeFiles/CMakeTmp' Source file was: #include int main(){ iconv_t conv = 0; const char* in = 0; size_t ilen = 0; char* out = 0; size_t olen = 0; iconv(conv, &in, &ilen, &out, &olen); return 0; } Determining if the function fseek64 exists failed with the following output: Change Dir: /tmp/instance-0/output-1/build/poppler-0.84.0/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make cmTC_79e02/fast && make[1]: Entering directory '/tmp/instance-0/output-1/build/poppler-0.84.0/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_79e02.dir/build.make CMakeFiles/cmTC_79e02.dir/build make[2]: Entering directory '/tmp/instance-0/output-1/build/poppler-0.84.0/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_79e02.dir/CheckFunctionExists.c.o /tmp/instance-0/output-1/host/bin/arm-buildroot-linux-gnueabihf-gcc --sysroot=/tmp/instance-0/output-1/host/arm-buildroot-linux-gnueabihf/sysroot -D_FILE_OFFSET_BITS=64 -Wall -std=c99 -D_DEFAULT_SOURCE -DCHECK_FUNCTION_EXISTS=fseek64 -DNDEBUG -o CMakeFiles/cmTC_79e02.dir/CheckFunctionExists.c.o -c /tmp/instance-0/output-1/host/share/cmake-3.16/Modules/CheckFunctionExists.c Linking C executable cmTC_79e02 /tmp/instance-0/output-1/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_79e02.dir/link.txt --verbose=1 /tmp/instance-0/output-1/host/bin/arm-buildroot-linux-gnueabihf-gcc --sysroot=/tmp/instance-0/output-1/host/arm-buildroot-linux-gnueabihf/sysroot -Wall -std=c99 -D_DEFAULT_SOURCE -DCHECK_FUNCTION_EXISTS=fseek64 -DNDEBUG CMakeFiles/cmTC_79e02.dir/CheckFunctionExists.c.o -o cmTC_79e02 /tmp/instance-0/output-1/host/lib/gcc/arm-buildroot-linux-gnueabihf/11.1.0/../../../../arm-buildroot-linux-gnueabihf/bin/ld: CMakeFiles/cmTC_79e02.dir/CheckFunctionExists.c.o: in function `main': CheckFunctionExists.c:(.text+0x14): undefined reference to `fseek64' collect2: error: ld returned 1 exit status make[2]: *** [CMakeFiles/cmTC_79e02.dir/build.make:90: cmTC_79e02] Error 1 make[2]: Leaving directory '/tmp/instance-0/output-1/build/poppler-0.84.0/CMakeFiles/CMakeTmp' make[1]: *** [Makefile:124: cmTC_79e02/fast] Error 2 make[1]: Leaving directory '/tmp/instance-0/output-1/build/poppler-0.84.0/CMakeFiles/CMakeTmp' Determining if the function ftell64 exists failed with the following output: Change Dir: /tmp/instance-0/output-1/build/poppler-0.84.0/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make cmTC_c16d7/fast && make[1]: Entering directory '/tmp/instance-0/output-1/build/poppler-0.84.0/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_c16d7.dir/build.make CMakeFiles/cmTC_c16d7.dir/build make[2]: Entering directory '/tmp/instance-0/output-1/build/poppler-0.84.0/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_c16d7.dir/CheckFunctionExists.c.o /tmp/instance-0/output-1/host/bin/arm-buildroot-linux-gnueabihf-gcc --sysroot=/tmp/instance-0/output-1/host/arm-buildroot-linux-gnueabihf/sysroot -D_FILE_OFFSET_BITS=64 -Wall -std=c99 -D_DEFAULT_SOURCE -DCHECK_FUNCTION_EXISTS=ftell64 -DNDEBUG -o CMakeFiles/cmTC_c16d7.dir/CheckFunctionExists.c.o -c /tmp/instance-0/output-1/host/share/cmake-3.16/Modules/CheckFunctionExists.c Linking C executable cmTC_c16d7 /tmp/instance-0/output-1/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_c16d7.dir/link.txt --verbose=1 /tmp/instance-0/output-1/host/bin/arm-buildroot-linux-gnueabihf-gcc --sysroot=/tmp/instance-0/output-1/host/arm-buildroot-linux-gnueabihf/sysroot -Wall -std=c99 -D_DEFAULT_SOURCE -DCHECK_FUNCTION_EXISTS=ftell64 -DNDEBUG CMakeFiles/cmTC_c16d7.dir/CheckFunctionExists.c.o -o cmTC_c16d7 /tmp/instance-0/output-1/host/lib/gcc/arm-buildroot-linux-gnueabihf/11.1.0/../../../../arm-buildroot-linux-gnueabihf/bin/ld: CMakeFiles/cmTC_c16d7.dir/CheckFunctionExists.c.o: in function `main': CheckFunctionExists.c:(.text+0x14): undefined reference to `ftell64' collect2: error: ld returned 1 exit status make[2]: *** [CMakeFiles/cmTC_c16d7.dir/build.make:90: cmTC_c16d7] Error 1 make[2]: Leaving directory '/tmp/instance-0/output-1/build/poppler-0.84.0/CMakeFiles/CMakeTmp' make[1]: *** [Makefile:124: cmTC_c16d7/fast] Error 2 make[1]: Leaving directory '/tmp/instance-0/output-1/build/poppler-0.84.0/CMakeFiles/CMakeTmp' Determining if the function strcpy_s exists failed with the following output: Change Dir: /tmp/instance-0/output-1/build/poppler-0.84.0/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make cmTC_4e43b/fast && make[1]: Entering directory '/tmp/instance-0/output-1/build/poppler-0.84.0/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_4e43b.dir/build.make CMakeFiles/cmTC_4e43b.dir/build make[2]: Entering directory '/tmp/instance-0/output-1/build/poppler-0.84.0/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_4e43b.dir/CheckFunctionExists.c.o /tmp/instance-0/output-1/host/bin/arm-buildroot-linux-gnueabihf-gcc --sysroot=/tmp/instance-0/output-1/host/arm-buildroot-linux-gnueabihf/sysroot -D_FILE_OFFSET_BITS=64 -Wall -std=c99 -D_DEFAULT_SOURCE -DCHECK_FUNCTION_EXISTS=strcpy_s -DNDEBUG -o CMakeFiles/cmTC_4e43b.dir/CheckFunctionExists.c.o -c /tmp/instance-0/output-1/host/share/cmake-3.16/Modules/CheckFunctionExists.c Linking C executable cmTC_4e43b /tmp/instance-0/output-1/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_4e43b.dir/link.txt --verbose=1 /tmp/instance-0/output-1/host/bin/arm-buildroot-linux-gnueabihf-gcc --sysroot=/tmp/instance-0/output-1/host/arm-buildroot-linux-gnueabihf/sysroot -Wall -std=c99 -D_DEFAULT_SOURCE -DCHECK_FUNCTION_EXISTS=strcpy_s -DNDEBUG CMakeFiles/cmTC_4e43b.dir/CheckFunctionExists.c.o -o cmTC_4e43b /tmp/instance-0/output-1/host/lib/gcc/arm-buildroot-linux-gnueabihf/11.1.0/../../../../arm-buildroot-linux-gnueabihf/bin/ld: CMakeFiles/cmTC_4e43b.dir/CheckFunctionExists.c.o: in function `main': CheckFunctionExists.c:(.text+0x14): undefined reference to `strcpy_s' collect2: error: ld returned 1 exit status make[2]: *** [CMakeFiles/cmTC_4e43b.dir/build.make:90: cmTC_4e43b] Error 1 make[2]: Leaving directory '/tmp/instance-0/output-1/build/poppler-0.84.0/CMakeFiles/CMakeTmp' make[1]: *** [Makefile:124: cmTC_4e43b/fast] Error 2 make[1]: Leaving directory '/tmp/instance-0/output-1/build/poppler-0.84.0/CMakeFiles/CMakeTmp' Determining if the function strcat_s exists failed with the following output: Change Dir: /tmp/instance-0/output-1/build/poppler-0.84.0/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make cmTC_93598/fast && make[1]: Entering directory '/tmp/instance-0/output-1/build/poppler-0.84.0/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_93598.dir/build.make CMakeFiles/cmTC_93598.dir/build make[2]: Entering directory '/tmp/instance-0/output-1/build/poppler-0.84.0/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_93598.dir/CheckFunctionExists.c.o /tmp/instance-0/output-1/host/bin/arm-buildroot-linux-gnueabihf-gcc --sysroot=/tmp/instance-0/output-1/host/arm-buildroot-linux-gnueabihf/sysroot -D_FILE_OFFSET_BITS=64 -Wall -std=c99 -D_DEFAULT_SOURCE -DCHECK_FUNCTION_EXISTS=strcat_s -DNDEBUG -o CMakeFiles/cmTC_93598.dir/CheckFunctionExists.c.o -c /tmp/instance-0/output-1/host/share/cmake-3.16/Modules/CheckFunctionExists.c Linking C executable cmTC_93598 /tmp/instance-0/output-1/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_93598.dir/link.txt --verbose=1 /tmp/instance-0/output-1/host/bin/arm-buildroot-linux-gnueabihf-gcc --sysroot=/tmp/instance-0/output-1/host/arm-buildroot-linux-gnueabihf/sysroot -Wall -std=c99 -D_DEFAULT_SOURCE -DCHECK_FUNCTION_EXISTS=strcat_s -DNDEBUG CMakeFiles/cmTC_93598.dir/CheckFunctionExists.c.o -o cmTC_93598 /tmp/instance-0/output-1/host/lib/gcc/arm-buildroot-linux-gnueabihf/11.1.0/../../../../arm-buildroot-linux-gnueabihf/bin/ld: CMakeFiles/cmTC_93598.dir/CheckFunctionExists.c.o: in function `main': CheckFunctionExists.c:(.text+0x14): undefined reference to `strcat_s' collect2: error: ld returned 1 exit status make[2]: *** [CMakeFiles/cmTC_93598.dir/build.make:90: cmTC_93598] Error 1 make[2]: Leaving directory '/tmp/instance-0/output-1/build/poppler-0.84.0/CMakeFiles/CMakeTmp' make[1]: *** [Makefile:124: cmTC_93598/fast] Error 2 make[1]: Leaving directory '/tmp/instance-0/output-1/build/poppler-0.84.0/CMakeFiles/CMakeTmp' Performing C SOURCE FILE Test HAVE_NDIR_H failed with the following output: Change Dir: /tmp/instance-0/output-1/build/poppler-0.84.0/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make cmTC_7337f/fast && make[1]: Entering directory '/tmp/instance-0/output-1/build/poppler-0.84.0/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_7337f.dir/build.make CMakeFiles/cmTC_7337f.dir/build make[2]: Entering directory '/tmp/instance-0/output-1/build/poppler-0.84.0/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_7337f.dir/src.c.o /tmp/instance-0/output-1/host/bin/arm-buildroot-linux-gnueabihf-gcc --sysroot=/tmp/instance-0/output-1/host/arm-buildroot-linux-gnueabihf/sysroot -D_FILE_OFFSET_BITS=64 -Wall -std=c99 -D_DEFAULT_SOURCE -DHAVE_NDIR_H -DNDEBUG -o CMakeFiles/cmTC_7337f.dir/src.c.o -c /tmp/instance-0/output-1/build/poppler-0.84.0/CMakeFiles/CMakeTmp/src.c /tmp/instance-0/output-1/build/poppler-0.84.0/CMakeFiles/CMakeTmp/src.c:1:10: fatal error: ndir.h: No such file or directory 1 | #include | ^~~~~~~~ compilation terminated. make[2]: *** [CMakeFiles/cmTC_7337f.dir/build.make:69: CMakeFiles/cmTC_7337f.dir/src.c.o] Error 1 make[2]: Leaving directory '/tmp/instance-0/output-1/build/poppler-0.84.0/CMakeFiles/CMakeTmp' make[1]: *** [Makefile:124: cmTC_7337f/fast] Error 2 make[1]: Leaving directory '/tmp/instance-0/output-1/build/poppler-0.84.0/CMakeFiles/CMakeTmp' Source file was: #include int main(int argc, char *argv[]) { DIR* d = 0; return 0; } Performing C SOURCE FILE Test HAVE_SYS_NDIR_H failed with the following output: Change Dir: /tmp/instance-0/output-1/build/poppler-0.84.0/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make cmTC_ae69c/fast && make[1]: Entering directory '/tmp/instance-0/output-1/build/poppler-0.84.0/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_ae69c.dir/build.make CMakeFiles/cmTC_ae69c.dir/build make[2]: Entering directory '/tmp/instance-0/output-1/build/poppler-0.84.0/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_ae69c.dir/src.c.o /tmp/instance-0/output-1/host/bin/arm-buildroot-linux-gnueabihf-gcc --sysroot=/tmp/instance-0/output-1/host/arm-buildroot-linux-gnueabihf/sysroot -D_FILE_OFFSET_BITS=64 -Wall -std=c99 -D_DEFAULT_SOURCE -DHAVE_SYS_NDIR_H -DNDEBUG -o CMakeFiles/cmTC_ae69c.dir/src.c.o -c /tmp/instance-0/output-1/build/poppler-0.84.0/CMakeFiles/CMakeTmp/src.c /tmp/instance-0/output-1/build/poppler-0.84.0/CMakeFiles/CMakeTmp/src.c:1:10: fatal error: sys/ndir.h: No such file or directory 1 | #include | ^~~~~~~~~~~~ compilation terminated. make[2]: *** [CMakeFiles/cmTC_ae69c.dir/build.make:69: CMakeFiles/cmTC_ae69c.dir/src.c.o] Error 1 make[2]: Leaving directory '/tmp/instance-0/output-1/build/poppler-0.84.0/CMakeFiles/CMakeTmp' make[1]: *** [Makefile:124: cmTC_ae69c/fast] Error 2 make[1]: Leaving directory '/tmp/instance-0/output-1/build/poppler-0.84.0/CMakeFiles/CMakeTmp' Source file was: #include int main(int argc, char *argv[]) { DIR* d = 0; return 0; }