Public bug reported:

Hello,

I am running Ubuntu 25.04 and trying to install the latest daily
mainline kernel
(6.15.0-061500rc5daily20250509-generic_6.15.0-061500rc5daily20250509.202505090206_amd64).
When trying to install linux-image-
unsigned-6.15.0-061500rc5daily20250509-generic_6.15.0-061500rc5daily20250509.202505090206_amd64.deb
and linux-
headers-6.15.0-061500rc5daily20250509-generic_6.15.0-061500rc5daily20250509.202505090206_amd64.deb
I get the following error:

linux-image:

Building module:
Cleaning build area...
make -j24 KERNELRELEASE=6.15.0-061500rc5daily20250509-generic -C 
/lib/modules/6.15.0-061500rc5daily20250509-generic/build 
M=/var/lib/dkms/evdi/1.14.8+dfsg/build DKMS_BUILD=1...(bad exit status: 2)
ERROR (dkms apport): kernel package 
linux-headers-6.15.0-061500rc5daily20250509-generic is not supported
Error! Bad return status for module build on kernel: 
6.15.0-061500rc5daily20250509-generic (x86_64)
Consult /var/lib/dkms/evdi/1.14.8+dfsg/build/make.log for more information.
Sign command: /usr/bin/kmodsign
Signing key: /var/lib/shim-signed/mok/MOK.priv


linux-headers:

Building module:
Cleaning build area...
make -j24 KERNELRELEASE=6.15.0-061500rc5daily20250509-generic -C 
/lib/modules/6.15.0-061500rc5daily20250509-generic/build 
M=/var/lib/dkms/evdi/1.14.8+dfsg/build DKMS_BUILD=1...(bad exit status: 2)
ERROR (dkms apport): kernel package 
linux-headers-6.15.0-061500rc5daily20250509-generic is not supported
Error! Bad return status for module build on kernel: 
6.15.0-061500rc5daily20250509-generic (x86_64)
Consult /var/lib/dkms/evdi/1.14.8+dfsg/build/make.log for more information.
Sign command: /usr/bin/kmodsign
Signing key: /var/lib/shim-signed/mok/MOK.priv
Public certificate (MOK): /var/lib/shim-signed/mok/MOK.der

Looking in the make.log file I see this message:

DKMS make.log for evdi-1.14.8+dfsg for kernel 
6.15.0-061500rc5daily20250509-generic (x86_64)
Fri May  9 02:18:57 PM EDT 2025
make: Entering directory 
'/usr/src/linux-headers-6.15.0-061500rc5daily20250509-generic'
make[1]: Entering directory '/var/lib/dkms/evdi/1.14.8+dfsg/build'
warning: the compiler differs from the one used to build the kernel
  The kernel was built by: x86_64-linux-gnu-gcc-14 (Ubuntu 14.2.0-19ubuntu2) 
14.2.0
  You are using:           gcc-14 (Ubuntu 14.2.0-19ubuntu2) 14.2.0

As I'm understanding it, the module build is failing because the
compiler used to make the kernel differs from that currently in use by
my computer, but they appear to be the same compiler version--just with
different names. Are they in fact the same compiler version? If so, how
can I get the module to build successfully?

I have attached the make.log file, but could not post the recommended
output of cat /proc/version_signature > version.log  or sudo lspci -vnvn
> lspci-vnvn.log because I get the errors (respectively).

cat: /proc/version_signature: No such file or directory

pcilib: Error reading /sys/bus/pci/devices/0000:00:08.3/label: Operation
not permitted


Thanks!
Kevin

** Affects: linux (Ubuntu)
     Importance: Undecided
         Status: New

** Attachment added: "make.log"
   https://bugs.launchpad.net/bugs/2110334/+attachment/5876708/+files/make.log

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2110334

Title:
  False detection of mismatched compilers prevents evdi-dkms module
  build success during kernel installation

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2110334/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to