Failed to rebuild 470 driver in fedora Fc40 when upgrading kernel

running fedora 6.9.12-200.fc40.x86_64 upgrading to kernel-6.10.3-200.fc40.x86_64. akmods fails to rebuild. I rebooted my system via grub to previous kernel and the boot rebuilt the nvida 470 driver with no problem.
I had tried erasing all the nvdia drivers and akmods apps then re-installing. Still doesn’t rebuild with the newer kernel.
nvidia-bug-report.log.gz (487.3 KB)
470.256.02-1-for-6.10.3-200.fc40.x86_64.failed.log (168.8 KB)

I am bumping this thread to mention that I have this issue against kernel version 6.10.3 and 6.10.4 as well. I would edit the problematic source files to try and further diagnose, but I only have the RPM on my machine. All the walk throughs about RPM editing were… incomprehensible to me.