Performing C SOURCE FILE Test test_arch_x64 failed with the following output: Change Dir: /home/giuliobenetti/autobuild/run/instance-1/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_a9bb2/fast && gmake[1]: Entering directory '/home/giuliobenetti/autobuild/run/instance-1/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/gmake -f CMakeFiles/cmTC_a9bb2.dir/build.make CMakeFiles/cmTC_a9bb2.dir/build gmake[2]: Entering directory '/home/giuliobenetti/autobuild/run/instance-1/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_a9bb2.dir/src.c.o /home/giuliobenetti/autobuild/run/instance-1/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc --sysroot=/home/giuliobenetti/autobuild/run/instance-1/output-1/host/riscv64-buildroot-linux-uclibc/sysroot -Dtest_arch_x64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -Wall -Wno-unused -DNDEBUG -o CMakeFiles/cmTC_a9bb2.dir/src.c.o -c /home/giuliobenetti/autobuild/run/instance-1/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp/src.c /home/giuliobenetti/autobuild/run/instance-1/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp/src.c:5:10: error: #error wrongarch 5 | #error wrongarch | ^~~~~ gmake[2]: *** [CMakeFiles/cmTC_a9bb2.dir/build.make:78: CMakeFiles/cmTC_a9bb2.dir/src.c.o] Error 1 gmake[2]: Leaving directory '/home/giuliobenetti/autobuild/run/instance-1/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' gmake[1]: *** [Makefile:127: cmTC_a9bb2/fast] Error 2 gmake[1]: Leaving directory '/home/giuliobenetti/autobuild/run/instance-1/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' Source file was: #if defined(__x86_64__) || defined(_M_X64) int main() { return 0; } #else #error wrongarch #endif Performing C SOURCE FILE Test test_arch_aarch64 failed with the following output: Change Dir: /home/giuliobenetti/autobuild/run/instance-1/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_5719f/fast && gmake[1]: Entering directory '/home/giuliobenetti/autobuild/run/instance-1/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/gmake -f CMakeFiles/cmTC_5719f.dir/build.make CMakeFiles/cmTC_5719f.dir/build gmake[2]: Entering directory '/home/giuliobenetti/autobuild/run/instance-1/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_5719f.dir/src.c.o /home/giuliobenetti/autobuild/run/instance-1/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc --sysroot=/home/giuliobenetti/autobuild/run/instance-1/output-1/host/riscv64-buildroot-linux-uclibc/sysroot -Dtest_arch_aarch64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -Wall -Wno-unused -DNDEBUG -o CMakeFiles/cmTC_5719f.dir/src.c.o -c /home/giuliobenetti/autobuild/run/instance-1/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp/src.c /home/giuliobenetti/autobuild/run/instance-1/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp/src.c:5:10: error: #error wrongarch 5 | #error wrongarch | ^~~~~ gmake[2]: *** [CMakeFiles/cmTC_5719f.dir/build.make:78: CMakeFiles/cmTC_5719f.dir/src.c.o] Error 1 gmake[2]: Leaving directory '/home/giuliobenetti/autobuild/run/instance-1/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' gmake[1]: *** [Makefile:127: cmTC_5719f/fast] Error 2 gmake[1]: Leaving directory '/home/giuliobenetti/autobuild/run/instance-1/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' Source file was: #if defined(__aarch64__) || defined(__arm64__) int main() { return 0; } #else #error wrongarch #endif Performing C SOURCE FILE Test test_arch_arm failed with the following output: Change Dir: /home/giuliobenetti/autobuild/run/instance-1/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_1263f/fast && gmake[1]: Entering directory '/home/giuliobenetti/autobuild/run/instance-1/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/gmake -f CMakeFiles/cmTC_1263f.dir/build.make CMakeFiles/cmTC_1263f.dir/build gmake[2]: Entering directory '/home/giuliobenetti/autobuild/run/instance-1/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_1263f.dir/src.c.o /home/giuliobenetti/autobuild/run/instance-1/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc --sysroot=/home/giuliobenetti/autobuild/run/instance-1/output-1/host/riscv64-buildroot-linux-uclibc/sysroot -Dtest_arch_arm -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -Wall -Wno-unused -DNDEBUG -o CMakeFiles/cmTC_1263f.dir/src.c.o -c /home/giuliobenetti/autobuild/run/instance-1/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp/src.c /home/giuliobenetti/autobuild/run/instance-1/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp/src.c:5:10: error: #error wrongarch 5 | #error wrongarch | ^~~~~ gmake[2]: *** [CMakeFiles/cmTC_1263f.dir/build.make:78: CMakeFiles/cmTC_1263f.dir/src.c.o] Error 1 gmake[2]: Leaving directory '/home/giuliobenetti/autobuild/run/instance-1/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' gmake[1]: *** [Makefile:127: cmTC_1263f/fast] Error 2 gmake[1]: Leaving directory '/home/giuliobenetti/autobuild/run/instance-1/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' Source file was: #if defined(__arm__) || defined(__ARM_NEON__) || defined(__ARM_NEON) int main() { return 0; } #else #error wrongarch #endif Performing C SOURCE FILE Test test_arch_power failed with the following output: Change Dir: /home/giuliobenetti/autobuild/run/instance-1/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_5e021/fast && gmake[1]: Entering directory '/home/giuliobenetti/autobuild/run/instance-1/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/gmake -f CMakeFiles/cmTC_5e021.dir/build.make CMakeFiles/cmTC_5e021.dir/build gmake[2]: Entering directory '/home/giuliobenetti/autobuild/run/instance-1/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_5e021.dir/src.c.o /home/giuliobenetti/autobuild/run/instance-1/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc --sysroot=/home/giuliobenetti/autobuild/run/instance-1/output-1/host/riscv64-buildroot-linux-uclibc/sysroot -Dtest_arch_power -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -Wall -Wno-unused -DNDEBUG -o CMakeFiles/cmTC_5e021.dir/src.c.o -c /home/giuliobenetti/autobuild/run/instance-1/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp/src.c /home/giuliobenetti/autobuild/run/instance-1/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp/src.c:5:10: error: #error wrongarch 5 | #error wrongarch | ^~~~~ gmake[2]: *** [CMakeFiles/cmTC_5e021.dir/build.make:78: CMakeFiles/cmTC_5e021.dir/src.c.o] Error 1 gmake[2]: Leaving directory '/home/giuliobenetti/autobuild/run/instance-1/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' gmake[1]: *** [Makefile:127: cmTC_5e021/fast] Error 2 gmake[1]: Leaving directory '/home/giuliobenetti/autobuild/run/instance-1/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' Source file was: #if defined(__powerpc64__) || defined(_M_PPC) int main() { return 0; } #else #error wrongarch #endif Determining if the function pcap_get_pfring_id exists failed with the following output: Change Dir: /home/giuliobenetti/autobuild/run/instance-1/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_3abd7/fast && gmake[1]: Entering directory '/home/giuliobenetti/autobuild/run/instance-1/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/gmake -f CMakeFiles/cmTC_3abd7.dir/build.make CMakeFiles/cmTC_3abd7.dir/build gmake[2]: Entering directory '/home/giuliobenetti/autobuild/run/instance-1/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_3abd7.dir/CheckFunctionExists.c.o /home/giuliobenetti/autobuild/run/instance-1/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc --sysroot=/home/giuliobenetti/autobuild/run/instance-1/output-1/host/riscv64-buildroot-linux-uclibc/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -Wall -Wno-unused -DCHECK_FUNCTION_EXISTS=pcap_get_pfring_id -DNDEBUG -o CMakeFiles/cmTC_3abd7.dir/CheckFunctionExists.c.o -c /home/giuliobenetti/autobuild/run/instance-1/output-1/host/share/cmake-3.22/Modules/CheckFunctionExists.c Linking C executable cmTC_3abd7 /home/giuliobenetti/autobuild/run/instance-1/output-1/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_3abd7.dir/link.txt --verbose=1 /home/giuliobenetti/autobuild/run/instance-1/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc --sysroot=/home/giuliobenetti/autobuild/run/instance-1/output-1/host/riscv64-buildroot-linux-uclibc/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -Wall -Wno-unused -DCHECK_FUNCTION_EXISTS=pcap_get_pfring_id -DNDEBUG -lfts CMakeFiles/cmTC_3abd7.dir/CheckFunctionExists.c.o -o cmTC_3abd7 /home/giuliobenetti/autobuild/run/instance-1/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/lib/libpcap.so /home/giuliobenetti/autobuild/run/instance-1/output-1/host/lib/gcc/riscv64-buildroot-linux-uclibc/11.3.0/../../../../riscv64-buildroot-linux-uclibc/bin/ld: CMakeFiles/cmTC_3abd7.dir/CheckFunctionExists.c.o: in function `main': CheckFunctionExists.c:(.text.startup+0x18): undefined reference to `pcap_get_pfring_id' collect2: error: ld returned 1 exit status gmake[2]: *** [CMakeFiles/cmTC_3abd7.dir/build.make:100: cmTC_3abd7] Error 1 gmake[2]: Leaving directory '/home/giuliobenetti/autobuild/run/instance-1/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' gmake[1]: *** [Makefile:127: cmTC_3abd7/fast] Error 2 gmake[1]: Leaving directory '/home/giuliobenetti/autobuild/run/instance-1/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' Determining if files emmintrin.h exist failed with the following output: Change Dir: /home/giuliobenetti/autobuild/run/instance-1/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_992ad/fast && gmake[1]: Entering directory '/home/giuliobenetti/autobuild/run/instance-1/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/gmake -f CMakeFiles/cmTC_992ad.dir/build.make CMakeFiles/cmTC_992ad.dir/build gmake[2]: Entering directory '/home/giuliobenetti/autobuild/run/instance-1/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_992ad.dir/BROKER_USE_SSE2.c.o /home/giuliobenetti/autobuild/run/instance-1/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc --sysroot=/home/giuliobenetti/autobuild/run/instance-1/output-1/host/riscv64-buildroot-linux-uclibc/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -Wall -Wno-unused -msse2 -DNDEBUG -o CMakeFiles/cmTC_992ad.dir/BROKER_USE_SSE2.c.o -c /home/giuliobenetti/autobuild/run/instance-1/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CheckIncludeFiles/BROKER_USE_SSE2.c riscv64-buildroot-linux-uclibc-gcc.br_real: error: unrecognized command-line option '-msse2' gmake[2]: *** [CMakeFiles/cmTC_992ad.dir/build.make:78: CMakeFiles/cmTC_992ad.dir/BROKER_USE_SSE2.c.o] Error 1 gmake[2]: Leaving directory '/home/giuliobenetti/autobuild/run/instance-1/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' gmake[1]: *** [Makefile:127: cmTC_992ad/fast] Error 2 gmake[1]: Leaving directory '/home/giuliobenetti/autobuild/run/instance-1/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' Source: /* */ #include int main(void){return 0;} Determining if the htonll exist failed with the following output: Change Dir: /home/giuliobenetti/autobuild/run/instance-1/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_02d9a/fast && gmake[1]: Entering directory '/home/giuliobenetti/autobuild/run/instance-1/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/gmake -f CMakeFiles/cmTC_02d9a.dir/build.make CMakeFiles/cmTC_02d9a.dir/build gmake[2]: Entering directory '/home/giuliobenetti/autobuild/run/instance-1/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_02d9a.dir/CheckSymbolExists.c.o /home/giuliobenetti/autobuild/run/instance-1/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc --sysroot=/home/giuliobenetti/autobuild/run/instance-1/output-1/host/riscv64-buildroot-linux-uclibc/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -Wall -Wno-unused -DNDEBUG -o CMakeFiles/cmTC_02d9a.dir/CheckSymbolExists.c.o -c /home/giuliobenetti/autobuild/run/instance-1/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp/CheckSymbolExists.c /home/giuliobenetti/autobuild/run/instance-1/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp/CheckSymbolExists.c: In function 'main': /home/giuliobenetti/autobuild/run/instance-1/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19: error: 'htonll' undeclared (first use in this function); did you mean 'htonl'? 8 | return ((int*)(&htonll))[argc]; | ^~~~~~ | htonl /home/giuliobenetti/autobuild/run/instance-1/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19: note: each undeclared identifier is reported only once for each function it appears in gmake[2]: *** [CMakeFiles/cmTC_02d9a.dir/build.make:78: CMakeFiles/cmTC_02d9a.dir/CheckSymbolExists.c.o] Error 1 gmake[2]: Leaving directory '/home/giuliobenetti/autobuild/run/instance-1/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' gmake[1]: *** [Makefile:127: cmTC_02d9a/fast] Error 2 gmake[1]: Leaving directory '/home/giuliobenetti/autobuild/run/instance-1/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' File /home/giuliobenetti/autobuild/run/instance-1/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp/CheckSymbolExists.c: /* */ #include int main(int argc, char** argv) { (void)argv; #ifndef htonll return ((int*)(&htonll))[argc]; #else (void)argc; return 0; #endif } Determining if files sys/ethernet.h exist failed with the following output: Change Dir: /home/giuliobenetti/autobuild/run/instance-1/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_24ed1/fast && gmake[1]: Entering directory '/home/giuliobenetti/autobuild/run/instance-1/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/gmake -f CMakeFiles/cmTC_24ed1.dir/build.make CMakeFiles/cmTC_24ed1.dir/build gmake[2]: Entering directory '/home/giuliobenetti/autobuild/run/instance-1/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_24ed1.dir/HAVE_SYS_ETHERNET_H.c.o /home/giuliobenetti/autobuild/run/instance-1/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc --sysroot=/home/giuliobenetti/autobuild/run/instance-1/output-1/host/riscv64-buildroot-linux-uclibc/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -Wall -Wno-unused -DNDEBUG -o CMakeFiles/cmTC_24ed1.dir/HAVE_SYS_ETHERNET_H.c.o -c /home/giuliobenetti/autobuild/run/instance-1/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CheckIncludeFiles/HAVE_SYS_ETHERNET_H.c /home/giuliobenetti/autobuild/run/instance-1/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CheckIncludeFiles/HAVE_SYS_ETHERNET_H.c:2:10: fatal error: sys/ethernet.h: No such file or directory 2 | #include | ^~~~~~~~~~~~~~~~ compilation terminated. gmake[2]: *** [CMakeFiles/cmTC_24ed1.dir/build.make:78: CMakeFiles/cmTC_24ed1.dir/HAVE_SYS_ETHERNET_H.c.o] Error 1 gmake[2]: Leaving directory '/home/giuliobenetti/autobuild/run/instance-1/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' gmake[1]: *** [Makefile:127: cmTC_24ed1/fast] Error 2 gmake[1]: Leaving directory '/home/giuliobenetti/autobuild/run/instance-1/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' Source: /* */ #include int main(void){return 0;} Determining if files net/ethertypes.h exist failed with the following output: Change Dir: /home/giuliobenetti/autobuild/run/instance-1/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_71008/fast && gmake[1]: Entering directory '/home/giuliobenetti/autobuild/run/instance-1/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/gmake -f CMakeFiles/cmTC_71008.dir/build.make CMakeFiles/cmTC_71008.dir/build gmake[2]: Entering directory '/home/giuliobenetti/autobuild/run/instance-1/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_71008.dir/HAVE_NET_ETHERTYPES_H.c.o /home/giuliobenetti/autobuild/run/instance-1/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc --sysroot=/home/giuliobenetti/autobuild/run/instance-1/output-1/host/riscv64-buildroot-linux-uclibc/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -Wall -Wno-unused -DNDEBUG -o CMakeFiles/cmTC_71008.dir/HAVE_NET_ETHERTYPES_H.c.o -c /home/giuliobenetti/autobuild/run/instance-1/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CheckIncludeFiles/HAVE_NET_ETHERTYPES_H.c /home/giuliobenetti/autobuild/run/instance-1/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CheckIncludeFiles/HAVE_NET_ETHERTYPES_H.c:2:10: fatal error: net/ethertypes.h: No such file or directory 2 | #include | ^~~~~~~~~~~~~~~~~~ compilation terminated. gmake[2]: *** [CMakeFiles/cmTC_71008.dir/build.make:78: CMakeFiles/cmTC_71008.dir/HAVE_NET_ETHERTYPES_H.c.o] Error 1 gmake[2]: Leaving directory '/home/giuliobenetti/autobuild/run/instance-1/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' gmake[1]: *** [Makefile:127: cmTC_71008/fast] Error 2 gmake[1]: Leaving directory '/home/giuliobenetti/autobuild/run/instance-1/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' Source: /* */ #include int main(void){return 0;} Determining if files os-proto.h exist failed with the following output: Change Dir: /home/giuliobenetti/autobuild/run/instance-1/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_d8667/fast && gmake[1]: Entering directory '/home/giuliobenetti/autobuild/run/instance-1/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/gmake -f CMakeFiles/cmTC_d8667.dir/build.make CMakeFiles/cmTC_d8667.dir/build gmake[2]: Entering directory '/home/giuliobenetti/autobuild/run/instance-1/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_d8667.dir/HAVE_OS_PROTO_H.c.o /home/giuliobenetti/autobuild/run/instance-1/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc --sysroot=/home/giuliobenetti/autobuild/run/instance-1/output-1/host/riscv64-buildroot-linux-uclibc/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -Wall -Wno-unused -DNDEBUG -o CMakeFiles/cmTC_d8667.dir/HAVE_OS_PROTO_H.c.o -c /home/giuliobenetti/autobuild/run/instance-1/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CheckIncludeFiles/HAVE_OS_PROTO_H.c /home/giuliobenetti/autobuild/run/instance-1/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CheckIncludeFiles/HAVE_OS_PROTO_H.c:2:10: fatal error: os-proto.h: No such file or directory 2 | #include | ^~~~~~~~~~~~ compilation terminated. gmake[2]: *** [CMakeFiles/cmTC_d8667.dir/build.make:78: CMakeFiles/cmTC_d8667.dir/HAVE_OS_PROTO_H.c.o] Error 1 gmake[2]: Leaving directory '/home/giuliobenetti/autobuild/run/instance-1/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' gmake[1]: *** [Makefile:127: cmTC_d8667/fast] Error 2 gmake[1]: Leaving directory '/home/giuliobenetti/autobuild/run/instance-1/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' Source: /* */ #include int main(void){return 0;} Performing C SOURCE FILE Test HAVE_READLINE_HISTORY_ENTRIES failed with the following output: Change Dir: /home/giuliobenetti/autobuild/run/instance-1/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_85be0/fast && gmake[1]: Entering directory '/home/giuliobenetti/autobuild/run/instance-1/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/gmake -f CMakeFiles/cmTC_85be0.dir/build.make CMakeFiles/cmTC_85be0.dir/build gmake[2]: Entering directory '/home/giuliobenetti/autobuild/run/instance-1/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_85be0.dir/src.c.o /home/giuliobenetti/autobuild/run/instance-1/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc --sysroot=/home/giuliobenetti/autobuild/run/instance-1/output-1/host/riscv64-buildroot-linux-uclibc/sysroot -DHAVE_READLINE_HISTORY_ENTRIES -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -Wall -Wno-unused -DNDEBUG -o CMakeFiles/cmTC_85be0.dir/src.c.o -c /home/giuliobenetti/autobuild/run/instance-1/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp/src.c /home/giuliobenetti/autobuild/run/instance-1/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp/src.c: In function 'main': /home/giuliobenetti/autobuild/run/instance-1/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp/src.c:7:18: error: 'HISTORY_STATE' undeclared (first use in this function) 7 | (void)sizeof(((HISTORY_STATE *)0)->entries); | ^~~~~~~~~~~~~ /home/giuliobenetti/autobuild/run/instance-1/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp/src.c:7:18: note: each undeclared identifier is reported only once for each function it appears in /home/giuliobenetti/autobuild/run/instance-1/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp/src.c:7:33: error: expected expression before ')' token 7 | (void)sizeof(((HISTORY_STATE *)0)->entries); | ^ gmake[2]: *** [CMakeFiles/cmTC_85be0.dir/build.make:78: CMakeFiles/cmTC_85be0.dir/src.c.o] Error 1 gmake[2]: Leaving directory '/home/giuliobenetti/autobuild/run/instance-1/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' gmake[1]: *** [Makefile:127: cmTC_85be0/fast] Error 2 gmake[1]: Leaving directory '/home/giuliobenetti/autobuild/run/instance-1/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' Source file was: #include #include int main() { (void)sizeof(((HISTORY_STATE *)0)->entries); return 0; } Performing C SOURCE FILE Test SIN_LEN failed with the following output: Change Dir: /home/giuliobenetti/autobuild/run/instance-1/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_99b82/fast && gmake[1]: Entering directory '/home/giuliobenetti/autobuild/run/instance-1/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/gmake -f CMakeFiles/cmTC_99b82.dir/build.make CMakeFiles/cmTC_99b82.dir/build gmake[2]: Entering directory '/home/giuliobenetti/autobuild/run/instance-1/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_99b82.dir/src.c.o /home/giuliobenetti/autobuild/run/instance-1/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc --sysroot=/home/giuliobenetti/autobuild/run/instance-1/output-1/host/riscv64-buildroot-linux-uclibc/sysroot -DSIN_LEN -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -Wall -Wno-unused -DNDEBUG -o CMakeFiles/cmTC_99b82.dir/src.c.o -c /home/giuliobenetti/autobuild/run/instance-1/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp/src.c /home/giuliobenetti/autobuild/run/instance-1/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp/src.c: In function 'main': /home/giuliobenetti/autobuild/run/instance-1/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp/src.c:6:41: error: 'struct sockaddr_in' has no member named 'sin_len' 6 | (void)sizeof(((struct sockaddr_in *)0)->sin_len); | ^~ gmake[2]: *** [CMakeFiles/cmTC_99b82.dir/build.make:78: CMakeFiles/cmTC_99b82.dir/src.c.o] Error 1 gmake[2]: Leaving directory '/home/giuliobenetti/autobuild/run/instance-1/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' gmake[1]: *** [Makefile:127: cmTC_99b82/fast] Error 2 gmake[1]: Leaving directory '/home/giuliobenetti/autobuild/run/instance-1/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' Source file was: #include int main() { (void)sizeof(((struct sockaddr_in *)0)->sin_len); return 0; } Determining if the IPPROTO_IPV4 exist failed with the following output: Change Dir: /home/giuliobenetti/autobuild/run/instance-1/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_6f670/fast && gmake[1]: Entering directory '/home/giuliobenetti/autobuild/run/instance-1/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/gmake -f CMakeFiles/cmTC_6f670.dir/build.make CMakeFiles/cmTC_6f670.dir/build gmake[2]: Entering directory '/home/giuliobenetti/autobuild/run/instance-1/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_6f670.dir/CheckSymbolExists.c.o /home/giuliobenetti/autobuild/run/instance-1/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc --sysroot=/home/giuliobenetti/autobuild/run/instance-1/output-1/host/riscv64-buildroot-linux-uclibc/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -Wall -Wno-unused -DNDEBUG -o CMakeFiles/cmTC_6f670.dir/CheckSymbolExists.c.o -c /home/giuliobenetti/autobuild/run/instance-1/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp/CheckSymbolExists.c /home/giuliobenetti/autobuild/run/instance-1/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp/CheckSymbolExists.c: In function 'main': /home/giuliobenetti/autobuild/run/instance-1/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19: error: 'IPPROTO_IPV4' undeclared (first use in this function); did you mean 'IPPROTO_IPV6'? 8 | return ((int*)(&IPPROTO_IPV4))[argc]; | ^~~~~~~~~~~~ | IPPROTO_IPV6 /home/giuliobenetti/autobuild/run/instance-1/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19: note: each undeclared identifier is reported only once for each function it appears in gmake[2]: *** [CMakeFiles/cmTC_6f670.dir/build.make:78: CMakeFiles/cmTC_6f670.dir/CheckSymbolExists.c.o] Error 1 gmake[2]: Leaving directory '/home/giuliobenetti/autobuild/run/instance-1/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' gmake[1]: *** [Makefile:127: cmTC_6f670/fast] Error 2 gmake[1]: Leaving directory '/home/giuliobenetti/autobuild/run/instance-1/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' File /home/giuliobenetti/autobuild/run/instance-1/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp/CheckSymbolExists.c: /* */ #include int main(int argc, char** argv) { (void)argv; #ifndef IPPROTO_IPV4 return ((int*)(&IPPROTO_IPV4))[argc]; #else (void)argc; return 0; #endif } Determining if the function mallinfo2 exists failed with the following output: Change Dir: /home/giuliobenetti/autobuild/run/instance-1/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_3e0fd/fast && gmake[1]: Entering directory '/home/giuliobenetti/autobuild/run/instance-1/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/gmake -f CMakeFiles/cmTC_3e0fd.dir/build.make CMakeFiles/cmTC_3e0fd.dir/build gmake[2]: Entering directory '/home/giuliobenetti/autobuild/run/instance-1/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_3e0fd.dir/CheckFunctionExists.c.o /home/giuliobenetti/autobuild/run/instance-1/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc --sysroot=/home/giuliobenetti/autobuild/run/instance-1/output-1/host/riscv64-buildroot-linux-uclibc/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -Wall -Wno-unused -DCHECK_FUNCTION_EXISTS=mallinfo2 -DNDEBUG -o CMakeFiles/cmTC_3e0fd.dir/CheckFunctionExists.c.o -c /home/giuliobenetti/autobuild/run/instance-1/output-1/host/share/cmake-3.22/Modules/CheckFunctionExists.c Linking C executable cmTC_3e0fd /home/giuliobenetti/autobuild/run/instance-1/output-1/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_3e0fd.dir/link.txt --verbose=1 /home/giuliobenetti/autobuild/run/instance-1/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc --sysroot=/home/giuliobenetti/autobuild/run/instance-1/output-1/host/riscv64-buildroot-linux-uclibc/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -Wall -Wno-unused -DCHECK_FUNCTION_EXISTS=mallinfo2 -DNDEBUG -lfts CMakeFiles/cmTC_3e0fd.dir/CheckFunctionExists.c.o -o cmTC_3e0fd /home/giuliobenetti/autobuild/run/instance-1/output-1/host/lib/gcc/riscv64-buildroot-linux-uclibc/11.3.0/../../../../riscv64-buildroot-linux-uclibc/bin/ld: CMakeFiles/cmTC_3e0fd.dir/CheckFunctionExists.c.o: in function `main': CheckFunctionExists.c:(.text.startup+0x18): undefined reference to `mallinfo2' collect2: error: ld returned 1 exit status gmake[2]: *** [CMakeFiles/cmTC_3e0fd.dir/build.make:99: cmTC_3e0fd] Error 1 gmake[2]: Leaving directory '/home/giuliobenetti/autobuild/run/instance-1/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' gmake[1]: *** [Makefile:127: cmTC_3e0fd/fast] Error 2 gmake[1]: Leaving directory '/home/giuliobenetti/autobuild/run/instance-1/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' Performing C SOURCE FILE Test DO_SOCK_DECL failed with the following output: Change Dir: /home/giuliobenetti/autobuild/run/instance-1/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_c00a4/fast && gmake[1]: Entering directory '/home/giuliobenetti/autobuild/run/instance-1/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/gmake -f CMakeFiles/cmTC_c00a4.dir/build.make CMakeFiles/cmTC_c00a4.dir/build gmake[2]: Entering directory '/home/giuliobenetti/autobuild/run/instance-1/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_c00a4.dir/src.c.o /home/giuliobenetti/autobuild/run/instance-1/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc --sysroot=/home/giuliobenetti/autobuild/run/instance-1/output-1/host/riscv64-buildroot-linux-uclibc/sysroot -DDO_SOCK_DECL -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -Wall -Wno-unused -DNDEBUG -o CMakeFiles/cmTC_c00a4.dir/src.c.o -c /home/giuliobenetti/autobuild/run/instance-1/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp/src.c /home/giuliobenetti/autobuild/run/instance-1/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp/src.c:5:16: error: conflicting types for 'connect'; have 'int(int, const struct sockaddr *, int)' 5 | extern int connect(int, const struct sockaddr *, int); | ^~~~~~~ In file included from /home/giuliobenetti/autobuild/run/instance-1/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp/src.c:3: /home/giuliobenetti/autobuild/run/instance-1/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/sys/socket.h:137:12: note: previous declaration of 'connect' with type 'int(int, const struct sockaddr *, socklen_t)' {aka 'int(int, const struct sockaddr *, unsigned int)'} 137 | extern int connect (int __fd, __CONST_SOCKADDR_ARG __addr, socklen_t __len); | ^~~~~~~ /home/giuliobenetti/autobuild/run/instance-1/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp/src.c:6:16: error: conflicting types for 'send'; have 'int(int, const void *, int, int)' 6 | extern int send(int, const void *, int, int); | ^~~~ In file included from /home/giuliobenetti/autobuild/run/instance-1/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp/src.c:3: /home/giuliobenetti/autobuild/run/instance-1/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/sys/socket.h:149:16: note: previous declaration of 'send' with type 'ssize_t(int, const void *, size_t, int)' {aka 'long int(int, const void *, long unsigned int, int)'} 149 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); | ^~~~ /home/giuliobenetti/autobuild/run/instance-1/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp/src.c:7:16: error: conflicting types for 'recvfrom'; have 'int(int, void *, int, int, struct sockaddr *, int *)' 7 | extern int recvfrom(int, void *, int, int, struct sockaddr *, int *); | ^~~~~~~~ In file included from /home/giuliobenetti/autobuild/run/instance-1/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp/src.c:3: /home/giuliobenetti/autobuild/run/instance-1/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/sys/socket.h:174:16: note: previous declaration of 'recvfrom' with type 'ssize_t(int, void * restrict, size_t, int, struct sockaddr * restrict, socklen_t * restrict)' {aka 'long int(int, void * restrict, long unsigned int, int, struct sockaddr * restrict, unsigned int * restrict)'} 174 | extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n, | ^~~~~~~~ gmake[2]: *** [CMakeFiles/cmTC_c00a4.dir/build.make:78: CMakeFiles/cmTC_c00a4.dir/src.c.o] Error 1 gmake[2]: Leaving directory '/home/giuliobenetti/autobuild/run/instance-1/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' gmake[1]: *** [Makefile:127: cmTC_c00a4/fast] Error 2 gmake[1]: Leaving directory '/home/giuliobenetti/autobuild/run/instance-1/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' Source file was: #include #include extern int socket(int, int, int); extern int connect(int, const struct sockaddr *, int); extern int send(int, const void *, int, int); extern int recvfrom(int, void *, int, int, struct sockaddr *, int *); int main() { return 0; } Performing C++ SOURCE FILE Test SYSLOG_INT failed with the following output: Change Dir: /home/giuliobenetti/autobuild/run/instance-1/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_059a0/fast && gmake[1]: Entering directory '/home/giuliobenetti/autobuild/run/instance-1/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/gmake -f CMakeFiles/cmTC_059a0.dir/build.make CMakeFiles/cmTC_059a0.dir/build gmake[2]: Entering directory '/home/giuliobenetti/autobuild/run/instance-1/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_059a0.dir/src.cxx.o /home/giuliobenetti/autobuild/run/instance-1/output-1/host/bin/riscv64-buildroot-linux-uclibc-g++ --sysroot=/home/giuliobenetti/autobuild/run/instance-1/output-1/host/riscv64-buildroot-linux-uclibc/sysroot -DSYSLOG_INT -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -Wall -Wno-unused -Wno-register -Werror=vla -DNDEBUG -o CMakeFiles/cmTC_059a0.dir/src.cxx.o -c /home/giuliobenetti/autobuild/run/instance-1/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp/src.cxx /home/giuliobenetti/autobuild/run/instance-1/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp/src.cxx:5:13: error: conflicting declaration of C function 'int openlog(const char*, int, int)' 5 | int openlog(const char* ident, int logopt, int facility); | ^~~~~~~ In file included from /home/giuliobenetti/autobuild/run/instance-1/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/syslog.h:1, from /home/giuliobenetti/autobuild/run/instance-1/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp/src.cxx:3: /home/giuliobenetti/autobuild/run/instance-1/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/sys/syslog.h:187:13: note: previous declaration 'void openlog(const char*, int, int)' 187 | extern void openlog (const char *__ident, int __option, int __facility); | ^~~~~~~ /home/giuliobenetti/autobuild/run/instance-1/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp/src.cxx:6:13: error: conflicting declaration of C function 'int syslog(int, const char*, ...)' 6 | int syslog(int priority, const char* message_fmt, ...); | ^~~~~~ In file included from /home/giuliobenetti/autobuild/run/instance-1/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/syslog.h:1, from /home/giuliobenetti/autobuild/run/instance-1/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp/src.cxx:3: /home/giuliobenetti/autobuild/run/instance-1/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/sys/syslog.h:196:13: note: previous declaration 'void syslog(int, const char*, ...)' 196 | extern void syslog (int __pri, const char *__fmt, ...) | ^~~~~~ /home/giuliobenetti/autobuild/run/instance-1/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp/src.cxx:7:13: error: conflicting declaration of C function 'int closelog()' 7 | int closelog(); | ^~~~~~~~ In file included from /home/giuliobenetti/autobuild/run/instance-1/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/syslog.h:1, from /home/giuliobenetti/autobuild/run/instance-1/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp/src.cxx:3: /home/giuliobenetti/autobuild/run/instance-1/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/sys/syslog.h:181:13: note: previous declaration 'void closelog()' 181 | extern void closelog (void); | ^~~~~~~~ gmake[2]: *** [CMakeFiles/cmTC_059a0.dir/build.make:78: CMakeFiles/cmTC_059a0.dir/src.cxx.o] Error 1 gmake[2]: Leaving directory '/home/giuliobenetti/autobuild/run/instance-1/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' gmake[1]: *** [Makefile:127: cmTC_059a0/fast] Error 2 gmake[1]: Leaving directory '/home/giuliobenetti/autobuild/run/instance-1/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' Source file was: #include #include extern "C" { int openlog(const char* ident, int logopt, int facility); int syslog(int priority, const char* message_fmt, ...); int closelog(); } int main() { return 0; } Determining if files pcap-int.h exist failed with the following output: Change Dir: /home/giuliobenetti/autobuild/run/instance-1/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_0b1a7/fast && gmake[1]: Entering directory '/home/giuliobenetti/autobuild/run/instance-1/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/gmake -f CMakeFiles/cmTC_0b1a7.dir/build.make CMakeFiles/cmTC_0b1a7.dir/build gmake[2]: Entering directory '/home/giuliobenetti/autobuild/run/instance-1/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_0b1a7.dir/HAVE_PCAP_INT_H.c.o /home/giuliobenetti/autobuild/run/instance-1/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc --sysroot=/home/giuliobenetti/autobuild/run/instance-1/output-1/host/riscv64-buildroot-linux-uclibc/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -Wall -Wno-unused -DNDEBUG -o CMakeFiles/cmTC_0b1a7.dir/HAVE_PCAP_INT_H.c.o -c /home/giuliobenetti/autobuild/run/instance-1/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CheckIncludeFiles/HAVE_PCAP_INT_H.c /home/giuliobenetti/autobuild/run/instance-1/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CheckIncludeFiles/HAVE_PCAP_INT_H.c:2:10: fatal error: pcap-int.h: No such file or directory 2 | #include | ^~~~~~~~~~~~ compilation terminated. gmake[2]: *** [CMakeFiles/cmTC_0b1a7.dir/build.make:78: CMakeFiles/cmTC_0b1a7.dir/HAVE_PCAP_INT_H.c.o] Error 1 gmake[2]: Leaving directory '/home/giuliobenetti/autobuild/run/instance-1/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' gmake[1]: *** [Makefile:127: cmTC_0b1a7/fast] Error 2 gmake[1]: Leaving directory '/home/giuliobenetti/autobuild/run/instance-1/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' Source: /* */ #include int main(void){return 0;} Performing C SOURCE FILE Test LIBPCAP_PCAP_COMPILE_NOPCAP_HAS_ERROR_PARAMETER failed with the following output: Change Dir: /home/giuliobenetti/autobuild/run/instance-1/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_efdf4/fast && gmake[1]: Entering directory '/home/giuliobenetti/autobuild/run/instance-1/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/gmake -f CMakeFiles/cmTC_efdf4.dir/build.make CMakeFiles/cmTC_efdf4.dir/build gmake[2]: Entering directory '/home/giuliobenetti/autobuild/run/instance-1/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_efdf4.dir/src.c.o /home/giuliobenetti/autobuild/run/instance-1/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc --sysroot=/home/giuliobenetti/autobuild/run/instance-1/output-1/host/riscv64-buildroot-linux-uclibc/sysroot -DLIBPCAP_PCAP_COMPILE_NOPCAP_HAS_ERROR_PARAMETER -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -Wall -Wno-unused -DNDEBUG -o CMakeFiles/cmTC_efdf4.dir/src.c.o -c /home/giuliobenetti/autobuild/run/instance-1/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp/src.c /home/giuliobenetti/autobuild/run/instance-1/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp/src.c: In function 'main': /home/giuliobenetti/autobuild/run/instance-1/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp/src.c:16:11: error: too many arguments to function 'pcap_compile_nopcap' 16 | (void)pcap_compile_nopcap( | ^~~~~~~~~~~~~~~~~~~ In file included from /home/giuliobenetti/autobuild/run/instance-1/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/pcap.h:43, from /home/giuliobenetti/autobuild/run/instance-1/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp/src.c:2: /home/giuliobenetti/autobuild/run/instance-1/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/pcap/pcap.h:617:17: note: declared here 617 | PCAP_API int pcap_compile_nopcap(int, int, struct bpf_program *, | ^~~~~~~~~~~~~~~~~~~ gmake[2]: *** [CMakeFiles/cmTC_efdf4.dir/build.make:78: CMakeFiles/cmTC_efdf4.dir/src.c.o] Error 1 gmake[2]: Leaving directory '/home/giuliobenetti/autobuild/run/instance-1/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' gmake[1]: *** [Makefile:127: cmTC_efdf4/fast] Error 2 gmake[1]: Leaving directory '/home/giuliobenetti/autobuild/run/instance-1/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' Source file was: #include int main () { int snaplen; int linktype; struct bpf_program fp; int optimize; bpf_u_int32 netmask; char str[10]; char error[1024]; snaplen = 50; linktype = DLT_EN10MB; optimize = 1; netmask = 0L; str[0] = 'i'; str[1] = 'p'; str[2] = '\0'; (void)pcap_compile_nopcap( snaplen, linktype, &fp, str, optimize, netmask, &error); return 0; } Determining if the function kqueue exists failed with the following output: Change Dir: /home/giuliobenetti/autobuild/run/instance-1/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_81e16/fast && gmake[1]: Entering directory '/home/giuliobenetti/autobuild/run/instance-1/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/gmake -f CMakeFiles/cmTC_81e16.dir/build.make CMakeFiles/cmTC_81e16.dir/build gmake[2]: Entering directory '/home/giuliobenetti/autobuild/run/instance-1/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_81e16.dir/CheckFunctionExists.c.o /home/giuliobenetti/autobuild/run/instance-1/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc --sysroot=/home/giuliobenetti/autobuild/run/instance-1/output-1/host/riscv64-buildroot-linux-uclibc/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -Wall -Wno-unused -DCHECK_FUNCTION_EXISTS=kqueue -DNDEBUG -o CMakeFiles/cmTC_81e16.dir/CheckFunctionExists.c.o -c /home/giuliobenetti/autobuild/run/instance-1/output-1/host/share/cmake-3.22/Modules/CheckFunctionExists.c Linking C executable cmTC_81e16 /home/giuliobenetti/autobuild/run/instance-1/output-1/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_81e16.dir/link.txt --verbose=1 /home/giuliobenetti/autobuild/run/instance-1/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc --sysroot=/home/giuliobenetti/autobuild/run/instance-1/output-1/host/riscv64-buildroot-linux-uclibc/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -Wall -Wno-unused -DCHECK_FUNCTION_EXISTS=kqueue -DNDEBUG -lfts CMakeFiles/cmTC_81e16.dir/CheckFunctionExists.c.o -o cmTC_81e16 /home/giuliobenetti/autobuild/run/instance-1/output-1/host/lib/gcc/riscv64-buildroot-linux-uclibc/11.3.0/../../../../riscv64-buildroot-linux-uclibc/bin/ld: CMakeFiles/cmTC_81e16.dir/CheckFunctionExists.c.o: in function `main': CheckFunctionExists.c:(.text.startup+0x18): undefined reference to `kqueue' collect2: error: ld returned 1 exit status gmake[2]: *** [CMakeFiles/cmTC_81e16.dir/build.make:99: cmTC_81e16] Error 1 gmake[2]: Leaving directory '/home/giuliobenetti/autobuild/run/instance-1/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' gmake[1]: *** [Makefile:127: cmTC_81e16/fast] Error 2 gmake[1]: Leaving directory '/home/giuliobenetti/autobuild/run/instance-1/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp'