D: [iurt_root_command] chroot
warning: Found bdb_ro Packages database while attempting sqlite backend: using bdb_ro backend.
Installing /home/iurt/rpmbuild/SRPMS/nut-2.7.4-6.mga9.src.rpm
Building target platforms: aarch64
Building for target aarch64
Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.7VX59j
+ umask 022
+ cd /home/iurt/rpmbuild/BUILD
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ cd /home/iurt/rpmbuild/BUILD
+ rm -rf nut-2.7.4
+ /usr/bin/gzip -dc /home/iurt/rpmbuild/SOURCES/nut-2.7.4.tar.gz
+ /usr/bin/tar -xof -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd nut-2.7.4
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ echo 'Patch #90 (nut-upsset.conf.diff):'
Patch #90 (nut-upsset.conf.diff):
+ /usr/bin/patch --no-backup-if-mismatch -f -p0 -b --suffix .upsset.conf --fuzz=0
patching file conf/upsset.conf.sample
+ echo 'Patch #91 (nut-mdv_conf.diff):'
Patch #91 (nut-mdv_conf.diff):
+ /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .mdv_conf --fuzz=0
patching file conf/upsmon.conf.sample.in
Hunk #2 succeeded at 263 (offset 3 lines).
patching file conf/upssched.conf.sample.in
+ echo 'Patch #92 (nut-mageia-add.patch):'
Patch #92 (nut-mageia-add.patch):
+ /usr/bin/patch --no-backup-if-mismatch -f -p0 --fuzz=0
patching file configure
Hunk #1 succeeded at 2873 (offset -28 lines).
Hunk #2 succeeded at 2929 (offset -26 lines).
+ echo 'Patch #93 (nut-2.6.5-service_default.patch):'
Patch #93 (nut-2.6.5-service_default.patch):
+ /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .service_default --fuzz=0
patching file scripts/systemd/nut-driver.service.in
+ echo 'Patch #94 (nut-2.7.4-fixbuild.patch):'
Patch #94 (nut-2.7.4-fixbuild.patch):
+ /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .fixbuild --fuzz=0
patching file tools/nut-scanner/Makefile.am
+ echo 'Patch #1 (nut-2.6.3-tmpfiles.patch):'
Patch #1 (nut-2.6.3-tmpfiles.patch):
+ /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0
patching file scripts/systemd/nut-driver.service.in
patching file scripts/systemd/nut-monitor.service.in
+ echo 'Patch #3 (nut-2.6.5-quickfix.patch):'
Patch #3 (nut-2.6.5-quickfix.patch):
+ /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0
patching file configure.ac
+ echo 'Patch #5 (nut-2.6.5-dlfix.patch):'
Patch #5 (nut-2.6.5-dlfix.patch):
+ /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0
patching file tools/nut-scanner/scan_xml_http.c
+ perl -pi -e 's|/cgi-bin/nut/||g' data/html/bottom.html data/html/header.html.in data/html/index.html
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%build): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.w5j6UV
+ umask 022
+ cd /home/iurt/rpmbuild/BUILD
+ cd nut-2.7.4
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ export 'CFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables'
+ CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables'
+ export 'CXXFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables'
+ CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables'
+ export 'RPM_OPT_FLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables'
+ RPM_OPT_FLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables'
+ autoreconf -i
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, '.'.
libtoolize: copying file './ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize: copying file 'm4/libtool.m4'
libtoolize: copying file 'm4/ltoptions.m4'
libtoolize: copying file 'm4/ltversion.m4'
configure.ac:11: warning: The macro `AC_CANONICAL_SYSTEM' is obsolete.
configure.ac:11: You should run autoupdate.
./lib/autoconf/general.m4:2081: AC_CANONICAL_SYSTEM is expanded from...
configure.ac:11: the top level
configure.ac:13: warning: The macro `AC_CONFIG_HEADER' is obsolete.
configure.ac:13: You should run autoupdate.
./lib/autoconf/status.m4:719: AC_CONFIG_HEADER is expanded from...
configure.ac:13: the top level
configure.ac:210: warning: The macro `AC_HEADER_TIME' is obsolete.
configure.ac:210: You should run autoupdate.
./lib/autoconf/headers.m4:743: AC_HEADER_TIME is expanded from...
configure.ac:210: the top level
configure.ac:220: warning: The macro `AC_TRY_COMPILE' is obsolete.
configure.ac:220: You should run autoupdate.
./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from...
lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from...
lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from...
lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from...
lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
./lib/autoconf/types.m4:149: _AC_CHECK_TYPE_NEW is expanded from...
./lib/autoconf/types.m4:233: AC_CHECK_TYPE is expanded from...
m4/nut_type_socklen_t.m4:8: NUT_TYPE_SOCKLEN_T is expanded from...
configure.ac:220: the top level
configure.ac:254: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:254: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
m4/nut_arg_with.m4:3: NUT_ARG_WITH is expanded from...
configure.ac:254: the top level
configure.ac:255: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:255: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
m4/nut_arg_with.m4:3: NUT_ARG_WITH is expanded from...
configure.ac:255: the top level
configure.ac:256: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:256: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
m4/nut_arg_with.m4:3: NUT_ARG_WITH is expanded from...
configure.ac:256: the top level
configure.ac:257: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:257: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
m4/nut_arg_with.m4:3: NUT_ARG_WITH is expanded from...
configure.ac:257: the top level
configure.ac:258: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:258: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
m4/nut_arg_with.m4:3: NUT_ARG_WITH is expanded from...
configure.ac:258: the top level
configure.ac:269: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:269: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
m4/nut_arg_with.m4:3: NUT_ARG_WITH is expanded from...
configure.ac:269: the top level
configure.ac:271: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:271: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
m4/nut_arg_with.m4:3: NUT_ARG_WITH is expanded from...
configure.ac:271: the top level
configure.ac:273: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:273: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
m4/nut_arg_with.m4:3: NUT_ARG_WITH is expanded from...
configure.ac:273: the top level
configure.ac:391: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:391: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
m4/nut_arg_with.m4:3: NUT_ARG_WITH is expanded from...
configure.ac:391: the top level
configure.ac:392: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:392: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
m4/nut_arg_with.m4:3: NUT_ARG_WITH is expanded from...
configure.ac:392: the top level
configure.ac:458: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:458: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
m4/nut_arg_with.m4:3: NUT_ARG_WITH is expanded from...
configure.ac:458: the top level
configure.ac:474: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:474: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
m4/nut_arg_with.m4:3: NUT_ARG_WITH is expanded from...
configure.ac:474: the top level
configure.ac:507: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:507: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
m4/nut_arg_with.m4:3: NUT_ARG_WITH is expanded from...
configure.ac:507: the top level
configure.ac:508: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:508: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
m4/nut_arg_with.m4:3: NUT_ARG_WITH is expanded from...
configure.ac:508: the top level
configure.ac:509: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:509: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
m4/nut_arg_with.m4:3: NUT_ARG_WITH is expanded from...
configure.ac:509: the top level
configure.ac:555: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:555: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
m4/nut_arg_with.m4:3: NUT_ARG_WITH is expanded from...
configure.ac:555: the top level
configure.ac:578: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:578: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
m4/nut_arg_with.m4:3: NUT_ARG_WITH is expanded from...
configure.ac:578: the top level
configure.ac:604: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:604: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
m4/nut_arg_with.m4:3: NUT_ARG_WITH is expanded from...
configure.ac:604: the top level
configure.ac:757: warning: The macro `AC_PROG_LIBTOOL' is obsolete.
configure.ac:757: You should run autoupdate.
m4/libtool.m4:99: AC_PROG_LIBTOOL is expanded from...
configure.ac:757: the top level
configure.ac:1268: warning: AC_OUTPUT should be used without arguments.
configure.ac:1268: You should run autoupdate.
+ CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables'
+ export CFLAGS
+ CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables'
+ export CXXFLAGS
+ FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables '
+ export FFLAGS
+ FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables '
+ export FCFLAGS
+ LDFLAGS=' -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags'
+ export LDFLAGS
+ LT_SYS_LIBRARY_PATH=/usr/lib64:
+ export LT_SYS_LIBRARY_PATH
+ CONFIGURE_TOP=.
+ '[' 1 = 1 ']'
++ find . -name config.guess -o -name config.sub
+ for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub)
++ basename ./config.sub
+ '[' -f /usr/lib/rpm/mageia/config.sub ']'
++ basename ./config.sub
+ cp -af /usr/lib/rpm/mageia/config.sub ./config.sub
+ for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub)
++ basename ./config.guess
+ '[' -f /usr/lib/rpm/mageia/config.guess ']'
++ basename ./config.guess
+ cp -af /usr/lib/rpm/mageia/config.guess ./config.guess
+ /usr/lib/rpm/mageia/force-as-needed-for-shared-lib-in-libtool
Forcing -Wl,--as-needed in configure/libtool to workaround libtool bug (cf http://lists.gnu.org/archive/html/libtool-patches/2004-06/msg00002.html)
+ /usr/lib/rpm/mageia/drop-ld-no-undefined-for-shared-lib-modules-in-libtool
Modifying ltmain.sh underlinking for plugins (cf http://wiki.mandriva.com/en/Underlinking)
+ /usr/lib/rpm/mageia/fix-libtool-ltmain-from-overlinking
Fixing libtool's ltmain.sh to prevent overlinking (cf http://wiki.mandriva.com/en/Overlinking)
+ /usr/lib/rpm/mageia/fix-libtool-from-moving-options-after-libs .
+ /usr/lib/rpm/mageia/fix-dlsearch-path-in-libtool-for-multilib . lib64
+ ./configure --host=aarch64-mageia-linux-gnu --build=aarch64-mageia-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-all --with-libltdl --without-hal --with-cgi --disable-static --sysconfdir=/etc/ups --with-neon --with-statepath=/var/state/ups --with-drvpath=/sbin --with-cgipath=/usr/lib64/nut --with-htmlpath=/usr/lib64/nut --with-pidpath=/run/nut --with-port=3493 --with-user=ups --with-group=ups --with-systemdsystemunitdir=/usr/lib/systemd/system --with-pkgconfig-dir=/usr/lib64/pkgconfig --with-udev-dir=/usr/lib/udev
configure: WARNING: unrecognized options: --without-hal
Network UPS Tools version 2.7.4
checking build system type... aarch64-mageia-linux-gnu
checking host system type... aarch64-mageia-linux-gnu
checking target system type... aarch64-mageia-linux-gnu
checking for host system name... mageia
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a race-free mkdir -p... /usr/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-mageia-linux-gnu-gcc... no
checking for gcc... 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... no
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether gcc accepts -g... yes
checking for gcc option to enable C11 features... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of 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 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 for aarch64-mageia-linux-gnu-gcc... gcc
checking whether the compiler supports GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to enable C11 features... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking dependency style of gcc... (cached) none
checking how to run the C preprocessor... gcc -E
checking for aarch64-mageia-linux-gnu-g++... no
checking for aarch64-mageia-linux-gnu-c++... no
checking for aarch64-mageia-linux-gnu-gpp... no
checking for aarch64-mageia-linux-gnu-aCC... no
checking for aarch64-mageia-linux-gnu-CC... no
checking for aarch64-mageia-linux-gnu-cxx... no
checking for aarch64-mageia-linux-gnu-cc++... no
checking for aarch64-mageia-linux-gnu-cl.exe... no
checking for aarch64-mageia-linux-gnu-FCC... no
checking for aarch64-mageia-linux-gnu-KCC... no
checking for aarch64-mageia-linux-gnu-RCC... no
checking for aarch64-mageia-linux-gnu-xlC_r... no
checking for aarch64-mageia-linux-gnu-xlC... no
checking for aarch64-mageia-linux-gnu-clang++... no
checking for g++... g++
checking whether the compiler supports GNU C++... yes
checking whether g++ accepts -g... yes
checking for g++ option to enable C++11 features... none needed
checking dependency style of g++... none
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ar... /usr/bin/ar
checking for aarch64-mageia-linux-gnu-ranlib... no
checking for ranlib... ranlib
checking whether byte ordering is bigendian... no
checking for inline... inline
checking for flexible array members... yes
checking for variable-length arrays... yes
checking for flock... yes
checking for lockf... yes
checking for fcvt... yes
checking for fcvtl... no
checking for cfsetispeed... yes
checking for tcsendbreak... yes
checking for seteuid... yes
checking for setsid... yes
checking for getpassphrase... no
checking for on_exit... yes
checking for strptime... yes
checking for setlogmask... yes
checking for gcc options needed to detect all undeclared functions... none needed
checking whether LOG_UPTO is declared... yes
checking for unsigned long long int... yes
checking for vsnprintf... yes
checking for snprintf... yes
checking for setenv... yes
checking for strerror... yes
checking for atexit... yes
checking for aarch64-mageia-linux-gnu-pkg-config... /usr/bin/aarch64-mageia-linux-gnu-pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for CPPUNIT... no
configure: WARNING: libcppunit not found.
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 sys/termios.h... yes
checking for sys/time.h... (cached) yes
checking for library containing pthread_create... none required
checking for socklen_t... yes
checking for --with-all... "yes"
checking for Net-SNMP version via net-snmp-config... 5.9.1 found
checking for Net-SNMP cflags... -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -fPIE -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -O2 -g -pipe -Wformat -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -fPIE -Ulinux -Dlinux=linux -D_REENTRANT -D_GNU_SOURCE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fwrapv -fno-strict-aliasing -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib64/perl5/CORE -DHAVE_ERR_GET_ERROR_ALL -I/usr/include
checking for Net-SNMP libs... -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -lm -L/usr/lib64 -lnetsnmp -lm -lssl -lssl -lcrypto
checking for net-snmp/net-snmp-config.h... yes
checking for init_snmp... yes
checking for libusb version via pkg-config... 0.1.12 found
checking for libusb cflags... -I/usr/include/libusb-1.0 
checking for libusb ldflags... -lusb 
checking for usb.h... yes
checking for usb_init... yes
checking for usb_detach_kernel_driver_np... yes
checking for libneon version via pkg-config (0.25.0 minimum required)... 0.31.2 found
checking for libneon cflags... -I/usr/include/neon 
checking for libneon ldflags... -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 libpowerman cflags... 
checking for libpowerman libs... -lpowerman 
checking for libpowerman.h... yes
checking for pm_connect... yes
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... -D_REENTRANT 
checking for avahi ldflags... -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 whether to build serial drivers... yes 
checking whether to build USB drivers... yes 
checking whether to build SNMP drivers... yes 
checking whether to build neon based XML driver... yes 
checking whether to enable Avahi support... yes 
checking whether to build Powerman PDU client driver... yes 
checking for FreeIPMI version via pkg-config... 1.6.5 found
checking for FreeIPMI cflags... 
checking for FreeIPMI ldflags... -lfreeipmi -lipmimonitoring 
checking for freeipmi/freeipmi.h... yes
checking for ipmi_monitoring.h... yes
checking for library containing ipmi_ctx_create... none required
checking for library containing ipmi_ctx_find_inband... none required
checking for library containing ipmi_monitoring_init... none required
checking for library containing ipmi_monitoring_sensor_read_record_id... none required
checking for library containing ipmi_sdr_cache_ctx_destroy... no
checking for library containing ipmi_sdr_ctx_destroy... none required
checking whether to build IPMI driver... yes (FreeIPMI)
checking whether to build Mac OS X meta-driver... no 
checking whether i2c_smbus_read_word_data is declared... no
checking whether i2c_smbus_write_word_data is declared... no
checking whether i2c_smbus_read_block_data is declared... no
checking whether to build i2c based drivers... no 
checking for OpenSSL version via pkg-config... 3.0.0 found
checking for OpenSSL cflags... 
checking for OpenSSL ldflags... -lssl -lcrypto 
checking for openssl/ssl.h... yes
checking for SSL_library_init... no
checking for Mozilla NSS version via pkg-config... none found
checking for Mozilla NSS cflags... 
checking for Mozilla NSS ldflags... -lnss3 -lnssutil3 -lsmime3 -lssl3 -lplds4 -lplc4 -lnspr4
checking for NSS_Init... no
checking for nss.h... yes
checking for ssl.h... no
configure: WARNING: "Mozilla NSS and OpenSSL neither found, required for SSL support"
checking whether to enable SSL support... no 
checking for tcpd.h... yes
checking for library containing yp_get_default_domain... -lnsl
checking for library containing request_init... -lwrap
checking whether to enable libwrap (tcp-wrappers) support... yes 
checking for libltdl cflags... -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -Wall -Wsign-compare
checking for libltdl ldflags... 
checking for ltdl.h... yes
checking for library containing lt_dlinit... -lltdl
checking whether to enable libltdl (Libtool dlopen abstraction) support... yes 
checking for gd version via gdlib-config... none found
checking for gd include flags... 
checking for gd library flags... -L/usr/X11R6/lib -lgd -lpng -lz -ljpeg -lfreetype -lm -lXpm -lX11
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 asciidoc... no
checking for a2x... no
checking for dblatex... no
checking for xsltproc... /usr/bin/xsltproc
checking for xsltproc version... 20910 found
checking for xmllint... /usr/bin/xmllint
checking for xmllint version...  found
checking for source-highlight... /usr/bin/source-highlight
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)... yes
checking if source-highlight is present (preferable for documentation generation)... yes
checking whether to build and install documentation... no 
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert aarch64-mageia-linux-gnu file names to aarch64-mageia-linux-gnu format... func_convert_file_noop
checking how to convert aarch64-mageia-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for aarch64-mageia-linux-gnu-objdump... no
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for aarch64-mageia-linux-gnu-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for aarch64-mageia-linux-gnu-ar... /usr/bin/ar
checking for archiver @FILE support... @
checking for aarch64-mageia-linux-gnu-strip... no
checking for strip... strip
checking for aarch64-mageia-linux-gnu-ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /usr/bin/dd
checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
checking for aarch64-mageia-linux-gnu-mt... no
checking for mt... no
checking if : is a manifest tool... no
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/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... no
checking how to run the C++ preprocessor... g++ -E
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... no
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/bin/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/state/ups
checking alt pid path... /var/state/ups
checking driver path... /sbin
checking cgi path... /usr/lib64/nut
checking html path... /usr/lib64/nut
checking pidpath... /run/nut
checking network port number... 3493
checking user to run as... ups
checking group membership of user to run as... ups
checking facility for syslog... LOG_DAEMON
checking which drivers to build... all available
checking which driver man pages to install... all available
checking whether to strip debug symbols... no
checking whether to install pkg-config *.pc files... using /usr/lib64/pkgconfig
checking for aarch64-mageia-linux-gnu-pkg-config... (cached) /usr/bin/aarch64-mageia-linux-gnu-pkg-config
checking pkg-config is at least version 0.9.0... yes
checking whether to install systemd files... using /usr/lib/systemd/system
checking whether to install hotplug rules... no
checking whether to install udev rules... using /usr/lib/udev
checking whether to install FreeBSD devd.conf file... no
checking for asciidoc... no
checking for a2x... no
checking for aspell... no
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/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/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/nutupsconf.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/devd/nut-usb.conf
config.status: creating scripts/hotplug/Makefile
config.status: creating scripts/hotplug/libhidups
config.status: creating scripts/HP-UX/nut.psf
config.status: creating scripts/HP-UX/postinstall
config.status: creating scripts/python/Makefile
config.status: creating scripts/systemd/Makefile
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/nutshutdown
config.status: creating scripts/Solaris/Makefile
config.status: creating scripts/Solaris/pkginfo
config.status: creating scripts/Solaris/postinstall
config.status: creating scripts/Solaris/preremove
config.status: creating scripts/Solaris/nut
config.status: creating scripts/udev/Makefile
config.status: creating scripts/udev/nut-ipmipsu.rules
config.status: creating scripts/udev/nut-usbups.rules
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 Makefile
config.status: creating include/config.h
config.status: executing depfiles commands
config.status: executing libtool commands
configure: WARNING: unrecognized options: --without-hal

Configuration summary:
======================
build serial drivers: yes 
build USB drivers: yes 
build SNMP drivers: yes 
build neon based XML driver: yes 
enable Avahi support: yes 
build Powerman PDU client driver: yes 
build IPMI driver: yes (FreeIPMI)
build Mac OS X meta-driver: no 
build i2c based drivers: no 
enable SSL support: no 
enable libwrap (tcp-wrappers) support: yes 
enable libltdl (Libtool dlopen abstraction) support: yes 
build nut-scanner: yes
build CGI programs: yes 
build and install documentation: no 
build and install the development files: yes 
+ /home/iurt/rpmbuild/SOURCES/libs.sh
+ /usr/bin/make -O -j8 V=1 VERBOSE=1
Making all in include
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/nut-2.7.4/include'
NUT_VERSION: "2.7.4"
test -f nut_version.h || cp _nut_version.h nut_version.h
cmp -s _nut_version.h nut_version.h || cp _nut_version.h nut_version.h
rm -f _nut_version.h
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/nut-2.7.4/include'
/usr/bin/make  all-am
make[2]: Nothing to be done for 'all-am'.
Making all in common
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/nut-2.7.4/common'
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../include    -I../include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -Wall -Wsign-compare -c -o upsconf.lo upsconf.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../include -I../include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -Wall -Wsign-compare -c upsconf.c  -fPIC -DPIC -o .libs/upsconf.o
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/nut-2.7.4/common'
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/nut-2.7.4/common'
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../include    -I../include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -Wall -Wsign-compare -c -o parseconf.lo parseconf.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../include -I../include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -Wall -Wsign-compare -c parseconf.c  -fPIC -DPIC -o .libs/parseconf.o
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/nut-2.7.4/common'
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/nut-2.7.4/common'
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../include    -I../include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -Wall -Wsign-compare -c -o str.lo str.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../include -I../include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -Wall -Wsign-compare -c str.c  -fPIC -DPIC -o .libs/str.o
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/nut-2.7.4/common'
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/nut-2.7.4/common'
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../include    -I../include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -Wall -Wsign-compare -c -o common.lo common.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../include -I../include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -Wall -Wsign-compare -c common.c  -fPIC -DPIC -o .libs/common.o
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/nut-2.7.4/common'
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/nut-2.7.4/common'
/bin/sh ../libtool  --tag=CC   --mode=link gcc -I../include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -Wall -Wsign-compare  -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o libparseconf.la  parseconf.lo  
libtool: link: /usr/bin/ar cru .libs/libparseconf.a .libs/parseconf.o 
libtool: link: ranlib .libs/libparseconf.a
libtool: link: ( cd ".libs" && rm -f "libparseconf.la" && ln -s "../libparseconf.la" "libparseconf.la" )
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/nut-2.7.4/common'
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/nut-2.7.4/common'
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../include    -I../include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -Wall -Wsign-compare -c -o state.lo state.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../include -I../include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -Wall -Wsign-compare -c state.c  -fPIC -DPIC -o .libs/state.o
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/nut-2.7.4/common'
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/nut-2.7.4/common'
/bin/sh ../libtool  --tag=CC   --mode=link gcc -I../include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -Wall -Wsign-compare  -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o libcommon.la  common.lo state.lo str.lo upsconf.lo libparseconf.la  
libtool: link: (cd .libs/libcommon.lax/libparseconf.a && /usr/bin/ar x "/home/iurt/rpmbuild/BUILD/nut-2.7.4/common/./.libs/libparseconf.a")
libtool: link: /usr/bin/ar cru .libs/libcommon.a .libs/common.o .libs/state.o .libs/str.o .libs/upsconf.o   .libs/libcommon.lax/libparseconf.a/parseconf.o 
libtool: link: ranlib .libs/libcommon.a
libtool: link: rm -fr .libs/libcommon.lax
libtool: link: ( cd ".libs" && rm -f "libcommon.la" && ln -s "../libcommon.la" "libcommon.la" )
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/nut-2.7.4/common'
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/nut-2.7.4/common'
/bin/sh ../libtool  --tag=CC   --mode=link gcc -I../include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -Wall -Wsign-compare  -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o libcommonclient.la  common.lo state.lo str.lo libparseconf.la  
libtool: link: (cd .libs/libcommonclient.lax/libparseconf.a && /usr/bin/ar x "/home/iurt/rpmbuild/BUILD/nut-2.7.4/common/./.libs/libparseconf.a")
libtool: link: /usr/bin/ar cru .libs/libcommonclient.a .libs/common.o .libs/state.o .libs/str.o   .libs/libcommonclient.lax/libparseconf.a/parseconf.o 
libtool: link: ranlib .libs/libcommonclient.a
libtool: link: rm -fr .libs/libcommonclient.lax
libtool: link: ( cd ".libs" && rm -f "libcommonclient.la" && ln -s "../libcommonclient.la" "libcommonclient.la" )
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/nut-2.7.4/common'
Making all in clients
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/nut-2.7.4/clients'
gcc -DHAVE_CONFIG_H -I. -I../include    -I../include   -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -Wall -Wsign-compare -c -o cgilib.o cgilib.c
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/nut-2.7.4/clients'
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/nut-2.7.4/clients'
gcc -DHAVE_CONFIG_H -I. -I../include    -I../include   -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -Wall -Wsign-compare -c -o upsc.o upsc.c
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/nut-2.7.4/clients'
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/nut-2.7.4/clients'
gcc -DHAVE_CONFIG_H -I. -I../include    -I../include   -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -Wall -Wsign-compare -c -o upscmd.o upscmd.c
upscmd.c: In function 'main':
upscmd.c:306:46: warning: '%s' directive output may be truncated writing up to 511 bytes into a region of size 503 [-Wformat-truncation=]
  306 |         snprintf(buf, sizeof(buf), "PASSWORD %s\n", password);
      |                                              ^~     ~~~~~~~~
In file included from /usr/include/stdio.h:888,
                 from ../include/common.h:32,
                 from upscmd.c:20:
/usr/include/bits/stdio2.h:71:10: note: '__builtin___snprintf_chk' output between 11 and 522 bytes into a destination of size 512
   71 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   72 |                                    __glibc_objsize (__s), __fmt,
      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   73 |                                    __va_arg_pack ());
      |                                    ~~~~~~~~~~~~~~~~~
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/nut-2.7.4/clients'
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/nut-2.7.4/clients'
gcc -DHAVE_CONFIG_H -I. -I../include    -I../include   -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -Wall -Wsign-compare -c -o upslog.o upslog.c
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/nut-2.7.4/clients'
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/nut-2.7.4/clients'
gcc -DHAVE_CONFIG_H -I. -I../include    -I../include   -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -Wall -Wsign-compare -c -o upsrw.o upsrw.c
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/nut-2.7.4/clients'
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/nut-2.7.4/clients'
gcc -DHAVE_CONFIG_H -I. -I../include    -I../include   -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -Wall -Wsign-compare -c -o upsimage.o upsimage.c
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/nut-2.7.4/clients'
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/nut-2.7.4/clients'
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../include    -I../include   -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -Wall -Wsign-compare -c -o upsclient.lo upsclient.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../include -I../include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -Wall -Wsign-compare -c upsclient.c  -fPIC -DPIC -o .libs/upsclient.o
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/nut-2.7.4/clients'
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/nut-2.7.4/clients'
gcc -DHAVE_CONFIG_H -I. -I../include    -I../include   -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -Wall -Wsign-compare -c -o upsstats.o upsstats.c
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/nut-2.7.4/clients'
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/nut-2.7.4/clients'
gcc -DHAVE_CONFIG_H -I. -I../include    -I../include   -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -Wall -Wsign-compare -c -o upssched.o upssched.c
upssched.c: In function 'parse_at':
upssched.c:797:25: warning: comparison between pointer and zero character constant [-Wpointer-compare]
  797 |                 if (ca1 == '\0') {
      |                         ^~
upssched.c:797:21: note: did you mean to dereference the pointer?
  797 |                 if (ca1 == '\0') {
      |                     ^
upssched.c: In function 'sendcmd.part.0':
upssched.c:697:41: warning: '__builtin___snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=]
  697 |         snprintf(enc, sizeof(enc), "%s\n", buf);
      |                                         ^
In file included from /usr/include/stdio.h:888,
                 from ../include/common.h:32,
                 from upssched.c:42:
/usr/include/bits/stdio2.h:71:10: note: '__builtin___snprintf_chk' output between 2 and 513 bytes into a destination of size 512
   71 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   72 |                                    __glibc_objsize (__s), __fmt,
      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   73 |                                    __va_arg_pack ());
      |                                    ~~~~~~~~~~~~~~~~~
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/nut-2.7.4/clients'
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/nut-2.7.4/clients'
gcc -DHAVE_CONFIG_H -I. -I../include    -I../include   -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -Wall -Wsign-compare -c -o upsset.o upsset.c
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/nut-2.7.4/clients'
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/nut-2.7.4/clients'
/bin/sh ../libtool  --tag=CC   --mode=link gcc -I../include   -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -Wall -Wsign-compare -version-info 4:0:0 -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o libupsclient.la -rpath /usr/lib64 upsclient.lo ../common/libcommonclient.la  
libtool: link: gcc -shared -Wl,--as-needed  -fPIC -DPIC  .libs/upsclient.o  -Wl,--whole-archive ../common/.libs/libcommonclient.a -Wl,--no-whole-archive  -O2 -g -fstack-protector -fstack-protector-all -Wl,--as-needed -Wl,--no-undefined -Wl,-z -Wl,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags    -Wl,-soname -Wl,libupsclient.so.4 -o .libs/libupsclient.so.4.0.0
libtool: link: (cd ".libs" && rm -f "libupsclient.so.4" && ln -s "libupsclient.so.4.0.0" "libupsclient.so.4")
libtool: link: (cd ".libs" && rm -f "libupsclient.so" && ln -s "libupsclient.so.4.0.0" "libupsclient.so")
libtool: link: ( cd ".libs" && rm -f "libupsclient.la" && ln -s "../libupsclient.la" "libupsclient.la" )
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/nut-2.7.4/clients'
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/nut-2.7.4/clients'
/bin/sh ../libtool  --tag=CC   --mode=link gcc -I../include   -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -Wall -Wsign-compare  -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o upssched upssched.o ../common/libcommon.la ../common/libparseconf.la  
libtool: link: gcc -I../include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -Wall -Wsign-compare -Wl,--as-needed -Wl,--no-undefined -Wl,-z -Wl,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o upssched upssched.o  ../common/.libs/libcommon.a ../common/.libs/libparseconf.a
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/nut-2.7.4/clients'
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/nut-2.7.4/clients'
/bin/sh ../libtool  --tag=CC   --mode=link gcc -I../include   -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -Wall -Wsign-compare  -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o upsc upsc.o ../common/libcommon.la libupsclient.la   
libtool: link: gcc -I../include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -Wall -Wsign-compare -Wl,--as-needed -Wl,--no-undefined -Wl,-z -Wl,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o .libs/upsc upsc.o  ../common/.libs/libcommon.a ./.libs/libupsclient.so
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/nut-2.7.4/clients'
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/nut-2.7.4/clients'
/bin/sh ../libtool  --tag=CC   --mode=link gcc -I../include   -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -Wall -Wsign-compare  -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o upscmd upscmd.o ../common/libcommon.la libupsclient.la   
libtool: link: gcc -I../include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -Wall -Wsign-compare -Wl,--as-needed -Wl,--no-undefined -Wl,-z -Wl,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o .libs/upscmd upscmd.o  ../common/.libs/libcommon.a ./.libs/libupsclient.so
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/nut-2.7.4/clients'
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/nut-2.7.4/clients'
/bin/sh ../libtool  --tag=CC   --mode=link gcc -I../include   -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -Wall -Wsign-compare  -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o upsstats.cgi upsstats.o cgilib.o ../common/libcommon.la libupsclient.la   
libtool: link: gcc -I../include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -Wall -Wsign-compare -Wl,--as-needed -Wl,--no-undefined -Wl,-z -Wl,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o .libs/upsstats.cgi upsstats.o cgilib.o  ../common/.libs/libcommon.a ./.libs/libupsclient.so
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/nut-2.7.4/clients'
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/nut-2.7.4/clients'
/bin/sh ../libtool  --tag=CC   --mode=link gcc -I../include   -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -Wall -Wsign-compare  -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o upsrw upsrw.o ../common/libcommon.la libupsclient.la   
libtool: link: gcc -I../include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -Wall -Wsign-compare -Wl,--as-needed -Wl,--no-undefined -Wl,-z -Wl,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o .libs/upsrw upsrw.o  ../common/.libs/libcommon.a ./.libs/libupsclient.so
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/nut-2.7.4/clients'
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/nut-2.7.4/clients'
/bin/sh ../libtool  --tag=CC   --mode=link gcc -I../include   -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -Wall -Wsign-compare  -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o upslog upslog.o ../common/libcommon.la libupsclient.la   
libtool: link: gcc -I../include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -Wall -Wsign-compare -Wl,--as-needed -Wl,--no-undefined -Wl,-z -Wl,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o .libs/upslog upslog.o  ../common/.libs/libcommon.a ./.libs/libupsclient.so
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/nut-2.7.4/clients'
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/nut-2.7.4/clients'
/bin/sh ../libtool  --tag=CC   --mode=link gcc -I../include   -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -Wall -Wsign-compare  -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o upsimage.cgi upsimage.o cgilib.o ../common/libcommon.la libupsclient.la   -L/usr/X11R6/lib -lgd -lpng -lz -ljpeg -lfreetype -lm -lXpm -lX11 
libtool: link: gcc -I../include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -Wall -Wsign-compare -Wl,--as-needed -Wl,--no-undefined -Wl,-z -Wl,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o .libs/upsimage.cgi upsimage.o cgilib.o  ../common/.libs/libcommon.a ./.libs/libupsclient.so -L/usr/X11R6/lib -lgd -lpng -lz -ljpeg -lfreetype -lm -lXpm -lX11
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/nut-2.7.4/clients'
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/nut-2.7.4/clients'
/bin/sh ../libtool  --tag=CC   --mode=link gcc -I../include   -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -Wall -Wsign-compare  -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o upsset.cgi upsset.o cgilib.o ../common/libcommon.la libupsclient.la   
libtool: link: gcc -I../include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -Wall -Wsign-compare -Wl,--as-needed -Wl,--no-undefined -Wl,-z -Wl,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o .libs/upsset.cgi upsset.o cgilib.o  ../common/.libs/libcommon.a ./.libs/libupsclient.so
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/nut-2.7.4/clients'
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/nut-2.7.4/clients'
gcc -DHAVE_CONFIG_H -I. -I../include    -I../include   -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -Wall -Wsign-compare -c -o upsmon.o upsmon.c
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/nut-2.7.4/clients'
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/nut-2.7.4/clients'
/bin/sh ../libtool  --tag=CC   --mode=link gcc -I../include   -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -Wall -Wsign-compare  -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o upsmon upsmon.o ../common/libcommon.la libupsclient.la   
libtool: link: gcc -I../include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -Wall -Wsign-compare -Wl,--as-needed -Wl,--no-undefined -Wl,-z -Wl,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o .libs/upsmon upsmon.o  ../common/.libs/libcommon.a ./.libs/libupsclient.so
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/nut-2.7.4/clients'
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/nut-2.7.4/clients'
/bin/sh ../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../include     -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -c -o nutclient.lo nutclient.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -c nutclient.cpp  -fPIC -DPIC -o .libs/nutclient.o
In file included from nutclient.cpp:20:
nutclient.h:135:86: error: ISO C++17 does not allow dynamic exception specifications
  135 |         virtual void authenticate(const std::string& user, const std::string& passwd)throw(NutException)=0;
      |                                                                                      ^~~~~
nutclient.h:141:30: error: ISO C++17 does not allow dynamic exception specifications
  141 |         virtual void logout()throw(NutException)=0;
      |                              ^~~~~
nutclient.h:154:58: error: ISO C++17 does not allow dynamic exception specifications
  154 |         virtual Device getDevice(const std::string& name)throw(NutException);
      |                                                          ^~~~~
nutclient.h:159:46: error: ISO C++17 does not allow dynamic exception specifications
  159 |         virtual std::set<Device> getDevices()throw(NutException);
      |                                              ^~~~~
nutclient.h:165:55: error: ISO C++17 does not allow dynamic exception specifications
  165 |         virtual bool hasDevice(const std::string& dev)throw(NutException);
      |                                                       ^~~~~
nutclient.h:170:55: error: ISO C++17 does not allow dynamic exception specifications
  170 |         virtual std::set<std::string> getDeviceNames()throw(NutException)=0;
      |                                                       ^~~~~
nutclient.h:176:74: error: ISO C++17 does not allow dynamic exception specifications
  176 |         virtual std::string getDeviceDescription(const std::string& name)throw(NutException)=0;
      |                                                                          ^~~~~
nutclient.h:189:85: error: ISO C++17 does not allow dynamic exception specifications
  189 |         virtual std::set<std::string> getDeviceVariableNames(const std::string& dev)throw(NutException)=0;
      |                                                                                     ^~~~~
nutclient.h:195:87: error: ISO C++17 does not allow dynamic exception specifications
  195 |         virtual std::set<std::string> getDeviceRWVariableNames(const std::string& dev)throw(NutException)=0;
      |                                                                                       ^~~~~
nutclient.h:202:88: error: ISO C++17 does not allow dynamic exception specifications
  202 |         virtual bool hasDeviceVariable(const std::string& dev, const std::string& name)throw(NutException);
      |                                                                                        ^~~~~
nutclient.h:209:106: error: ISO C++17 does not allow dynamic exception specifications
  209 |         virtual std::string getDeviceVariableDescription(const std::string& dev, const std::string& name)throw(NutException)=0;
      |                                                                                                          ^~~~~
nutclient.h:216:113: error: ISO C++17 does not allow dynamic exception specifications
  216 |         virtual std::vector<std::string> getDeviceVariableValue(const std::string& dev, const std::string& name)throw(NutException)=0;
      |                                                                                                                 ^~~~~
In file included from nutclient.cpp:20:
nutclient.h:222:112: error: ISO C++17 does not allow dynamic exception specifications
  222 |         virtual std::map<std::string,std::vector<std::string> > getDeviceVariableValues(const std::string& dev)throw(NutException);
      |                                                                                                                ^~~~~
nutclient.h:229:114: error: ISO C++17 does not allow dynamic exception specifications
  229 |         virtual void setDeviceVariable(const std::string& dev, const std::string& name, const std::string& value)throw(NutException)=0;
      |                                                                                                                  ^~~~~
nutclient.h:236:128: error: ISO C++17 does not allow dynamic exception specifications
  236 |         virtual void setDeviceVariable(const std::string& dev, const std::string& name, const std::vector<std::string>& values)throw(NutException)=0;
      |                                                                                                                                ^~~~~
nutclient.h:249:84: error: ISO C++17 does not allow dynamic exception specifications
  249 |         virtual std::set<std::string> getDeviceCommandNames(const std::string& dev)throw(NutException)=0;
      |                                                                                    ^~~~~
nutclient.h:256:87: error: ISO C++17 does not allow dynamic exception specifications
  256 |         virtual bool hasDeviceCommand(const std::string& dev, const std::string& name)throw(NutException);
      |                                                                                       ^~~~~
nutclient.h:263:105: error: ISO C++17 does not allow dynamic exception specifications
  263 |         virtual std::string getDeviceCommandDescription(const std::string& dev, const std::string& name)throw(NutException)=0;
      |                                                                                                         ^~~~~
nutclient.h:269:91: error: ISO C++17 does not allow dynamic exception specifications
  269 |         virtual void executeDeviceCommand(const std::string& dev, const std::string& name)throw(NutException)=0;
      |                                                                                           ^~~~~
nutclient.h:280:57: error: ISO C++17 does not allow dynamic exception specifications
  280 |         virtual void deviceLogin(const std::string& dev)throw(NutException)=0;
      |                                                         ^~~~~
nutclient.h:286:63: error: ISO C++17 does not allow dynamic exception specifications
  286 |         virtual int deviceGetNumLogins(const std::string& dev)throw(NutException)=0;
      |                                                               ^~~~~
nutclient.h:287:58: error: ISO C++17 does not allow dynamic exception specifications
  287 |         virtual void deviceMaster(const std::string& dev)throw(NutException)=0;
      |                                                          ^~~~~
nutclient.h:288:66: error: ISO C++17 does not allow dynamic exception specifications
  288 |         virtual void deviceForcedShutdown(const std::string& dev)throw(NutException)=0;
      |                                                                  ^~~~~
nutclient.h:312:60: error: ISO C++17 does not allow dynamic exception specifications
  312 |         TcpClient(const std::string& host, int port = 3493)throw(nut::IOException);
      |                                                            ^~~~~
nutclient.h:320:63: error: ISO C++17 does not allow dynamic exception specifications
  320 |         void connect(const std::string& host, int port = 3493)throw(nut::IOException);
      |                                                               ^~~~~
nutclient.h:326:23: error: ISO C++17 does not allow dynamic exception specifications
  326 |         void connect()throw(nut::IOException);
      |                       ^~~~~
nutclient.h:361:86: error: ISO C++17 does not allow dynamic exception specifications
  361 |         virtual void authenticate(const std::string& user, const std::string& passwd)throw(NutException);
      |                                                                                      ^~~~~
nutclient.h:362:30: error: ISO C++17 does not allow dynamic exception specifications
  362 |         virtual void logout()throw(NutException);
      |                              ^~~~~
nutclient.h:364:58: error: ISO C++17 does not allow dynamic exception specifications
  364 |         virtual Device getDevice(const std::string& name)throw(NutException);
      |                                                          ^~~~~
nutclient.h:365:55: error: ISO C++17 does not allow dynamic exception specifications
  365 |         virtual std::set<std::string> getDeviceNames()throw(NutException);
      |                                                       ^~~~~
nutclient.h:366:74: error: ISO C++17 does not allow dynamic exception specifications
  366 |         virtual std::string getDeviceDescription(const std::string& name)throw(NutException);
      |                                                                          ^~~~~
nutclient.h:368:85: error: ISO C++17 does not allow dynamic exception specifications
  368 |         virtual std::set<std::string> getDeviceVariableNames(const std::string& dev)throw(NutException);
      |                                                                                     ^~~~~
nutclient.h:369:87: error: ISO C++17 does not allow dynamic exception specifications
  369 |         virtual std::set<std::string> getDeviceRWVariableNames(const std::string& dev)throw(NutException);
      |                                                                                       ^~~~~
nutclient.h:370:106: error: ISO C++17 does not allow dynamic exception specifications
  370 |         virtual std::string getDeviceVariableDescription(const std::string& dev, const std::string& name)throw(NutException);
      |                                                                                                          ^~~~~
nutclient.h:371:113: error: ISO C++17 does not allow dynamic exception specifications
  371 |         virtual std::vector<std::string> getDeviceVariableValue(const std::string& dev, const std::string& name)throw(NutException);
      |                                                                                                                 ^~~~~
nutclient.h:372:112: error: ISO C++17 does not allow dynamic exception specifications
  372 |         virtual std::map<std::string,std::vector<std::string> > getDeviceVariableValues(const std::string& dev)throw(NutException);
      |                                                                                                                ^~~~~
nutclient.h:373:114: error: ISO C++17 does not allow dynamic exception specifications
  373 |         virtual void setDeviceVariable(const std::string& dev, const std::string& name, const std::string& value)throw(NutException);
      |                                                                                                                  ^~~~~
nutclient.h:374:128: error: ISO C++17 does not allow dynamic exception specifications
  374 |         virtual void setDeviceVariable(const std::string& dev, const std::string& name, const std::vector<std::string>& values)throw(NutException);
      |                                                                                                                                ^~~~~
nutclient.h:376:84: error: ISO C++17 does not allow dynamic exception specifications
  376 |         virtual std::set<std::string> getDeviceCommandNames(const std::string& dev)throw(NutException);
      |                                                                                    ^~~~~
nutclient.h:377:105: error: ISO C++17 does not allow dynamic exception specifications
  377 |         virtual std::string getDeviceCommandDescription(const std::string& dev, const std::string& name)throw(NutException);
      |                                                                                                         ^~~~~
nutclient.h:378:91: error: ISO C++17 does not allow dynamic exception specifications
  378 |         virtual void executeDeviceCommand(const std::string& dev, const std::string& name)throw(NutException);
      |                                                                                           ^~~~~
nutclient.h:380:57: error: ISO C++17 does not allow dynamic exception specifications
  380 |         virtual void deviceLogin(const std::string& dev)throw(NutException);
      |                                                         ^~~~~
nutclient.h:381:58: error: ISO C++17 does not allow dynamic exception specifications
  381 |         virtual void deviceMaster(const std::string& dev)throw(NutException);
      |                                                          ^~~~~
nutclient.h:382:66: error: ISO C++17 does not allow dynamic exception specifications
  382 |         virtual void deviceForcedShutdown(const std::string& dev)throw(NutException);
      |                                                                  ^~~~~
nutclient.h:383:63: error: ISO C++17 does not allow dynamic exception specifications
  383 |         virtual int deviceGetNumLogins(const std::string& dev)throw(NutException);
      |                                                               ^~~~~
nutclient.h:386:54: error: ISO C++17 does not allow dynamic exception specifications
  386 |         std::string sendQuery(const std::string& req)throw(nut::IOException);
      |                                                      ^~~~~
nutclient.h:387:56: error: ISO C++17 does not allow dynamic exception specifications
  387 |         static void detectError(const std::string& req)throw(nut::NutException);
      |                                                        ^~~~~
nutclient.h:390:17: error: ISO C++17 does not allow dynamic exception specifications
  390 |                 throw(nut::NutException);
      |                 ^~~~~
nutclient.h:393:17: error: ISO C++17 does not allow dynamic exception specifications
  393 |                 throw(nut::NutException);
      |                 ^~~~~
nutclient.h:458:37: error: ISO C++17 does not allow dynamic exception specifications
  458 |         std::string getDescription()throw(NutException);
      |                                     ^~~~~
nutclient.h:465:75: error: ISO C++17 does not allow dynamic exception specifications
  465 |         std::vector<std::string> getVariableValue(const std::string& name)throw(NutException);
      |                                                                           ^~~~~
nutclient.h:470:76: error: ISO C++17 does not allow dynamic exception specifications
  470 |         std::map<std::string,std::vector<std::string> > getVariableValues()throw(NutException);
      |                                                                            ^~~~~
nutclient.h:475:49: error: ISO C++17 does not allow dynamic exception specifications
  475 |         std::set<std::string> getVariableNames()throw(NutException);
      |                                                 ^~~~~
nutclient.h:480:51: error: ISO C++17 does not allow dynamic exception specifications
  480 |         std::set<std::string> getRWVariableNames()throw(NutException);
      |                                                   ^~~~~
nutclient.h:486:76: error: ISO C++17 does not allow dynamic exception specifications
  486 |         void setVariable(const std::string& name, const std::string& value)throw(NutException);
      |                                                                            ^~~~~
nutclient.h:492:90: error: ISO C++17 does not allow dynamic exception specifications
  492 |         void setVariable(const std::string& name, const std::vector<std::string>& values)throw(NutException);
      |                                                                                          ^~~~~
nutclient.h:499:54: error: ISO C++17 does not allow dynamic exception specifications
  499 |         Variable getVariable(const std::string& name)throw(NutException);
      |                                                      ^~~~~
nutclient.h:504:42: error: ISO C++17 does not allow dynamic exception specifications
  504 |         std::set<Variable> getVariables()throw(NutException);
      |                                          ^~~~~
nutclient.h:509:44: error: ISO C++17 does not allow dynamic exception specifications
  509 |         std::set<Variable> getRWVariables()throw(NutException);
      |                                            ^~~~~
nutclient.h:515:48: error: ISO C++17 does not allow dynamic exception specifications
  515 |         std::set<std::string> getCommandNames()throw(NutException);
      |                                                ^~~~~
nutclient.h:520:40: error: ISO C++17 does not allow dynamic exception specifications
  520 |         std::set<Command> getCommands()throw(NutException);
      |                                        ^~~~~
nutclient.h:526:52: error: ISO C++17 does not allow dynamic exception specifications
  526 |         Command getCommand(const std::string& name)throw(NutException);
      |                                                    ^~~~~
nutclient.h:531:53: error: ISO C++17 does not allow dynamic exception specifications
  531 |         void executeCommand(const std::string& name)throw(NutException);
      |                                                     ^~~~~
nutclient.h:536:21: error: ISO C++17 does not allow dynamic exception specifications
  536 |         void login()throw(NutException);
      |                     ^~~~~
nutclient.h:537:22: error: ISO C++17 does not allow dynamic exception specifications
  537 |         void master()throw(NutException);
      |                      ^~~~~
nutclient.h:538:30: error: ISO C++17 does not allow dynamic exception specifications
  538 |         void forcedShutdown()throw(NutException);
      |                              ^~~~~
nutclient.h:543:27: error: ISO C++17 does not allow dynamic exception specifications
  543 |         int getNumLogins()throw(NutException);
      |                           ^~~~~
nutclient.h:606:44: error: ISO C++17 does not allow dynamic exception specifications
  606 |         std::vector<std::string> getValue()throw(NutException);
      |                                            ^~~~~
nutclient.h:611:37: error: ISO C++17 does not allow dynamic exception specifications
  611 |         std::string getDescription()throw(NutException);
      |                                     ^~~~~
nutclient.h:617:48: error: ISO C++17 does not allow dynamic exception specifications
  617 |         void setValue(const std::string& value)throw(NutException);
      |                                                ^~~~~
nutclient.h:622:63: error: ISO C++17 does not allow dynamic exception specifications
  622 |         void setValues(const std::vector<std::string>& values)throw(NutException);
      |                                                               ^~~~~
nutclient.h:686:37: error: ISO C++17 does not allow dynamic exception specifications
  686 |         std::string getDescription()throw(NutException);
      |                                     ^~~~~
nutclient.h:692:23: error: ISO C++17 does not allow dynamic exception specifications
  692 |         void execute()throw(NutException);
      |                       ^~~~~
nutclient.cpp:99:56: error: ISO C++17 does not allow dynamic exception specifications
   99 |         void connect(const std::string& host, int port)throw(nut::IOException);
      |                                                        ^~~~~
nutclient.cpp:106:42: error: ISO C++17 does not allow dynamic exception specifications
  106 |         size_t read(void* buf, size_t sz)throw(nut::IOException);
      |                                          ^~~~~
nutclient.cpp:107:49: error: ISO C++17 does not allow dynamic exception specifications
  107 |         size_t write(const void* buf, size_t sz)throw(nut::IOException);
      |                                                 ^~~~~
nutclient.cpp:109:27: error: ISO C++17 does not allow dynamic exception specifications
  109 |         std::string read()throw(nut::IOException);
      |                           ^~~~~
nutclient.cpp:110:43: error: ISO C++17 does not allow dynamic exception specifications
  110 |         void write(const std::string& str)throw(nut::IOException);
      |                                           ^~~~~
nutclient.cpp:132:56: error: ISO C++17 does not allow dynamic exception specifications
  132 | void Socket::connect(const std::string& host, int port)throw(nut::IOException)
      |                                                        ^~~~~
nutclient.cpp:301:42: error: ISO C++17 does not allow dynamic exception specifications
  301 | size_t Socket::read(void* buf, size_t sz)throw(nut::IOException)
      |                                          ^~~~~
nutclient.cpp:328:49: error: ISO C++17 does not allow dynamic exception specifications
  328 | size_t Socket::write(const void* buf, size_t sz)throw(nut::IOException)
      |                                                 ^~~~~
nutclient.cpp:355:27: error: ISO C++17 does not allow dynamic exception specifications
  355 | std::string Socket::read()throw(nut::IOException)
      |                           ^~~~~
nutclient.cpp:386:43: error: ISO C++17 does not allow dynamic exception specifications
  386 | void Socket::write(const std::string& str)throw(nut::IOException)
      |                                           ^~~~~
nutclient.cpp:411:47: error: ISO C++17 does not allow dynamic exception specifications
  411 | bool Client::hasDevice(const std::string& dev)throw(NutException)
      |                                               ^~~~~
nutclient.cpp:417:50: error: ISO C++17 does not allow dynamic exception specifications
  417 | Device Client::getDevice(const std::string& name)throw(NutException)
      |                                                  ^~~~~
nutclient.cpp:425:38: error: ISO C++17 does not allow dynamic exception specifications
  425 | std::set<Device> Client::getDevices()throw(NutException)
      |                                      ^~~~~
nutclient.cpp:438:80: error: ISO C++17 does not allow dynamic exception specifications
  438 | bool Client::hasDeviceVariable(const std::string& dev, const std::string& name)throw(NutException)
      |                                                                                ^~~~~
nutclient.cpp:444:104: error: ISO C++17 does not allow dynamic exception specifications
  444 | std::map<std::string,std::vector<std::string> > Client::getDeviceVariableValues(const std::string& dev)throw(NutException)
      |                                                                                                        ^~~~~
nutclient.cpp:458:79: error: ISO C++17 does not allow dynamic exception specifications
  458 | bool Client::hasDeviceCommand(const std::string& dev, const std::string& name)throw(NutException)
      |                                                                               ^~~~~
nutclient.cpp:480:56: error: ISO C++17 does not allow dynamic exception specifications
  480 | TcpClient::TcpClient(const std::string& host, int port)throw(IOException):
      |                                                        ^~~~~
nutclient.cpp:492:59: error: ISO C++17 does not allow dynamic exception specifications
  492 | void TcpClient::connect(const std::string& host, int port)throw(IOException)
      |                                                           ^~~~~
nutclient.cpp:499:26: error: ISO C++17 does not allow dynamic exception specifications
  499 | void TcpClient::connect()throw(nut::IOException)
      |                          ^~~~~
nutclient.cpp:535:9: error: ISO C++17 does not allow dynamic exception specifications
  535 |         throw(NutException)
      |         ^~~~~
nutclient.cpp:541:25: error: ISO C++17 does not allow dynamic exception specifications
  541 | void TcpClient::logout()throw(NutException)
      |                         ^~~~~
nutclient.cpp:547:53: error: ISO C++17 does not allow dynamic exception specifications
  547 | Device TcpClient::getDevice(const std::string& name)throw(NutException)
      |                                                     ^~~~~
nutclient.cpp:563:50: error: ISO C++17 does not allow dynamic exception specifications
  563 | std::set<std::string> TcpClient::getDeviceNames()throw(NutException)
      |                                                  ^~~~~
nutclient.cpp:579:69: error: ISO C++17 does not allow dynamic exception specifications
  579 | std::string TcpClient::getDeviceDescription(const std::string& name)throw(NutException)
      |                                                                     ^~~~~
nutclient.cpp:584:80: error: ISO C++17 does not allow dynamic exception specifications
  584 | std::set<std::string> TcpClient::getDeviceVariableNames(const std::string& dev)throw(NutException)
      |                                                                                ^~~~~
nutclient.cpp:597:82: error: ISO C++17 does not allow dynamic exception specifications
  597 | std::set<std::string> TcpClient::getDeviceRWVariableNames(const std::string& dev)throw(NutException)
      |                                                                                  ^~~~~
nutclient.cpp:610:101: error: ISO C++17 does not allow dynamic exception specifications
  610 | std::string TcpClient::getDeviceVariableDescription(const std::string& dev, const std::string& name)throw(NutException)
      |                                                                                                     ^~~~~
nutclient.cpp:615:108: error: ISO C++17 does not allow dynamic exception specifications
  615 | std::vector<std::string> TcpClient::getDeviceVariableValue(const std::string& dev, const std::string& name)throw(NutException)
      |                                                                                                            ^~~~~
nutclient.cpp:620:107: error: ISO C++17 does not allow dynamic exception specifications
  620 | std::map<std::string,std::vector<std::string> > TcpClient::getDeviceVariableValues(const std::string& dev)throw(NutException)
      |                                                                                                           ^~~~~
nutclient.cpp:637:109: error: ISO C++17 does not allow dynamic exception specifications
  637 | void TcpClient::setDeviceVariable(const std::string& dev, const std::string& name, const std::string& value)throw(NutException)
      |                                                                                                             ^~~~~
nutclient.cpp:643:123: error: ISO C++17 does not allow dynamic exception specifications
  643 | void TcpClient::setDeviceVariable(const std::string& dev, const std::string& name, const std::vector<std::string>& values)throw(NutException)
      |                                                                                                                           ^~~~~
nutclient.cpp:653:79: error: ISO C++17 does not allow dynamic exception specifications
  653 | std::set<std::string> TcpClient::getDeviceCommandNames(const std::string& dev)throw(NutException)
      |                                                                               ^~~~~
nutclient.cpp:666:100: error: ISO C++17 does not allow dynamic exception specifications
  666 | std::string TcpClient::getDeviceCommandDescription(const std::string& dev, const std::string& name)throw(NutException)
      |                                                                                                    ^~~~~
nutclient.cpp:671:86: error: ISO C++17 does not allow dynamic exception specifications
  671 | void TcpClient::executeDeviceCommand(const std::string& dev, const std::string& name)throw(NutException)
      |                                                                                      ^~~~~
nutclient.cpp:676:52: error: ISO C++17 does not allow dynamic exception specifications
  676 | void TcpClient::deviceLogin(const std::string& dev)throw(NutException)
      |                                                    ^~~~~
nutclient.cpp:681:53: error: ISO C++17 does not allow dynamic exception specifications
  681 | void TcpClient::deviceMaster(const std::string& dev)throw(NutException)
      |                                                     ^~~~~
nutclient.cpp:686:61: error: ISO C++17 does not allow dynamic exception specifications
  686 | void TcpClient::deviceForcedShutdown(const std::string& dev)throw(NutException)
      |                                                             ^~~~~
nutclient.cpp:691:58: error: ISO C++17 does not allow dynamic exception specifications
  691 | int TcpClient::deviceGetNumLogins(const std::string& dev)throw(NutException)
      |                                                          ^~~~~
nutclient.cpp:699:64: error: ISO C++17 does not allow dynamic exception specifications
  699 |         (const std::string& subcmd, const std::string& params) throw(NutException)
      |                                                                ^~~~~
nutclient.cpp:717:64: error: ISO C++17 does not allow dynamic exception specifications
  717 |         (const std::string& subcmd, const std::string& params) throw(NutException)
      |                                                                ^~~~~
nutclient.cpp:751:57: error: ISO C++17 does not allow dynamic exception specifications
  751 | std::string TcpClient::sendQuery(const std::string& req)throw(IOException)
      |                                                         ^~~~~
nutclient.cpp:757:52: error: ISO C++17 does not allow dynamic exception specifications
  757 | void TcpClient::detectError(const std::string& req)throw(NutException)
      |                                                    ^~~~~
nutclient.cpp:957:37: error: ISO C++17 does not allow dynamic exception specifications
  957 | std::string Device::getDescription()throw(NutException)
      |                                     ^~~~~
nutclient.cpp:963:9: error: ISO C++17 does not allow dynamic exception specifications
  963 |         throw(NutException)
      |         ^~~~~
nutclient.cpp:969:9: error: ISO C++17 does not allow dynamic exception specifications
  969 |         throw(NutException)
      |         ^~~~~
nutclient.cpp:974:49: error: ISO C++17 does not allow dynamic exception specifications
  974 | std::set<std::string> Device::getVariableNames()throw(NutException)
      |                                                 ^~~~~
nutclient.cpp:979:51: error: ISO C++17 does not allow dynamic exception specifications
  979 | std::set<std::string> Device::getRWVariableNames()throw(NutException)
      |                                                   ^~~~~
nutclient.cpp:984:76: error: ISO C++17 does not allow dynamic exception specifications
  984 | void Device::setVariable(const std::string& name, const std::string& value)throw(NutException)
      |                                                                            ^~~~~
nutclient.cpp:990:9: error: ISO C++17 does not allow dynamic exception specifications
  990 |         throw(NutException)
      |         ^~~~~
nutclient.cpp:997:54: error: ISO C++17 does not allow dynamic exception specifications
  997 | Variable Device::getVariable(const std::string& name)throw(NutException)
      |                                                      ^~~~~
nutclient.cpp:1005:42: error: ISO C++17 does not allow dynamic exception specifications
 1005 | std::set<Variable> Device::getVariables()throw(NutException)
      |                                          ^~~~~
nutclient.cpp:1018:44: error: ISO C++17 does not allow dynamic exception specifications
 1018 | std::set<Variable> Device::getRWVariables()throw(NutException)
      |                                            ^~~~~
nutclient.cpp:1031:48: error: ISO C++17 does not allow dynamic exception specifications
 1031 | std::set<std::string> Device::getCommandNames()throw(NutException)
      |                                                ^~~~~
nutclient.cpp:1036:40: error: ISO C++17 does not allow dynamic exception specifications
 1036 | std::set<Command> Device::getCommands()throw(NutException)
      |                                        ^~~~~
nutclient.cpp:1049:52: error: ISO C++17 does not allow dynamic exception specifications
 1049 | Command Device::getCommand(const std::string& name)throw(NutException)
      |                                                    ^~~~~
nutclient.cpp:1057:53: error: ISO C++17 does not allow dynamic exception specifications
 1057 | void Device::executeCommand(const std::string& name)throw(NutException)
      |                                                     ^~~~~
nutclient.cpp:1062:21: error: ISO C++17 does not allow dynamic exception specifications
 1062 | void Device::login()throw(NutException)
      |                     ^~~~~
nutclient.cpp:1067:22: error: ISO C++17 does not allow dynamic exception specifications
 1067 | void Device::master()throw(NutException)
      |                      ^~~~~
nutclient.cpp:1072:30: error: ISO C++17 does not allow dynamic exception specifications
 1072 | void Device::forcedShutdown()throw(NutException)
      |                              ^~~~~
nutclient.cpp:1076:27: error: ISO C++17 does not allow dynamic exception specifications
 1076 | int Device::getNumLogins()throw(NutException)
      |                           ^~~~~
nutclient.cpp:1144:46: error: ISO C++17 does not allow dynamic exception specifications
 1144 | std::vector<std::string> Variable::getValue()throw(NutException)
      |                                              ^~~~~
nutclient.cpp:1149:39: error: ISO C++17 does not allow dynamic exception specifications
 1149 | std::string Variable::getDescription()throw(NutException)
      |                                       ^~~~~
nutclient.cpp:1154:50: error: ISO C++17 does not allow dynamic exception specifications
 1154 | void Variable::setValue(const std::string& value)throw(NutException)
      |                                                  ^~~~~
nutclient.cpp:1159:65: error: ISO C++17 does not allow dynamic exception specifications
 1159 | void Variable::setValues(const std::vector<std::string>& values)throw(NutException)
      |                                                                 ^~~~~
nutclient.cpp:1228:38: error: ISO C++17 does not allow dynamic exception specifications
 1228 | std::string Command::getDescription()throw(NutException)
      |                                      ^~~~~
nutclient.cpp:1233:24: error: ISO C++17 does not allow dynamic exception specifications
 1233 | void Command::execute()throw(NutException)
      |                        ^~~~~
make[1]: *** [Makefile:921: nutclient.lo] Error 1
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/nut-2.7.4/clients'
make: *** [Makefile:527: all-recursive] Error 1
error: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.w5j6UV (%build)


RPM build errors:
    Found bdb_ro Packages database while attempting sqlite backend: using bdb_ro backend.
    Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.w5j6UV (%build)
I: [iurt_root_command] ERROR: chroot