public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Regression with patch "kbuild: rpm-pkg: Generate debuginfo package manually"
@ 2026-02-05 23:56 Steve French
  2026-02-06  0:24 ` Nathan Chancellor
  0 siblings, 1 reply; 4+ messages in thread
From: Steve French @ 2026-02-05 23:56 UTC (permalink / raw)
  To: Nathan Chancellor, Nicolas Schier; +Cc: LKML, Holger Kiehl

I noticed with the recent patch below:

    commit 62089b804895e845f82e132ea9d46a1fc53ed5a7
    Author: Nathan Chancellor <nathan@kernel.org>
    Date:   Wed Jan 21 15:29:15 2026 -0700

       kbuild: rpm-pkg: Generate debuginfo package manually

that all of our test builds were failing to build kernel RPMs for
6.19-rc8 and later (see e.g.
http://smb311-linux-testing.southcentralus.cloudapp.azure.com/#/builders/1/builds/99/steps/9/logs/stdio).
See below:

Processing files: kernel-devel-6.19.0_rc8-1.x86_64
warning: absolute symlink: /lib/modules/6.19.0-rc8/build ->
/usr/src/kernels/6.19.0-rc8
Provides: kernel-devel = 6.19.0_rc8-1 kernel-devel(x86-64) = 6.19.0_rc8-1
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Checking for unpackaged file(s): /usr/lib/rpm/check-files
/build/cifs-2.6/rpmbuild/BUILDROOT/kernel-6.19.0_rc8-1.x86_64
error: Installed (but unpackaged) file(s) found:
/debuginfo.list
/usr/lib/debug/.build-id/00/0cc2949a2b2de29e4bd4ce4aa4bf977b3f973f.debug
/usr/lib/debug/.build-id/00/1a57812e423fedd9c9c6ed3394075b099529d6.debug
/usr/lib/debug/.build-id/00/1afe9cbd97b09eb497017cbf7a6b1e0b3fbcf6.debug
/usr/lib/debug/.build-id/00/2986763acf2fa4e2809d0f09367299c15b8a19.debug
/usr/lib/debug/.build-id/00/2df34f219499614d7d636c3e5ef09dac42b830.debug
/usr/lib/debug/.build-id/00/34f5722d097d2a9f9877a4299a14e515c2c8ee.debug
/usr/lib/debug/.build-id/00/3ce8a2528d1fac9417e03bfe70139ad5d2a75f.debug
/usr/lib/debug/.build-id/00/86562f6b6d25b9e35f3365bb5b55f59adaa5cd.debug
/usr/lib/debug/.build-id/00/987fe544d1ef9f01dde580623a54a921ccfd72.debug
/usr/lib/debug/.build-id/00/9b54a550a5e54d8d23fc5a523c41f10503c44d.debug
/usr/lib/debug/.build-id/00/a55cbe21734e097e211d25520441301addc2bf.debug
/usr/lib/debug/.build-id/00/af994fa9889a8ad47983ddde242685c048c397.debug
/usr/lib/debug/.build-id/01/0d03163f57316e7813023bc0fe8aa54ff26348.debug
/usr/lib/debug/.build-id/01/70a2b0d9c8613e5ebb32ce6524f64923c68763.debug
/usr/lib/debug/.build-id/01/908b5696e89711611909f6985ca534d7b2b65d.debug
/usr/lib/debug/.build-id/01/a8a6ba18d22c5815820d2340859db740bb1107.debug
/usr/lib/debug/.build-id/01/ef9981db55f58603b46361db949dff183c4763.debug
/usr/lib/debug/.build-id/01/f38987e68af0ac6ba636841bf234933fd9d225.debug
/usr/lib/debug/.build-id/02/593ccd14f5f8af6e50248c9b8e17496cba5765.debug
/usr/lib/debug/.build-id/02/a4f10e0f8a6f48ee715a2e081fc5b213d7c0c1.debug
/usr/lib/debug/.build-id/03/9d1736c2f1e1bd3958bf1f1c49d4cca80d5d38.debug
/usr/lib/debug/.build-id/04/61e8658fd3847fcf564f4d0dd6f0ca538e928a.debug
/usr/lib/debug/.build-id/04/6966b9d5ae9fe7838389e62d55c3c4f146f412.debug
/usr/lib/debug/.build-id/04/d13330f1498dbc192eea64aa7b2116d603c1b8.debug
/usr/lib/debug/.build-id/04/d41bfaf624e5cd9d35653b99d42ac426668f98.debug
/usr/lib/debug/.build-id/04/e1d83e6d03d911ff09ef7600bdb6c6c9a9cef7.debug
/usr/lib/debug/.build-id/04/efedc6a8a692cad8731fe1c6bd0f9953bf4d73.debug
/usr/lib/debug/.build-id/04/fa18801fe355e12f8749703c4d17c7001262ca.debug
/usr/lib/debug/.build-id/05/003e8abde35e81913a49e52d1a66c98d75f9f2.debug
/usr/lib/debug/.build-id/05/63de3012cfe7c4b9739838ab48c5f80fafae54.debug
/usr/lib/debug/.build-id/05/7e425a93829f1326edf52baeb256c58883d53e.debug
/usr/lib/debug/.build-id/05/a921726416796b3132713d0092e013be8fca71.debug
/usr/lib/debug/.build-id/05/cbc5a64cfee2ab3411d43eeaf9eb2e65f70950.debug
/usr/lib/debug/.build-id/06/b7cceaae5f259090f226db2a3c34e032775690.debug
/usr/lib/debug/.build-id/06/ea9a2f850428aa622033457962e17d75b243d6.debug
/usr/lib/debug/.build-id/06/ee0b393a27158c754112bed027af230659a224.debug
/usr/lib/debug/.build-id/07/1724dd8e74c8f05672ddc9b6598c48a119141a.debug
/usr/lib/debug/.build-id/08/21718bd49c60672b3af6b299c5bc6ac0ca3fab.debug
/usr/lib/debug/.build-id/08/5218115266065e902e7b476c5818064c34dfca.debug
/usr/lib/debug/.build-id/08/d827efb48e2a1449f89fe264564450dd30dc6b.debug
/usr/lib/debug/.build-id/08/ff1c544982e6d3d37f52a52db29733dcb03bbe.debug
/usr/lib/debug/.build-id/09/22065df6558aea538e5685fa0bf9b71c0ff908.debug
/usr/lib/debug/.build-id/09/226516a6d97e5ca0215bfde0f47993aeaba849.debug
/usr/lib/debug/.build-id/09/2d2a24fe0d8e77a7b7f31d2290504f9c85d049.debug
/usr/lib/debug/.build-id/09/386e7afe5db3b1194646e872be064076620d0e.debug
/usr/lib/debug/.build-id/09/47f5288ba85657ef423f4a6a5760f7e651f59a.debug
/usr/lib/debug/.build-id/09/50691817b9e094ab8cb52ad177abf9b34f6a40.debug
...

This is building kernel rpms on a RHEL9.7 system to be copied over to
our Fedora test VMs. The kernel build works fine but the rpm packaging
now fails. Works fine for 6.19-rc7 (or 6.19-rc8 with this commit
reverted) but fails on 6.19-rc8.

Any idea how to fix this build regression.
-- 
Thanks,

Steve

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Regression with patch "kbuild: rpm-pkg: Generate debuginfo package manually"
  2026-02-05 23:56 Regression with patch "kbuild: rpm-pkg: Generate debuginfo package manually" Steve French
@ 2026-02-06  0:24 ` Nathan Chancellor
  2026-02-09 22:25   ` Nathan Chancellor
  0 siblings, 1 reply; 4+ messages in thread
From: Nathan Chancellor @ 2026-02-06  0:24 UTC (permalink / raw)
  To: Steve French; +Cc: Nicolas Schier, LKML, Holger Kiehl

Hi Steve,

On Thu, Feb 05, 2026 at 05:56:20PM -0600, Steve French wrote:
> I noticed with the recent patch below:
> 
>     commit 62089b804895e845f82e132ea9d46a1fc53ed5a7
>     Author: Nathan Chancellor <nathan@kernel.org>
>     Date:   Wed Jan 21 15:29:15 2026 -0700
> 
>        kbuild: rpm-pkg: Generate debuginfo package manually
> 
> that all of our test builds were failing to build kernel RPMs for
> 6.19-rc8 and later (see e.g.
> http://osmb311-linux-testing.southcentralus.cloudapp.azure.com/#/builders/1/builds/99/steps/9/logs/stdio).

Sorry for the breakage :(

Can you provide me with the .config? I want to see if I can reproduce
this locally.

> See below:
> 
> Processing files: kernel-devel-6.19.0_rc8-1.x86_64
> warning: absolute symlink: /lib/modules/6.19.0-rc8/build ->
> /usr/src/kernels/6.19.0-rc8
> Provides: kernel-devel = 6.19.0_rc8-1 kernel-devel(x86-64) = 6.19.0_rc8-1
> Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1
> rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
> Checking for unpackaged file(s): /usr/lib/rpm/check-files
> /build/cifs-2.6/rpmbuild/BUILDROOT/kernel-6.19.0_rc8-1.x86_64
> error: Installed (but unpackaged) file(s) found:
> /debuginfo.list
> /usr/lib/debug/.build-id/00/0cc2949a2b2de29e4bd4ce4aa4bf977b3f973f.debug
...
> ...
> 
> This is building kernel rpms on a RHEL9.7 system to be copied over to
> our Fedora test VMs. The kernel build works fine but the rpm packaging
> now fails. Works fine for 6.19-rc7 (or 6.19-rc8 with this commit
> reverted) but fails on 6.19-rc8.

I wonder if we are relying on something in a newer rpm version that is
not available on an older version that is present in RHEL.

> Any idea how to fix this build regression.

Opting out of the debuginfo package with RPM_OPTS='--without debuginfo'
would be a quick solution I think but obviously I would like to develop
a more comprehensive fix.

Cheers,
Nathan

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Regression with patch "kbuild: rpm-pkg: Generate debuginfo package manually"
  2026-02-06  0:24 ` Nathan Chancellor
