* Package: sys-power/nut-2.7.4-r6 * Repository: gentoo * Maintainer: robbat2@gentoo.org prometheanfire@gentoo.org * Upstream: https://github.com/networkupstools/nut/issues * USE: abi_x86_64 amd64 cgi elibc_glibc kernel_linux 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 Removing user nut from group tty Adding user nut to group uucp Adding user nut to group nut * Please note that NUT now runs under the 'nut' user. * NUT is in the uucp group for access to RS-232 UPS. * However if you use a USB UPS you may need to look at the udev or * hotplug rules that are installed, and alter them suitably. * * You are strongly advised to read the UPGRADING file provided by upstream. * * Please note that upsdrv is NOT automatically started by upsd anymore. * If you have multiple UPS units, you can use their NUT names to * have a service per UPS: * ln -s /etc/init.d/upsdrv /etc/init.d/upsdrv.$UPSNAME * * If you want apcupsd to power off your UPS when it * shuts down your system in a power failure, you must * add nut.powerfail to your shutdown runlevel: * * rc-update add nut.powerfail shutdown * >>> Unpacking source... >>> Unpacking nut-2.7.4.tar.gz to /tmp/portage/sys-power/nut-2.7.4-r6/work >>> Source unpacked in /tmp/portage/sys-power/nut-2.7.4-r6/work >>> Preparing source in /tmp/portage/sys-power/nut-2.7.4-r6/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 '/tmp/portage/sys-power/nut-2.7.4-r6/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 /tmp/portage/sys-power/nut-2.7.4-r6/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-r6 --htmldir=/usr/share/doc/nut-2.7.4-r6/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 --with-cgi --without-ipmi --without-freeipmi --without-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 --with-cgipath=/usr/share/nut/cgi 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.7/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... yes checking whether optind is declared... yes checking for getopt.h... yes checking for getopt_long... yes checking whether uu_lock is declared... no checking whether __func__ is declared... yes checking for library containing gethostbyname... none required checking for library containing connect... none required checking 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... none found checking for Net-SNMP cflags... checking for Net-SNMP libs... checking for net-snmp/net-snmp-config.h... no checking for init_snmp... no checking for 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.30.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-common -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... no 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.1g 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... -O3 -pipe -march=core2 -mtune=native -fstack-protector-all -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 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... no configure: error: libgd not found, required for CGI build !!! Please attach the following file when seeking support: !!! /tmp/portage/sys-power/nut-2.7.4-r6/work/nut-2.7.4/config.log * ERROR: sys-power/nut-2.7.4-r6::gentoo failed (configure phase): * econf failed * * Call stack: * ebuild.sh, line 125: Called src_configure * environment, line 2940: Called econf '--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' '--with-cgi' '--without-ipmi' '--without-freeipmi' '--without-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' '--with-cgipath=/usr/share/nut/cgi' * phase-helpers.sh, line 681: Called __helpers_die 'econf failed' * isolated-functions.sh, line 112: Called die * The specific snippet of code: * die "$@" * * If you need support, post the output of `emerge --info '=sys-power/nut-2.7.4-r6::gentoo'`, * the complete build log and the output of `emerge -pqv '=sys-power/nut-2.7.4-r6::gentoo'`. * The complete build log is located at '/var/log/portage/sys-power:nut-2.7.4-r6:20200811-214723.log.gz'. * For convenience, a symlink to the build log is located at '/tmp/portage/sys-power/nut-2.7.4-r6/temp/build.log.gz'. * The ebuild environment file is located at '/tmp/portage/sys-power/nut-2.7.4-r6/temp/environment'. * Working directory: '/tmp/portage/sys-power/nut-2.7.4-r6/work/nut-2.7.4' * S: '/tmp/portage/sys-power/nut-2.7.4-r6/work/nut-2.7.4'