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

Bug 939737

Summary: dev-util/bpftool-7.5.0-r1: unnecessarily tries & fails to apply patch when LINUX_VERSION has only major.minor components
Product: Gentoo Linux Reporter: Holger Hoffstätte <holger>
Component: Current packagesAssignee: Holger Hoffstätte <holger>
Status: RESOLVED FIXED    
Severity: normal CC: holger
Priority: Normal Keywords: PullRequest
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/38880
Whiteboard:
Package list:
Runtime testing required: ---

Description Holger Hoffstätte 2024-09-16 11:16:54 UTC
When the LINUX_VERSION in the bpftool ebuild has only major.minor components (no patch version) the ebuild still tries to apply the version's patch set onto the full version. This obviously fails.


Reproducible: Always

Steps to Reproduce:
1. set LINUX_VERSION to e.g. 6.11 in the ebuild
2. try to emerge bpftool

Actual Results:  
Failure to unpack/patch

Expected Results:  
Successful unpacking/patching
Comment 1 Holger Hoffstätte 2024-09-16 11:17:35 UTC
Will be fixed in the next update.
Comment 2 Larry the Git Cow gentoo-dev 2024-10-05 05:21:18 UTC
The bug has been closed via the following commit(s):

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

commit 8b31214dabfbf5b99d44e2daa06fc159acb230ec
Author:     Holger Hoffstätte <holger@applied-asynchrony.com>
AuthorDate: 2024-10-04 16:38:06 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-10-05 05:20:59 +0000

    dev-util/bpftool: bump to use 6.11.2, use llvm-r1, support llvm-19
    
    Closes: https://bugs.gentoo.org/938351
    Closes: https://bugs.gentoo.org/939737
    Signed-off-by: Holger Hoffstätte <holger@applied-asynchrony.com>
    Closes: https://github.com/gentoo/gentoo/pull/38880
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-util/bpftool/Manifest                |   2 +
 dev-util/bpftool/bpftool-7.5.0-r2.ebuild | 135 +++++++++++++++++++++++++++++++
 2 files changed, 137 insertions(+)