@ 2026-02-09 22:25   ` Nathan Chancellor
  2026-02-10 17:34     ` Nathan Chancellor
  0 siblings, 1 reply; 4+ messages in thread
From: Nathan Chancellor @ 2026-02-09 22:25 UTC (permalink / raw)
  To: Steve French; +Cc: Nicolas Schier, LKML, Holger Kiehl

On Thu, Feb 05, 2026 at 05:24:16PM -0700, Nathan Chancellor wrote:
> Hi Steve,
> 
> On Thu, Feb 05, 2026 at 05:56:20PM -0600, Steve French wrote:
> > I noticed with the recent patch below:
> > 
> >     commit 62089b804895e845f82e132ea9d46a1fc53ed5a7
> >     Author: Nathan Chancellor <nathan@kernel.org>
> >     Date:   Wed Jan 21 15:29:15 2026 -0700
> > 
> >        kbuild: rpm-pkg: Generate debuginfo package manually
> > 
> > that all of our test builds were failing to build kernel RPMs for
> > 6.19-rc8 and later (see e.g.
> > http://osmb311-linux-testing.southcentralus.cloudapp.azure.com/#/builders/1/builds/99/steps/9/logs/stdio).
> 
> Sorry for the breakage :(
> 
> Can you provide me with the .config? I want to see if I can reproduce
> this locally.
...
> I wonder if we are relying on something in a newer rpm version that is
> not available on an older version that is present in RHEL.

Ooookay, after much gnashing of teeth investigating different
environments and such, it looks like my change implicitly relies on some
improvements to debuginfo package generation that are in rpm 4.20 or
newer (Fedora 41 or newer), which is why I have not seen any issues up
until this point. I am not entirely sure why yet though but I wanted to
provide a small update that I am still looking into this. I plan to send
the main 7.0 Kbuild pull request then I should be able to focus more
intently on this.

Cheers,
Nathan

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Regression with patch "kbuild: rpm-pkg: Generate debuginfo package manually"
  2026-02-09 22:25   ` Nathan Chancellor
@ 2026-02-10 17:34     ` Nathan Chancellor
  0 siblings, 0 replies; 4+ messages in thread
From: Nathan Chancellor @ 2026-02-10 17:34 UTC (permalink / raw)
  To: Steve French; +Cc: Nicolas Schier, LKML, Holger Kiehl

On Mon, Feb 09, 2026 at 03:25:54PM -0700, Nathan Chancellor wrote:
> On Thu, Feb 05, 2026 at 05:24:16PM -0700, Nathan Chancellor wrote:
> > On Thu, Feb 05, 2026 at 05:56:20PM -0600, Steve French wrote:
> > > I noticed with the recent patch below:
> > > 
> > >     commit 62089b804895e845f82e132ea9d46a1fc53ed5a7
> > >     Author: Nathan Chancellor <nathan@kernel.org>
> > >     Date:   Wed Jan 21 15:29:15 2026 -0700
> > > 
> > >        kbuild: rpm-pkg: Generate debuginfo package manually
> > > 
> > > that all of our test builds were failing to build kernel RPMs for
> > > 6.19-rc8 and later (see e.g.
> > > http://osmb311-linux-testing.southcentralus.cloudapp.azure.com/#/builders/1/builds/99/steps/9/logs/stdio).
> > 
> > Sorry for the breakage :(
> > 
> > Can you provide me with the .config? I want to see if I can reproduce
> > this locally.
> ...
> > I wonder if we are relying on something in a newer rpm version that is
> > not available on an older version that is present in RHEL.
> 
> Ooookay, after much gnashing of teeth investigating different
> environments and such, it looks like my change implicitly relies on some
> improvements to debuginfo package generation that are in rpm 4.20 or
> newer (Fedora 41 or newer), which is why I have not seen any issues up
> until this point. I am not entirely sure why yet though but I wanted to
> provide a small update that I am still looking into this. I plan to send
> the main 7.0 Kbuild pull request then I should be able to focus more
> intently on this.

Just to close the loop for future travelers:

  https://lore.kernel.org/20260210-kbuild-fix-debuginfo-rpm-v1-0-0730b92b14bc@kernel.org/

Cheers,
Nathan

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-02-10 17:34 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-02-05 23:56 Regression with patch "kbuild: rpm-pkg: Generate debuginfo package manually" Steve French
2026-02-06  0:24 ` Nathan Chancellor
2026-02-09 22:25   ` Nathan Chancellor
2026-02-10 17:34     ` Nathan Chancellor

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox