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

Bug 902161

Summary: dev-util/bpftrace has invalid dependency on two LLVM slots
Product: Gentoo Linux Reporter: Michał Górny <mgorny>
Component: Current packagesAssignee: Patrick McLean <chutzpah>
Status: RESOLVED FIXED    
Severity: normal CC: jsmolic
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2023-03-19 17:37:02 UTC
RDEPEND has:

	>=sys-devel/llvm-10:=[llvm_targets_BPF(+)]
	>=sys-devel/clang-10:=
	<sys-devel/clang-$((${LLVM_MAX_SLOT} + 1)):=
	<sys-devel/llvm-$((${LLVM_MAX_SLOT} + 1)):=[llvm_targets_BPF(+)]

This evaluates to (from vdb):

	>=sys-devel/llvm-10:17/17.0.0_pre20230314=[llvm_targets_BPF(+)]
	>=sys-devel/clang-10:17/17.0.0_pre20230314=
	<sys-devel/clang-17:16/16=
	<sys-devel/llvm-17:16/16=[llvm_targets_BPF(+)]

(and could possibly be even more wrong, depending on packages installed)
Comment 1 Larry the Git Cow gentoo-dev 2023-04-12 23:31:41 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d2993133f11e0b2aaad9d74a15a337ef27a8538d

commit d2993133f11e0b2aaad9d74a15a337ef27a8538d
Author:     Patrick McLean <chutzpah@gentoo.org>
AuthorDate: 2023-04-12 23:31:02 +0000
Commit:     Patrick McLean <chutzpah@gentoo.org>
CommitDate: 2023-04-12 23:31:35 +0000

    dev-util/bpftrace: Fix invalid LLVM dep (bug #902161)
    
    Closes: https://bugs.gentoo.org/902161
    Signed-off-by: Patrick McLean <chutzpah@gentoo.org>

 dev-util/bpftrace/bpftrace-0.17.0-r4.ebuild | 97 +++++++++++++++++++++++++++++
 1 file changed, 97 insertions(+)