evdi-dkms fails to build with kernel 5.15

Bug #1953598 reported by Ludovico Massaccesi
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
evdi (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Attempting to install the evdi-dkms package with apt on hirsute results in the following error.

> Reading package lists... Done
> Building dependency tree... Done
> Reading state information... Done
> evdi-dkms is already the newest version (1.9.1-1ubuntu4~21.04.1).
> 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
> 1 not fully installed or removed.
> After this operation, 0 B of additional disk space will be used.
> Do you want to continue? [Y/n]
> Setting up evdi-dkms (1.9.1-1ubuntu4~21.04.1) ...
> Removing old evdi-1.9.1 DKMS files...
>
> ------------------------------
> Deleting module version: 1.9.1
> completely from the DKMS tree.
> ------------------------------
> Done.
> Loading new evdi-1.9.1 DKMS files...
> Building for 5.15.5-76051505-generic
> Building initial module for 5.15.5-76051505-generic
> ERROR (dkms apport): kernel package linux-headers-5.15.5-76051505-generic is not supported
> Error! Bad return status for module build on kernel: 5.15.5-76051505-generic (x86_64)
> Consult /var/lib/dkms/evdi/1.9.1/build/make.log for more information.
> dpkg: error processing package evdi-dkms (--configure):
> installed evdi-dkms package post-installation script subprocess returned error exit status 10
> Errors were encountered while processing:
> evdi-dkms
> E: Sub-process /usr/bin/dpkg returned an error code (1)

From /var/lib/dkms/evdi/1.9.1/build/make.log it appears that the drm_irq.h header is missing (this was actually present with kernel 5.11, but is not found in any of the newer linux-headers packages).

> DKMS make.log for evdi-1.9.1 for kernel 5.15.5-76051505-generic (x86_64)
> Wed 8 Dec 10:28:27 CET 2021
> make: Entering directory '/usr/src/linux-headers-5.15.5-76051505-generic'
> CC [M] /var/lib/dkms/evdi/1.9.1/build/evdi_platform_drv.o
> CC [M] /var/lib/dkms/evdi/1.9.1/build/evdi_platform_dev.o
> CC [M] /var/lib/dkms/evdi/1.9.1/build/evdi_sysfs.o
> CC [M] /var/lib/dkms/evdi/1.9.1/build/evdi_modeset.o
> CC [M] /var/lib/dkms/evdi/1.9.1/build/evdi_connector.o
> CC [M] /var/lib/dkms/evdi/1.9.1/build/evdi_encoder.o
> CC [M] /var/lib/dkms/evdi/1.9.1/build/evdi_drm_drv.o
> CC [M] /var/lib/dkms/evdi/1.9.1/build/evdi_fb.o
> In file included from /var/lib/dkms/evdi/1.9.1/build/evdi_drm_drv.c:23:
> /var/lib/dkms/evdi/1.9.1/build/evdi_drm_drv.h:23:10: fatal error: drm/drm_irq.h: No such file or directory
> 23 | #include <drm/drm_irq.h>
> | ^~~~~~~~~~~~~~~
> compilation terminated.
> make[1]: *** [scripts/Makefile.build:277: /var/lib/dkms/evdi/1.9.1/build/evdi_drm_drv.o] Error 1
> make[1]: *** Waiting for unfinished jobs....
> In file included from /var/lib/dkms/evdi/1.9.1/build/evdi_platform_dev.c:30:
> /var/lib/dkms/evdi/1.9.1/build/evdi_drm_drv.h:23:10: fatal error: drm/drm_irq.h: No such file or directory
> 23 | #include <drm/drm_irq.h>
> | ^~~~~~~~~~~~~~~
> compilation terminated.
> make[1]: *** [scripts/Makefile.build:277: /var/lib/dkms/evdi/1.9.1/build/evdi_platform_dev.o] Error 1
> In file included from /var/lib/dkms/evdi/1.9.1/build/evdi_modeset.c:25:
> /var/lib/dkms/evdi/1.9.1/build/evdi_drm_drv.h:23:10: fatal error: drm/drm_irq.h: No such file or directory
> 23 | #include <drm/drm_irq.h>
> | ^~~~~~~~~~~~~~~
> compilation terminated.
> In file included from /var/lib/dkms/evdi/1.9.1/build/evdi_fb.c:31:
> /var/lib/dkms/evdi/1.9.1/build/evdi_drm_drv.h:23:10: fatal error: drm/drm_irq.h: No such file or directory
> 23 | #include <drm/drm_irq.h>
> | ^~~~~~~~~~~~~~~
> compilation terminated.
> make[1]: *** [scripts/Makefile.build:277: /var/lib/dkms/evdi/1.9.1/build/evdi_modeset.o] Error 1
> make[1]: *** [scripts/Makefile.build:277: /var/lib/dkms/evdi/1.9.1/build/evdi_fb.o] Error 1
> In file included from /var/lib/dkms/evdi/1.9.1/build/evdi_connector.c:19:
> /var/lib/dkms/evdi/1.9.1/build/evdi_drm_drv.h:23:10: fatal error: drm/drm_irq.h: No such file or directory
> 23 | #include <drm/drm_irq.h>
> | ^~~~~~~~~~~~~~~
> compilation terminated.
> make[1]: *** [scripts/Makefile.build:277: /var/lib/dkms/evdi/1.9.1/build/evdi_connector.o] Error 1
> In file included from /var/lib/dkms/evdi/1.9.1/build/evdi_encoder.c:21:
> /var/lib/dkms/evdi/1.9.1/build/evdi_drm_drv.h:23:10: fatal error: drm/drm_irq.h: No such file or directory
> 23 | #include <drm/drm_irq.h>
> | ^~~~~~~~~~~~~~~
> compilation terminated.
> make[1]: *** [scripts/Makefile.build:277: /var/lib/dkms/evdi/1.9.1/build/evdi_encoder.o] Error 1
> make: *** [Makefile:1874: /var/lib/dkms/evdi/1.9.1/build] Error 2
> make: Leaving directory '/usr/src/linux-headers-5.15.5-76051505-generic'

Revision history for this message
Ludovico Massaccesi (lmassach) wrote :

It would seem that this bug was reported on the evdi github repo as well
https://github.com/DisplayLink/evdi/issues/308

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in evdi (Ubuntu):
status: New → Confirmed
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.