https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: net-analyzer/scanssh fails to compile. Discovered on: amd64 NOTE: This machine uses a clang/LLVM toolchain. If you think that this issue is strictly related to clang/LLVM please block bug 408963. If you think that this issue isstrictly related to the LLD linker, please block bug 731004.
Created attachment 648122 [details] build.log build log and emerge --info
Created attachment 648124 [details] other.tar.bz2 other logs
configure:2829: checking for bufferevent in libevent configure:2851: x86_64-pc-linux-gnu-clang -o conftest -I/usr/include -Wl,-O1 -Wl,--as-needed -fuse-ld=lld -Wl,--defsym=__gentoo_check_ldflags__=0 conftest.c -L/usr/lib -levent >&5 ld.lld: error: /usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/../../../../lib64/crt1.o is incompatible with elf_x86_64 ld.lld: error: /usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/../../../../lib64/crti.o is incompatible with elf_x86_64 ld.lld: error: /usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/crtbegin.o is incompatible with elf_x86_64 ld.lld: error: /var/tmp/portage/net-analyzer/scanssh-2.1-r1/temp/conftest-93f389.o is incompatible with elf_x86_64 ld.lld: error: /usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/../../../../lib64/libevent.so is incompatible with elf_x86_64 ld.lld: error: /usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/libgcc_s.so.1 is incompatible with elf_x86_64 ld.lld: error: /usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/libgcc_s.so.1 is incompatible with elf_x86_64 ld.lld: error: /usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/crtend.o is incompatible with elf_x86_64 ld.lld: error: /usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/../../../../lib64/crtn.o is incompatible with elf_x86_64 clang-10: error: linker command failed with exit code 1 (use -v to see invocation) configure:2854: $? = 1 configure: failed program was: #line 2832 "configure" #include "confdefs.h" #include <sys/types.h> #include <sys/time.h> #include <stdlib.h> #include <event.h> int main () { struct bufferevent bev; bufferevent_settimeout(&bev, 1, 1); ; return 0; } configure:2868: error: you need to install a more recent version of libevent, check http://www.monkey.org/~provos/libevent/
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ce597f4ec51eca5cf22fb914e45c770cf2f57f8c commit ce597f4ec51eca5cf22fb914e45c770cf2f57f8c Author: Jeroen Roovers <jer@gentoo.org> AuthorDate: 2020-07-07 08:20:34 +0000 Commit: Jeroen Roovers <jer@gentoo.org> CommitDate: 2020-07-07 08:21:35 +0000 net-analyzer/scanssh: Fix libdir checks Package-Manager: Portage-2.3.103, Repoman-2.3.23 Closes: https://bugs.gentoo.org/731178 Signed-off-by: Jeroen Roovers <jer@gentoo.org> net-analyzer/scanssh/files/scanssh-2.0-libdir.diff | 177 +++++++++++++++++++++ ...scanssh-2.1-r1.ebuild => scanssh-2.1-r2.ebuild} | 16 +- 2 files changed, 191 insertions(+), 2 deletions(-)