Comment 5 for bug 1906131

Revision history for this message
kamiccolo (kamicc) wrote :

Still got similar issue even trying to install linux-modules-5.10.1-051001-generic:

Building module:
cleaning build area...
KVER=5.10.1-051001-generic make...(bad exit status: 2)
ERROR (dkms apport): kernel package linux-headers-5.10.1-051001-generic is not supported
Error! Bad return status for module build on kernel: 5.10.1-051001-generic (x86_64)
Consult /var/lib/dkms/fwts-efi-runtime-dkms/18.03.00/build/make.log for more information.
   ...done.

And relevant build log:

DKMS make.log for fwts-efi-runtime-dkms-18.03.00 for kernel 5.10.1-051001-generic (x86_64)
Sat Dec 19 06:24:24 EET 2020
make -C /lib/modules/5.10.1-051001-generic/build M=`pwd` modules
make[1]: Entering directory '/usr/src/linux-headers-5.10.1-051001-generic'
  CC [M] /var/lib/dkms/fwts-efi-runtime-dkms/18.03.00/build/efi_runtime.o
  MODPOST /var/lib/dkms/fwts-efi-runtime-dkms/18.03.00/build/Module.symvers
  CC [M] /var/lib/dkms/fwts-efi-runtime-dkms/18.03.00/build/efi_runtime.mod.o
make[3]: *** No rule to make target 'scripts/module.lds', needed by '/var/lib/dkms/fwts-efi-runtime-dkms/18.03.00/build/efi_runtime.ko'. Stop.
scripts/Makefile.modpost:117: recipe for target '__modpost' failed
make[2]: *** [__modpost] Error 2
Makefile:1709: recipe for target 'modules' failed
make[1]: *** [modules] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-5.10.1-051001-generic'
Makefile:23: recipe for target 'all' failed
make: *** [all] Error 2