Performing C++ SOURCE FILE Test ICONV_SECOND_ARGUMENT_IS_CONST failed with the following output: Change Dir: /home/buildroot/autobuild/run/instance-2/output-1/build/poppler-21.12.0/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make -f Makefile cmTC_5c1ff/fast && make[1]: Entering directory '/home/buildroot/autobuild/run/instance-2/output-1/build/poppler-21.12.0/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_5c1ff.dir/build.make CMakeFiles/cmTC_5c1ff.dir/build make[2]: Entering directory '/home/buildroot/autobuild/run/instance-2/output-1/build/poppler-21.12.0/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_5c1ff.dir/src.cxx.o /home/buildroot/autobuild/run/instance-2/output-1/host/bin/xtensa-buildroot-linux-uclibc-g++ --sysroot=/home/buildroot/autobuild/run/instance-2/output-1/host/xtensa-buildroot-linux-uclibc/sysroot -DICONV_SECOND_ARGUMENT_IS_CONST -fno-exceptions -fno-check-new -fno-common -fno-operator-names -D_DEFAULT_SOURCE -O2 -DNDEBUG -std=c++17 -o CMakeFiles/cmTC_5c1ff.dir/src.cxx.o -c /home/buildroot/autobuild/run/instance-2/output-1/build/poppler-21.12.0/CMakeFiles/CMakeTmp/src.cxx /home/buildroot/autobuild/run/instance-2/output-1/build/poppler-21.12.0/CMakeFiles/CMakeTmp/src.cxx: In function 'int main()': /home/buildroot/autobuild/run/instance-2/output-1/build/poppler-21.12.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 /home/buildroot/autobuild/run/instance-2/output-1/build/poppler-21.12.0/CMakeFiles/CMakeTmp/src.cxx:2: /home/buildroot/autobuild/run/instance-2/output-1/host/xtensa-buildroot-linux-uclibc/sysroot/usr/include/iconv.h:20:26: note: initializing argument 2 of 'size_t iconv(iconv_t, char**, size_t*, char**, size_t*)' 20 | iconv(iconv_t cd, char **inbuf, size_t *inbytesleft, | ~~~~~~~^~~~~ CMakeFiles/cmTC_5c1ff.dir/build.make:77: recipe for target 'CMakeFiles/cmTC_5c1ff.dir/src.cxx.o' failed make[2]: *** [CMakeFiles/cmTC_5c1ff.dir/src.cxx.o] Error 1 make[2]: Leaving directory '/home/buildroot/autobuild/run/instance-2/output-1/build/poppler-21.12.0/CMakeFiles/CMakeTmp' Makefile:127: recipe for target 'cmTC_5c1ff/fast' failed make[1]: *** [cmTC_5c1ff/fast] Error 2 make[1]: Leaving directory '/home/buildroot/autobuild/run/instance-2/output-1/build/poppler-21.12.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: /home/buildroot/autobuild/run/instance-2/output-1/build/poppler-21.12.0/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make -f Makefile cmTC_6bdd5/fast && make[1]: Entering directory '/home/buildroot/autobuild/run/instance-2/output-1/build/poppler-21.12.0/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_6bdd5.dir/build.make CMakeFiles/cmTC_6bdd5.dir/build make[2]: Entering directory '/home/buildroot/autobuild/run/instance-2/output-1/build/poppler-21.12.0/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_6bdd5.dir/CheckFunctionExists.c.o /home/buildroot/autobuild/run/instance-2/output-1/host/bin/xtensa-buildroot-linux-uclibc-gcc --sysroot=/home/buildroot/autobuild/run/instance-2/output-1/host/xtensa-buildroot-linux-uclibc/sysroot -Wall -std=c99 -D_DEFAULT_SOURCE -DCHECK_FUNCTION_EXISTS=fseek64 -O2 -DNDEBUG -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -mlongcalls -mauto-litpools -Os -g0 -std=c11 -o CMakeFiles/cmTC_6bdd5.dir/CheckFunctionExists.c.o -c /home/buildroot/autobuild/run/instance-2/output-1/host/share/cmake-3.22/Modules/CheckFunctionExists.c Linking C executable cmTC_6bdd5 /home/buildroot/autobuild/run/instance-2/output-1/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_6bdd5.dir/link.txt --verbose=1 /home/buildroot/autobuild/run/instance-2/output-1/host/bin/xtensa-buildroot-linux-uclibc-gcc --sysroot=/home/buildroot/autobuild/run/instance-2/output-1/host/xtensa-buildroot-linux-uclibc/sysroot -Wall -std=c99 -D_DEFAULT_SOURCE -DCHECK_FUNCTION_EXISTS=fseek64 -O2 -DNDEBUG -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -mlongcalls -mauto-litpools -Os -g0 -latomic -Wl,--as-needed CMakeFiles/cmTC_6bdd5.dir/CheckFunctionExists.c.o -o cmTC_6bdd5 /home/buildroot/autobuild/run/instance-2/output-1/host/lib/gcc/xtensa-buildroot-linux-uclibc/11.3.0/../../../../xtensa-buildroot-linux-uclibc/bin/ld: CMakeFiles/cmTC_6bdd5.dir/CheckFunctionExists.c.o:(.text.startup+0x0): undefined reference to `fseek64' collect2: error: ld returned 1 exit status CMakeFiles/cmTC_6bdd5.dir/build.make:98: recipe for target 'cmTC_6bdd5' failed make[2]: *** [cmTC_6bdd5] Error 1 make[2]: Leaving directory '/home/buildroot/autobuild/run/instance-2/output-1/build/poppler-21.12.0/CMakeFiles/CMakeTmp' Makefile:127: recipe for target 'cmTC_6bdd5/fast' failed make[1]: *** [cmTC_6bdd5/fast] Error 2 make[1]: Leaving directory '/home/buildroot/autobuild/run/instance-2/output-1/build/poppler-21.12.0/CMakeFiles/CMakeTmp' Determining if the function ftell64 exists failed with the following output: Change Dir: /home/buildroot/autobuild/run/instance-2/output-1/build/poppler-21.12.0/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make -f Makefile cmTC_3b551/fast && make[1]: Entering directory '/home/buildroot/autobuild/run/instance-2/output-1/build/poppler-21.12.0/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_3b551.dir/build.make CMakeFiles/cmTC_3b551.dir/build make[2]: Entering directory '/home/buildroot/autobuild/run/instance-2/output-1/build/poppler-21.12.0/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_3b551.dir/CheckFunctionExists.c.o /home/buildroot/autobuild/run/instance-2/output-1/host/bin/xtensa-buildroot-linux-uclibc-gcc --sysroot=/home/buildroot/autobuild/run/instance-2/output-1/host/xtensa-buildroot-linux-uclibc/sysroot -Wall -std=c99 -D_DEFAULT_SOURCE -DCHECK_FUNCTION_EXISTS=ftell64 -O2 -DNDEBUG -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -mlongcalls -mauto-litpools -Os -g0 -std=c11 -o CMakeFiles/cmTC_3b551.dir/CheckFunctionExists.c.o -c /home/buildroot/autobuild/run/instance-2/output-1/host/share/cmake-3.22/Modules/CheckFunctionExists.c Linking C executable cmTC_3b551 /home/buildroot/autobuild/run/instance-2/output-1/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_3b551.dir/link.txt --verbose=1 /home/buildroot/autobuild/run/instance-2/output-1/host/bin/xtensa-buildroot-linux-uclibc-gcc --sysroot=/home/buildroot/autobuild/run/instance-2/output-1/host/xtensa-buildroot-linux-uclibc/sysroot -Wall -std=c99 -D_DEFAULT_SOURCE -DCHECK_FUNCTION_EXISTS=ftell64 -O2 -DNDEBUG -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -mlongcalls -mauto-litpools -Os -g0 -latomic -Wl,--as-needed CMakeFiles/cmTC_3b551.dir/CheckFunctionExists.c.o -o cmTC_3b551 /home/buildroot/autobuild/run/instance-2/output-1/host/lib/gcc/xtensa-buildroot-linux-uclibc/11.3.0/../../../../xtensa-buildroot-linux-uclibc/bin/ld: CMakeFiles/cmTC_3b551.dir/CheckFunctionExists.c.o:(.text.startup+0x0): undefined reference to `ftell64' collect2: error: ld returned 1 exit status CMakeFiles/cmTC_3b551.dir/build.make:98: recipe for target 'cmTC_3b551' failed make[2]: *** [cmTC_3b551] Error 1 make[2]: Leaving directory '/home/buildroot/autobuild/run/instance-2/output-1/build/poppler-21.12.0/CMakeFiles/CMakeTmp' Makefile:127: recipe for target 'cmTC_3b551/fast' failed make[1]: *** [cmTC_3b551/fast] Error 2 make[1]: Leaving directory '/home/buildroot/autobuild/run/instance-2/output-1/build/poppler-21.12.0/CMakeFiles/CMakeTmp' Performing C SOURCE FILE Test HAVE_NDIR_H failed with the following output: Change Dir: /home/buildroot/autobuild/run/instance-2/output-1/build/poppler-21.12.0/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make -f Makefile cmTC_609c4/fast && make[1]: Entering directory '/home/buildroot/autobuild/run/instance-2/output-1/build/poppler-21.12.0/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_609c4.dir/build.make CMakeFiles/cmTC_609c4.dir/build make[2]: Entering directory '/home/buildroot/autobuild/run/instance-2/output-1/build/poppler-21.12.0/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_609c4.dir/src.c.o /home/buildroot/autobuild/run/instance-2/output-1/host/bin/xtensa-buildroot-linux-uclibc-gcc --sysroot=/home/buildroot/autobuild/run/instance-2/output-1/host/xtensa-buildroot-linux-uclibc/sysroot -DHAVE_NDIR_H -Wall -std=c99 -D_DEFAULT_SOURCE -O2 -DNDEBUG -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -mlongcalls -mauto-litpools -Os -g0 -std=c11 -o CMakeFiles/cmTC_609c4.dir/src.c.o -c /home/buildroot/autobuild/run/instance-2/output-1/build/poppler-21.12.0/CMakeFiles/CMakeTmp/src.c /home/buildroot/autobuild/run/instance-2/output-1/build/poppler-21.12.0/CMakeFiles/CMakeTmp/src.c:1:10: fatal error: ndir.h: No such file or directory 1 | #include | ^~~~~~~~ compilation terminated. CMakeFiles/cmTC_609c4.dir/build.make:77: recipe for target 'CMakeFiles/cmTC_609c4.dir/src.c.o' failed make[2]: *** [CMakeFiles/cmTC_609c4.dir/src.c.o] Error 1 make[2]: Leaving directory '/home/buildroot/autobuild/run/instance-2/output-1/build/poppler-21.12.0/CMakeFiles/CMakeTmp' Makefile:127: recipe for target 'cmTC_609c4/fast' failed make[1]: *** [cmTC_609c4/fast] Error 2 make[1]: Leaving directory '/home/buildroot/autobuild/run/instance-2/output-1/build/poppler-21.12.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: /home/buildroot/autobuild/run/instance-2/output-1/build/poppler-21.12.0/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make -f Makefile cmTC_698cd/fast && make[1]: Entering directory '/home/buildroot/autobuild/run/instance-2/output-1/build/poppler-21.12.0/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_698cd.dir/build.make CMakeFiles/cmTC_698cd.dir/build make[2]: Entering directory '/home/buildroot/autobuild/run/instance-2/output-1/build/poppler-21.12.0/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_698cd.dir/src.c.o /home/buildroot/autobuild/run/instance-2/output-1/host/bin/xtensa-buildroot-linux-uclibc-gcc --sysroot=/home/buildroot/autobuild/run/instance-2/output-1/host/xtensa-buildroot-linux-uclibc/sysroot -DHAVE_SYS_NDIR_H -Wall -std=c99 -D_DEFAULT_SOURCE -O2 -DNDEBUG -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -mlongcalls -mauto-litpools -Os -g0 -std=c11 -o CMakeFiles/cmTC_698cd.dir/src.c.o -c /home/buildroot/autobuild/run/instance-2/output-1/build/poppler-21.12.0/CMakeFiles/CMakeTmp/src.c /home/buildroot/autobuild/run/instance-2/output-1/build/poppler-21.12.0/CMakeFiles/CMakeTmp/src.c:1:10: fatal error: sys/ndir.h: No such file or directory 1 | #include | ^~~~~~~~~~~~ compilation terminated. CMakeFiles/cmTC_698cd.dir/build.make:77: recipe for target 'CMakeFiles/cmTC_698cd.dir/src.c.o' failed make[2]: *** [CMakeFiles/cmTC_698cd.dir/src.c.o] Error 1 make[2]: Leaving directory '/home/buildroot/autobuild/run/instance-2/output-1/build/poppler-21.12.0/CMakeFiles/CMakeTmp' Makefile:127: recipe for target 'cmTC_698cd/fast' failed make[1]: *** [cmTC_698cd/fast] Error 2 make[1]: Leaving directory '/home/buildroot/autobuild/run/instance-2/output-1/build/poppler-21.12.0/CMakeFiles/CMakeTmp' Source file was: #include int main(int argc, char *argv[]) { DIR* d = 0; return 0; }