Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 741918 - sys-cluster/knem-1.1.3-r2 fails to compile
Summary: sys-cluster/knem-1.1.3-r2 fails to compile
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Alexey Shvetsov
Keywords: EBUILD
Depends on:
Reported: 2020-09-12 18:40 UTC by Agostino Sarubbo
Modified: 2021-04-12 07:50 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---

build.log (build.log,24.39 KB, text/plain)
2020-09-12 18:40 UTC, Agostino Sarubbo
proposed ebuild (knem-1.1.4.ebuild,1.76 KB, text/plain)
2021-02-09 11:03 UTC, Michelangelo Scopelliti

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2020-09-12 18:40:51 UTC

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

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 ""), 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 , the source URI to, 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.