Re: [PATCH 0/2] kbuild: rpm-pkg: Address -debuginfo build regression with RPM < 4.20.0
From: Steve French
Date: Fri Feb 13 2026 - 12:34:37 EST
Can also add Tested-by: Steve French <stfrench@xxxxxxxxxxxxx>
On Fri, Feb 13, 2026 at 8:11 AM Stefano Garzarella <sgarzare@xxxxxxxxxx> wrote:
>
> On Tue, Feb 10, 2026 at 12:04:47AM -0700, Nathan Chancellor wrote:
> >Steve reported a build issue with commit 62089b804895 ("kbuild: rpm-pkg:
> >Generate debuginfo package manually") on RHEL9, which has an older
> >version of RPM than what I tested. Turns out that RPM 4.20.0 fixed an
> >issue with specifying %files for a -debuginfo subpackage.
> >
> >The first patch restricts the new -debuginfo package generation process
> >to CONFIG_MODULE_SIG=y and RPM >= 4.20.0 to ensure it is actually
> >necessary and working. The second patch restores the original -debuginfo
> >package generation process from commit a7c699d090a1 ("kbuild: rpm-pkg:
> >build a debuginfo RPM") when CONFIG_MODULE_SIG is disabled to keep the
> >-debuginfo package around for older versions of RPM.
>
> Yeah, I had similar issue on Fedora 42 (RPM version 4.20.1) and this
> series fixed my issue.
>
> >
> >---
> >Nathan Chancellor (2):
> > kbuild: rpm-pkg: Restrict manual debug package creation
> > kernel: rpm-pkg: Restore find-debuginfo.sh approach to -debuginfo package
> >
> > scripts/package/kernel.spec | 57 +++++++++++++++++++++++++++++++++++++++------
> > scripts/package/mkspec | 38 +++++++++++++++++++++++++++---
> > 2 files changed, 85 insertions(+), 10 deletions(-)
> >---
> >base-commit: 05f7e89ab9731565d8a62e3b5d1ec206485eeb0b
> >change-id: 20260209-kbuild-fix-debuginfo-rpm-718f81dbcaa6
>
> Tested-by: Stefano Garzarella <sgarzare@xxxxxxxxxx>
>
> Thanks,
> Stefano
>
--
Thanks,
Steve