* Package: sys-power/nut-2.7.4-r7 * Repository: gentoo * Maintainer: robbat2@gentoo.org prometheanfire@gentoo.org * Upstream: https://github.com/networkupstools/nut/issues * USE: abi_x86_64 amd64 elibc_glibc kernel_linux snmp split-usr ssl tcpd ups_drivers_al175 ups_drivers_apcsmart ups_drivers_apcsmart-old ups_drivers_apcupsd-ups ups_drivers_bcmxcp ups_drivers_bcmxcp_usb ups_drivers_belkin ups_drivers_belkinunv ups_drivers_bestfcom ups_drivers_bestfortress ups_drivers_bestuferrups ups_drivers_bestups ups_drivers_blazer_ser ups_drivers_blazer_usb ups_drivers_clone ups_drivers_clone-outlet ups_drivers_dummy-ups ups_drivers_etapro ups_drivers_everups ups_drivers_gamatronic ups_drivers_genericups ups_drivers_isbmex ups_drivers_ivtscd ups_drivers_liebert ups_drivers_liebert-esp2 ups_drivers_masterguard ups_drivers_metasys ups_drivers_mge-shut ups_drivers_mge-utalk ups_drivers_microdowell ups_drivers_nutdrv_qx ups_drivers_oldmge-shut ups_drivers_oneac ups_drivers_optiups ups_drivers_powercom ups_drivers_powerpanel ups_drivers_rhino ups_drivers_richcomm_usb ups_drivers_riello_ser ups_drivers_riello_usb ups_drivers_safenet ups_drivers_solis ups_drivers_tripplite ups_drivers_tripplite_usb ups_drivers_tripplitesu ups_drivers_upscode2 ups_drivers_usbhid-ups ups_drivers_victronups usb userland_GNU xml zeroconf * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking nut-2.7.4.tar.gz to /var/tmp/portage/sys-power/nut-2.7.4-r7/work >>> Source unpacked in /var/tmp/portage/sys-power/nut-2.7.4-r7/work >>> Preparing source in /var/tmp/portage/sys-power/nut-2.7.4-r7/work/nut-2.7.4 ... * Applying nut-2.7.2-no-libdummy.patch ... [ ok ] * Applying nut-2.7.1-snmpusb-order.patch ... [ ok ] * Applying nut-2.6.2-lowspeed-buffer-size.patch ... [ ok ] * Applying nut-openssl-1.1-support.patch ... [ ok ] * Applying nut-2.7.4-py3.patch ... [ ok ] * Running eautoreconf in '/var/tmp/portage/sys-power/nut-2.7.4-r7/work/nut-2.7.4' ... * Running 'libtoolize --install --copy --force --automake' ... [ ok ] * Running 'aclocal -I m4' ... [ ok ] * Running 'autoconf --force' ... [ ok ] * Running 'autoheader' ... [ ok ] * Running 'automake --add-missing --copy --force-missing' ... [ ok ] * Running elibtoolize in: nut-2.7.4/ * Applying portage/1.2.0 patch ... * Applying sed/1.5.6 patch ... * Applying as-needed/2.4.3 patch ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/sys-power/nut-2.7.4-r7/work/nut-2.7.4 ... * econf: updating nut-2.7.4/config.sub with /usr/share/gnuconfig/config.sub * econf: updating nut-2.7.4/config.guess with /usr/share/gnuconfig/config.guess ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking --disable-silent-rules --docdir=/usr/share/doc/nut-2.7.4-r7 --htmldir=/usr/share/doc/nut-2.7.4-r7/html --with-sysroot=/ --libdir=/usr/lib64 --sysconfdir=/etc/nut --datarootdir=/usr/share/nut --datadir=/usr/share/nut --disable-static --with-statepath=/var/lib/nut --with-drvpath=/lib64/nut --with-htmlpath=/usr/share/nut/html --with-user=nut --with-group=nut --with-logfacility=LOG_DAEMON --with-dev --with-serial --with-systemdsystemunitdir=/lib/systemd/system --without-powerman --without-cgi --without-ipmi --without-freeipmi --with-snmp --with-ssl --with-wrap --with-usb --with-neon --with-avahi --with-drivers=al175,apcsmart,apcsmart-old,apcupsd-ups,bcmxcp,bcmxcp_usb,belkin,belkinunv,bestfcom,bestfortress,bestuferrups,bestups,blazer_ser,blazer_usb,clone,clone-outlet,dummy-ups,etapro,everups,gamatronic,genericups,isbmex,ivtscd,liebert,liebert-esp2,masterguard,metasys,mge-shut,mge-utalk,microdowell,nutdrv_qx,oldmge-shut,oneac,optiups,powercom,powerpanel,rhino,richcomm_usb,riello_ser,riello_usb,safenet,solis,tripplite,tripplite_usb,tripplitesu,upscode2,usbhid-ups,victronups Network UPS Tools version 2.7.4 checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking target system type... x86_64-pc-linux-gnu checking for host system name... gentoo checking for a BSD-compatible install... /usr/lib/portage/python3.9/ebuild-helpers/xattr/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for autoconf macro to enable system extensions... yes checking whether make supports the include directive... yes (GNU style) checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-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 we are using the GNU C compiler... yes checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed checking whether x86_64-pc-linux-gnu-gcc understands -c and -o together... yes checking dependency style of x86_64-pc-linux-gnu-gcc... none checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking whether to enable maintainer-specific portions of Makefiles... no checking for x86_64-pc-linux-gnu-gcc... (cached) x86_64-pc-linux-gnu-gcc checking whether we are using the GNU C compiler... (cached) yes checking whether x86_64-pc-linux-gnu-gcc accepts -g... (cached) yes checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... (cached) none needed checking whether x86_64-pc-linux-gnu-gcc understands -c and -o together... (cached) yes checking dependency style of x86_64-pc-linux-gnu-gcc... (cached) none checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E checking whether we are using the GNU C++ compiler... yes checking whether x86_64-pc-linux-gnu-g++ accepts -g... yes checking dependency style of x86_64-pc-linux-gnu-g++... none checking for egrep... (cached) /bin/grep -E checking for ar... /usr/bin/ar checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-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 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 x86_64-pc-linux-gnu-pkg-config... /usr/bin/x86_64-pc-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 whether time.h and sys/time.h may both be included... yes 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... yes checking for library containing pthread_create... -lpthread checking for socklen_t... yes checking for --with-all... not given checking for Net-SNMP version via net-snmp-config... 5.9.1 found checking for Net-SNMP cflags... -pipe -march=native -fno-diagnostics-color -O2 -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -pipe -march=native -fno-diagnostics-color -O2 -Ulinux -Dlinux=linux -I/usr/include checking for Net-SNMP libs... -lnetsnmp -lm -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... checking for libpowerman.h... no checking for pm_connect... no 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... no checking whether to build IPMI driver... no 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... 1.1.1k found checking for OpenSSL cflags... checking for OpenSSL ldflags... -lssl -lcrypto checking for openssl/ssl.h... yes checking for SSL_CTX_new... yes checking whether to enable SSL support... yes (OpenSSL) 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... -pipe -march=native -fno-diagnostics-color -O2 -fno-lto -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 whether to build CGI programs... no checking for asciidoc... /usr/bin/asciidoc checking for asciiDoc version... 9.0.5 found checking for a2x... /usr/bin/a2x checking for a2x version... 9.0.5 found checking for dblatex... no checking for xsltproc... /usr/bin/xsltproc checking for xsltproc version... 20912 found checking for xmllint... /usr/bin/xmllint checking for xmllint version... found checking for source-highlight... no checking if asciidoc version can build manpages (minimum required 8.6.3)... yes checking if a2x version can build manpages (minimum required 8.6.3)... yes 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)... no checking whether to build and install documentation... no checking how to print strings... printf checking for a sed that does not truncate output... /bin/sed checking for fgrep... /bin/grep -F checking for ld used by x86_64-pc-linux-gnu-gcc... /usr/x86_64-pc-linux-gnu/bin/ld checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/x86_64-pc-linux-gnu-nm -B checking the name lister (/usr/bin/x86_64-pc-linux-gnu-nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/x86_64-pc-linux-gnu/bin/ld option to reload object files... -r checking for x86_64-pc-linux-gnu-objdump... x86_64-pc-linux-gnu-objdump checking how to recognize dependent libraries... pass_all checking for x86_64-pc-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for x86_64-pc-linux-gnu-ar... /usr/bin/ar checking for archiver @FILE support... @ checking for x86_64-pc-linux-gnu-strip... x86_64-pc-linux-gnu-strip checking for x86_64-pc-linux-gnu-ranlib... (cached) x86_64-pc-linux-gnu-ranlib checking command to parse /usr/bin/x86_64-pc-linux-gnu-nm -B output from x86_64-pc-linux-gnu-gcc object... ok checking for sysroot... / checking for a working dd... /bin/dd checking how to truncate binary pipes... /bin/dd bs=4096 count=1 checking for x86_64-pc-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 x86_64-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no checking for x86_64-pc-linux-gnu-gcc option to produce PIC... -fPIC -DPIC checking if x86_64-pc-linux-gnu-gcc PIC flag -fPIC -DPIC works... yes checking if x86_64-pc-linux-gnu-gcc static flag -static works... yes checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... yes checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... (cached) yes checking whether the x86_64-pc-linux-gnu-gcc linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) 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... x86_64-pc-linux-gnu-g++ -E checking for ld used by x86_64-pc-linux-gnu-g++... /usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64 checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) is GNU ld... yes checking whether the x86_64-pc-linux-gnu-g++ linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes checking for x86_64-pc-linux-gnu-g++ option to produce PIC... -fPIC -DPIC checking if x86_64-pc-linux-gnu-g++ PIC flag -fPIC -DPIC works... yes checking if x86_64-pc-linux-gnu-g++ static flag -static works... yes checking if x86_64-pc-linux-gnu-g++ supports -c -o file.o... yes checking if x86_64-pc-linux-gnu-g++ supports -c -o file.o... (cached) yes checking whether the x86_64-pc-linux-gnu-g++ linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) 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/lib/nut checking alt pid path... /var/lib/nut checking driver path... /lib64/nut checking cgi path... ${exec_prefix}/cgi-bin checking html path... /usr/share/nut/html checking pidpath... /var/run checking network port number... 3493 checking user to run as... nut checking group membership of user to run as... nut checking facility for syslog... LOG_DAEMON checking which drivers to build... al175 apcsmart apcsmart-old apcupsd-ups bcmxcp bcmxcp_usb belkin belkinunv bestfcom bestfortress bestuferrups bestups blazer_ser blazer_usb clone clone-outlet dummy-ups etapro everups gamatronic genericups isbmex ivtscd liebert liebert-esp2 masterguard metasys mge-shut mge-utalk microdowell nutdrv_qx oldmge-shut oneac optiups powercom powerpanel rhino richcomm_usb riello_ser riello_usb safenet solis tripplite tripplite_usb tripplitesu upscode2 usbhid-ups victronups checking which driver man pages to install... al175.8 apcsmart.8 apcsmart-old.8 apcupsd-ups.8 bcmxcp.8 bcmxcp_usb.8 belkin.8 belkinunv.8 bestfcom.8 bestfortress.8 bestuferrups.8 bestups.8 blazer_ser.8 blazer_usb.8 clone.8 dummy-ups.8 etapro.8 everups.8 gamatronic.8 genericups.8 isbmex.8 ivtscd.8 liebert.8 liebert-esp2.8 masterguard.8 metasys.8 mge-shut.8 mge-utalk.8 microdowell.8 nutdrv_qx.8 oneac.8 optiups.8 powercom.8 powerpanel.8 rhino.8 richcomm_usb.8 riello_ser.8 riello_usb.8 safenet.8 solis.8 tripplite.8 tripplite_usb.8 tripplitesu.8 upscode2.8 usbhid-ups.8 victronups.8 checking whether to strip debug symbols... no checking whether to install pkg-config *.pc files... using ${libdir}/pkgconfig checking for x86_64-pc-linux-gnu-pkg-config... (cached) /usr/bin/x86_64-pc-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes checking whether to install systemd files... using /lib/systemd/system checking whether to install hotplug rules... using /etc/hotplug checking whether to install udev rules... using /lib/udev checking whether to install FreeBSD devd.conf file... no checking for asciidoc... (cached) /usr/bin/asciidoc checking for a2x... (cached) /usr/bin/a2x checking for aspell... /usr/bin/aspell 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 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: no build IPMI driver: no build Mac OS X meta-driver: no build i2c based drivers: no enable SSL support: yes (OpenSSL) enable libwrap (tcp-wrappers) support: yes enable libltdl (Libtool dlopen abstraction) support: yes build nut-scanner: yes build CGI programs: no build and install documentation: no build and install the development files: yes only build specific drivers: al175 apcsmart apcsmart-old apcupsd-ups bcmxcp bcmxcp_usb belkin belkinunv bestfcom bestfortress bestuferrups bestups blazer_ser blazer_usb clone clone-outlet dummy-ups etapro everups gamatronic genericups isbmex ivtscd liebert liebert-esp2 masterguard metasys mge-shut mge-utalk microdowell nutdrv_qx oldmge-shut oneac optiups powercom powerpanel rhino richcomm_usb riello_ser riello_usb safenet solis tripplite tripplite_usb tripplitesu upscode2 usbhid-ups victronups >>> Source configured. >>> Compiling source in /var/tmp/portage/sys-power/nut-2.7.4-r7/work/nut-2.7.4 ... make -j3 Making all in include make[1]: Entering directory '/var/tmp/portage/sys-power/nut-2.7.4-r7/work/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 all-am make[2]: Entering directory '/var/tmp/portage/sys-power/nut-2.7.4-r7/work/nut-2.7.4/include' make[2]: Leaving directory '/var/tmp/portage/sys-power/nut-2.7.4-r7/work/nut-2.7.4/include' make[1]: Leaving directory '/var/tmp/portage/sys-power/nut-2.7.4-r7/work/nut-2.7.4/include' Making all in common make[1]: Entering directory '/var/tmp/portage/sys-power/nut-2.7.4-r7/work/nut-2.7.4/common' /bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -I../include -pipe -march=native -fno-diagnostics-color -O2 -fno-lto -Wall -Wsign-compare -c -o parseconf.lo parseconf.c /bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -I../include -pipe -march=native -fno-diagnostics-color -O2 -fno-lto -Wall -Wsign-compare -c -o common.lo common.c /bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -I../include -pipe -march=native -fno-diagnostics-color -O2 -fno-lto -Wall -Wsign-compare -c -o state.lo state.c libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -I../include -pipe -march=native -fno-diagnostics-color -O2 -fno-lto -Wall -Wsign-compare -c parseconf.c -fPIC -DPIC -o .libs/parseconf.o libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -I../include -pipe -march=native -fno-diagnostics-color -O2 -fno-lto -Wall -Wsign-compare -c state.c -fPIC -DPIC -o .libs/state.o libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -I../include -pipe -march=native -fno-diagnostics-color -O2 -fno-lto -Wall -Wsign-compare -c common.c -fPIC -DPIC -o .libs/common.o /bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -I../include -pipe -march=native -fno-diagnostics-color -O2 -fno-lto -Wall -Wsign-compare -c -o str.lo str.c libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -I../include -pipe -march=native -fno-diagnostics-color -O2 -fno-lto -Wall -Wsign-compare -c str.c -fPIC -DPIC -o .libs/str.o /bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -I../include -pipe -march=native -fno-diagnostics-color -O2 -fno-lto -Wall -Wsign-compare -c -o upsconf.lo upsconf.c /bin/sh ../libtool --tag=CC --mode=link x86_64-pc-linux-gnu-gcc -I../include -pipe -march=native -fno-diagnostics-color -O2 -fno-lto -Wall -Wsign-compare -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -Wl,--defsym=__gentoo_check_ldflags__=0 -o libparseconf.la parseconf.lo -lpthread libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -I../include -pipe -march=native -fno-diagnostics-color -O2 -fno-lto -Wall -Wsign-compare -c upsconf.c -fPIC -DPIC -o .libs/upsconf.o libtool: link: /usr/bin/ar cru .libs/libparseconf.a .libs/parseconf.o libtool: link: x86_64-pc-linux-gnu-ranlib .libs/libparseconf.a libtool: link: ( cd ".libs" && rm -f "libparseconf.la" && ln -s "../libparseconf.la" "libparseconf.la" ) /bin/sh ../libtool --tag=CC --mode=link x86_64-pc-linux-gnu-gcc -I../include -pipe -march=native -fno-diagnostics-color -O2 -fno-lto -Wall -Wsign-compare -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -Wl,--defsym=__gentoo_check_ldflags__=0 -o libcommon.la common.lo state.lo str.lo upsconf.lo libparseconf.la -lpthread /bin/sh ../libtool --tag=CC --mode=link x86_64-pc-linux-gnu-gcc -I../include -pipe -march=native -fno-diagnostics-color -O2 -fno-lto -Wall -Wsign-compare -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -Wl,--defsym=__gentoo_check_ldflags__=0 -o libcommonclient.la common.lo state.lo str.lo libparseconf.la -lpthread libtool: link: (cd .libs/libcommonclient.lax/libparseconf.a && /usr/bin/ar x "/var/tmp/portage/sys-power/nut-2.7.4-r7/work/nut-2.7.4/common/./.libs/libparseconf.a") libtool: link: (cd .libs/libcommon.lax/libparseconf.a && /usr/bin/ar x "/var/tmp/portage/sys-power/nut-2.7.4-r7/work/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: x86_64-pc-linux-gnu-ranlib .libs/libcommonclient.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: rm -fr .libs/libcommonclient.lax libtool: link: x86_64-pc-linux-gnu-ranlib .libs/libcommon.a libtool: link: rm -fr .libs/libcommon.lax libtool: link: ( cd ".libs" && rm -f "libcommonclient.la" && ln -s "../libcommonclient.la" "libcommonclient.la" ) libtool: link: ( cd ".libs" && rm -f "libcommon.la" && ln -s "../libcommon.la" "libcommon.la" ) make[1]: Leaving directory '/var/tmp/portage/sys-power/nut-2.7.4-r7/work/nut-2.7.4/common' Making all in clients make[1]: Entering directory '/var/tmp/portage/sys-power/nut-2.7.4-r7/work/nut-2.7.4/clients' x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -I../include -pipe -march=native -fno-diagnostics-color -O2 -fno-lto -Wall -Wsign-compare -c -o upsc.o upsc.c /bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -I../include -pipe -march=native -fno-diagnostics-color -O2 -fno-lto -Wall -Wsign-compare -c -o upsclient.lo upsclient.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -I../include -pipe -march=native -fno-diagnostics-color -O2 -fno-lto -Wall -Wsign-compare -c -o upslog.o upslog.c libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -I../include -pipe -march=native -fno-diagnostics-color -O2 -fno-lto -Wall -Wsign-compare -c upsclient.c -fPIC -DPIC -o .libs/upsclient.o x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -I../include -pipe -march=native -fno-diagnostics-color -O2 -fno-lto -Wall -Wsign-compare -c -o upsrw.o upsrw.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -I../include -pipe -march=native -fno-diagnostics-color -O2 -fno-lto -Wall -Wsign-compare -c -o upscmd.o upscmd.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -I../include -pipe -march=native -fno-diagnostics-color -O2 -fno-lto -Wall -Wsign-compare -c -o upsmon.o upsmon.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:866, 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 ()); | ~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -I../include -pipe -march=native -fno-diagnostics-color -O2 -fno-lto -Wall -Wsign-compare -c -o upssched.o upssched.c /bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -march=native -fno-diagnostics-color -O2 -fno-lto -c -o nutclient.lo nutclient.cpp libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -march=native -fno-diagnostics-color -O2 -fno-lto -c nutclient.cpp -fPIC -DPIC -o .libs/nutclient.o 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:866, 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 ()); | ~~~~~~~~~~~~~~~~~ /bin/sh ../libtool --tag=CC --mode=link x86_64-pc-linux-gnu-gcc -I../include -pipe -march=native -fno-diagnostics-color -O2 -fno-lto -Wall -Wsign-compare -version-info 4:0:0 -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -Wl,--defsym=__gentoo_check_ldflags__=0 -o libupsclient.la -rpath /usr/lib64 upsclient.lo ../common/libcommonclient.la -lssl -lcrypto -lpthread /bin/sh ../libtool --tag=CC --mode=link x86_64-pc-linux-gnu-gcc -I../include -pipe -march=native -fno-diagnostics-color -O2 -fno-lto -Wall -Wsign-compare -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -Wl,--defsym=__gentoo_check_ldflags__=0 -o upssched upssched.o ../common/libcommon.la ../common/libparseconf.la -lpthread In file included from nutclient.cpp:20: nutclient.h:135:86: error: ISO C++17 does not allow dynamic exception specifications 135 | enticate(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 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 getDeviceNames()throw(NutException)=0; | ^~~~~ nutclient.h:176:74: error: ISO C++17 does not allow dynamic exception specifications 176 | al 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 | getDeviceVariableNames(const std::string& dev)throw(NutException)=0; | ^~~~~ nutclient.h:195:87: error: ISO C++17 does not allow dynamic exception specifications 195 | td::string> getDeviceRWVariableNames(const std::string& dev)throw(NutException)=0; | ^~~~~ nutclient.h:202:88: error: ISO C++17 does not allow dynamic exception specifications 202 | iceVariable(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 | Description(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 | riableValue(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 | d::string> > getDeviceVariableValues(const std::string& dev)throw(NutException); | ^~~~~ nutclient.h:229:114: error: ISO C++17 does not allow dynamic exception specifications 229 | ing& 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 | t std::string& name, const std::vector& values)throw(NutException)=0; | ^~~~~ nutclient.h:249:84: error: ISO C++17 does not allow dynamic exception specifications 249 | t getDeviceCommandNames(const std::string& dev)throw(NutException)=0; | ^~~~~ nutclient.h:256:87: error: ISO C++17 does not allow dynamic exception specifications 256 | viceCommand(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 | Description(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 | viceCommand(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 | enticate(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 getDeviceNames()throw(NutException); | ^~~~~ nutclient.h:366:74: error: ISO C++17 does not allow dynamic exception specifications 366 | al std::string getDeviceDescription(const std::string& name)throw(NutException); | ^~~~~ nutclient.h:368:85: error: ISO C++17 does not allow dynamic exception specifications 368 | getDeviceVariableNames(const std::string& dev)throw(NutException); | ^~~~~ nutclient.h:369:87: error: ISO C++17 does not allow dynamic exception specifications 369 | td::string> getDeviceRWVariableNames(const std::string& dev)throw(NutException); | ^~~~~ libtool: link: x86_64-pc-linux-gnu-gcc -shared -fPIC -DPIC .libs/upsclient.o -Wl,--whole-archive ../common/.libs/libcommonclient.a -Wl,--no-whole-archive -Wl,--as-needed -lssl -lcrypto -lpthread -march=native -O2 -Wl,-O1 -Wl,--defsym=__gentoo_check_ldflags__=0 -Wl,--defsym=__gentoo_check_ldflags__=0 -Wl,-soname -Wl,libupsclient.so.4 -o .libs/libupsclient.so.4.0.0 nutclient.h:370:106: error: ISO C++17 does not allow dynamic exception specifications 370 | Description(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 | riableValue(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 | d::string> > getDeviceVariableValues(const std::string& dev)throw(NutException); | ^~~~~ nutclient.h:373:114: error: ISO C++17 does not allow dynamic exception specifications 373 | ing& 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 | t std::string& name, const std::vector& values)throw(NutException); | ^~~~~ nutclient.h:376:84: error: ISO C++17 does not allow dynamic exception specifications 376 | t getDeviceCommandNames(const std::string& dev)throw(NutException); | ^~~~~ nutclient.h:377:105: error: ISO C++17 does not allow dynamic exception specifications 377 | Description(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 | viceCommand(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 | ector getVariableValue(const std::string& name)throw(NutException); | ^~~~~ nutclient.h:470:76: error: ISO C++17 does not allow dynamic exception specifications 470 | p > getVariableValues()throw(NutException); | ^~~~~ nutclient.h:475:49: error: ISO C++17 does not allow dynamic exception specifications 475 | std::set getVariableNames()throw(NutException); | ^~~~~ nutclient.h:480:51: error: ISO C++17 does not allow dynamic exception specifications 480 | std::set getRWVariableNames()throw(NutException); | ^~~~~ nutclient.h:486:76: error: ISO C++17 does not allow dynamic exception specifications 486 | tVariable(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 | t std::string& name, const std::vector& 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 getVariables()throw(NutException); | ^~~~~ nutclient.h:509:44: error: ISO C++17 does not allow dynamic exception specifications 509 | std::set getRWVariables()throw(NutException); | ^~~~~ nutclient.h:515:48: error: ISO C++17 does not allow dynamic exception specifications 515 | std::set getCommandNames()throw(NutException); | ^~~~~ nutclient.h:520:40: error: ISO C++17 does not allow dynamic exception specifications 520 | std::set 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 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& 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); | ^~~~~ libtool: link: (cd ".libs" && rm -f "libupsclient.so.4" && ln -s "libupsclient.so.4.0.0" "libupsclient.so.4") 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) | ^~~~~ libtool: link: (cd ".libs" && rm -f "libupsclient.so" && ln -s "libupsclient.so.4.0.0" "libupsclient.so") 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 Client::getDevices()throw(NutException) | ^~~~~ nutclient.cpp:438:80: error: ISO C++17 does not allow dynamic exception specifications 438 | iceVariable(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 | g> > Client::getDeviceVariableValues(const std::string& dev)throw(NutException) | ^~~~~ libtool: link: ( cd ".libs" && rm -f "libupsclient.la" && ln -s "../libupsclient.la" "libupsclient.la" ) nutclient.cpp:458:79: error: ISO C++17 does not allow dynamic exception specifications 458 | viceCommand(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 TcpClient::getDeviceNames()throw(NutException) | ^~~~~ nutclient.cpp:579:69: error: ISO C++17 does not allow dynamic exception specifications 579 | ing TcpClient::getDeviceDescription(const std::string& name)throw(NutException) | ^~~~~ nutclient.cpp:584:80: error: ISO C++17 does not allow dynamic exception specifications 584 | g> TcpClient::getDeviceVariableNames(const std::string& dev)throw(NutException) | ^~~~~ nutclient.cpp:597:82: error: ISO C++17 does not allow dynamic exception specifications 597 | TcpClient::getDeviceRWVariableNames(const std::string& dev)throw(NutException) | ^~~~~ libtool: link: x86_64-pc-linux-gnu-gcc -I../include -pipe -march=native -fno-diagnostics-color -O2 -fno-lto -Wall -Wsign-compare -Wl,-O1 -Wl,--defsym=__gentoo_check_ldflags__=0 -Wl,--defsym=__gentoo_check_ldflags__=0 -o upssched upssched.o -Wl,--as-needed ../common/.libs/libcommon.a ../common/.libs/libparseconf.a -lpthread nutclient.cpp:610:101: error: ISO C++17 does not allow dynamic exception specifications 610 | Description(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 | riableValue(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 | > TcpClient::getDeviceVariableValues(const std::string& dev)throw(NutException) | ^~~~~ /bin/sh ../libtool --tag=CC --mode=link x86_64-pc-linux-gnu-gcc -I../include -pipe -march=native -fno-diagnostics-color -O2 -fno-lto -Wall -Wsign-compare -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -Wl,--defsym=__gentoo_check_ldflags__=0 -o upsc upsc.o ../common/libcommon.la libupsclient.la -lssl -lcrypto -lpthread nutclient.cpp:637:109: error: ISO C++17 does not allow dynamic exception specifications 637 | ing& 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 | t std::string& name, const std::vector& values)throw(NutException) | ^~~~~ nutclient.cpp:653:79: error: ISO C++17 does not allow dynamic exception specifications 653 | ng> TcpClient::getDeviceCommandNames(const std::string& dev)throw(NutException) | ^~~~~ nutclient.cpp:666:100: error: ISO C++17 does not allow dynamic exception specifications 666 | Description(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 | viceCommand(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 Device::getVariableNames()throw(NutException) | ^~~~~ nutclient.cpp:979:51: error: ISO C++17 does not allow dynamic exception specifications 979 | std::set Device::getRWVariableNames()throw(NutException) | ^~~~~ nutclient.cpp:984:76: error: ISO C++17 does not allow dynamic exception specifications 984 | tVariable(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 Device::getVariables()throw(NutException) | ^~~~~ nutclient.cpp:1018:44: error: ISO C++17 does not allow dynamic exception specifications 1018 | std::set Device::getRWVariables()throw(NutException) | ^~~~~ nutclient.cpp:1031:48: error: ISO C++17 does not allow dynamic exception specifications 1031 | std::set Device::getCommandNames()throw(NutException) | ^~~~~ nutclient.cpp:1036:40: error: ISO C++17 does not allow dynamic exception specifications 1036 | std::set 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 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 | Variable::setValues(const std::vector& 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) | ^~~~~ /bin/sh ../libtool --tag=CC --mode=link x86_64-pc-linux-gnu-gcc -I../include -pipe -march=native -fno-diagnostics-color -O2 -fno-lto -Wall -Wsign-compare -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -Wl,--defsym=__gentoo_check_ldflags__=0 -o upslog upslog.o ../common/libcommon.la libupsclient.la -lssl -lcrypto -lpthread libtool: link: x86_64-pc-linux-gnu-gcc -I../include -pipe -march=native -fno-diagnostics-color -O2 -fno-lto -Wall -Wsign-compare -Wl,-O1 -Wl,--defsym=__gentoo_check_ldflags__=0 -Wl,--defsym=__gentoo_check_ldflags__=0 -o .libs/upsc upsc.o -Wl,--as-needed ../common/.libs/libcommon.a ./.libs/libupsclient.so -lssl -lcrypto -lpthread libtool: link: x86_64-pc-linux-gnu-gcc -I../include -pipe -march=native -fno-diagnostics-color -O2 -fno-lto -Wall -Wsign-compare -Wl,-O1 -Wl,--defsym=__gentoo_check_ldflags__=0 -Wl,--defsym=__gentoo_check_ldflags__=0 -o .libs/upslog upslog.o -Wl,--as-needed ../common/.libs/libcommon.a ./.libs/libupsclient.so -lssl -lcrypto -lpthread make[1]: *** [Makefile:920: nutclient.lo] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: Leaving directory '/var/tmp/portage/sys-power/nut-2.7.4-r7/work/nut-2.7.4/clients' make: *** [Makefile:527: all-recursive] Error 1 * ERROR: sys-power/nut-2.7.4-r7::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=sys-power/nut-2.7.4-r7::gentoo'`, * the complete build log and the output of `emerge -pqv '=sys-power/nut-2.7.4-r7::gentoo'`. * The complete build log is located at '/var/log/portage/sys-power:nut-2.7.4-r7:20210710-034858.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/sys-power/nut-2.7.4-r7/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-power/nut-2.7.4-r7/temp/environment'. * Working directory: '/var/tmp/portage/sys-power/nut-2.7.4-r7/work/nut-2.7.4' * S: '/var/tmp/portage/sys-power/nut-2.7.4-r7/work/nut-2.7.4'