Re: [PATCH 6.14 000/731] 6.14.2-rc1 review

From: Christian Heusel
Date: Tue Apr 08 2025 - 10:51:57 EST


On 25/04/08 04:02PM, Greg Kroah-Hartman wrote:
> On Tue, Apr 08, 2025 at 03:16:31PM +0200, Thorsten Leemhuis wrote:
> > On 08.04.25 12:38, Greg Kroah-Hartman wrote:
> > > This is the start of the stable review cycle for the 6.14.2 release.
> > > There are 731 patches in this series, all will be posted as a response
> > > to this one. If anyone has any issues with these being applied, please
> > > let me know.
> >
> > Compiling for Fedora failed for me:
> >
> > """
> > Some errors have detailed explanations: E0405, E0412.
> > For more information about an error, try `rustc --explain E0405`.
> > make[2]: *** [rust/Makefile:482: rust/kernel.o] Error 1
> > make[1]: *** [/builddir/build/BUILD/kernel-6.14.2-build/kernel-6.14.2-rc1/linux-6.14.2-0.rc1.300.vanilla.fc42.x86_64/Makefile:1283: prepare] Error 2
> > make: *** [Makefile:259: __sub-make] Error 2
> > """
> >
> > >From a quick look there seem to be three changes in this set that touch
> > rust/kernel/pci.rs; if needed, I can take a closer look later or tomorrow
> > what exactly is causing trouble (I just hope it's no new build requirement
> > missing on my side or something like that).
>
> Hm, odd, I thought I was testing Rust builds on my build system but
> obviously not. I'll go work on this later tonight...

Thanks for pointing this out, I was also missing the relevant
dependencies in my build system for the rust parts in the kernel to
actually be built .. IMO it could also hard-error when you specify
"CONFIG_HAVE_RUST=y" and the tools are missing 🤔

With the tools installed I can replicate the failure ..

> thanks,
> greg k-h

Cheers,
Chris

Attachment: signature.asc
Description: PGP signature