Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 902135 - dev-util/bpftrace-0.17.0-r2: fixes for llvm-16
Summary: dev-util/bpftrace-0.17.0-r2: fixes for llvm-16
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Patrick McLean
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2023-03-19 12:40 UTC by Holger Hoffstätte
Modified: 2023-03-19 17:34 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 Holger Hoffstätte 2023-03-19 12:40:27 UTC
bpftrace-0.17.0 already has LLVM_MAX_SLOT=16 but the build itself fails due to a leftover llvm version check fo <=15 and a missing header fix for C++-17.


Reproducible: Always

Steps to Reproduce:
1. emerge llvm/clang:16
2. build bpftrace
3. cmake error wrt. LLVM version, later buld error wrt. std::Optional
Comment 1 Holger Hoffstätte 2023-03-19 12:42:47 UTC
Fixes provided by the PR.
Comment 2 Larry the Git Cow gentoo-dev 2023-03-19 17:34:35 UTC
The bug has been closed via the following commit(s):

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

commit 25470c4c3bcdad4ae67fbe3a65b21682fe0fe670
Author:     Holger Hoffstätte <holger@applied-asynchrony.com>
AuthorDate: 2023-03-19 12:40:51 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2023-03-19 17:34:31 +0000

    dev-util/bpftrace: fixes for llvm-16
    
    Closes: https://bugs.gentoo.org/902135
    Signed-off-by: Holger Hoffstätte <holger@applied-asynchrony.com>
    Closes: https://github.com/gentoo/gentoo/pull/30234
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 ...-0.17.0-r2.ebuild => bpftrace-0.17.0-r3.ebuild} |  2 +
 .../bpftrace/files/bpftrace-0.17.0-llvm-16.patch   | 26 +++++++++++++
 .../files/bpftrace-0.17.0-use-std-optional.patch   | 44 ++++++++++++++++++++++
 3 files changed, 72 insertions(+)