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-i386_pentium4_musl/host/share/aclocal -I /builder/shared-workdir/build/sdk/staging_dir/hostpkg/share/aclocal -I /builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_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-i386_pentium4_musl/host/share/aclocal -I /builder/shared-workdir/build/sdk/staging_dir/hostpkg/share/aclocal -I /builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_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-i386_pentium4_musl/host/share/aclocal --include=/builder/shared-workdir/build/sdk/staging_dir/hostpkg/share/aclocal --include=/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/share/aclocal --include=m4 --include=. --prepend-include=/builder/shared-workdir/build/sdk/staging_dir/host/share/aclocal --force autom4te: error: /builder/shared-workdir/build/staging_dir/host/share/autoconf/autoconf/trailer.m4: no such file or directory autoreconf: error: /builder/shared-workdir/build/sdk/staging_dir/host/bin/autoconf failed with exit status: 1 configure: WARNING: unrecognized options: --disable-nls configure: loading site script /builder/shared-workdir/build/sdk/include/site/i386 Network UPS Tools version 2.8.0 checking build system type... x86_64-pc-linux-gnu checking host system type... i486-openwrt-linux-gnu checking target system type... i486-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 /bin/bash: /builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/nut-2.8.0/missing: No such file or directory configure: WARNING: 'missing' script is too old or missing checking for i486-openwrt-linux-strip... i486-openwrt-linux-musl-strip checking for a thread-safe 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 i486-openwrt-linux-gcc... i486-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 we are using the GNU C compiler... yes checking whether i486-openwrt-linux-musl-gcc accepts -g... yes checking for i486-openwrt-linux-musl-gcc option to accept ISO C89... none needed checking whether i486-openwrt-linux-musl-gcc understands -c and -o together... yes checking dependency style of i486-openwrt-linux-musl-gcc... none checking how to run the C preprocessor... i486-openwrt-linux-musl-gcc -E 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 ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes 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... i486-openwrt-linux-musl-gcc -E checking whether we are using the GNU C++ compiler... yes checking whether i486-openwrt-linux-musl-g++ accepts -g... yes checking dependency style of i486-openwrt-linux-musl-g++... none checking whether i486-openwrt-linux-musl-g++ understands -c and -o together... yes checking whether ln -s works... yes checking for egrep... (cached) /builder/shared-workdir/build/sdk/staging_dir/host/bin/grep -E checking for ar... (cached) i486-openwrt-linux-musl-gcc-ar checking for i486-openwrt-linux-ranlib... i486-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 float.h usability... yes checking float.h presence... yes checking for float.h... yes checking math.h usability... yes checking math.h presence... yes checking for math.h... yes checking for fabs... yes checking for fabsf... yes checking for fabsl... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking signal.h usability... yes checking signal.h presence... yes checking for signal.h... yes checking sys/signal.h usability... yes checking sys/signal.h presence... yes checking for sys/signal.h... yes checking sys/resource.h usability... yes checking sys/resource.h presence... yes checking for sys/resource.h... yes checking for struct rlimit and getrlimit()... ok checking semaphore.h usability... yes checking semaphore.h presence... yes 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 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/time.h... yes checking for time.h... yes checking for sys/types.h... (cached) yes checking for sys/socket.h... yes checking for netdb.h... yes 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-i386_pentium4_musl/host/bin/libusb-config checking via /builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_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-i386_pentium4_musl/usr/include/libusb-1.0 checking for libusb ldflags... -L/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_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) 4 checking for net-snmp-config-32... no checking for net-snmp-config... no checking for Net-SNMP version via pkg-config... none found checking for Net-SNMP cflags... checking for Net-SNMP libs... checking for net-snmp/net-snmp-config.h... no checking for init_snmp... no checking for libneon version via pkg-config (0.25.0 minimum required)... 0.32.4 found checking for libneon cflags... -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include/neon checking for libneon ldflags... -L/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/lib -lneon checking for ne_xmlreq.h... yes checking for ne_xml_dispatch_request... yes checking for ne_set_connect_timeout... yes checking for ne_sock_connect_timeout... yes 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... none found checking for libmodbus cflags... -I/usr/include/modbus checking for libmodbus ldflags... -lmodbus checking for modbus.h... no checking for modbus_new_rtu... no checking for modbus_new_tcp... no checking for modbus_set_byte_timeout... no checking for modbus_set_response_timeout... no checking for avahi-core version via pkg-config (0.6.30 minimum required)... none found checking for avahi-client version via pkg-config (0.6.30 minimum required)... none found checking for avahi cflags... -I/usr/local/include -I/usr/include -L/usr/local/lib -L/usr/lib checking for avahi ldflags... -lavahi-core -lavahi-client checking for avahi-common/malloc.h... no checking for avahi_free... no 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) checking whether to build neon based XML driver... yes checking whether to enable Avahi support... no checking whether to build Powerman PDU client driver... no checking whether to build Modbus driver... no checking whether to build IPMI driver... no checking whether to build Mac OS X meta-driver... no checking whether to build i2c based drivers... no checking whether to enable SSL support... no checking whether to enable libwrap (tcp-wrappers) support... no checking whether to enable libltdl (Libtool dlopen abstraction) support... no checking for gd version via pkg-config... 2.3.3 found checking for gd include flags... -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include/freetype2 -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include/libpng16 checking for gd library flags... -L/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/lib -lgd checking for gd.h... yes checking for gdfontmb.h... yes checking for library containing gdImagePng... none required checking whether to build CGI programs... yes checking for cppcheck... no checking if cppcheck version is okay (minimum required 1.0)... no checking whether to run NIT among default make check target... no checking for asciidoc... no checking for a2x... no checking for dblatex... no checking for xsltproc... /builder/shared-workdir/build/sdk/staging_dir/hostpkg/bin/xsltproc checking for xsltproc version... 21003 found checking for xmllint... no checking for source-highlight... no checking for aspell... no checking if asciidoc version can build manpages (minimum required 8.6.3)... no checking if a2x version can build manpages (minimum required 8.6.3)... no checking if xsltproc is present (mandatory for man page regeneration)... yes checking if xmllint is present (mandatory for man page regeneration)... no checking if we have all the tools mandatory for man page regeneration... no checking if source-highlight is present (preferable for documentation generation)... no checking whether to build and install documentation... no checking whether to build specific documentation format(s)... no checking how to print strings... printf checking for a sed that does not truncate output... /builder/shared-workdir/build/sdk/staging_dir/host/bin/sed checking for fgrep... /builder/shared-workdir/build/sdk/staging_dir/host/bin/grep -F checking for ld used by i486-openwrt-linux-musl-gcc... i486-openwrt-linux-musl-ld checking if the linker (i486-openwrt-linux-musl-ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... i486-openwrt-linux-musl-gcc-nm checking the name lister (i486-openwrt-linux-musl-gcc-nm) interface... BSD nm checking the maximum length of command line arguments... 1572864 checking how to convert x86_64-pc-linux-gnu file names to i486-openwrt-linux-gnu format... func_convert_file_noop checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop checking for i486-openwrt-linux-musl-ld option to reload object files... -r checking for i486-openwrt-linux-objdump... i486-openwrt-linux-musl-objdump checking how to recognize dependent libraries... pass_all checking for i486-openwrt-linux-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for i486-openwrt-linux-ar... i486-openwrt-linux-musl-gcc-ar checking for archiver @FILE support... @ checking for i486-openwrt-linux-strip... (cached) i486-openwrt-linux-musl-strip checking for i486-openwrt-linux-ranlib... (cached) i486-openwrt-linux-musl-gcc-ranlib checking command to parse i486-openwrt-linux-musl-gcc-nm output from i486-openwrt-linux-musl-gcc object... ok checking for sysroot... no checking for a working dd... /bin/dd checking how to truncate binary pipes... /bin/dd bs=4096 count=1 checking for i486-openwrt-linux-mt... no checking for mt... no checking if : is a manifest tool... no checking for dlfcn.h... yes checking for objdir... .libs checking if i486-openwrt-linux-musl-gcc supports -fno-rtti -fno-exceptions... no checking for i486-openwrt-linux-musl-gcc option to produce PIC... -fPIC -DPIC checking if i486-openwrt-linux-musl-gcc PIC flag -fPIC -DPIC works... yes checking if i486-openwrt-linux-musl-gcc static flag -static works... yes checking if i486-openwrt-linux-musl-gcc supports -c -o file.o... yes checking if i486-openwrt-linux-musl-gcc supports -c -o file.o... (cached) yes checking whether the i486-openwrt-linux-musl-gcc linker (i486-openwrt-linux-musl-ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking how to run the C++ preprocessor... i486-openwrt-linux-musl-g++ -E checking for ld used by i486-openwrt-linux-musl-g++... i486-openwrt-linux-musl-ld checking if the linker (i486-openwrt-linux-musl-ld) is GNU ld... yes checking whether the i486-openwrt-linux-musl-g++ linker (i486-openwrt-linux-musl-ld) supports shared libraries... yes checking for i486-openwrt-linux-musl-g++ option to produce PIC... -fPIC -DPIC checking if i486-openwrt-linux-musl-g++ PIC flag -fPIC -DPIC works... yes checking if i486-openwrt-linux-musl-g++ static flag -static works... yes checking if i486-openwrt-linux-musl-g++ supports -c -o file.o... yes checking if i486-openwrt-linux-musl-g++ supports -c -o file.o... (cached) yes checking whether the i486-openwrt-linux-musl-g++ linker (i486-openwrt-linux-musl-ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether to build and install the development files... yes checking state path... /var/run/nut checking alt pid path... /var/run/nut checking driver path... /lib/nut checking cgi path... ${exec_prefix}/cgi-bin checking html path... ${prefix}/html checking pidpath... /var/run checking network port number... 3493 checking user to run as... root checking group membership of user to run as... root checking facility for syslog... LOG_DAEMON checking which driver man pages to install... none (manpages disabled) checking whether to strip debug symbols... no checking whether to install pkg-config *.pc files... using ${libdir}/pkgconfig checking whether to install Solaris SMF files... no checking whether to make Solaris SVR4 packages... no checking whether to make Solaris IPS packages... no checking whether to install systemd unit files... no checking whether to install systemd shutdown files... no checking whether to install systemd tmpfiles files... no checking for C++11 support in current compiler... yes, out of the box checking for have_cppunit... checking for cppunit... no configure: WARNING: libcppunit not found - those C++ tests will not be built. no no checking for impact from --enable-cppunit option - should we build cppunit tests?... no checking whether to install Augeas configuration-management lenses... no checking for augparse... no checking whether to enable Augeas configuration-management lenses tests... no checking whether to install hotplug rules... using /etc/hotplug checking whether to install udev rules... using /lib/udev checking whether to install FreeBSD devd.conf file... no checking for valgrind... no checking whether valgrind is usable on current platform... no checking whether to use valgrind for memory-leak testing... no checking whether to build cppunit tests using valgrind support... no checking whether to build SNMP drivers... no checking whether to pre-set warnings (from 'auto')... "gcc-medium" checking whether to make warnings fatal... "no" checking for string.h... (cached) yes checking whether we should disable string built-ins... no, they are not a problem checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking whether we should disable htonl/ntohl built-ins... no, they are not a problem configure: Applying back the stashed CFLAGS warnings configure: Ended up with: '-isystem /usr/local/include -Os -pipe -march=pentium4 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/nut-2.8.0=nut-2.8.0 -fstack-protector -D_FORTIFY_SOURCE=1 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -Wformat -Werror=format-security -Wl,-z,now -Wl,-z,relro' configure: Applying back the stashed CXXFLAGS warnings configure: Ended up with: '-isystem /usr/local/include -Os -pipe -march=pentium4 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/nut-2.8.0=nut-2.8.0 -fstack-protector -D_FORTIFY_SOURCE=1 -std=c++98 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu++11 -Wno-system-headers -Wall -Wextra -Wno-error -Wformat -Werror=format-security -Wl,-z,now -Wl,-z,relro' checking for top build dir for this configure run... "/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/nut-2.8.0" checking whether to customize /builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/nut-2.8.0/scripts/systemd/nut-common.tmpfiles.in for this system... done configure: Generating "data" files from templates, see below for executable scripts configure: Generating templated script files that should be marked executable configure: Generating templated script files whose templates might have been generated (or not) by autogen.sh calling our helper scripts checking whether to generate scripts/augeas/nutupsconf.aug... yes checking whether to generate scripts/udev/nut-usbups.rules... yes checking whether to generate scripts/devd/nut-usb.conf... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating clients/Makefile config.status: creating common/Makefile config.status: creating conf/Makefile config.status: creating conf/upsmon.conf.sample config.status: creating conf/upssched.conf.sample config.status: creating data/html/header.html config.status: creating data/html/Makefile config.status: creating data/Makefile config.status: creating data/driver.list config.status: creating docs/Makefile config.status: creating docs/cables/Makefile config.status: creating docs/docinfo.xml config.status: creating docs/man/Makefile config.status: creating drivers/Makefile config.status: creating include/Makefile config.status: creating lib/libupsclient-config config.status: creating lib/libupsclient.pc config.status: creating lib/libnutclient.pc config.status: creating lib/libnutclientstub.pc config.status: creating lib/libnutscan.pc config.status: creating lib/Makefile config.status: creating scripts/Aix/nut-aix.spec config.status: creating scripts/augeas/Makefile config.status: creating scripts/augeas/nutnutconf.aug config.status: creating scripts/augeas/nutupsdconf.aug config.status: creating scripts/augeas/nutupsdusers.aug config.status: creating scripts/augeas/nutupsmonconf.aug config.status: creating scripts/augeas/nutupsschedconf.aug config.status: creating scripts/augeas/nuthostsconf.aug config.status: creating scripts/augeas/nutupssetconf.aug config.status: creating scripts/avahi/nut.service config.status: creating scripts/devd/Makefile config.status: creating scripts/hotplug/Makefile config.status: creating scripts/hotplug/libhidups config.status: creating scripts/HP-UX/nut.psf config.status: creating scripts/python/Makefile config.status: creating scripts/python/module/PyNUT.py config.status: creating scripts/upsdrvsvcctl/Makefile config.status: creating scripts/systemd/Makefile config.status: creating scripts/systemd/nut-common.tmpfiles config.status: creating scripts/systemd/nut-driver@.service config.status: creating scripts/systemd/nut-monitor.service config.status: creating scripts/systemd/nut-server.service config.status: creating scripts/systemd/nut-driver-enumerator.service config.status: creating scripts/systemd/nut-driver-enumerator.path config.status: creating scripts/Solaris/nut-driver-enumerator.xml config.status: creating scripts/Solaris/nut-driver.xml config.status: creating scripts/Solaris/nut-monitor.xml config.status: creating scripts/Solaris/nut-server.xml config.status: creating scripts/Solaris/nut.xml config.status: creating scripts/Solaris/Makefile config.status: creating scripts/Solaris/pkginfo config.status: creating scripts/udev/Makefile config.status: creating scripts/udev/nut-ipmipsu.rules config.status: creating scripts/ufw/Makefile config.status: creating scripts/ufw/nut.ufw.profile config.status: creating scripts/Makefile config.status: creating server/Makefile config.status: creating tools/Makefile config.status: creating tools/nut-scanner/Makefile config.status: creating tests/Makefile config.status: creating tests/NIT/Makefile config.status: creating Makefile config.status: creating scripts/Aix/nut.init config.status: creating scripts/HP-UX/postinstall config.status: creating scripts/python/app/NUT-Monitor-py2gtk2 config.status: creating scripts/python/app/NUT-Monitor-py3qt5 config.status: creating scripts/augeas/gen-nutupsconf-aug.py config.status: creating scripts/python/module/test_nutclient.py config.status: creating scripts/upsdrvsvcctl/nut-driver-enumerator.sh config.status: creating scripts/upsdrvsvcctl/upsdrvsvcctl config.status: creating scripts/systemd/nutshutdown config.status: creating scripts/Solaris/svc-nut-server config.status: creating scripts/Solaris/svc-nut-monitor config.status: creating scripts/Solaris/precheck.py config.status: creating scripts/Solaris/preinstall config.status: creating scripts/Solaris/postinstall config.status: creating scripts/Solaris/preremove config.status: creating scripts/Solaris/postremove config.status: creating scripts/Solaris/preproto.pl config.status: creating scripts/Solaris/nut config.status: creating tools/gitlog2changelog.py config.status: creating tools/nut-snmpinfo.py config.status: creating scripts/augeas/nutupsconf.aug config.status: creating scripts/udev/nut-usbups.rules config.status: creating scripts/devd/nut-usb.conf config.status: creating include/config.h config.status: executing depfiles commands config.status: executing libtool commands configure: WARNING: unrecognized options: --disable-nls Configuration summary: ====================== build serial drivers: yes build USB drivers: yes (libusb-1.0) build neon based XML driver: yes enable Avahi support: no build Powerman PDU client driver: no build Modbus driver: no build IPMI driver: no build Mac OS X meta-driver: no build i2c based drivers: no enable SSL support: no enable libwrap (tcp-wrappers) support: no enable libltdl (Libtool dlopen abstraction) support: no build nut-scanner: no build CGI programs: yes build and install documentation: no build specific documentation format(s): no build and install the development files: yes build SNMP drivers: no ------------------ Compiler settings: CC :i486-openwrt-linux-musl-gcc CFLAGS :-isystem /usr/local/include -Os -pipe -march=pentium4 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/nut-2.8.0=nut-2.8.0 -fstack-protector -D_FORTIFY_SOURCE=1 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -Wformat -Werror=format-security -Wl,-z,now -Wl,-z,relro CXX :i486-openwrt-linux-musl-g++ CXXFLAGS :-isystem /usr/local/include -Os -pipe -march=pentium4 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/nut-2.8.0=nut-2.8.0 -fstack-protector -D_FORTIFY_SOURCE=1 -std=c++98 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu++11 -Wno-system-headers -Wall -Wextra -Wno-error -Wformat -Werror=format-security -Wl,-z,now -Wl,-z,relro CPP :i486-openwrt-linux-musl-gcc -E CPPFLAGS : -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.2.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.2.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.2.0_musl/include make[4]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/nut-2.8.0' Making all in include make[5]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/nut-2.8.0/include' NUT_VERSION: "2.8.0" test -f "nut_version.h" || cp "nut_version.h.tmp" "nut_version.h" cmp -s "nut_version.h.tmp" "nut_version.h" || cp "nut_version.h.tmp" "nut_version.h" rm -f "nut_version.h.tmp" make all-am make[6]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/nut-2.8.0/include' make[6]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/nut-2.8.0/include' make[5]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/nut-2.8.0/include' Making all in common make[5]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/nut-2.8.0/common' make all-am make[6]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/nut-2.8.0/common' /bin/bash ../libtool --tag=CC --mode=compile i486-openwrt-linux-musl-gcc -DHAVE_CONFIG_H -I. -I../include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.2.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.2.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.2.0_musl/include -I../include -isystem /usr/local/include -Os -pipe -march=pentium4 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/nut-2.8.0=nut-2.8.0 -fstack-protector -D_FORTIFY_SOURCE=1 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -Wformat -Werror=format-security -Wl,-z,now -Wl,-z,relro -c -o parseconf.lo parseconf.c libtool: Version mismatch error. This is libtool 2.4.7, but the libtool: definition of this LT_INIT comes from libtool 2.4.6. libtool: You should recreate aclocal.m4 with macros from libtool 2.4.7 libtool: and run autoconf again. make[6]: *** [Makefile:556: parseconf.lo] Error 63 make[6]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/nut-2.8.0/common' make[5]: *** [Makefile:458: all] Error 2 make[5]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/nut-2.8.0/common' make[4]: *** [Makefile:633: all-recursive] Error 1 make[4]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/nut-2.8.0' make[3]: *** [Makefile:567: /builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/nut-2.8.0/.built] Error 2 time: package/feeds/packages/nut/compile#45.56#11.79#82.12