too long lines were shrinked: rdlibtool: lconf: openat(4,"../",O_DIRECTORY,0) = 3. rdlibtool: lconf: fstat(3,...) = 0 {.st_dev = 70, .st_ino = 4289774}. rdlibtool: lconf: openat(3,"libtool",O_RDONLY,0) = 4. rdlibtool: lconf: found "/var/tmp/portage/dev-libs/libgpiod-1.6.3-r4/work/libgpiod-1.6.3/libtool". rdlibtool: link: x86_64-pc-linux-gnu-g++ gpiodetectcxx.o -O2 -pipe -march=native -fno-diagnostics-color -lgpiodcxx -L../../../bindings/cxx/.libs -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o .libs/gpiodetectcxx /usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: warning: libgpiod.so.2, needed by ../../../bindings/cxx/.libs/libgpiodcxx.so, not found (try using -rpath or -rpath-link) /usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: ../../../bindings/cxx/.libs/libgpiodcxx.so: undefined reference to `gpiod_line_get_value_bulk' /usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: ../../../bindings/cxx/.libs/libgpiodcxx.so: undefined reference to `gpiod_line_iter_free' /usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: ../../../bindings/cxx/.libs/libgpiodcxx.so: undefined reference to `gpiod_line_set_config_bulk' ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_desktop-20230903-190046 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-10 [2] x86_64-pc-linux-gnu-13 * clang/llvm (if any): clang version 16.0.6 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/16/bin Configuration file: /etc/clang/clang.cfg /usr/lib/llvm/16 16.0.6 Python 3.11.5 Available Rust versions: [1] rust-bin-1.72.0 * The following VMs are available for generation-2: 1) Eclipse Temurin JDK 11.0.19_p7 [openjdk-bin-11] *) Eclipse Temurin JDK 17.0.7_p7 [openjdk-bin-17] 3) Eclipse Temurin JDK 8.372_p07 [openjdk-bin-8] Available Java Virtual Machines: [1] openjdk-bin-8 [2] openjdk-bin-11 [3] openjdk-bin-17 system-vm php cli (if any): go version go1.21.1 linux/amd64 HEAD of ::gentoo commit 29dc521db6623af6ad90012910abf61bb3ecf03d Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Sat Sep 9 13:32:06 2023 +0000 2023-09-09 13:32:05 UTC emerge -qpvO dev-libs/libgpiod [ebuild N ] dev-libs/libgpiod-1.6.3-r4 USE="cxx tools -python -test"
Created attachment 870187 [details] emerge-info.txt
Created attachment 870188 [details] dev-libs:libgpiod-1.6.3-r4:20230909-144310.log
Created attachment 870189 [details] emerge-history.txt.xz
Created attachment 870190 [details] environment
Created attachment 870191 [details] etc.clang.tar.xz
Created attachment 870192 [details] etc.portage.tar.xz
Created attachment 870193 [details] logs.tar.xz
Created attachment 870194 [details] temp.tar.xz
Only reproducible if libgpiod is not installed.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3b75d8e81ab8c79de75b24a93aa4498cca1d99a2 commit 3b75d8e81ab8c79de75b24a93aa4498cca1d99a2 Author: orbea <orbea@riseup.net> AuthorDate: 2024-03-21 13:57:25 +0000 Commit: Yixun Lan <dlan@gentoo.org> CommitDate: 2024-03-23 01:10:36 +0000 dev-libs/libgpiod: link with libtool archives Prevents linking against the system version that might be already installed. Closes: https://bugs.gentoo.org/913899 Upstream-PR: https://github.com/brgl/libgpiod/pull/65 Upstream-Commit: https://github.com/brgl/libgpiod/commit/b10af6b0173e647b54834edff087a5811b6bcfe1 Closes: https://github.com/gentoo/gentoo/pull/35854 Signed-off-by: orbea <orbea@riseup.net> Signed-off-by: Yixun Lan <dlan@gentoo.org> dev-libs/libgpiod/files/libgpiod-2.1-libtool.patch | 66 ++++++++++++++++++++++ dev-libs/libgpiod/libgpiod-2.1.ebuild | 14 ++++- 2 files changed, 78 insertions(+), 2 deletions(-)