Performing C SOURCE FILE Test test_arch_x64 failed with the following output: Change Dir: /tmp/instance-16/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_750e5/fast && gmake[1]: Entering directory '/tmp/instance-16/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/gmake -f CMakeFiles/cmTC_750e5.dir/build.make CMakeFiles/cmTC_750e5.dir/build gmake[2]: Entering directory '/tmp/instance-16/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_750e5.dir/src.c.o /tmp/instance-16/output-1/host/bin/sparc-linux-gcc --sysroot=/tmp/instance-16/output-1/host/sparc-buildroot-linux-uclibc/sysroot -Dtest_arch_x64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -Wall -Wno-unused -DNDEBUG -o CMakeFiles/cmTC_750e5.dir/src.c.o -c /tmp/instance-16/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp/src.c /tmp/instance-16/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp/src.c:5:3: error: #error wrongarch 5 | #error wrongarch | ^~~~~ gmake[2]: *** [CMakeFiles/cmTC_750e5.dir/build.make:78: CMakeFiles/cmTC_750e5.dir/src.c.o] Error 1 gmake[2]: Leaving directory '/tmp/instance-16/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' gmake[1]: *** [Makefile:127: cmTC_750e5/fast] Error 2 gmake[1]: Leaving directory '/tmp/instance-16/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: /tmp/instance-16/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_68670/fast && gmake[1]: Entering directory '/tmp/instance-16/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/gmake -f CMakeFiles/cmTC_68670.dir/build.make CMakeFiles/cmTC_68670.dir/build gmake[2]: Entering directory '/tmp/instance-16/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_68670.dir/src.c.o /tmp/instance-16/output-1/host/bin/sparc-linux-gcc --sysroot=/tmp/instance-16/output-1/host/sparc-buildroot-linux-uclibc/sysroot -Dtest_arch_aarch64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -Wall -Wno-unused -DNDEBUG -o CMakeFiles/cmTC_68670.dir/src.c.o -c /tmp/instance-16/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp/src.c /tmp/instance-16/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp/src.c:5:3: error: #error wrongarch 5 | #error wrongarch | ^~~~~ gmake[2]: *** [CMakeFiles/cmTC_68670.dir/build.make:78: CMakeFiles/cmTC_68670.dir/src.c.o] Error 1 gmake[2]: Leaving directory '/tmp/instance-16/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' gmake[1]: *** [Makefile:127: cmTC_68670/fast] Error 2 gmake[1]: Leaving directory '/tmp/instance-16/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: /tmp/instance-16/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_af710/fast && gmake[1]: Entering directory '/tmp/instance-16/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/gmake -f CMakeFiles/cmTC_af710.dir/build.make CMakeFiles/cmTC_af710.dir/build gmake[2]: Entering directory '/tmp/instance-16/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_af710.dir/src.c.o /tmp/instance-16/output-1/host/bin/sparc-linux-gcc --sysroot=/tmp/instance-16/output-1/host/sparc-buildroot-linux-uclibc/sysroot -Dtest_arch_arm -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -Wall -Wno-unused -DNDEBUG -o CMakeFiles/cmTC_af710.dir/src.c.o -c /tmp/instance-16/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp/src.c /tmp/instance-16/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp/src.c:5:3: error: #error wrongarch 5 | #error wrongarch | ^~~~~ gmake[2]: *** [CMakeFiles/cmTC_af710.dir/build.make:78: CMakeFiles/cmTC_af710.dir/src.c.o] Error 1 gmake[2]: Leaving directory '/tmp/instance-16/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' gmake[1]: *** [Makefile:127: cmTC_af710/fast] Error 2 gmake[1]: Leaving directory '/tmp/instance-16/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: /tmp/instance-16/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_969f5/fast && gmake[1]: Entering directory '/tmp/instance-16/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/gmake -f CMakeFiles/cmTC_969f5.dir/build.make CMakeFiles/cmTC_969f5.dir/build gmake[2]: Entering directory '/tmp/instance-16/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_969f5.dir/src.c.o /tmp/instance-16/output-1/host/bin/sparc-linux-gcc --sysroot=/tmp/instance-16/output-1/host/sparc-buildroot-linux-uclibc/sysroot -Dtest_arch_power -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -Wall -Wno-unused -DNDEBUG -o CMakeFiles/cmTC_969f5.dir/src.c.o -c /tmp/instance-16/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp/src.c /tmp/instance-16/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp/src.c:5:3: error: #error wrongarch 5 | #error wrongarch | ^~~~~ gmake[2]: *** [CMakeFiles/cmTC_969f5.dir/build.make:78: CMakeFiles/cmTC_969f5.dir/src.c.o] Error 1 gmake[2]: Leaving directory '/tmp/instance-16/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' gmake[1]: *** [Makefile:127: cmTC_969f5/fast] Error 2 gmake[1]: Leaving directory '/tmp/instance-16/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: /tmp/instance-16/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_ce85a/fast && gmake[1]: Entering directory '/tmp/instance-16/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/gmake -f CMakeFiles/cmTC_ce85a.dir/build.make CMakeFiles/cmTC_ce85a.dir/build gmake[2]: Entering directory '/tmp/instance-16/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_ce85a.dir/CheckFunctionExists.c.o /tmp/instance-16/output-1/host/bin/sparc-linux-gcc --sysroot=/tmp/instance-16/output-1/host/sparc-buildroot-linux-uclibc/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -Wall -Wno-unused -DCHECK_FUNCTION_EXISTS=pcap_get_pfring_id -DNDEBUG -o CMakeFiles/cmTC_ce85a.dir/CheckFunctionExists.c.o -c /tmp/instance-16/output-1/host/share/cmake-3.22/Modules/CheckFunctionExists.c Linking C executable cmTC_ce85a /tmp/instance-16/output-1/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_ce85a.dir/link.txt --verbose=1 /tmp/instance-16/output-1/host/bin/sparc-linux-gcc --sysroot=/tmp/instance-16/output-1/host/sparc-buildroot-linux-uclibc/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -Wall -Wno-unused -DCHECK_FUNCTION_EXISTS=pcap_get_pfring_id -DNDEBUG -lfts CMakeFiles/cmTC_ce85a.dir/CheckFunctionExists.c.o -o cmTC_ce85a /tmp/instance-16/output-1/host/sparc-buildroot-linux-uclibc/sysroot/usr/lib/libpcap.so /tmp/instance-16/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.3.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: CMakeFiles/cmTC_ce85a.dir/CheckFunctionExists.c.o: in function `main': CheckFunctionExists.c:(.text+0x4): undefined reference to `pcap_get_pfring_id' collect2: error: ld returned 1 exit status gmake[2]: *** [CMakeFiles/cmTC_ce85a.dir/build.make:100: cmTC_ce85a] Error 1 gmake[2]: Leaving directory '/tmp/instance-16/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' gmake[1]: *** [Makefile:127: cmTC_ce85a/fast] Error 2 gmake[1]: Leaving directory '/tmp/instance-16/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' Performing C++ SOURCE FILE Test cxx17_already_works failed with the following output: Change Dir: /tmp/instance-16/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_a355b/fast && gmake[1]: Entering directory '/tmp/instance-16/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/gmake -f CMakeFiles/cmTC_a355b.dir/build.make CMakeFiles/cmTC_a355b.dir/build gmake[2]: Entering directory '/tmp/instance-16/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_a355b.dir/src.cxx.o /tmp/instance-16/output-1/host/bin/sparc-linux-g++ --sysroot=/tmp/instance-16/output-1/host/sparc-buildroot-linux-uclibc/sysroot -Dcxx17_already_works -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -Wall -Wno-unused -Wno-register -Werror=vla -DNDEBUG -o CMakeFiles/cmTC_a355b.dir/src.cxx.o -c /tmp/instance-16/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp/src.cxx /tmp/instance-16/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp/src.cxx: In function 'int main()': /tmp/instance-16/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp/src.cxx:2:24: error: 'optional' is not a member of 'std' 2 | int main() { std::optional a; } | ^~~~~~~~ /tmp/instance-16/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp/src.cxx:2:24: note: 'std::optional' is only available from C++17 onwards /tmp/instance-16/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp/src.cxx:2:33: error: expected primary-expression before 'int' 2 | int main() { std::optional a; } | ^~~ gmake[2]: *** [CMakeFiles/cmTC_a355b.dir/build.make:78: CMakeFiles/cmTC_a355b.dir/src.cxx.o] Error 1 gmake[2]: Leaving directory '/tmp/instance-16/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' gmake[1]: *** [Makefile:127: cmTC_a355b/fast] Error 2 gmake[1]: Leaving directory '/tmp/instance-16/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' Source file was: #include int main() { std::optional a; } Determining if files emmintrin.h exist failed with the following output: Change Dir: /tmp/instance-16/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_e48df/fast && gmake[1]: Entering directory '/tmp/instance-16/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/gmake -f CMakeFiles/cmTC_e48df.dir/build.make CMakeFiles/cmTC_e48df.dir/build gmake[2]: Entering directory '/tmp/instance-16/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_e48df.dir/BROKER_USE_SSE2.c.o /tmp/instance-16/output-1/host/bin/sparc-linux-gcc --sysroot=/tmp/instance-16/output-1/host/sparc-buildroot-linux-uclibc/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -Wall -Wno-unused -msse2 -DNDEBUG -o CMakeFiles/cmTC_e48df.dir/BROKER_USE_SSE2.c.o -c /tmp/instance-16/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CheckIncludeFiles/BROKER_USE_SSE2.c sparc-linux-gcc.br_real: error: unrecognized command-line option '-msse2' gmake[2]: *** [CMakeFiles/cmTC_e48df.dir/build.make:78: CMakeFiles/cmTC_e48df.dir/BROKER_USE_SSE2.c.o] Error 1 gmake[2]: Leaving directory '/tmp/instance-16/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' gmake[1]: *** [Makefile:127: cmTC_e48df/fast] Error 2 gmake[1]: Leaving directory '/tmp/instance-16/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: /tmp/instance-16/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_00218/fast && gmake[1]: Entering directory '/tmp/instance-16/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/gmake -f CMakeFiles/cmTC_00218.dir/build.make CMakeFiles/cmTC_00218.dir/build gmake[2]: Entering directory '/tmp/instance-16/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_00218.dir/CheckSymbolExists.c.o /tmp/instance-16/output-1/host/bin/sparc-linux-gcc --sysroot=/tmp/instance-16/output-1/host/sparc-buildroot-linux-uclibc/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -Wall -Wno-unused -DNDEBUG -o CMakeFiles/cmTC_00218.dir/CheckSymbolExists.c.o -c /tmp/instance-16/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp/CheckSymbolExists.c /tmp/instance-16/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp/CheckSymbolExists.c: In function 'main': /tmp/instance-16/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 /tmp/instance-16/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_00218.dir/build.make:78: CMakeFiles/cmTC_00218.dir/CheckSymbolExists.c.o] Error 1 gmake[2]: Leaving directory '/tmp/instance-16/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' gmake[1]: *** [Makefile:127: cmTC_00218/fast] Error 2 gmake[1]: Leaving directory '/tmp/instance-16/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' File /tmp/instance-16/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: /tmp/instance-16/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_a5db5/fast && gmake[1]: Entering directory '/tmp/instance-16/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/gmake -f CMakeFiles/cmTC_a5db5.dir/build.make CMakeFiles/cmTC_a5db5.dir/build gmake[2]: Entering directory '/tmp/instance-16/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_a5db5.dir/HAVE_SYS_ETHERNET_H.c.o /tmp/instance-16/output-1/host/bin/sparc-linux-gcc --sysroot=/tmp/instance-16/output-1/host/sparc-buildroot-linux-uclibc/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -Wall -Wno-unused -DNDEBUG -o CMakeFiles/cmTC_a5db5.dir/HAVE_SYS_ETHERNET_H.c.o -c /tmp/instance-16/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CheckIncludeFiles/HAVE_SYS_ETHERNET_H.c /tmp/instance-16/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_a5db5.dir/build.make:78: CMakeFiles/cmTC_a5db5.dir/HAVE_SYS_ETHERNET_H.c.o] Error 1 gmake[2]: Leaving directory '/tmp/instance-16/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' gmake[1]: *** [Makefile:127: cmTC_a5db5/fast] Error 2 gmake[1]: Leaving directory '/tmp/instance-16/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: /tmp/instance-16/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_bf96e/fast && gmake[1]: Entering directory '/tmp/instance-16/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/gmake -f CMakeFiles/cmTC_bf96e.dir/build.make CMakeFiles/cmTC_bf96e.dir/build gmake[2]: Entering directory '/tmp/instance-16/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_bf96e.dir/HAVE_NET_ETHERTYPES_H.c.o /tmp/instance-16/output-1/host/bin/sparc-linux-gcc --sysroot=/tmp/instance-16/output-1/host/sparc-buildroot-linux-uclibc/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -Wall -Wno-unused -DNDEBUG -o CMakeFiles/cmTC_bf96e.dir/HAVE_NET_ETHERTYPES_H.c.o -c /tmp/instance-16/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CheckIncludeFiles/HAVE_NET_ETHERTYPES_H.c /tmp/instance-16/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_bf96e.dir/build.make:78: CMakeFiles/cmTC_bf96e.dir/HAVE_NET_ETHERTYPES_H.c.o] Error 1 gmake[2]: Leaving directory '/tmp/instance-16/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' gmake[1]: *** [Makefile:127: cmTC_bf96e/fast] Error 2 gmake[1]: Leaving directory '/tmp/instance-16/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: /tmp/instance-16/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_a7814/fast && gmake[1]: Entering directory '/tmp/instance-16/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/gmake -f CMakeFiles/cmTC_a7814.dir/build.make CMakeFiles/cmTC_a7814.dir/build gmake[2]: Entering directory '/tmp/instance-16/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_a7814.dir/HAVE_OS_PROTO_H.c.o /tmp/instance-16/output-1/host/bin/sparc-linux-gcc --sysroot=/tmp/instance-16/output-1/host/sparc-buildroot-linux-uclibc/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -Wall -Wno-unused -DNDEBUG -o CMakeFiles/cmTC_a7814.dir/HAVE_OS_PROTO_H.c.o -c /tmp/instance-16/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CheckIncludeFiles/HAVE_OS_PROTO_H.c /tmp/instance-16/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_a7814.dir/build.make:78: CMakeFiles/cmTC_a7814.dir/HAVE_OS_PROTO_H.c.o] Error 1 gmake[2]: Leaving directory '/tmp/instance-16/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' gmake[1]: *** [Makefile:127: cmTC_a7814/fast] Error 2 gmake[1]: Leaving directory '/tmp/instance-16/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: /tmp/instance-16/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_f5296/fast && gmake[1]: Entering directory '/tmp/instance-16/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/gmake -f CMakeFiles/cmTC_f5296.dir/build.make CMakeFiles/cmTC_f5296.dir/build gmake[2]: Entering directory '/tmp/instance-16/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_f5296.dir/src.c.o /tmp/instance-16/output-1/host/bin/sparc-linux-gcc --sysroot=/tmp/instance-16/output-1/host/sparc-buildroot-linux-uclibc/sysroot -DHAVE_READLINE_HISTORY_ENTRIES -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -Wall -Wno-unused -DNDEBUG -o CMakeFiles/cmTC_f5296.dir/src.c.o -c /tmp/instance-16/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp/src.c /tmp/instance-16/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp/src.c:3:10: fatal error: readline/readline.h: No such file or directory 3 | #include | ^~~~~~~~~~~~~~~~~~~~~ compilation terminated. gmake[2]: *** [CMakeFiles/cmTC_f5296.dir/build.make:78: CMakeFiles/cmTC_f5296.dir/src.c.o] Error 1 gmake[2]: Leaving directory '/tmp/instance-16/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' gmake[1]: *** [Makefile:127: cmTC_f5296/fast] Error 2 gmake[1]: Leaving directory '/tmp/instance-16/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; } Determining if files stdio.h;readline/readline.h exist failed with the following output: Change Dir: /tmp/instance-16/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_35d37/fast && gmake[1]: Entering directory '/tmp/instance-16/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/gmake -f CMakeFiles/cmTC_35d37.dir/build.make CMakeFiles/cmTC_35d37.dir/build gmake[2]: Entering directory '/tmp/instance-16/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_35d37.dir/HAVE_READLINE_READLINE_H.c.o /tmp/instance-16/output-1/host/bin/sparc-linux-gcc --sysroot=/tmp/instance-16/output-1/host/sparc-buildroot-linux-uclibc/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -Wall -Wno-unused -DNDEBUG -o CMakeFiles/cmTC_35d37.dir/HAVE_READLINE_READLINE_H.c.o -c /tmp/instance-16/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CheckIncludeFiles/HAVE_READLINE_READLINE_H.c /tmp/instance-16/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CheckIncludeFiles/HAVE_READLINE_READLINE_H.c:3:10: fatal error: readline/readline.h: No such file or directory 3 | #include | ^~~~~~~~~~~~~~~~~~~~~ compilation terminated. gmake[2]: *** [CMakeFiles/cmTC_35d37.dir/build.make:78: CMakeFiles/cmTC_35d37.dir/HAVE_READLINE_READLINE_H.c.o] Error 1 gmake[2]: Leaving directory '/tmp/instance-16/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' gmake[1]: *** [Makefile:127: cmTC_35d37/fast] Error 2 gmake[1]: Leaving directory '/tmp/instance-16/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' Source: /* */ #include #include int main(void){return 0;} Determining if files stdio.h;readline/history.h exist failed with the following output: Change Dir: /tmp/instance-16/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_bb1ed/fast && gmake[1]: Entering directory '/tmp/instance-16/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/gmake -f CMakeFiles/cmTC_bb1ed.dir/build.make CMakeFiles/cmTC_bb1ed.dir/build gmake[2]: Entering directory '/tmp/instance-16/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_bb1ed.dir/HAVE_READLINE_HISTORY_H.c.o /tmp/instance-16/output-1/host/bin/sparc-linux-gcc --sysroot=/tmp/instance-16/output-1/host/sparc-buildroot-linux-uclibc/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -Wall -Wno-unused -DNDEBUG -o CMakeFiles/cmTC_bb1ed.dir/HAVE_READLINE_HISTORY_H.c.o -c /tmp/instance-16/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CheckIncludeFiles/HAVE_READLINE_HISTORY_H.c /tmp/instance-16/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CheckIncludeFiles/HAVE_READLINE_HISTORY_H.c:3:10: fatal error: readline/history.h: No such file or directory 3 | #include | ^~~~~~~~~~~~~~~~~~~~ compilation terminated. gmake[2]: *** [CMakeFiles/cmTC_bb1ed.dir/build.make:78: CMakeFiles/cmTC_bb1ed.dir/HAVE_READLINE_HISTORY_H.c.o] Error 1 gmake[2]: Leaving directory '/tmp/instance-16/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' gmake[1]: *** [Makefile:127: cmTC_bb1ed/fast] Error 2 gmake[1]: Leaving directory '/tmp/instance-16/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' Source: /* */ #include #include int main(void){return 0;} Performing C SOURCE FILE Test SIN_LEN failed with the following output: Change Dir: /tmp/instance-16/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_4df43/fast && gmake[1]: Entering directory '/tmp/instance-16/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/gmake -f CMakeFiles/cmTC_4df43.dir/build.make CMakeFiles/cmTC_4df43.dir/build gmake[2]: Entering directory '/tmp/instance-16/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_4df43.dir/src.c.o /tmp/instance-16/output-1/host/bin/sparc-linux-gcc --sysroot=/tmp/instance-16/output-1/host/sparc-buildroot-linux-uclibc/sysroot -DSIN_LEN -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -Wall -Wno-unused -DNDEBUG -o CMakeFiles/cmTC_4df43.dir/src.c.o -c /tmp/instance-16/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp/src.c /tmp/instance-16/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp/src.c: In function 'main': /tmp/instance-16/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_4df43.dir/build.make:78: CMakeFiles/cmTC_4df43.dir/src.c.o] Error 1 gmake[2]: Leaving directory '/tmp/instance-16/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' gmake[1]: *** [Makefile:127: cmTC_4df43/fast] Error 2 gmake[1]: Leaving directory '/tmp/instance-16/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: /tmp/instance-16/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_f73df/fast && gmake[1]: Entering directory '/tmp/instance-16/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/gmake -f CMakeFiles/cmTC_f73df.dir/build.make CMakeFiles/cmTC_f73df.dir/build gmake[2]: Entering directory '/tmp/instance-16/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_f73df.dir/CheckSymbolExists.c.o /tmp/instance-16/output-1/host/bin/sparc-linux-gcc --sysroot=/tmp/instance-16/output-1/host/sparc-buildroot-linux-uclibc/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -Wall -Wno-unused -DNDEBUG -o CMakeFiles/cmTC_f73df.dir/CheckSymbolExists.c.o -c /tmp/instance-16/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp/CheckSymbolExists.c /tmp/instance-16/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp/CheckSymbolExists.c: In function 'main': /tmp/instance-16/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 /tmp/instance-16/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_f73df.dir/build.make:78: CMakeFiles/cmTC_f73df.dir/CheckSymbolExists.c.o] Error 1 gmake[2]: Leaving directory '/tmp/instance-16/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' gmake[1]: *** [Makefile:127: cmTC_f73df/fast] Error 2 gmake[1]: Leaving directory '/tmp/instance-16/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' File /tmp/instance-16/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: /tmp/instance-16/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_3fc99/fast && gmake[1]: Entering directory '/tmp/instance-16/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/gmake -f CMakeFiles/cmTC_3fc99.dir/build.make CMakeFiles/cmTC_3fc99.dir/build gmake[2]: Entering directory '/tmp/instance-16/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_3fc99.dir/CheckFunctionExists.c.o /tmp/instance-16/output-1/host/bin/sparc-linux-gcc --sysroot=/tmp/instance-16/output-1/host/sparc-buildroot-linux-uclibc/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -Wall -Wno-unused -DCHECK_FUNCTION_EXISTS=mallinfo2 -DNDEBUG -o CMakeFiles/cmTC_3fc99.dir/CheckFunctionExists.c.o -c /tmp/instance-16/output-1/host/share/cmake-3.22/Modules/CheckFunctionExists.c Linking C executable cmTC_3fc99 /tmp/instance-16/output-1/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_3fc99.dir/link.txt --verbose=1 /tmp/instance-16/output-1/host/bin/sparc-linux-gcc --sysroot=/tmp/instance-16/output-1/host/sparc-buildroot-linux-uclibc/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -Wall -Wno-unused -DCHECK_FUNCTION_EXISTS=mallinfo2 -DNDEBUG -lfts CMakeFiles/cmTC_3fc99.dir/CheckFunctionExists.c.o -o cmTC_3fc99 /tmp/instance-16/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.3.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: CMakeFiles/cmTC_3fc99.dir/CheckFunctionExists.c.o: in function `main': CheckFunctionExists.c:(.text+0x4): undefined reference to `mallinfo2' collect2: error: ld returned 1 exit status gmake[2]: *** [CMakeFiles/cmTC_3fc99.dir/build.make:99: cmTC_3fc99] Error 1 gmake[2]: Leaving directory '/tmp/instance-16/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' gmake[1]: *** [Makefile:127: cmTC_3fc99/fast] Error 2 gmake[1]: Leaving directory '/tmp/instance-16/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: /tmp/instance-16/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_2fa06/fast && gmake[1]: Entering directory '/tmp/instance-16/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/gmake -f CMakeFiles/cmTC_2fa06.dir/build.make CMakeFiles/cmTC_2fa06.dir/build gmake[2]: Entering directory '/tmp/instance-16/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_2fa06.dir/src.c.o /tmp/instance-16/output-1/host/bin/sparc-linux-gcc --sysroot=/tmp/instance-16/output-1/host/sparc-buildroot-linux-uclibc/sysroot -DDO_SOCK_DECL -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -Wall -Wno-unused -DNDEBUG -o CMakeFiles/cmTC_2fa06.dir/src.c.o -c /tmp/instance-16/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp/src.c /tmp/instance-16/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp/src.c:5:16: error: conflicting types for 'connect' 5 | extern int connect(int, const struct sockaddr *, int); | ^~~~~~~ In file included from /tmp/instance-16/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp/src.c:3: /tmp/instance-16/output-1/host/sparc-buildroot-linux-uclibc/sysroot/usr/include/sys/socket.h:137:12: note: previous declaration of 'connect' was here 137 | extern int connect (int __fd, __CONST_SOCKADDR_ARG __addr, socklen_t __len); | ^~~~~~~ /tmp/instance-16/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp/src.c:6:16: error: conflicting types for 'send' 6 | extern int send(int, const void *, int, int); | ^~~~ In file included from /tmp/instance-16/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp/src.c:3: /tmp/instance-16/output-1/host/sparc-buildroot-linux-uclibc/sysroot/usr/include/sys/socket.h:149:16: note: previous declaration of 'send' was here 149 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); | ^~~~ /tmp/instance-16/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp/src.c:7:16: error: conflicting types for 'recvfrom' 7 | extern int recvfrom(int, void *, int, int, struct sockaddr *, int *); | ^~~~~~~~ In file included from /tmp/instance-16/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp/src.c:3: /tmp/instance-16/output-1/host/sparc-buildroot-linux-uclibc/sysroot/usr/include/sys/socket.h:174:16: note: previous declaration of 'recvfrom' was here 174 | extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n, | ^~~~~~~~ gmake[2]: *** [CMakeFiles/cmTC_2fa06.dir/build.make:78: CMakeFiles/cmTC_2fa06.dir/src.c.o] Error 1 gmake[2]: Leaving directory '/tmp/instance-16/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' gmake[1]: *** [Makefile:127: cmTC_2fa06/fast] Error 2 gmake[1]: Leaving directory '/tmp/instance-16/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: /tmp/instance-16/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_c94fe/fast && gmake[1]: Entering directory '/tmp/instance-16/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/gmake -f CMakeFiles/cmTC_c94fe.dir/build.make CMakeFiles/cmTC_c94fe.dir/build gmake[2]: Entering directory '/tmp/instance-16/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_c94fe.dir/src.cxx.o /tmp/instance-16/output-1/host/bin/sparc-linux-g++ --sysroot=/tmp/instance-16/output-1/host/sparc-buildroot-linux-uclibc/sysroot -DSYSLOG_INT -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -Wall -Wno-unused -Wno-register -Werror=vla -DNDEBUG -o CMakeFiles/cmTC_c94fe.dir/src.cxx.o -c /tmp/instance-16/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp/src.cxx /tmp/instance-16/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 /tmp/instance-16/output-1/host/sparc-buildroot-linux-uclibc/sysroot/usr/include/syslog.h:1, from /tmp/instance-16/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp/src.cxx:3: /tmp/instance-16/output-1/host/sparc-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); | ^~~~~~~ /tmp/instance-16/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 /tmp/instance-16/output-1/host/sparc-buildroot-linux-uclibc/sysroot/usr/include/syslog.h:1, from /tmp/instance-16/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp/src.cxx:3: /tmp/instance-16/output-1/host/sparc-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, ...) | ^~~~~~ /tmp/instance-16/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 /tmp/instance-16/output-1/host/sparc-buildroot-linux-uclibc/sysroot/usr/include/syslog.h:1, from /tmp/instance-16/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp/src.cxx:3: /tmp/instance-16/output-1/host/sparc-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_c94fe.dir/build.make:78: CMakeFiles/cmTC_c94fe.dir/src.cxx.o] Error 1 gmake[2]: Leaving directory '/tmp/instance-16/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' gmake[1]: *** [Makefile:127: cmTC_c94fe/fast] Error 2 gmake[1]: Leaving directory '/tmp/instance-16/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: /tmp/instance-16/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_1d180/fast && gmake[1]: Entering directory '/tmp/instance-16/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/gmake -f CMakeFiles/cmTC_1d180.dir/build.make CMakeFiles/cmTC_1d180.dir/build gmake[2]: Entering directory '/tmp/instance-16/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_1d180.dir/HAVE_PCAP_INT_H.c.o /tmp/instance-16/output-1/host/bin/sparc-linux-gcc --sysroot=/tmp/instance-16/output-1/host/sparc-buildroot-linux-uclibc/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -Wall -Wno-unused -DNDEBUG -o CMakeFiles/cmTC_1d180.dir/HAVE_PCAP_INT_H.c.o -c /tmp/instance-16/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CheckIncludeFiles/HAVE_PCAP_INT_H.c /tmp/instance-16/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_1d180.dir/build.make:78: CMakeFiles/cmTC_1d180.dir/HAVE_PCAP_INT_H.c.o] Error 1 gmake[2]: Leaving directory '/tmp/instance-16/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' gmake[1]: *** [Makefile:127: cmTC_1d180/fast] Error 2 gmake[1]: Leaving directory '/tmp/instance-16/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: /tmp/instance-16/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_6b553/fast && gmake[1]: Entering directory '/tmp/instance-16/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/gmake -f CMakeFiles/cmTC_6b553.dir/build.make CMakeFiles/cmTC_6b553.dir/build gmake[2]: Entering directory '/tmp/instance-16/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_6b553.dir/src.c.o /tmp/instance-16/output-1/host/bin/sparc-linux-gcc --sysroot=/tmp/instance-16/output-1/host/sparc-buildroot-linux-uclibc/sysroot -DLIBPCAP_PCAP_COMPILE_NOPCAP_HAS_ERROR_PARAMETER -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -Wall -Wno-unused -DNDEBUG -o CMakeFiles/cmTC_6b553.dir/src.c.o -c /tmp/instance-16/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp/src.c /tmp/instance-16/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp/src.c: In function 'main': /tmp/instance-16/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 /tmp/instance-16/output-1/host/sparc-buildroot-linux-uclibc/sysroot/usr/include/pcap.h:43, from /tmp/instance-16/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp/src.c:2: /tmp/instance-16/output-1/host/sparc-buildroot-linux-uclibc/sysroot/usr/include/pcap/pcap.h:617:14: note: declared here 617 | PCAP_API int pcap_compile_nopcap(int, int, struct bpf_program *, | ^~~~~~~~~~~~~~~~~~~ gmake[2]: *** [CMakeFiles/cmTC_6b553.dir/build.make:78: CMakeFiles/cmTC_6b553.dir/src.c.o] Error 1 gmake[2]: Leaving directory '/tmp/instance-16/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' gmake[1]: *** [Makefile:127: cmTC_6b553/fast] Error 2 gmake[1]: Leaving directory '/tmp/instance-16/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: /tmp/instance-16/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_f5336/fast && gmake[1]: Entering directory '/tmp/instance-16/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/gmake -f CMakeFiles/cmTC_f5336.dir/build.make CMakeFiles/cmTC_f5336.dir/build gmake[2]: Entering directory '/tmp/instance-16/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_f5336.dir/CheckFunctionExists.c.o /tmp/instance-16/output-1/host/bin/sparc-linux-gcc --sysroot=/tmp/instance-16/output-1/host/sparc-buildroot-linux-uclibc/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -Wall -Wno-unused -DCHECK_FUNCTION_EXISTS=kqueue -DNDEBUG -o CMakeFiles/cmTC_f5336.dir/CheckFunctionExists.c.o -c /tmp/instance-16/output-1/host/share/cmake-3.22/Modules/CheckFunctionExists.c Linking C executable cmTC_f5336 /tmp/instance-16/output-1/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_f5336.dir/link.txt --verbose=1 /tmp/instance-16/output-1/host/bin/sparc-linux-gcc --sysroot=/tmp/instance-16/output-1/host/sparc-buildroot-linux-uclibc/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -Wall -Wno-unused -DCHECK_FUNCTION_EXISTS=kqueue -DNDEBUG -lfts CMakeFiles/cmTC_f5336.dir/CheckFunctionExists.c.o -o cmTC_f5336 /tmp/instance-16/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.3.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: CMakeFiles/cmTC_f5336.dir/CheckFunctionExists.c.o: in function `main': CheckFunctionExists.c:(.text+0x4): undefined reference to `kqueue' collect2: error: ld returned 1 exit status gmake[2]: *** [CMakeFiles/cmTC_f5336.dir/build.make:99: cmTC_f5336] Error 1 gmake[2]: Leaving directory '/tmp/instance-16/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' gmake[1]: *** [Makefile:127: cmTC_f5336/fast] Error 2 gmake[1]: Leaving directory '/tmp/instance-16/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp'