Applying ./patches/001-clients-upsclient.h-ensure-time_t-is-defined.patch using plaintext: patching file clients/upsclient.h autoreconf: export WARNINGS= autoreconf: Entering directory '.' autoreconf: configure.ac: not using Gettext autoreconf: running: /builder/shared-workdir/build/sdk/staging_dir/host/bin/aclocal -I /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/host/share/aclocal -I /builder/shared-workdir/build/sdk/staging_dir/hostpkg/share/aclocal -I /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/share/aclocal -I m4 -I . --force -I m4 autoreconf: configure.ac: tracing autoreconf: running: /builder/shared-workdir/build/sdk/staging_dir/host/bin/libtoolize --install --force OpenWrt-libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, '.'. OpenWrt-libtoolize: linking file './config.guess' OpenWrt-libtoolize: linking file './config.sub' OpenWrt-libtoolize: linking file './install-sh' OpenWrt-libtoolize: linking file './ltmain.sh' OpenWrt-libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'. OpenWrt-libtoolize: linking file 'm4/libtool.m4' OpenWrt-libtoolize: You should add the contents of 'm4/libtool.m4' to 'aclocal.m4'. OpenWrt-libtoolize: linking file 'm4/ltoptions.m4' OpenWrt-libtoolize: You should add the contents of 'm4/ltoptions.m4' to 'aclocal.m4'. OpenWrt-libtoolize: linking file 'm4/ltsugar.m4' OpenWrt-libtoolize: You should add the contents of 'm4/ltsugar.m4' to 'aclocal.m4'. OpenWrt-libtoolize: linking file 'm4/ltversion.m4' OpenWrt-libtoolize: linking file 'm4/lt~obsolete.m4' OpenWrt-libtoolize: You should add the contents of 'm4/lt~obsolete.m4' to 'aclocal.m4'. autoreconf: configure.ac: not using Intltool autoreconf: configure.ac: not using Gtkdoc autoreconf: running: /builder/shared-workdir/build/sdk/staging_dir/host/bin/aclocal -I /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/host/share/aclocal -I /builder/shared-workdir/build/sdk/staging_dir/hostpkg/share/aclocal -I /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/share/aclocal -I m4 -I . --force -I m4 autoreconf: running: /builder/shared-workdir/build/sdk/staging_dir/host/bin/autoconf --include=/builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/host/share/aclocal --include=/builder/shared-workdir/build/sdk/staging_dir/hostpkg/share/aclocal --include=/builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/share/aclocal --include=m4 --include=. --prepend-include=/builder/shared-workdir/build/sdk/staging_dir/host/share/aclocal --force autoreconf: running: /builder/shared-workdir/build/sdk/staging_dir/host/bin/autoheader --include=/builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/host/share/aclocal --include=/builder/shared-workdir/build/sdk/staging_dir/hostpkg/share/aclocal --include=/builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/share/aclocal --include=m4 --include=. --prepend-include=/builder/shared-workdir/build/sdk/staging_dir/host/share/aclocal --force autoreconf: running: /builder/shared-workdir/build/sdk/staging_dir/host/bin/automake --add-missing --force-missing configure.ac:23: installing './compile' configure.ac:18: installing './missing' clients/Makefile.am: installing './depcomp' autoreconf: Leaving directory '.' configure: WARNING: unrecognized options: --disable-nls configure: loading site script /builder/shared-workdir/build/sdk/include/site/aarch64 Network UPS Tools version 2.8.0 checking build system type... x86_64-pc-linux-gnu checking host system type... aarch64-openwrt-linux-gnu checking target system type... aarch64-openwrt-linux-gnu checking for host system name... debian configure: Stashed CFLAGS warnings to not confuse autotools probes: -Wformat -Werror=format-security -Wl,-z,now -Wl,-z,relro configure: Stashed CXXFLAGS warnings to not confuse autotools probes: -Wformat -Werror=format-security -Wl,-z,now -Wl,-z,relro checking for a BSD-compatible install... /builder/shared-workdir/build/sdk/staging_dir/host/bin/install -c checking whether build environment is sane... yes checking for aarch64-openwrt-linux-strip... aarch64-openwrt-linux-musl-strip checking for a race-free mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for autoconf macro to enable system extensions... yes checking whether make supports the include directive... yes (GNU style) checking for aarch64-openwrt-linux-gcc... aarch64-openwrt-linux-musl-gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... yes checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether aarch64-openwrt-linux-musl-gcc accepts -g... yes checking for aarch64-openwrt-linux-musl-gcc option to enable C11 features... none needed checking whether aarch64-openwrt-linux-musl-gcc understands -c and -o together... yes checking dependency style of aarch64-openwrt-linux-musl-gcc... none checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for wchar.h... yes checking for minix/config.h... no checking for sys/time.h... yes checking for time.h... yes checking for sys/socket.h... yes checking for netdb.h... yes checking whether it is safe to define __EXTENSIONS__... yes checking whether _XOPEN_SOURCE should be defined... no checking whether to enable maintainer-specific portions of Makefiles... no checking pkg-config is at least version 0.9.0... yes checking whether usable PKG_CONFIG was already detected by autoconf... yes: /builder/shared-workdir/build/sdk/staging_dir/host/bin/pkg-config configure: checking for autoconf macro support of pkg-config (/builder/shared-workdir/build/sdk/staging_dir/host/bin/pkg-config) configure: checking for autoconf macro support of pkg-config module checker checking for pkg-config... yes checking how to run the C preprocessor... aarch64-openwrt-linux-musl-gcc -E checking whether the compiler supports GNU C++... yes checking whether aarch64-openwrt-linux-musl-g++ accepts -g... yes checking for aarch64-openwrt-linux-musl-g++ option to enable C++11 features... none needed checking dependency style of aarch64-openwrt-linux-musl-g++... none checking whether aarch64-openwrt-linux-musl-g++ understands -c and -o together... yes checking whether ln -s works... yes checking for grep that handles long lines and -e... /builder/shared-workdir/build/sdk/staging_dir/host/bin/grep checking for egrep... /builder/shared-workdir/build/sdk/staging_dir/host/bin/grep -E checking for ar... (cached) aarch64-openwrt-linux-musl-gcc-ar checking for aarch64-openwrt-linux-ranlib... aarch64-openwrt-linux-musl-gcc-ranlib checking whether byte ordering is bigendian... (cached) no checking for inline... inline checking for flexible array members... yes checking for variable-length arrays... yes checking if CC compiler family is GCC... yes checking if CXX compiler family is GCC... yes checking if CPP preprocessor family is GCC... yes checking if CC compiler family is clang... no checking if CXX compiler family is clang... no checking if CPP preprocessor family is clang... no configure: Detecting support for additional compiler flags checking whether C compiler accepts -Qunused-arguments... no checking whether C++ compiler accepts -Qunused-arguments... no checking whether C compiler accepts -Wno-reserved-identifier... yes configure: WARNING: Current build is a cross-build, so not running test binaries, just linking them checking whether C++ compiler accepts -Wno-reserved-identifier... yes configure: WARNING: Current build is a cross-build, so not running test binaries, just linking them configure: NOT checking for options to request colorized compiler output (pass --enable-Wcolor for that) checking whether C compiler accepts -Wno-unknown-warning-option... yes configure: WARNING: Current build is a cross-build, so not running test binaries, just linking them checking whether C++ compiler accepts -Wno-unknown-warning-option... yes configure: WARNING: Current build is a cross-build, so not running test binaries, just linking them checking whether C compiler accepts -std=gnu99... yes configure: Defaulting C standard support to GNU C99 on a GCC or CLANG compatible compiler checking whether C++ compiler accepts -std=gnu++11... yes configure: Defaulting C++ standard support to GNU C++11 on a GCC or CLANG compatible compiler checking for pragma GCC diagnostic push and pop (outside functions)... yes checking for pragma clang diagnostic push and pop (outside functions)... no checking for pragma GCC diagnostic push and pop (inside functions)... yes checking for pragma clang diagnostic push and pop (inside functions)... no checking for pragma GCC diagnostic ignored "-Wunused-function"... yes checking for pragma GCC diagnostic ignored "-Wformat-nonliteral"... yes checking for pragma GCC diagnostic ignored "-Wformat-nonliteral" (outside functions)... yes checking for pragma GCC diagnostic ignored "-Wformat-security"... yes checking for pragma GCC diagnostic ignored "-Wformat-security" (outside functions)... yes checking for pragma GCC diagnostic ignored "-Wformat-truncation"... yes checking for pragma GCC diagnostic ignored "-Wformat-truncation" (outside functions)... yes checking for pragma GCC diagnostic ignored "-Wstringop-truncation"... yes checking for pragma GCC diagnostic ignored "-Wstringop-truncation" (outside functions)... yes checking for pragma GCC diagnostic ignored "-Wtype-limits"... yes checking for pragma GCC diagnostic ignored "-Wtype-limits" (outside functions)... yes checking for pragma GCC diagnostic ignored "-Warray-bounds"... yes checking for pragma GCC diagnostic ignored "-Warray-bounds" (outside functions)... yes checking for pragma GCC diagnostic ignored "-Wtautological-type-limit-compare"... no checking for pragma GCC diagnostic ignored "-Wtautological-type-limit-compare" (outside functions)... no checking for pragma GCC diagnostic ignored "-Wtautological-constant-out-of-range-compare"... no checking for pragma GCC diagnostic ignored "-Wtautological-constant-out-of-range-compare" (outside functions)... no checking for pragma GCC diagnostic ignored "-Wtautological-unsigned-zero-compare"... no checking for pragma GCC diagnostic ignored "-Wtautological-unsigned-zero-compare" (outside functions)... no checking for pragma GCC diagnostic ignored "-Wtautological-compare"... yes checking for pragma GCC diagnostic ignored "-Wtautological-compare" (outside functions)... yes checking for pragma GCC diagnostic ignored "-Wsign-compare"... yes checking for pragma GCC diagnostic ignored "-Wsign-compare" (outside functions)... yes checking for pragma GCC diagnostic ignored "-Wsign-conversion"... yes checking for pragma GCC diagnostic ignored "-Wsign-conversion" (outside functions)... yes checking for pragma GCC diagnostic ignored "-Wunreachable-code-break"... no checking for pragma GCC diagnostic ignored "-Wunreachable-code-break" (outside functions)... no checking for pragma GCC diagnostic ignored "-Wunreachable-code-return"... no checking for pragma GCC diagnostic ignored "-Wunreachable-code-return" (outside functions)... no checking for pragma GCC diagnostic ignored "-Wunreachable-code"... yes checking for pragma GCC diagnostic ignored "-Wunreachable-code" (outside functions)... yes checking for pragma GCC diagnostic ignored "-Wformat-overflow"... yes checking for pragma GCC diagnostic ignored "-Wformat-overflow" (outside functions)... yes checking for pragma GCC diagnostic ignored "-Wcovered-switch-default"... no checking for pragma GCC diagnostic ignored "-Wcovered-switch-default" (outside functions)... no checking for pragma GCC diagnostic ignored "-Wextra-semi-stmt"... no checking for pragma GCC diagnostic ignored "-Wextra-semi-stmt" (outside functions)... no checking for pragma GCC diagnostic ignored "-Wcast-align"... yes checking for pragma GCC diagnostic ignored "-Wcast-align" (outside functions)... yes checking for pragma GCC diagnostic ignored "-Wstrict-prototypes"... yes checking for pragma GCC diagnostic ignored "-Wstrict-prototypes" (outside functions)... yes checking for pragma GCC diagnostic ignored "-Wassign-enum"... no checking for pragma GCC diagnostic ignored "-Wassign-enum" (outside functions)... no checking for C++ pragma GCC diagnostic ignored "-Wc++98-compat-pedantic"... no checking for C++ pragma GCC diagnostic ignored "-Wc++98-compat-pedantic" (outside functions)... no checking for C++ pragma GCC diagnostic ignored "-Wc++98-compat"... no checking for C++ pragma GCC diagnostic ignored "-Wc++98-compat" (outside functions)... no checking for C++ pragma GCC diagnostic ignored "-Wglobal-constructors"... no checking for C++ pragma GCC diagnostic ignored "-Wglobal-constructors" (outside functions)... no checking for C++ pragma GCC diagnostic ignored "-Wexit-time-destructors"... no checking for C++ pragma GCC diagnostic ignored "-Wexit-time-destructors" (outside functions)... no checking for pragma BOGUSforTest... no checking for pragma BOGUSforTest (outside functions)... no checking for pragma GCC diagnostic ignored "-WBOGUSforTest"... no checking for pragma GCC diagnostic ignored "-WBOGUSforTest" (outside functions)... no checking for __attribute__((unused)) for function arguments... yes checking for __attribute__((unused)) for functions... yes checking for __attribute__((noreturn))... yes checking for at least some __attribute__ support... yes checking for practical support to pritnf("%s", NULL)... configure: WARNING: Current build is a cross-build, so not running test binaries, just linking them no checking for flock... yes checking for lockf... yes checking for fcvt... yes checking for fcvtl... no checking for pow10... yes checking for round... yes checking for abs_val... no checking for abs... yes checking for float.h... yes checking for math.h... yes checking for fabs... yes checking for fabsf... yes checking for fabsl... yes checking for limits.h... yes checking for signal.h... yes checking for sys/signal.h... yes checking for sys/resource.h... yes checking for struct rlimit and getrlimit()... ok checking for semaphore.h... yes checking for sem_t, sem_init() and sem_destroy()... ok checking for cfsetispeed... yes checking for tcsendbreak... yes checking for seteuid... yes checking for setsid... yes checking for getpassphrase... no checking for on_exit... no checking for strptime... yes checking for setlogmask... yes checking for aarch64-openwrt-linux-musl-gcc options needed to detect all undeclared functions... none needed checking whether LOG_UPTO is declared... yes configure: ----------------------------------------------------------------------- The next few tests look for required C library routines; if something is not found, you may need to enable a different C standard or extension macro version. You may also have to configure without extreme warning levels since autotools tests fail those on their own and assume system lacks stuff (although note we try to not involve standard -W* flags here). ----------------------------------------------------------------------- checking for strtok_r... yes checking for fileno... yes checking for localtime_r... yes checking for sigemptyset... yes checking for sigaction... yes checking for string.h... (cached) yes checking for strings.h... (cached) yes checking for strcasecmp(s1,s2)... configure: WARNING: Current build is a cross-build, so not running test binaries, just linking them yes checking for strncasecmp(s1,s2,n)... configure: WARNING: Current build is a cross-build, so not running test binaries, just linking them yes checking for strdup(s)... configure: WARNING: Current build is a cross-build, so not running test binaries, just linking them yes checking for usleep(us)... yes checking whether ln -sr works... yes checking for unsigned long long int... yes checking for vsnprintf... (cached) yes checking for snprintf... yes checking for setenv... yes checking for strerror... (cached) yes checking for atexit... yes checking whether optind is declared... yes checking for getopt.h... yes checking for getopt_long... yes checking whether uu_lock is declared... no checking whether __func__ is declared... yes checking for library containing gethostbyname... none required checking for library containing connect... none required checking for sys/modem.h... no checking for stdarg.h... yes checking for varargs.h... no checking for library containing pthread_create... none required checking for library containing pthread_tryjoin_np... none required checking for windows.h... no checking for winsock2.h... no checking for ws2tcpip.h... no checking for socklen_t... yes checking for sys/types.h... (cached) yes checking for sys/socket.h... (cached) yes checking for netdb.h... (cached) yes checking types of arguments for getnameinfo... const struct sockaddr *,socklen_t,socklen_t,int checking for python... python checking python interpeter to call... /usr/bin/env python checking for python2... python2 checking python2 interpeter to call... /usr/bin/env python2 checking for python3... python3 checking python3 interpeter to call... /usr/bin/env python3 checking which drivers to build... all available checking for --with-all... not given checking for libusb-1.0 version via pkg-config... 1.0.26 found checking for libusb(-0.1) version via pkg-config... 0.1.12 found checking for libusb-config... /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/host/bin/libusb-config checking via /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/host/bin/libusb-config... 0.1.12 found checking for libusb preferred version... 1.0.26 (libusb-1.0) checking for libusb cflags... -I/builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/libusb-1.0 checking for libusb ldflags... -L/builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/lib -lusb-1.0 checking for libusb.h... yes checking for libusb_init... yes checking for libusb_strerror... yes checking for libusb_kernel_driver_active... yes checking for libusb_set_auto_detach_kernel_driver... yes checking for libusb_detach_kernel_driver... yes checking for libusb_detach_kernel_driver_np... no checking for usb_detach_kernel_driver_np... no checking size of void *... (cached) 8 checking for net-snmp-config-64... no checking for net-snmp-config... /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/host/bin/net-snmp-config checking for Net-SNMP version via pkg-config... none found checking for Net-SNMP version via /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/host/bin/net-snmp-config... 5.9.1 found checking for Net-SNMP cflags... -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-12.2.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-12.2.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-12.2.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/libnl-tiny -I/builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include checking for Net-SNMP libs... -L/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-12.2.0_musl/usr/lib -L/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-12.2.0_musl/lib -znow -zrelro -L/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-12.2.0_musl/usr/lib -L/builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/lib -lnetsnmp checking for net-snmp/net-snmp-config.h... yes checking for init_snmp... yes checking for defined usmAESPrivProtocol... yes checking for defined usmAES128PrivProtocol... no checking for defined usmDESPrivProtocol... yes checking for defined usmHMAC256SHA384AuthProtocol... no checking for defined usmHMAC384SHA512AuthProtocol... no checking for defined usmHMAC192SHA256AuthProtocol... no checking for defined usmAES192PrivProtocol... no checking for defined usmAES256PrivProtocol... no checking for defined usmHMACMD5AuthProtocol... yes checking for defined usmHMACSHA1AuthProtocol... yes checking for defined NETSNMP_DRAFT_BLUMENTHAL_AES_04... no checking for libneon version via pkg-config (0.25.0 minimum required)... none found checking for libneon cflags... -I/usr/include/neon -I/usr/local/include/neon checking for libneon ldflags... -lneon checking for ne_xmlreq.h... no checking for ne_xml_dispatch_request... no checking for LLNC libpowerman version via pkg-config... 'none' found checking for libpowerman cflags... checking for libpowerman libs... checking for libpowerman.h... no checking for pm_connect... no checking for libmodbus version via pkg-config... 3.1.8 found checking for libmodbus cflags... -I/builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/modbus checking for libmodbus ldflags... -L/builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/lib -lmodbus checking for modbus.h... yes checking for modbus_new_rtu... yes checking for modbus_new_tcp... yes checking for modbus_set_byte_timeout... yes checking for modbus_set_response_timeout... yes checking types of arguments for modbus_set_byte_timeout... sec_usec_uint32_cast_timeval_fields Found types to use for modbus_set_byte_timeout: sec_usec_uint32_cast_timeval_fields checking for avahi-core version via pkg-config (0.6.30 minimum required)... 0.8 found checking for avahi-client version via pkg-config (0.6.30 minimum required)... 0.8 found checking for avahi cflags... -I/builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include -D_REENTRANT checking for avahi ldflags... -L/builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/lib -lavahi-core -lavahi-common -lavahi-client checking for avahi-common/malloc.h... yes checking for avahi_free... yes checking for avahi-client/client.h... yes checking for avahi_client_new... yes checking for sys/termios.h... no checking for termios.h... yes checking for struct termios and speed_t... ok checking whether we can build serial drivers... yes checking whether to build serial drivers... yes checking whether to build USB drivers... yes (libusb-1.0) configure: error: neon libraries not found, required for neon based XML/HTTP driver make[3]: *** [Makefile:568: /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/nut-2.8.0/.configured_90665ad482fe135a7d07a9417df484cd] Error 1 time: package/feeds/packages/nut/compile#59.48#9.02#88.65