rdlibtool: lconf: found "/var/tmp/portage/sys-power/nut-2.7.4-r6/work/nut-2.7.4/libtool". rdlibtool: link: x86_64-pc-linux-gnu-gcc nut_scanner-nut-scanner.o ../../common/.libs/libcommon.a -I../../clients -I../../include -O2 -pipe -march=native -fno-diagnostics-color -fno-lto -Wall -Wsign-compare -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -L.libs -lnutscan -lltdl -lssl -lcrypto -lpthread -o .libs/nut-scanner /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: .libs/libnutscan.so: undefined reference to `str_rtrim' collect2: error: ld returned 1 exit status rdlibtool: exec error upon slbt_exec_link_create_executable(), line 1614: (see child process error messages). rdlibtool: < returned to > slbt_exec_link(), line 1934. ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_systemd-20210320-151517 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-7.3.1 [2] x86_64-pc-linux-gnu-10.2.0 * /usr/lib/llvm/11 11.1.0 Python 3.8.8 Available Ruby profiles: [1] ruby26 (with Rubygems) [2] ruby27 (with Rubygems) * Available Rust versions: [1] rust-1.50.0 * The following VMs are available for generation-2: *) AdoptOpenJDK 8.282_p08 [openjdk-bin-8] Available Java Virtual Machines: [1] openjdk-bin-8 system-vm The Glorious Glasgow Haskell Compilation System, version 8.10.4 timestamp(s) of HEAD at this tinderbox image: /var/db/repos/gentoo Sat Mar 27 06:50:41 UTC 2021 emerge -qpvO sys-power/nut [ebuild N ] sys-power/nut-2.7.4-r6 USE="(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 -cgi -ipmi (-selinux) -snmp -ups_drivers_netxml-ups -ups_drivers_nut-ipmipsu -ups_drivers_snmp-ups -xml -zeroconf"
Created attachment 694815 [details] emerge-info.txt
Created attachment 694818 [details] emerge-history.txt
Created attachment 694821 [details] environment
Created attachment 694824 [details] etc.portage.tar.bz2
Created attachment 694827 [details] logs.tar.bz2
Created attachment 694830 [details] sys-power:nut-2.7.4-r6:20210327-074809.log
Created attachment 694833 [details] temp.tar.bz2
Created attachment 695100 [details, diff] https://github.com/networkupstools/nut/pull/1001 Patch applied against the upstream git, they have several instances undefined references in their drivers.
Created attachment 695199 [details, diff] https://github.com/networkupstools/nut/pull/1001 Updated more correct and cleaner patch against the upstream git that fixes the undefined references and passes upstream's travis CI.
The undefined reference to str_rtrim seems to be an issue only in the old stable, not the current git repo.
The PR was merged upstream. :) https://github.com/networkupstools/nut/commit/a0328e384ad3fb230c2276c8b6dd9f2c47ac07fb
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a56c59f4e9869ff686227c848b4402a281974fb9 commit a56c59f4e9869ff686227c848b4402a281974fb9 Author: Lars Wendler <polynomial-c@gentoo.org> AuthorDate: 2021-05-04 14:16:41 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2021-08-04 23:17:48 +0000 sys-power/nut: Fix for slibtool Thanks-to: orbea <orbea@riseup.net> Upstream: https://github.com/networkupstools/nut/commit/5d98d55 Upstream: https://github.com/networkupstools/nut/commit/a0328e3 Closes: https://bugs.gentoo.org/778584 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org> Closes: https://github.com/gentoo/gentoo/pull/20689 Signed-off-by: Sam James <sam@gentoo.org> sys-power/nut/files/nut-2.7.2-no-libdummy.patch | 13 ------ sys-power/nut/files/nut-2.7.4-nut-scanner.patch | 35 ++++++++++++++ sys-power/nut/files/nut-2.7.4-slibtool.patch | 61 +++++++++++++++++++++++++ sys-power/nut/nut-2.7.4-r7.ebuild | 3 +- 4 files changed, 98 insertions(+), 14 deletions(-)