sys-power/nut-2.8.2-r1 with USE=python relies on telnetlib which was deprecated in Python3.11 and removed in Python3.13 - hence fails to build. checking for OpenSSL version via pkg-config... 3.5.0 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 whether to enable libwrap (tcp-wrappers) support... no checking for libltdl cflags... 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 nut-scanner... yes checking whether to build CGI programs... no checking if we can and should install NUT-Monitor desktop application... no checking if we can and should install PyNUT module... Traceback (most recent call last): File "<string>", line 1, in <module> import telnetlib ModuleNotFoundError: No module named 'telnetlib' configure: error: Prerequisites for PyNUT not found, can't install as required !!! Please attach the following file when seeking support: !!! /var/tmp/portage/sys-power/nut-2.8.2-r2/work/nut-2.8.2/config.log * ERROR: sys-power/nut-2.8.2-r2::gentoo failed (configure phase): * econf failed * * Call stack: * ebuild.sh, line 136: Called src_configure * environment, line 2596: Called econf '--datadir=/usr/share/nut' '--datarootdir=/usr/share/nut' '--disable-static' '--disable-strip' '--disable-Werror' '--sysconfdir=/etc/nut' '--with-dev' '--with-drvpath=/lib64/nut' '--with-group=nut' '--with-htmlpath=/usr/share/nut/html' '--with-logfacility=LOG_DAEMON' '--with-statepath=/run/nut' '--with-systemdsystemunitdir=/usr/lib/systemd/system' '--with-systemdtmpfilesdir=/usr/lib/tmpfiles.d' '--with-udev-dir=/usr/lib/udev' '--with-user=nut' '--without-powerman' '--without-python' '--without-python2' '--with-altpidpath=/run/nut' '--with-pidpath=/run/nut' '--without-cgi' '--without-gpio' '--without-linux_i2c' '--without-freeipmi' '--without-ipmi' '--without-nut_monitor' '--with-pynut' '--without-serial' '--with-snmp' '--with-ssl' '--without-libsystemd' '--without-wrap' '--with-usb' '--with-neon' '--without-avahi' '--with-doc=man' '--with-python3=/usr/bin/python3.13' * phase-helpers.sh, line 647: Called __helpers_die 'econf failed' * isolated-functions.sh, line 121: Called die * The specific snippet of code: * die "$@"
Sorry - meant sys-power/nut-2.8.2-r2