Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 946589 - dev-util/perf has automagic dependency on llvm-core/llvm
Summary: dev-util/perf has automagic dependency on llvm-core/llvm
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Guilherme Amadio
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-12-17 17:47 UTC by Paul Zander
Modified: 2024-12-18 14:33 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Zander 2024-12-17 17:47:34 UTC
Without passing NO_LIBLLVM=1, llvm-perf will be enabled and thus perf and trace will be linked against e.g. /usr/lib/llvm/20/lib64/libLLVM.so.20.0git49a5ad8e from llvm-core/llvm.
Comment 1 Paul Zander 2024-12-17 17:48:38 UTC
Note that this is a problem for USE=-bpf as llvm-r1_pkg_setup is only called for USE=bpf.
Comment 2 Larry the Git Cow gentoo-dev 2024-12-18 14:33:35 UTC
The bug has been closed via the following commit(s):

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

commit c3181eece1fe233e1d8bb86ee4fd6a92a04ad35b
Author:     Guilherme Amadio <amadio@gentoo.org>
AuthorDate: 2024-12-18 10:55:33 +0000
Commit:     Guilherme Amadio <amadio@gentoo.org>
CommitDate: 2024-12-18 14:33:18 +0000

    dev-util/perf: fix automagic dependency on llvm-core/llvm
    
    Closes: https://bugs.gentoo.org/946589
    
    Signed-off-by: Guilherme Amadio <amadio@gentoo.org>

 dev-util/perf/{perf-6.11.7.ebuild => perf-6.11.7-r1.ebuild} | 1 +
 dev-util/perf/{perf-6.12.ebuild => perf-6.12-r1.ebuild}     | 1 +
 2 files changed, 2 insertions(+)