nvidia-dkms-* FTBS with linux 6.4

Bug #2025266 reported by Paolo Pisati
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
nvidia-graphics-drivers-390 (Ubuntu)
Status tracked in Mantic
Mantic
Fix Released
Undecided
Unassigned
nvidia-graphics-drivers-470 (Ubuntu)
Status tracked in Mantic
Mantic
New
Undecided
Unassigned
nvidia-graphics-drivers-510 (Ubuntu)
New
Undecided
Unassigned
Mantic
Won't Fix
Undecided
Unassigned
nvidia-graphics-drivers-515 (Ubuntu)
New
Undecided
Unassigned
Mantic
Won't Fix
Undecided
Unassigned

Bug Description

[Impact]

/var/lib/dkms/nvidia/390.157/build/nvidia-drm/nvidia-drm-drv.c: In function ‘nv_drm_update_drm_driver_features’:
/var/lib/dkms/nvidia/390.157/build/nvidia-drm/nvidia-drm-drv.c:769:18: error: ‘struct drm_driver’ has no member named ‘dumb_destroy’
  769 | nv_drm_driver.dumb_destroy = nv_drm_dumb_destroy;
      | ^
make[2]: *** [scripts/Makefile.build:260: /var/lib/dkms/nvidia/390.157/build/nvidia-drm/nvidia-drm-drv.o] Error 1

[Fix]

Apply the attached patch.

[How to test]

Build the dkms package and install it.

[Regression potential]

This patch doesn't come from NVIDIA itself, so there's a regression potential, though i can't state how severe that could be.

Tags: patch
Revision history for this message
Paolo Pisati (p-pisati) wrote :
tags: added: patch
Revision history for this message
Paolo Pisati (p-pisati) wrote :
Paolo Pisati (p-pisati)
Changed in nvidia-graphics-drivers-510 (Ubuntu Mantic):
status: New → Won't Fix
Changed in nvidia-graphics-drivers-515 (Ubuntu Mantic):
status: New → Won't Fix
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package nvidia-graphics-drivers-390 - 390.157-0ubuntu7

---------------
nvidia-graphics-drivers-390 (390.157-0ubuntu7) mantic; urgency=medium

  * debian/dkms_nvidia.conf,
    debian/templates/dkms_nvidia.conf.in,
    debian/dkms_nvidia/patches/buildfix_kernel_6.4.patch:
    - Support linux 6.4 ABI (LP: #2025266).

 -- Paolo Pisati <email address hidden> Wed, 28 Jun 2023 14:29:47 +0000

Changed in nvidia-graphics-drivers-390 (Ubuntu Mantic):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.