make.log in attach.

** Attachment added: "make.log"
   
https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-390/+bug/1908099/+attachment/5443483/+files/make.log

-- 
You received this bug notification because you are a member of Kernel
Packages, 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

Status in nvidia-graphics-drivers-390 package in Ubuntu:
  New
Status in nvidia-graphics-drivers-390 source package in Hirsute:
  New

Bug description:
  [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.

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/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to