Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 741918

Summary: sys-cluster/knem-1.1.3-r2 fails to compile
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Alexey Shvetsov <alexxy>
Status: RESOLVED FIXED    
Severity: normal CC: alexxy, cluster, kernelpanic, lssndrbarbieri, sam
Priority: Normal Keywords: EBUILD
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=778755
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log
proposed ebuild

Description Agostino Sarubbo gentoo-dev 2020-09-12 18:40:51 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: sys-cluster/knem-1.1.3-r2 fails to compile.
Discovered on: amd64 (internal ref: tinderbox)

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 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.
Comment 1 Agostino Sarubbo gentoo-dev 2020-09-12 18:40:53 UTC
Created attachment 659823 [details]
build.log

build log and emerge --info
Comment 2 Michelangelo Scopelliti 2021-02-09 11:03:31 UTC
Created attachment 686124 [details]
proposed ebuild

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.
Comment 3 Alexey Shvetsov archtester gentoo-dev 2024-03-27 11:59:51 UTC
Was fixed long time ago...