nvidia-dkms-390 fails to build on unstable / 5.10
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nvidia-graphics-drivers-390 (Ubuntu) |
Won't Fix
|
Undecided
|
Unassigned | ||
Hirsute |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
[Impact]
nvidia-
ERROR (dkms apport): kernel package linux-headers-
Error! Bad return status for module build on kernel: 5.10.0-6-generic (x86_64)
Consult /var/lib/
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.
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.
tags: | added: patch |
Changed in nvidia-graphics-drivers-390 (Ubuntu): | |
status: | New → Won't Fix |
Changed in nvidia-graphics-drivers-390 (Ubuntu Hirsute): | |
status: | New → Won't Fix |
make.log in attach.