Description of problem: Building dkms nvidia390 driver fails for kernel-5.10.8 Steps to Reproduce: 1. Install kernel-5.10.8 2. Reboot in the previous kernel(5.10.7 for me) and try to build dkms-nvidia390 3. Erros and logs : $ dkms build -m nvidia390 -v 390.141-1.mga8.nonfree -k 5.10.8-desktop-1.mga8 Preparing kernel 5.10.8-desktop-1.mga8 for module build: (This is not compiling a kernel, just preparing kernel symbols) Storing current .config to be restored when complete Running Generic preparation routine make mrproper.... using /boot/config-5.10.8-desktop-1.mga8 make oldconfig....(bad exit status: 2) make prepare....(bad exit status: 2) Building module: cleaning build area.... 'make' -j16 IGNORE_CC_MISMATCH=1 SYSSRC=/lib/modules/5.10.8-desktop-1.mga8/build modules....(bad exit status: 2) Error! Bad return status for module build on kernel: 5.10.8-desktop-1.mga8 (x86_64) Consult the make.log in the build directory /var/lib/dkms/nvidia390/390.141-1.mga8.nonfree/build/ for more information. $ more /var/lib/dkms/nvidia390/390.141-1.mga8.nonfree/build/make.log DKMS make.log for nvidia390-390.141-1.mga8.nonfree for kernel 5.10.8-desktop-1.mga8 (x86_64) Sun Jan 17 08:06:02 PM EET 2021 make[1]: Entering directory '/usr/src/kernel-5.10.8-desktop-1.mga8' ERROR: Kernel configuration is invalid. include/generated/autoconf.h or include/config/auto.conf are missing. Run 'make oldconfig && make prepare' on kernel src to fix it. make[1]: *** [Makefile:718: include/config/auto.conf] Error 1 make[1]: Leaving directory '/usr/src/kernel-5.10.8-desktop-1.mga8' make: *** [Makefile:81: modules] Error 2
It seems that the kernel file "include/generated/autoconf.h" is never generated during the dkms build process. Regards
Thanks for the report, Aurélien. Surprised you did not assign it directly!
Assignee: bugsquad => kernel
(In reply to Lewis Smith from comment #2) > Thanks for the report, Aurélien. Surprised you did not assign it directly! Close enough name to be misread it :), I'm just a user of mageia.
Summary: kernel-5.10.8 rpm seems to brake dkms installation of nvidia390 driver => kernel-5.10.8 rpm seems to break dkms installation of nvidia390 driver
Yeah, @Lewis, I think you mistakenly see me as reporter ;)
CC: (none) => ouaurelien
CC: (none) => tmb
This will be fixed soon.
should be fixed in kernel-5.10.8-2.mga8 currently building
Thanks Thomas! Looks good. Closing this issue. Regards
Resolution: (none) => FIXEDStatus: NEW => RESOLVED