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
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Alexey Shvetsov
URL:
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2020-09-12 18:40 UTC by Agostino Sarubbo
Modified: 2024-03-27 11:59 UTC (History)
5 users (show)

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


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

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
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...