Performing C SOURCE FILE Test CFL_HAVE_TIMESPEC_GET failed with the following output: Change Dir: /home/autobuild/autobuild/instance-15/output-1/build/fluent-bit-2.0.9/CMakeFiles/CMakeTmp Run Build Command(s):/home/autobuild/make/make -f Makefile cmTC_e0f28/fast && make[1]: Entering directory '/home/autobuild/autobuild/instance-15/output-1/build/fluent-bit-2.0.9/CMakeFiles/CMakeTmp' /home/autobuild/make/make -f CMakeFiles/cmTC_e0f28.dir/build.make CMakeFiles/cmTC_e0f28.dir/build make[2]: Entering directory '/home/autobuild/autobuild/instance-15/output-1/build/fluent-bit-2.0.9/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_e0f28.dir/src.c.o /home/autobuild/autobuild/instance-15/output-1/per-package/fluent-bit/host/bin/xtensa-buildroot-linux-uclibc-gcc --sysroot=/home/autobuild/autobuild/instance-15/output-1/per-package/fluent-bit/host/xtensa-buildroot-linux-uclibc/sysroot -DCFL_HAVE_TIMESPEC_GET -I/home/autobuild/autobuild/instance-15/output-1/build/fluent-bit-2.0.9/lib/cfl/include -I/home/autobuild/autobuild/instance-15/output-1/build/fluent-bit-2.0.9/lib/fluent-otel-proto/include -I/home/autobuild/autobuild/instance-15/output-1/build/fluent-bit-2.0.9/lib/fluent-otel-proto/proto_c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -mlongcalls -mauto-litpools -O2 -g0 -fcommon -U_FILE_OFFSET_BITS -Wall -D__FLB_FILENAME__=__FILE__ -Wall -D__FILENAME__='"CMakeFiles/CMakeTmp/src.c"' -fPIE -o CMakeFiles/cmTC_e0f28.dir/src.c.o -c /home/autobuild/autobuild/instance-15/output-1/build/fluent-bit-2.0.9/CMakeFiles/CMakeTmp/src.c /home/autobuild/autobuild/instance-15/output-1/build/fluent-bit-2.0.9/CMakeFiles/CMakeTmp/src.c: In function 'main': /home/autobuild/autobuild/instance-15/output-1/build/fluent-bit-2.0.9/CMakeFiles/CMakeTmp/src.c:5:13: warning: implicit declaration of function 'timespec_get' [-Wimplicit-function-declaration] 5 | return timespec_get(&tm, TIME_UTC); | ^~~~~~~~~~~~ /home/autobuild/autobuild/instance-15/output-1/build/fluent-bit-2.0.9/CMakeFiles/CMakeTmp/src.c:5:31: error: 'TIME_UTC' undeclared (first use in this function) 5 | return timespec_get(&tm, TIME_UTC); | ^~~~~~~~ /home/autobuild/autobuild/instance-15/output-1/build/fluent-bit-2.0.9/CMakeFiles/CMakeTmp/src.c:5:31: note: each undeclared identifier is reported only once for each function it appears in make[2]: *** [CMakeFiles/cmTC_e0f28.dir/build.make:78: CMakeFiles/cmTC_e0f28.dir/src.c.o] Error 1 make[2]: Leaving directory '/home/autobuild/autobuild/instance-15/output-1/build/fluent-bit-2.0.9/CMakeFiles/CMakeTmp' make[1]: *** [Makefile:127: cmTC_e0f28/fast] Error 2 make[1]: Leaving directory '/home/autobuild/autobuild/instance-15/output-1/build/fluent-bit-2.0.9/CMakeFiles/CMakeTmp' Source file was: #include int main() { struct tm tm; return timespec_get(&tm, TIME_UTC); } Performing C SOURCE FILE Test CFL_HAVE_GMTIME_S failed with the following output: Change Dir: /home/autobuild/autobuild/instance-15/output-1/build/fluent-bit-2.0.9/CMakeFiles/CMakeTmp Run Build Command(s):/home/autobuild/make/make -f Makefile cmTC_4080e/fast && make[1]: Entering directory '/home/autobuild/autobuild/instance-15/output-1/build/fluent-bit-2.0.9/CMakeFiles/CMakeTmp' /home/autobuild/make/make -f CMakeFiles/cmTC_4080e.dir/build.make CMakeFiles/cmTC_4080e.dir/build make[2]: Entering directory '/home/autobuild/autobuild/instance-15/output-1/build/fluent-bit-2.0.9/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_4080e.dir/src.c.o /home/autobuild/autobuild/instance-15/output-1/per-package/fluent-bit/host/bin/xtensa-buildroot-linux-uclibc-gcc --sysroot=/home/autobuild/autobuild/instance-15/output-1/per-package/fluent-bit/host/xtensa-buildroot-linux-uclibc/sysroot -DCFL_HAVE_GMTIME_S -I/home/autobuild/autobuild/instance-15/output-1/build/fluent-bit-2.0.9/lib/cfl/include -I/home/autobuild/autobuild/instance-15/output-1/build/fluent-bit-2.0.9/lib/fluent-otel-proto/include -I/home/autobuild/autobuild/instance-15/output-1/build/fluent-bit-2.0.9/lib/fluent-otel-proto/proto_c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -mlongcalls -mauto-litpools -O2 -g0 -fcommon -U_FILE_OFFSET_BITS -Wall -D__FLB_FILENAME__=__FILE__ -Wall -D__FILENAME__='"CMakeFiles/CMakeTmp/src.c"' -fPIE -o CMakeFiles/cmTC_4080e.dir/src.c.o -c /home/autobuild/autobuild/instance-15/output-1/build/fluent-bit-2.0.9/CMakeFiles/CMakeTmp/src.c /home/autobuild/autobuild/instance-15/output-1/build/fluent-bit-2.0.9/CMakeFiles/CMakeTmp/src.c: In function 'main': /home/autobuild/autobuild/instance-15/output-1/build/fluent-bit-2.0.9/CMakeFiles/CMakeTmp/src.c:6:13: warning: implicit declaration of function 'gmtime_s'; did you mean 'gmtime_r'? [-Wimplicit-function-declaration] 6 | return gmtime_s(&tm, &tms.tv_sec); | ^~~~~~~~ | gmtime_r Linking C executable cmTC_4080e /home/autobuild/autobuild/instance-15/output-1/per-package/fluent-bit/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_4080e.dir/link.txt --verbose=1 /home/autobuild/autobuild/instance-15/output-1/per-package/fluent-bit/host/bin/xtensa-buildroot-linux-uclibc-gcc --sysroot=/home/autobuild/autobuild/instance-15/output-1/per-package/fluent-bit/host/xtensa-buildroot-linux-uclibc/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -mlongcalls -mauto-litpools -O2 -g0 -fcommon -U_FILE_OFFSET_BITS -Wall -D__FLB_FILENAME__=__FILE__ -Wall -D__FILENAME__='"$(subst /home/autobuild/autobuild/instance-15/output-1/build/fluent-bit-2.0.9/,,$(abspath $<))"' -lfts -latomic CMakeFiles/cmTC_4080e.dir/src.c.o -o cmTC_4080e /home/autobuild/autobuild/instance-15/output-1/per-package/fluent-bit/host/bin/../lib/gcc/xtensa-buildroot-linux-uclibc/12.2.0/../../../../xtensa-buildroot-linux-uclibc/bin/ld: CMakeFiles/cmTC_4080e.dir/src.c.o:(.text.startup+0x0): undefined reference to `gmtime_s' collect2: error: ld returned 1 exit status make[2]: *** [CMakeFiles/cmTC_4080e.dir/build.make:99: cmTC_4080e] Error 1 make[2]: Leaving directory '/home/autobuild/autobuild/instance-15/output-1/build/fluent-bit-2.0.9/CMakeFiles/CMakeTmp' make[1]: *** [Makefile:127: cmTC_4080e/fast] Error 2 make[1]: Leaving directory '/home/autobuild/autobuild/instance-15/output-1/build/fluent-bit-2.0.9/CMakeFiles/CMakeTmp' Source file was: #include int main() { struct tm tm; struct timespec tms; return gmtime_s(&tm, &tms.tv_sec); } Performing C SOURCE FILE Test CFL_HAVE_CLOCK_GET_TIME failed with the following output: Change Dir: /home/autobuild/autobuild/instance-15/output-1/build/fluent-bit-2.0.9/CMakeFiles/CMakeTmp Run Build Command(s):/home/autobuild/make/make -f Makefile cmTC_ce643/fast && make[1]: Entering directory '/home/autobuild/autobuild/instance-15/output-1/build/fluent-bit-2.0.9/CMakeFiles/CMakeTmp' /home/autobuild/make/make -f CMakeFiles/cmTC_ce643.dir/build.make CMakeFiles/cmTC_ce643.dir/build make[2]: Entering directory '/home/autobuild/autobuild/instance-15/output-1/build/fluent-bit-2.0.9/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_ce643.dir/src.c.o /home/autobuild/autobuild/instance-15/output-1/per-package/fluent-bit/host/bin/xtensa-buildroot-linux-uclibc-gcc --sysroot=/home/autobuild/autobuild/instance-15/output-1/per-package/fluent-bit/host/xtensa-buildroot-linux-uclibc/sysroot -DCFL_HAVE_CLOCK_GET_TIME -I/home/autobuild/autobuild/instance-15/output-1/build/fluent-bit-2.0.9/lib/cfl/include -I/home/autobuild/autobuild/instance-15/output-1/build/fluent-bit-2.0.9/lib/fluent-otel-proto/include -I/home/autobuild/autobuild/instance-15/output-1/build/fluent-bit-2.0.9/lib/fluent-otel-proto/proto_c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -mlongcalls -mauto-litpools -O2 -g0 -fcommon -U_FILE_OFFSET_BITS -Wall -D__FLB_FILENAME__=__FILE__ -Wall -D__FILENAME__='"CMakeFiles/CMakeTmp/src.c"' -fPIE -o CMakeFiles/cmTC_ce643.dir/src.c.o -c /home/autobuild/autobuild/instance-15/output-1/build/fluent-bit-2.0.9/CMakeFiles/CMakeTmp/src.c /home/autobuild/autobuild/instance-15/output-1/build/fluent-bit-2.0.9/CMakeFiles/CMakeTmp/src.c:2:12: fatal error: mach/clock.h: No such file or directory 2 | #include | ^~~~~~~~~~~~~~ compilation terminated. make[2]: *** [CMakeFiles/cmTC_ce643.dir/build.make:78: CMakeFiles/cmTC_ce643.dir/src.c.o] Error 1 make[2]: Leaving directory '/home/autobuild/autobuild/instance-15/output-1/build/fluent-bit-2.0.9/CMakeFiles/CMakeTmp' make[1]: *** [Makefile:127: cmTC_ce643/fast] Error 2 make[1]: Leaving directory '/home/autobuild/autobuild/instance-15/output-1/build/fluent-bit-2.0.9/CMakeFiles/CMakeTmp' Source file was: #include #include int main() { clock_serv_t cclock; mach_timespec_t mts; host_get_clock_service(mach_host_self(), CALENDAR_CLOCK, &cclock); clock_get_time(cclock, &mts); return mach_port_deallocate(mach_task_self(), cclock); } Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed. Compiler: /usr/bin/c++ Build flags: -D_LARGEFILE_SOURCE;-D_LARGEFILE64_SOURCE;-D_FILE_OFFSET_BITS=64;-mlongcalls;-mauto-litpools;-O2;-g0;;-fcommon;-U_FILE_OFFSET_BITS Id flags: The output was: 1 c++: error: unrecognized command-line option '-mlongcalls' c++: error: unrecognized command-line option '-mauto-litpools' Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed. Compiler: /usr/bin/c++ Build flags: -D_LARGEFILE_SOURCE;-D_LARGEFILE64_SOURCE;-D_FILE_OFFSET_BITS=64;-mlongcalls;-mauto-litpools;-O2;-g0;;-fcommon;-U_FILE_OFFSET_BITS Id flags: -c The output was: 1 c++: error: unrecognized command-line option '-mlongcalls' c++: error: unrecognized command-line option '-mauto-litpools' Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed. Compiler: /usr/bin/c++ Build flags: -D_LARGEFILE_SOURCE;-D_LARGEFILE64_SOURCE;-D_FILE_OFFSET_BITS=64;-mlongcalls;-mauto-litpools;-O2;-g0;;-fcommon;-U_FILE_OFFSET_BITS Id flags: --c++ The output was: 1 c++: error: unrecognized command-line option '-mlongcalls' c++: error: unrecognized command-line option '-mauto-litpools' c++: error: unrecognized command-line option '--c++' Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed. Compiler: /usr/bin/c++ Build flags: -D_LARGEFILE_SOURCE;-D_LARGEFILE64_SOURCE;-D_FILE_OFFSET_BITS=64;-mlongcalls;-mauto-litpools;-O2;-g0;;-fcommon;-U_FILE_OFFSET_BITS Id flags: --ec++ The output was: 1 c++: error: unrecognized command-line option '-mlongcalls' c++: error: unrecognized command-line option '-mauto-litpools' c++: error: unrecognized command-line option '--ec++'; did you mean '-Weffc++'? Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed. Compiler: /usr/bin/c++ Build flags: -D_LARGEFILE_SOURCE;-D_LARGEFILE64_SOURCE;-D_FILE_OFFSET_BITS=64;-mlongcalls;-mauto-litpools;-O2;-g0;;-fcommon;-U_FILE_OFFSET_BITS Id flags: --target=arm-arm-none-eabi;-mcpu=cortex-m3 The output was: 1 c++: error: unrecognized command-line option '-mlongcalls' c++: error: unrecognized command-line option '-mauto-litpools' c++: error: unrecognized command-line option '--target=arm-arm-none-eabi' Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed. Compiler: /usr/bin/c++ Build flags: -D_LARGEFILE_SOURCE;-D_LARGEFILE64_SOURCE;-D_FILE_OFFSET_BITS=64;-mlongcalls;-mauto-litpools;-O2;-g0;;-fcommon;-U_FILE_OFFSET_BITS Id flags: -c;-I__does_not_exist__ The output was: 1 c++: error: unrecognized command-line option '-mlongcalls' c++: error: unrecognized command-line option '-mauto-litpools' Detecting CXX compiler ABI info failed to compile with the following output: Change Dir: /home/autobuild/autobuild/instance-15/output-1/build/fluent-bit-2.0.9/CMakeFiles/CMakeTmp Run Build Command(s):/home/autobuild/make/make -f Makefile cmTC_72a46/fast && make[1]: Entering directory '/home/autobuild/autobuild/instance-15/output-1/build/fluent-bit-2.0.9/CMakeFiles/CMakeTmp' /home/autobuild/make/make -f CMakeFiles/cmTC_72a46.dir/build.make CMakeFiles/cmTC_72a46.dir/build make[2]: Entering directory '/home/autobuild/autobuild/instance-15/output-1/build/fluent-bit-2.0.9/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_72a46.dir/CMakeCXXCompilerABI.cpp.o /usr/bin/c++ --sysroot=/home/autobuild/autobuild/instance-15/output-1/per-package/fluent-bit/host/xtensa-buildroot-linux-uclibc/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -mlongcalls -mauto-litpools -O2 -g0 -fcommon -U_FILE_OFFSET_BITS -g -fPIE -v -o CMakeFiles/cmTC_72a46.dir/CMakeCXXCompilerABI.cpp.o -c /home/autobuild/autobuild/instance-15/output-1/per-package/fluent-bit/host/share/cmake-3.22/Modules/CMakeCXXCompilerABI.cpp Using built-in specs. COLLECT_GCC=/usr/bin/c++ c++: error: unrecognized command-line option '-mlongcalls' c++: error: unrecognized command-line option '-mauto-litpools' Target: aarch64-unknown-linux-gnu Configured with: /build/gcc/src/gcc/configure --enable-languages=c,c++,fortran,go,lto,objc,obj-c++ --enable-bootstrap --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=https://github.com/archlinuxarm/PKGBUILDs/issues --with-linker-hash-style=gnu --with-system-zlib --enable-__cxa_atexit --enable-checking=release --enable-clocale=gnu --enable-default-pie --enable-default-ssp --enable-gnu-indirect-function --enable-gnu-unique-object --enable-linker-build-id --enable-lto --enable-plugin --enable-shared --enable-threads=posix --disable-libssp --disable-libstdcxx-pch --disable-multilib --disable-werror --host=aarch64-unknown-linux-gnu --build=aarch64-unknown-linux-gnu --with-arch=armv8-a --enable-fix-cortex-a53-835769 --enable-fix-cortex-a53-843419 Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 12.1.0 (GCC) make[2]: *** [CMakeFiles/cmTC_72a46.dir/build.make:78: CMakeFiles/cmTC_72a46.dir/CMakeCXXCompilerABI.cpp.o] Error 1 make[2]: Leaving directory '/home/autobuild/autobuild/instance-15/output-1/build/fluent-bit-2.0.9/CMakeFiles/CMakeTmp' make[1]: *** [Makefile:127: cmTC_72a46/fast] Error 2 make[1]: Leaving directory '/home/autobuild/autobuild/instance-15/output-1/build/fluent-bit-2.0.9/CMakeFiles/CMakeTmp' Determining if the CXX compiler works failed with the following output: Change Dir: /home/autobuild/autobuild/instance-15/output-1/build/fluent-bit-2.0.9/CMakeFiles/CMakeTmp Run Build Command(s):/home/autobuild/make/make -f Makefile cmTC_bfb29/fast && make[1]: Entering directory '/home/autobuild/autobuild/instance-15/output-1/build/fluent-bit-2.0.9/CMakeFiles/CMakeTmp' /home/autobuild/make/make -f CMakeFiles/cmTC_bfb29.dir/build.make CMakeFiles/cmTC_bfb29.dir/build make[2]: Entering directory '/home/autobuild/autobuild/instance-15/output-1/build/fluent-bit-2.0.9/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_bfb29.dir/testCXXCompiler.cxx.o /usr/bin/c++ --sysroot=/home/autobuild/autobuild/instance-15/output-1/per-package/fluent-bit/host/xtensa-buildroot-linux-uclibc/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -mlongcalls -mauto-litpools -O2 -g0 -fcommon -U_FILE_OFFSET_BITS -g -fPIE -o CMakeFiles/cmTC_bfb29.dir/testCXXCompiler.cxx.o -c /home/autobuild/autobuild/instance-15/output-1/build/fluent-bit-2.0.9/CMakeFiles/CMakeTmp/testCXXCompiler.cxx c++: error: unrecognized command-line option '-mlongcalls' c++: error: unrecognized command-line option '-mauto-litpools' make[2]: *** [CMakeFiles/cmTC_bfb29.dir/build.make:78: CMakeFiles/cmTC_bfb29.dir/testCXXCompiler.cxx.o] Error 1 make[2]: Leaving directory '/home/autobuild/autobuild/instance-15/output-1/build/fluent-bit-2.0.9/CMakeFiles/CMakeTmp' make[1]: *** [Makefile:127: cmTC_bfb29/fast] Error 2 make[1]: Leaving directory '/home/autobuild/autobuild/instance-15/output-1/build/fluent-bit-2.0.9/CMakeFiles/CMakeTmp'