Public bug reported:
[Impact]
nvidia-graphics-drivers-390 fails to build against linux 5.10:
ERROR (dkms apport): kernel package linux-headers-5.10.0-6-generic is not
supported
Error! Bad return status for module build on kernel: 5.10.0-6-generic (x86_64)
Consult /var/lib/dkms/nvidia/390.138/build/make.log for more information.
dpkg: error processing package nvidia-dkms-390 (--configure):
installed nvidia-dkms-390 package post-installation script subprocess returned
error exit status 10
Processing triggers for initramfs-tools (0.137ubuntu12) ...
update-initramfs: Generating /boot/initrd.img-5.10.0-6-generic
Errors were encountered while processing:
nvidia-dkms-390
E: Sub-process /usr/bin/dpkg returned an error code (1)
[Test case]
sudo apt install nvidia-dkms-390
[Fix]
Fix build errors adding the proper #ifdef to support the new 5.10
includes, function prototypes and data structs.
[Regression potential]
All the new code is conditional (#ifdef) and it's applied only with
5.10, so there is no risk to break the other kernels (5.8). Moreover,
it's worth considering that hirsute should move soon to 5.10.
** Affects: nvidia-graphics-drivers-390 (Ubuntu)
Importance: Undecided
Status: New
** Affects: nvidia-graphics-drivers-390 (Ubuntu Hirsute)
Importance: Undecided
Status: New
** Also affects: nvidia-graphics-drivers-390 (Ubuntu Hirsute)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to nvidia-graphics-drivers-390 in Ubuntu.
https://bugs.launchpad.net/bugs/1908099
Title:
nvidia-dkms-390 fails to build on unstable / 5.10
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-390/+bug/1908099/+subscriptions
_______________________________________________
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to : [email protected]
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help : https://help.launchpad.net/ListHelp