evdi-dkms FTBS with linux 6.2 in Jammy

Bug #2023303 reported by Andrea Righi
34
This bug affects 9 people
Affects Status Importance Assigned to Milestone
evdi (Ubuntu)
Fix Released
Undecided
Unassigned
Jammy
Fix Released
Undecided
Unassigned

Bug Description

[Impact]

evdi dkms fails to build with linux 6.2 in Jammy:

/var/lib/dkms/evdi/1.12.0+dfsg/build/evdi_drm_drv.h:87:32: error: field ‘base’ has incomplete type
   87 | struct drm_framebuffer base;
      | ^~~~
In file included from ./include/linux/container_of.h:5,
                 from ./include/linux/list.h:5,
                 from ./include/linux/smp.h:12,
                 from ./include/linux/lockdep.h:14,
                 from ./include/linux/seqlock.h:18,
                 from ./include/drm/drm_vblank.h:27,
                 from /var/lib/dkms/evdi/1.12.0+dfsg/build/evdi_modeset.c:16:
/var/lib/dkms/evdi/1.12.0+dfsg/build/evdi_modeset.c: In function ‘evdi_plane_atomic_update’:
././include/linux/compiler_types.h:326:27: error: expression in static assertion is not an integer
  326 | #define __same_type(a, b) __builtin_types_compatible_p(typeof(a), typeof(b))
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~

[Test case]

$ sudo apt install evdi-dkms

[Fix]

Backport patches from Lunar to properly support linux 6.2 ABI.

[Regression potential]

We may experience kernel regressions in systems using the evdi module.

ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: evdi-dkms 1.12.0+dfsg-0ubuntu2~22.04.1
ProcVersionSignature: User Name 6.2.0-23.23~22.04.1-generic 6.2.12
Uname: Linux 6.2.0-23-generic x86_64
ApportVersion: 2.20.11-0ubuntu82.5
Architecture: amd64
CasperMD5CheckResult: unknown
Date: Thu Jun 8 14:15:55 2023
PackageArchitecture: all
SourcePackage: evdi
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Andrea Righi (arighi) wrote :
Revision history for this message
Andrea Righi (arighi) wrote :

debdiff to support linux-6.2 in jammy.

tags: added: patch
Revision history for this message
Timo Aaltonen (tjaalton) wrote : Please test proposed package

Hello Andrea, or anyone else affected,

Accepted evdi into jammy-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/evdi/1.12.0+dfsg-0ubuntu2~22.04.2 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed-jammy to verification-done-jammy. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-jammy. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Changed in evdi (Ubuntu Jammy):
status: New → Fix Committed
Changed in evdi (Ubuntu):
status: New → Fix Released
tags: added: verification-needed verification-needed-jammy
Revision history for this message
Ruben Suarez Alvarez (rubensa) wrote :

Hello Timo

I just tested version 1.12.0+dfsg-0ubuntu2~22.04.2. With this version the package installs without problem and my WavLink UG69PD2 is working as expected with two monitors attached via DisplayPort.

I attach the original apt-get upgrade error message, the generated evdi-dkms.0.crash error file and the apt-get install for evdi-dkms/jammy-proposed log.

tags: added: verification-done-jammy
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package evdi - 1.12.0+dfsg-0ubuntu2~22.04.2

---------------
evdi (1.12.0+dfsg-0ubuntu2~22.04.2) jammy; urgency=medium

  * Support Linux 6.2 (LP: #2023303):
    - debian/patches/0001-fix-6.0-ftbfs.patch
    - debian/patches/linux-6.2.patch

 -- Andrea Righi <email address hidden> Thu, 08 Jun 2023 14:15:06 +0000

Changed in evdi (Ubuntu Jammy):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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