Issue: sys-cluster/knem-1.1.3-r2 fails to compile.
Discovered on: amd64 (internal ref: tinderbox)
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 is strictly related to the LLD linker, please block bug 731004.
This machine uses also GLIBC-2.32. If you think that this issue is strictly related to GLIBC please block bug 736174.
Created attachment 659823 [details]
build log and emerge --info
Created attachment 686124 [details]
AFAICT, the current ebuild suffers from two main issues.
The first one in the "configure" (and "configure.ac"), is the cause of a sandbox violation: the configure invokes a make inside the kernel tree in order to read the kernel version. This can be overridden (hopefully the verb is correct).
The second is the cause of bug #697736: knem-1.1.3 works with kernels < 5.7 .
On the "minor" side, the homepage has changed to
https://knem.gitlabpages.inria.fr/ , the source URI to https://gitlab.inria.fr, and the license from "GPL-2 LGPL-2" to "BSD GPL-2".
All these issues are accounted in the attachment, with a personal addition: it is my opinion that without modules, knem is not that effective, ad thus I added a "+" to "modules" in IUSE.