Performing C SOURCE FILE Test test_arch_x64 failed with the following output: Change Dir: /home/giuliobenetti/autobuild/run/instance-0/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make -f Makefile cmTC_4727e/fast && make[1]: Entering directory '/home/giuliobenetti/autobuild/run/instance-0/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_4727e.dir/build.make CMakeFiles/cmTC_4727e.dir/build make[2]: Entering directory '/home/giuliobenetti/autobuild/run/instance-0/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_4727e.dir/src.c.o /home/giuliobenetti/autobuild/run/instance-0/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc --sysroot=/home/giuliobenetti/autobuild/run/instance-0/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_4727e.dir/src.c.o -c /home/giuliobenetti/autobuild/run/instance-0/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp/src.c /home/giuliobenetti/autobuild/run/instance-0/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp/src.c:5:10: error: #error wrongarch 5 | #error wrongarch | ^~~~~ make[2]: *** [CMakeFiles/cmTC_4727e.dir/build.make:78: CMakeFiles/cmTC_4727e.dir/src.c.o] Error 1 make[2]: Leaving directory '/home/giuliobenetti/autobuild/run/instance-0/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' make[1]: *** [Makefile:127: cmTC_4727e/fast] Error 2 make[1]: Leaving directory '/home/giuliobenetti/autobuild/run/instance-0/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-0/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make -f Makefile cmTC_2382e/fast && make[1]: Entering directory '/home/giuliobenetti/autobuild/run/instance-0/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_2382e.dir/build.make CMakeFiles/cmTC_2382e.dir/build make[2]: Entering directory '/home/giuliobenetti/autobuild/run/instance-0/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_2382e.dir/src.c.o /home/giuliobenetti/autobuild/run/instance-0/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc --sysroot=/home/giuliobenetti/autobuild/run/instance-0/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_2382e.dir/src.c.o -c /home/giuliobenetti/autobuild/run/instance-0/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp/src.c /home/giuliobenetti/autobuild/run/instance-0/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp/src.c:5:10: error: #error wrongarch 5 | #error wrongarch | ^~~~~ make[2]: *** [CMakeFiles/cmTC_2382e.dir/build.make:78: CMakeFiles/cmTC_2382e.dir/src.c.o] Error 1 make[2]: Leaving directory '/home/giuliobenetti/autobuild/run/instance-0/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' make[1]: *** [Makefile:127: cmTC_2382e/fast] Error 2 make[1]: Leaving directory '/home/giuliobenetti/autobuild/run/instance-0/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-0/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make -f Makefile cmTC_85f83/fast && make[1]: Entering directory '/home/giuliobenetti/autobuild/run/instance-0/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_85f83.dir/build.make CMakeFiles/cmTC_85f83.dir/build make[2]: Entering directory '/home/giuliobenetti/autobuild/run/instance-0/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_85f83.dir/src.c.o /home/giuliobenetti/autobuild/run/instance-0/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc --sysroot=/home/giuliobenetti/autobuild/run/instance-0/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_85f83.dir/src.c.o -c /home/giuliobenetti/autobuild/run/instance-0/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp/src.c /home/giuliobenetti/autobuild/run/instance-0/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp/src.c:5:10: error: #error wrongarch 5 | #error wrongarch | ^~~~~ make[2]: *** [CMakeFiles/cmTC_85f83.dir/build.make:78: CMakeFiles/cmTC_85f83.dir/src.c.o] Error 1 make[2]: Leaving directory '/home/giuliobenetti/autobuild/run/instance-0/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' make[1]: *** [Makefile:127: cmTC_85f83/fast] Error 2 make[1]: Leaving directory '/home/giuliobenetti/autobuild/run/instance-0/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-0/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make -f Makefile cmTC_826d5/fast && make[1]: Entering directory '/home/giuliobenetti/autobuild/run/instance-0/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_826d5.dir/build.make CMakeFiles/cmTC_826d5.dir/build make[2]: Entering directory '/home/giuliobenetti/autobuild/run/instance-0/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_826d5.dir/src.c.o /home/giuliobenetti/autobuild/run/instance-0/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc --sysroot=/home/giuliobenetti/autobuild/run/instance-0/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_826d5.dir/src.c.o -c /home/giuliobenetti/autobuild/run/instance-0/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp/src.c /home/giuliobenetti/autobuild/run/instance-0/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp/src.c:5:10: error: #error wrongarch 5 | #error wrongarch | ^~~~~ make[2]: *** [CMakeFiles/cmTC_826d5.dir/build.make:78: CMakeFiles/cmTC_826d5.dir/src.c.o] Error 1 make[2]: Leaving directory '/home/giuliobenetti/autobuild/run/instance-0/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' make[1]: *** [Makefile:127: cmTC_826d5/fast] Error 2 make[1]: Leaving directory '/home/giuliobenetti/autobuild/run/instance-0/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-0/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make -f Makefile cmTC_b8a2c/fast && make[1]: Entering directory '/home/giuliobenetti/autobuild/run/instance-0/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_b8a2c.dir/build.make CMakeFiles/cmTC_b8a2c.dir/build make[2]: Entering directory '/home/giuliobenetti/autobuild/run/instance-0/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_b8a2c.dir/CheckFunctionExists.c.o /home/giuliobenetti/autobuild/run/instance-0/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc --sysroot=/home/giuliobenetti/autobuild/run/instance-0/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_b8a2c.dir/CheckFunctionExists.c.o -c /home/giuliobenetti/autobuild/run/instance-0/output-1/host/share/cmake-3.22/Modules/CheckFunctionExists.c Linking C executable cmTC_b8a2c /home/giuliobenetti/autobuild/run/instance-0/output-1/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_b8a2c.dir/link.txt --verbose=1 /home/giuliobenetti/autobuild/run/instance-0/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc --sysroot=/home/giuliobenetti/autobuild/run/instance-0/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_b8a2c.dir/CheckFunctionExists.c.o -o cmTC_b8a2c /home/giuliobenetti/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/lib/libpcap.so /home/giuliobenetti/autobuild/run/instance-0/output-1/host/lib/gcc/riscv64-buildroot-linux-uclibc/11.3.0/../../../../riscv64-buildroot-linux-uclibc/bin/ld: CMakeFiles/cmTC_b8a2c.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 make[2]: *** [CMakeFiles/cmTC_b8a2c.dir/build.make:100: cmTC_b8a2c] Error 1 make[2]: Leaving directory '/home/giuliobenetti/autobuild/run/instance-0/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' make[1]: *** [Makefile:127: cmTC_b8a2c/fast] Error 2 make[1]: Leaving directory '/home/giuliobenetti/autobuild/run/instance-0/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-0/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make -f Makefile cmTC_5e429/fast && make[1]: Entering directory '/home/giuliobenetti/autobuild/run/instance-0/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_5e429.dir/build.make CMakeFiles/cmTC_5e429.dir/build make[2]: Entering directory '/home/giuliobenetti/autobuild/run/instance-0/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_5e429.dir/BROKER_USE_SSE2.c.o /home/giuliobenetti/autobuild/run/instance-0/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc --sysroot=/home/giuliobenetti/autobuild/run/instance-0/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_5e429.dir/BROKER_USE_SSE2.c.o -c /home/giuliobenetti/autobuild/run/instance-0/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' make[2]: *** [CMakeFiles/cmTC_5e429.dir/build.make:78: CMakeFiles/cmTC_5e429.dir/BROKER_USE_SSE2.c.o] Error 1 make[2]: Leaving directory '/home/giuliobenetti/autobuild/run/instance-0/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' make[1]: *** [Makefile:127: cmTC_5e429/fast] Error 2 make[1]: Leaving directory '/home/giuliobenetti/autobuild/run/instance-0/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-0/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make -f Makefile cmTC_a8cfa/fast && make[1]: Entering directory '/home/giuliobenetti/autobuild/run/instance-0/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_a8cfa.dir/build.make CMakeFiles/cmTC_a8cfa.dir/build make[2]: Entering directory '/home/giuliobenetti/autobuild/run/instance-0/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_a8cfa.dir/CheckSymbolExists.c.o /home/giuliobenetti/autobuild/run/instance-0/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc --sysroot=/home/giuliobenetti/autobuild/run/instance-0/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_a8cfa.dir/CheckSymbolExists.c.o -c /home/giuliobenetti/autobuild/run/instance-0/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp/CheckSymbolExists.c /home/giuliobenetti/autobuild/run/instance-0/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp/CheckSymbolExists.c: In function 'main': /home/giuliobenetti/autobuild/run/instance-0/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-0/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 make[2]: *** [CMakeFiles/cmTC_a8cfa.dir/build.make:78: CMakeFiles/cmTC_a8cfa.dir/CheckSymbolExists.c.o] Error 1 make[2]: Leaving directory '/home/giuliobenetti/autobuild/run/instance-0/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' make[1]: *** [Makefile:127: cmTC_a8cfa/fast] Error 2 make[1]: Leaving directory '/home/giuliobenetti/autobuild/run/instance-0/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' File /home/giuliobenetti/autobuild/run/instance-0/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-0/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make -f Makefile cmTC_14afe/fast && make[1]: Entering directory '/home/giuliobenetti/autobuild/run/instance-0/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_14afe.dir/build.make CMakeFiles/cmTC_14afe.dir/build make[2]: Entering directory '/home/giuliobenetti/autobuild/run/instance-0/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_14afe.dir/HAVE_SYS_ETHERNET_H.c.o /home/giuliobenetti/autobuild/run/instance-0/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc --sysroot=/home/giuliobenetti/autobuild/run/instance-0/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_14afe.dir/HAVE_SYS_ETHERNET_H.c.o -c /home/giuliobenetti/autobuild/run/instance-0/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CheckIncludeFiles/HAVE_SYS_ETHERNET_H.c /home/giuliobenetti/autobuild/run/instance-0/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. make[2]: *** [CMakeFiles/cmTC_14afe.dir/build.make:78: CMakeFiles/cmTC_14afe.dir/HAVE_SYS_ETHERNET_H.c.o] Error 1 make[2]: Leaving directory '/home/giuliobenetti/autobuild/run/instance-0/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' make[1]: *** [Makefile:127: cmTC_14afe/fast] Error 2 make[1]: Leaving directory '/home/giuliobenetti/autobuild/run/instance-0/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-0/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make -f Makefile cmTC_8eef1/fast && make[1]: Entering directory '/home/giuliobenetti/autobuild/run/instance-0/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_8eef1.dir/build.make CMakeFiles/cmTC_8eef1.dir/build make[2]: Entering directory '/home/giuliobenetti/autobuild/run/instance-0/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_8eef1.dir/HAVE_NET_ETHERTYPES_H.c.o /home/giuliobenetti/autobuild/run/instance-0/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc --sysroot=/home/giuliobenetti/autobuild/run/instance-0/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_8eef1.dir/HAVE_NET_ETHERTYPES_H.c.o -c /home/giuliobenetti/autobuild/run/instance-0/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CheckIncludeFiles/HAVE_NET_ETHERTYPES_H.c /home/giuliobenetti/autobuild/run/instance-0/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. make[2]: *** [CMakeFiles/cmTC_8eef1.dir/build.make:78: CMakeFiles/cmTC_8eef1.dir/HAVE_NET_ETHERTYPES_H.c.o] Error 1 make[2]: Leaving directory '/home/giuliobenetti/autobuild/run/instance-0/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' make[1]: *** [Makefile:127: cmTC_8eef1/fast] Error 2 make[1]: Leaving directory '/home/giuliobenetti/autobuild/run/instance-0/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-0/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make -f Makefile cmTC_c507e/fast && make[1]: Entering directory '/home/giuliobenetti/autobuild/run/instance-0/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_c507e.dir/build.make CMakeFiles/cmTC_c507e.dir/build make[2]: Entering directory '/home/giuliobenetti/autobuild/run/instance-0/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_c507e.dir/HAVE_OS_PROTO_H.c.o /home/giuliobenetti/autobuild/run/instance-0/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc --sysroot=/home/giuliobenetti/autobuild/run/instance-0/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_c507e.dir/HAVE_OS_PROTO_H.c.o -c /home/giuliobenetti/autobuild/run/instance-0/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CheckIncludeFiles/HAVE_OS_PROTO_H.c /home/giuliobenetti/autobuild/run/instance-0/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. make[2]: *** [CMakeFiles/cmTC_c507e.dir/build.make:78: CMakeFiles/cmTC_c507e.dir/HAVE_OS_PROTO_H.c.o] Error 1 make[2]: Leaving directory '/home/giuliobenetti/autobuild/run/instance-0/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' make[1]: *** [Makefile:127: cmTC_c507e/fast] Error 2 make[1]: Leaving directory '/home/giuliobenetti/autobuild/run/instance-0/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-0/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make -f Makefile cmTC_f8bfe/fast && make[1]: Entering directory '/home/giuliobenetti/autobuild/run/instance-0/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_f8bfe.dir/build.make CMakeFiles/cmTC_f8bfe.dir/build make[2]: Entering directory '/home/giuliobenetti/autobuild/run/instance-0/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_f8bfe.dir/src.c.o /home/giuliobenetti/autobuild/run/instance-0/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc --sysroot=/home/giuliobenetti/autobuild/run/instance-0/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_f8bfe.dir/src.c.o -c /home/giuliobenetti/autobuild/run/instance-0/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp/src.c /home/giuliobenetti/autobuild/run/instance-0/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp/src.c: In function 'main': /home/giuliobenetti/autobuild/run/instance-0/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-0/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-0/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); | ^ make[2]: *** [CMakeFiles/cmTC_f8bfe.dir/build.make:78: CMakeFiles/cmTC_f8bfe.dir/src.c.o] Error 1 make[2]: Leaving directory '/home/giuliobenetti/autobuild/run/instance-0/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' make[1]: *** [Makefile:127: cmTC_f8bfe/fast] Error 2 make[1]: Leaving directory '/home/giuliobenetti/autobuild/run/instance-0/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-0/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make -f Makefile cmTC_52baf/fast && make[1]: Entering directory '/home/giuliobenetti/autobuild/run/instance-0/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_52baf.dir/build.make CMakeFiles/cmTC_52baf.dir/build make[2]: Entering directory '/home/giuliobenetti/autobuild/run/instance-0/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_52baf.dir/src.c.o /home/giuliobenetti/autobuild/run/instance-0/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc --sysroot=/home/giuliobenetti/autobuild/run/instance-0/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_52baf.dir/src.c.o -c /home/giuliobenetti/autobuild/run/instance-0/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp/src.c /home/giuliobenetti/autobuild/run/instance-0/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp/src.c: In function 'main': /home/giuliobenetti/autobuild/run/instance-0/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); | ^~ make[2]: *** [CMakeFiles/cmTC_52baf.dir/build.make:78: CMakeFiles/cmTC_52baf.dir/src.c.o] Error 1 make[2]: Leaving directory '/home/giuliobenetti/autobuild/run/instance-0/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' make[1]: *** [Makefile:127: cmTC_52baf/fast] Error 2 make[1]: Leaving directory '/home/giuliobenetti/autobuild/run/instance-0/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-0/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make -f Makefile cmTC_300b2/fast && make[1]: Entering directory '/home/giuliobenetti/autobuild/run/instance-0/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_300b2.dir/build.make CMakeFiles/cmTC_300b2.dir/build make[2]: Entering directory '/home/giuliobenetti/autobuild/run/instance-0/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_300b2.dir/CheckSymbolExists.c.o /home/giuliobenetti/autobuild/run/instance-0/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc --sysroot=/home/giuliobenetti/autobuild/run/instance-0/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_300b2.dir/CheckSymbolExists.c.o -c /home/giuliobenetti/autobuild/run/instance-0/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp/CheckSymbolExists.c /home/giuliobenetti/autobuild/run/instance-0/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp/CheckSymbolExists.c: In function 'main': /home/giuliobenetti/autobuild/run/instance-0/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-0/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 make[2]: *** [CMakeFiles/cmTC_300b2.dir/build.make:78: CMakeFiles/cmTC_300b2.dir/CheckSymbolExists.c.o] Error 1 make[2]: Leaving directory '/home/giuliobenetti/autobuild/run/instance-0/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' make[1]: *** [Makefile:127: cmTC_300b2/fast] Error 2 make[1]: Leaving directory '/home/giuliobenetti/autobuild/run/instance-0/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' File /home/giuliobenetti/autobuild/run/instance-0/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-0/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make -f Makefile cmTC_ed0e4/fast && make[1]: Entering directory '/home/giuliobenetti/autobuild/run/instance-0/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_ed0e4.dir/build.make CMakeFiles/cmTC_ed0e4.dir/build make[2]: Entering directory '/home/giuliobenetti/autobuild/run/instance-0/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_ed0e4.dir/CheckFunctionExists.c.o /home/giuliobenetti/autobuild/run/instance-0/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc --sysroot=/home/giuliobenetti/autobuild/run/instance-0/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_ed0e4.dir/CheckFunctionExists.c.o -c /home/giuliobenetti/autobuild/run/instance-0/output-1/host/share/cmake-3.22/Modules/CheckFunctionExists.c Linking C executable cmTC_ed0e4 /home/giuliobenetti/autobuild/run/instance-0/output-1/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_ed0e4.dir/link.txt --verbose=1 /home/giuliobenetti/autobuild/run/instance-0/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc --sysroot=/home/giuliobenetti/autobuild/run/instance-0/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_ed0e4.dir/CheckFunctionExists.c.o -o cmTC_ed0e4 /home/giuliobenetti/autobuild/run/instance-0/output-1/host/lib/gcc/riscv64-buildroot-linux-uclibc/11.3.0/../../../../riscv64-buildroot-linux-uclibc/bin/ld: CMakeFiles/cmTC_ed0e4.dir/CheckFunctionExists.c.o: in function `main': CheckFunctionExists.c:(.text.startup+0x18): undefined reference to `mallinfo2' collect2: error: ld returned 1 exit status make[2]: *** [CMakeFiles/cmTC_ed0e4.dir/build.make:99: cmTC_ed0e4] Error 1 make[2]: Leaving directory '/home/giuliobenetti/autobuild/run/instance-0/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' make[1]: *** [Makefile:127: cmTC_ed0e4/fast] Error 2 make[1]: Leaving directory '/home/giuliobenetti/autobuild/run/instance-0/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-0/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make -f Makefile cmTC_3903d/fast && make[1]: Entering directory '/home/giuliobenetti/autobuild/run/instance-0/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_3903d.dir/build.make CMakeFiles/cmTC_3903d.dir/build make[2]: Entering directory '/home/giuliobenetti/autobuild/run/instance-0/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_3903d.dir/src.c.o /home/giuliobenetti/autobuild/run/instance-0/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc --sysroot=/home/giuliobenetti/autobuild/run/instance-0/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_3903d.dir/src.c.o -c /home/giuliobenetti/autobuild/run/instance-0/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp/src.c /home/giuliobenetti/autobuild/run/instance-0/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-0/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp/src.c:3: /home/giuliobenetti/autobuild/run/instance-0/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-0/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-0/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp/src.c:3: /home/giuliobenetti/autobuild/run/instance-0/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-0/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-0/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp/src.c:3: /home/giuliobenetti/autobuild/run/instance-0/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, | ^~~~~~~~ make[2]: *** [CMakeFiles/cmTC_3903d.dir/build.make:78: CMakeFiles/cmTC_3903d.dir/src.c.o] Error 1 make[2]: Leaving directory '/home/giuliobenetti/autobuild/run/instance-0/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' make[1]: *** [Makefile:127: cmTC_3903d/fast] Error 2 make[1]: Leaving directory '/home/giuliobenetti/autobuild/run/instance-0/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-0/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make -f Makefile cmTC_6c30a/fast && make[1]: Entering directory '/home/giuliobenetti/autobuild/run/instance-0/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_6c30a.dir/build.make CMakeFiles/cmTC_6c30a.dir/build make[2]: Entering directory '/home/giuliobenetti/autobuild/run/instance-0/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_6c30a.dir/src.cxx.o /home/giuliobenetti/autobuild/run/instance-0/output-1/host/bin/riscv64-buildroot-linux-uclibc-g++ --sysroot=/home/giuliobenetti/autobuild/run/instance-0/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_6c30a.dir/src.cxx.o -c /home/giuliobenetti/autobuild/run/instance-0/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp/src.cxx /home/giuliobenetti/autobuild/run/instance-0/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-0/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/syslog.h:1, from /home/giuliobenetti/autobuild/run/instance-0/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp/src.cxx:3: /home/giuliobenetti/autobuild/run/instance-0/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-0/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-0/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/syslog.h:1, from /home/giuliobenetti/autobuild/run/instance-0/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp/src.cxx:3: /home/giuliobenetti/autobuild/run/instance-0/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-0/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-0/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/syslog.h:1, from /home/giuliobenetti/autobuild/run/instance-0/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp/src.cxx:3: /home/giuliobenetti/autobuild/run/instance-0/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); | ^~~~~~~~ make[2]: *** [CMakeFiles/cmTC_6c30a.dir/build.make:78: CMakeFiles/cmTC_6c30a.dir/src.cxx.o] Error 1 make[2]: Leaving directory '/home/giuliobenetti/autobuild/run/instance-0/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' make[1]: *** [Makefile:127: cmTC_6c30a/fast] Error 2 make[1]: Leaving directory '/home/giuliobenetti/autobuild/run/instance-0/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-0/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make -f Makefile cmTC_3928f/fast && make[1]: Entering directory '/home/giuliobenetti/autobuild/run/instance-0/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_3928f.dir/build.make CMakeFiles/cmTC_3928f.dir/build make[2]: Entering directory '/home/giuliobenetti/autobuild/run/instance-0/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_3928f.dir/HAVE_PCAP_INT_H.c.o /home/giuliobenetti/autobuild/run/instance-0/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc --sysroot=/home/giuliobenetti/autobuild/run/instance-0/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_3928f.dir/HAVE_PCAP_INT_H.c.o -c /home/giuliobenetti/autobuild/run/instance-0/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CheckIncludeFiles/HAVE_PCAP_INT_H.c /home/giuliobenetti/autobuild/run/instance-0/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. make[2]: *** [CMakeFiles/cmTC_3928f.dir/build.make:78: CMakeFiles/cmTC_3928f.dir/HAVE_PCAP_INT_H.c.o] Error 1 make[2]: Leaving directory '/home/giuliobenetti/autobuild/run/instance-0/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' make[1]: *** [Makefile:127: cmTC_3928f/fast] Error 2 make[1]: Leaving directory '/home/giuliobenetti/autobuild/run/instance-0/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-0/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make -f Makefile cmTC_67907/fast && make[1]: Entering directory '/home/giuliobenetti/autobuild/run/instance-0/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_67907.dir/build.make CMakeFiles/cmTC_67907.dir/build make[2]: Entering directory '/home/giuliobenetti/autobuild/run/instance-0/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_67907.dir/src.c.o /home/giuliobenetti/autobuild/run/instance-0/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc --sysroot=/home/giuliobenetti/autobuild/run/instance-0/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_67907.dir/src.c.o -c /home/giuliobenetti/autobuild/run/instance-0/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp/src.c /home/giuliobenetti/autobuild/run/instance-0/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp/src.c: In function 'main': /home/giuliobenetti/autobuild/run/instance-0/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-0/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/pcap.h:43, from /home/giuliobenetti/autobuild/run/instance-0/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp/src.c:2: /home/giuliobenetti/autobuild/run/instance-0/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 *, | ^~~~~~~~~~~~~~~~~~~ make[2]: *** [CMakeFiles/cmTC_67907.dir/build.make:78: CMakeFiles/cmTC_67907.dir/src.c.o] Error 1 make[2]: Leaving directory '/home/giuliobenetti/autobuild/run/instance-0/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' make[1]: *** [Makefile:127: cmTC_67907/fast] Error 2 make[1]: Leaving directory '/home/giuliobenetti/autobuild/run/instance-0/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-0/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make -f Makefile cmTC_3e342/fast && make[1]: Entering directory '/home/giuliobenetti/autobuild/run/instance-0/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_3e342.dir/build.make CMakeFiles/cmTC_3e342.dir/build make[2]: Entering directory '/home/giuliobenetti/autobuild/run/instance-0/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_3e342.dir/CheckFunctionExists.c.o /home/giuliobenetti/autobuild/run/instance-0/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc --sysroot=/home/giuliobenetti/autobuild/run/instance-0/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_3e342.dir/CheckFunctionExists.c.o -c /home/giuliobenetti/autobuild/run/instance-0/output-1/host/share/cmake-3.22/Modules/CheckFunctionExists.c Linking C executable cmTC_3e342 /home/giuliobenetti/autobuild/run/instance-0/output-1/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_3e342.dir/link.txt --verbose=1 /home/giuliobenetti/autobuild/run/instance-0/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc --sysroot=/home/giuliobenetti/autobuild/run/instance-0/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_3e342.dir/CheckFunctionExists.c.o -o cmTC_3e342 /home/giuliobenetti/autobuild/run/instance-0/output-1/host/lib/gcc/riscv64-buildroot-linux-uclibc/11.3.0/../../../../riscv64-buildroot-linux-uclibc/bin/ld: CMakeFiles/cmTC_3e342.dir/CheckFunctionExists.c.o: in function `main': CheckFunctionExists.c:(.text.startup+0x18): undefined reference to `kqueue' collect2: error: ld returned 1 exit status make[2]: *** [CMakeFiles/cmTC_3e342.dir/build.make:99: cmTC_3e342] Error 1 make[2]: Leaving directory '/home/giuliobenetti/autobuild/run/instance-0/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' make[1]: *** [Makefile:127: cmTC_3e342/fast] Error 2 make[1]: Leaving directory '/home/giuliobenetti/autobuild/run/instance-0/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp'