rdlibtool: lconf: found "/var/tmp/portage/sci-libs/gerris-20131206-r1/work/gerris-snapshot-131206/libtool". rdlibtool: link: x86_64-pc-linux-gnu-gcc xyz2kdt-xyz2kdt.o -O2 -pipe -march=native -fno-diagnostics-color -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -D_GNU_SOURCE -Wall -Werror-implicit-function-declaration -Wmissing-prototypes -Wmissing-declarations -pipe -std=c99 -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -lkdt -lm -o .libs/xyz2kdt /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lkdt 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_desktop_gnome_systemd-20210318-090503 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-7.3.1 [2] x86_64-pc-linux-gnu-10.2.0 * clang version 11.1.0 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/11/bin /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: 1) IcedTea JDK 3.16.0 [icedtea-bin-8] 2) OpenJDK 8.282_p08 [openjdk-8] *) AdoptOpenJDK 8.282_p08 [openjdk-bin-8] Available Java Virtual Machines: [1] icedtea-bin-8 [2] openjdk-8 [3] 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 Fri Mar 26 02:35:45 UTC 2021 emerge -qpvO sci-libs/gerris [ebuild N ] sci-libs/gerris-20131206-r1 USE="-examples -mpi -static-libs"
Created attachment 694029 [details] emerge-info.txt
Created attachment 694032 [details] emerge-history.txt
Created attachment 694035 [details] environment
Created attachment 694038 [details] etc.portage.tar.bz2
Created attachment 694041 [details] logs.tar.bz2
Created attachment 694044 [details] sci-libs:gerris-20131206-r1:20210326-054042.log
Created attachment 694047 [details] temp.tar.bz2
Created attachment 694593 [details, diff] Patch to fix the build with slibtool. The build uses unreliable linker flags even though they already have the libtool archives available. Additionally it tries a link a binary with flags intended for libraries which doesn't work with slibtool. (Why does it work with GNU libtool...?)
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=08b0488189721a4b2904e41b5e705b9ef86e4f8d commit 08b0488189721a4b2904e41b5e705b9ef86e4f8d Author: Sam James <sam@gentoo.org> AuthorDate: 2021-03-27 02:18:01 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2021-03-27 02:57:38 +0000 sci-libs/gerris: fix build with slibtool Thanks-to: orbea <orbea@riseup.net> Closes: https://bugs.gentoo.org/778341 Signed-off-by: Sam James <sam@gentoo.org> .../gerris/files/gerris-20131206-slibtool.patch | 119 +++++++++++++++++++++ sci-libs/gerris/gerris-20131206-r1.ebuild | 3 +- 2 files changed, 121 insertions(+), 1 deletion(-)