Performing C++ SOURCE FILE Test ICONV_SECOND_ARGUMENT_IS_CONST failed with the following output: Change Dir: /home/giuliobenetti/autobuild/run/instance-1/output-1/build/poppler-21.12.0/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make cmTC_58185/fast && make[1]: Entering directory '/home/giuliobenetti/autobuild/run/instance-1/output-1/build/poppler-21.12.0/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_58185.dir/build.make CMakeFiles/cmTC_58185.dir/build make[2]: Entering directory '/home/giuliobenetti/autobuild/run/instance-1/output-1/build/poppler-21.12.0/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_58185.dir/src.cxx.o /home/giuliobenetti/autobuild/run/instance-1/output-1/host/bin/riscv32-linux-g++ --sysroot=/home/giuliobenetti/autobuild/run/instance-1/output-1/host/riscv32-buildroot-linux-gnu/sysroot -fno-exceptions -fno-check-new -fno-common -fno-operator-names -D_DEFAULT_SOURCE -DICONV_SECOND_ARGUMENT_IS_CONST -O2 -DNDEBUG -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -std=c++17 -o CMakeFiles/cmTC_58185.dir/src.cxx.o -c /home/giuliobenetti/autobuild/run/instance-1/output-1/build/poppler-21.12.0/CMakeFiles/CMakeTmp/src.cxx /home/giuliobenetti/autobuild/run/instance-1/output-1/build/poppler-21.12.0/CMakeFiles/CMakeTmp/src.cxx: In function 'int main()': /home/giuliobenetti/autobuild/run/instance-1/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/giuliobenetti/autobuild/run/instance-1/output-1/build/poppler-21.12.0/CMakeFiles/CMakeTmp/src.cxx:2: /home/giuliobenetti/autobuild/run/instance-1/output-1/host/riscv32-buildroot-linux-gnu/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_58185.dir/build.make:69: CMakeFiles/cmTC_58185.dir/src.cxx.o] Error 1 make[2]: Leaving directory '/home/giuliobenetti/autobuild/run/instance-1/output-1/build/poppler-21.12.0/CMakeFiles/CMakeTmp' make[1]: *** [Makefile:124: cmTC_58185/fast] Error 2 make[1]: Leaving directory '/home/giuliobenetti/autobuild/run/instance-1/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/giuliobenetti/autobuild/run/instance-1/output-1/build/poppler-21.12.0/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make cmTC_96049/fast && make[1]: Entering directory '/home/giuliobenetti/autobuild/run/instance-1/output-1/build/poppler-21.12.0/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_96049.dir/build.make CMakeFiles/cmTC_96049.dir/build make[2]: Entering directory '/home/giuliobenetti/autobuild/run/instance-1/output-1/build/poppler-21.12.0/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_96049.dir/CheckFunctionExists.c.o /home/giuliobenetti/autobuild/run/instance-1/output-1/host/bin/riscv32-linux-gcc --sysroot=/home/giuliobenetti/autobuild/run/instance-1/output-1/host/riscv32-buildroot-linux-gnu/sysroot -Wall -std=c99 -D_DEFAULT_SOURCE -DCHECK_FUNCTION_EXISTS=fseek64 -O2 -DNDEBUG -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -std=c11 -o CMakeFiles/cmTC_96049.dir/CheckFunctionExists.c.o -c /home/giuliobenetti/autobuild/run/instance-1/output-1/host/share/cmake-3.16/Modules/CheckFunctionExists.c Linking C executable cmTC_96049 /home/giuliobenetti/autobuild/run/instance-1/output-1/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_96049.dir/link.txt --verbose=1 /home/giuliobenetti/autobuild/run/instance-1/output-1/host/bin/riscv32-linux-gcc --sysroot=/home/giuliobenetti/autobuild/run/instance-1/output-1/host/riscv32-buildroot-linux-gnu/sysroot -Wall -std=c99 -D_DEFAULT_SOURCE -DCHECK_FUNCTION_EXISTS=fseek64 -O2 -DNDEBUG -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -latomic -Wl,--as-needed CMakeFiles/cmTC_96049.dir/CheckFunctionExists.c.o -o cmTC_96049 /home/giuliobenetti/autobuild/run/instance-1/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv32-buildroot-linux-gnu/11.2.0/../../../../riscv32-buildroot-linux-gnu/bin/ld: CMakeFiles/cmTC_96049.dir/CheckFunctionExists.c.o: in function `main': CheckFunctionExists.c:(.text.startup+0x18): undefined reference to `fseek64' collect2: error: ld returned 1 exit status make[2]: *** [CMakeFiles/cmTC_96049.dir/build.make:90: cmTC_96049] Error 1 make[2]: Leaving directory '/home/giuliobenetti/autobuild/run/instance-1/output-1/build/poppler-21.12.0/CMakeFiles/CMakeTmp' make[1]: *** [Makefile:124: cmTC_96049/fast] Error 2 make[1]: Leaving directory '/home/giuliobenetti/autobuild/run/instance-1/output-1/build/poppler-21.12.0/CMakeFiles/CMakeTmp' Determining if the function ftell64 exists failed with the following output: Change Dir: /home/giuliobenetti/autobuild/run/instance-1/output-1/build/poppler-21.12.0/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make cmTC_87c0d/fast && make[1]: Entering directory '/home/giuliobenetti/autobuild/run/instance-1/output-1/build/poppler-21.12.0/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_87c0d.dir/build.make CMakeFiles/cmTC_87c0d.dir/build make[2]: Entering directory '/home/giuliobenetti/autobuild/run/instance-1/output-1/build/poppler-21.12.0/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_87c0d.dir/CheckFunctionExists.c.o /home/giuliobenetti/autobuild/run/instance-1/output-1/host/bin/riscv32-linux-gcc --sysroot=/home/giuliobenetti/autobuild/run/instance-1/output-1/host/riscv32-buildroot-linux-gnu/sysroot -Wall -std=c99 -D_DEFAULT_SOURCE -DCHECK_FUNCTION_EXISTS=ftell64 -O2 -DNDEBUG -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -std=c11 -o CMakeFiles/cmTC_87c0d.dir/CheckFunctionExists.c.o -c /home/giuliobenetti/autobuild/run/instance-1/output-1/host/share/cmake-3.16/Modules/CheckFunctionExists.c Linking C executable cmTC_87c0d /home/giuliobenetti/autobuild/run/instance-1/output-1/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_87c0d.dir/link.txt --verbose=1 /home/giuliobenetti/autobuild/run/instance-1/output-1/host/bin/riscv32-linux-gcc --sysroot=/home/giuliobenetti/autobuild/run/instance-1/output-1/host/riscv32-buildroot-linux-gnu/sysroot -Wall -std=c99 -D_DEFAULT_SOURCE -DCHECK_FUNCTION_EXISTS=ftell64 -O2 -DNDEBUG -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -latomic -Wl,--as-needed CMakeFiles/cmTC_87c0d.dir/CheckFunctionExists.c.o -o cmTC_87c0d /home/giuliobenetti/autobuild/run/instance-1/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv32-buildroot-linux-gnu/11.2.0/../../../../riscv32-buildroot-linux-gnu/bin/ld: CMakeFiles/cmTC_87c0d.dir/CheckFunctionExists.c.o: in function `main': CheckFunctionExists.c:(.text.startup+0x18): undefined reference to `ftell64' collect2: error: ld returned 1 exit status make[2]: *** [CMakeFiles/cmTC_87c0d.dir/build.make:90: cmTC_87c0d] Error 1 make[2]: Leaving directory '/home/giuliobenetti/autobuild/run/instance-1/output-1/build/poppler-21.12.0/CMakeFiles/CMakeTmp' make[1]: *** [Makefile:124: cmTC_87c0d/fast] Error 2 make[1]: Leaving directory '/home/giuliobenetti/autobuild/run/instance-1/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/giuliobenetti/autobuild/run/instance-1/output-1/build/poppler-21.12.0/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make cmTC_1f8cd/fast && make[1]: Entering directory '/home/giuliobenetti/autobuild/run/instance-1/output-1/build/poppler-21.12.0/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_1f8cd.dir/build.make CMakeFiles/cmTC_1f8cd.dir/build make[2]: Entering directory '/home/giuliobenetti/autobuild/run/instance-1/output-1/build/poppler-21.12.0/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_1f8cd.dir/src.c.o /home/giuliobenetti/autobuild/run/instance-1/output-1/host/bin/riscv32-linux-gcc --sysroot=/home/giuliobenetti/autobuild/run/instance-1/output-1/host/riscv32-buildroot-linux-gnu/sysroot -Wall -std=c99 -D_DEFAULT_SOURCE -DHAVE_NDIR_H -O2 -DNDEBUG -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -std=c11 -o CMakeFiles/cmTC_1f8cd.dir/src.c.o -c /home/giuliobenetti/autobuild/run/instance-1/output-1/build/poppler-21.12.0/CMakeFiles/CMakeTmp/src.c /home/giuliobenetti/autobuild/run/instance-1/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. make[2]: *** [CMakeFiles/cmTC_1f8cd.dir/build.make:69: CMakeFiles/cmTC_1f8cd.dir/src.c.o] Error 1 make[2]: Leaving directory '/home/giuliobenetti/autobuild/run/instance-1/output-1/build/poppler-21.12.0/CMakeFiles/CMakeTmp' make[1]: *** [Makefile:124: cmTC_1f8cd/fast] Error 2 make[1]: Leaving directory '/home/giuliobenetti/autobuild/run/instance-1/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/giuliobenetti/autobuild/run/instance-1/output-1/build/poppler-21.12.0/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make cmTC_fa5ea/fast && make[1]: Entering directory '/home/giuliobenetti/autobuild/run/instance-1/output-1/build/poppler-21.12.0/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_fa5ea.dir/build.make CMakeFiles/cmTC_fa5ea.dir/build make[2]: Entering directory '/home/giuliobenetti/autobuild/run/instance-1/output-1/build/poppler-21.12.0/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_fa5ea.dir/src.c.o /home/giuliobenetti/autobuild/run/instance-1/output-1/host/bin/riscv32-linux-gcc --sysroot=/home/giuliobenetti/autobuild/run/instance-1/output-1/host/riscv32-buildroot-linux-gnu/sysroot -Wall -std=c99 -D_DEFAULT_SOURCE -DHAVE_SYS_NDIR_H -O2 -DNDEBUG -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -std=c11 -o CMakeFiles/cmTC_fa5ea.dir/src.c.o -c /home/giuliobenetti/autobuild/run/instance-1/output-1/build/poppler-21.12.0/CMakeFiles/CMakeTmp/src.c /home/giuliobenetti/autobuild/run/instance-1/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. make[2]: *** [CMakeFiles/cmTC_fa5ea.dir/build.make:69: CMakeFiles/cmTC_fa5ea.dir/src.c.o] Error 1 make[2]: Leaving directory '/home/giuliobenetti/autobuild/run/instance-1/output-1/build/poppler-21.12.0/CMakeFiles/CMakeTmp' make[1]: *** [Makefile:124: cmTC_fa5ea/fast] Error 2 make[1]: Leaving directory '/home/giuliobenetti/autobuild/run/instance-1/output-1/build/poppler-21.12.0/CMakeFiles/CMakeTmp' Source file was: #include int main(int argc, char *argv[]) { DIR* d = 0; return 0; }