[2025-10-21 22:45] Mario Limonciello (AMD) (kernel.org):
Are you cleaning your tree between builds?
Yes.
I'm building custom kernel packages in a clean chroot for my private package repo. The kernel config and the PKGBUILD can be found here:
https://remotehost.online/linux-6.17.4/debug2/config https://remotehost.online/linux-6.17.4/debug2/PKGBUILD
Here's a tarball that contains the PKGBUILD, the config, and all source files that I used:
https://remotehost.online/linux-6.17.4/debug2/linux-hardened-6.17.4.hardened...
Here's a log of stdout and stderr of the build process:
https://remotehost.online/linux-6.17.4/debug2/stdout_stderr_combined.log
Here's a fixed PKGBUILD that I used successfully to build my kernel packages:
https://remotehost.online/linux-6.17.4/debug2/PKGBUILD.fixed
The only difference is that I've commented out the two patches from your patch set, and removed the corresponding sha256 sums.
Regards Pascal