Bug#1119902: evdi-dkms: fails building against 6.17.6+deb14-amd64

Giacomo Mulas <[email protected]> Sun, 02 Nov 2025 09:34:31 +0100
Newsgroups gmane.linux.debian.ports.amd64
Message-ID <176207247165.732371.12326490571070316336.reportbug__41120.606572234$1762072653$gmane$org@capitanata.oa-cagliari.inaf.it>
Package: evdi-dkms
Version: 1.14.10+dfsg-1
Severity: normal
X-Debbugs-Cc: [email protected]
User: [email protected]
Usertags: amd64

Dear Maintainer,

the latest sid update automatically brought in the new kernel 6.17.6+deb14-amd64, but evdi-dkms fails to build against it. You will find below the make log with the build errors.

Best regards
Giacomo Mulas

DKMS (dkms-3.2.2) make.log for evdi/1.14.10+dfsg for kernel 6.17.6+deb14-amd64 (x86_64)
dom 2 nov 2025, 09:28:03, CET

Building module(s)
# command: make -j12 KERNELRELEASE=6.17.6+deb14-amd64 -C /lib/modules/6.17.6+deb14-amd64/build M=/var/lib/dkms/evdi/1.14.10+dfsg/build DKMS_BUILD=1
make: ingresso nella directory «/usr/src/linux-headers-6.17.6+deb14-amd64»
make[1]: ingresso nella directory «/var/lib/dkms/evdi/1.14.10+dfsg/build»
  CC [M]  evdi_platform_drv.o
  CC [M]  evdi_platform_dev.o
  CC [M]  evdi_sysfs.o
  CC [M]  evdi_modeset.o
  CC [M]  evdi_connector.o
  CC [M]  evdi_encoder.o
  CC [M]  evdi_drm_drv.o
  CC [M]  evdi_fb.o
  CC [M]  evdi_gem.o
  CC [M]  evdi_painter.o
  CC [M]  evdi_params.o
  CC [M]  evdi_cursor.o
  CC [M]  evdi_debug.o
evdi_modeset.c:506:22: error: initialization of ‘struct drm_framebuffer * (*)(struct drm_device *, struct drm_file *, const struct drm_format_info *, const struct drm_mode_fb_cmd2 *)’ from incompatible pointer type ‘struct drm_framebuffer * (*)(struct drm_device *, struct drm_file *, const struct drm_mode_fb_cmd2 *)’ [-Wincompatible-pointer-types]
  506 |         .fb_create = evdi_fb_user_fb_create,
      |                      ^~~~~~~~~~~~~~~~~~~~~~
evdi_modeset.c:506:22: note: (near initialization for ‘evdi_mode_funcs.fb_create’)
In file included from evdi_modeset.c:29:
evdi_drm_drv.h:109:25: note: ‘evdi_fb_user_fb_create’ declared here
  109 | struct drm_framebuffer *evdi_fb_user_fb_create(
      |                         ^~~~~~~~~~~~~~~~~~~~~~
  CC [M]  evdi_i2c.o
make[3]: *** [/usr/src/linux-headers-6.17.6+deb14-common/scripts/Makefile.build:292: evdi_modeset.o] Error 1
make[3]: *** Attesa per i processi non terminati....
evdi_fb.c: In function ‘evdi_framebuffer_init’:
evdi_fb.c:347:57: error: passing argument 3 of ‘drm_helper_mode_fill_fb_struct’ from incompatible pointer type [-Wincompatible-pointer-types]
  347 |         drm_helper_mode_fill_fb_struct(dev, &efb->base, mode_cmd);
      |                                                         ^~~~~~~~
      |                                                         |
      |                                                         const struct drm_mode_fb_cmd2 *
In file included from /usr/src/linux-headers-6.17.6+deb14-common/include/drm/drm_atomic_helper.h:33,
                 from /usr/src/linux-headers-6.17.6+deb14-common/include/drm/drm_damage_helper.h:35,
                 from evdi_fb.c:29:
/usr/src/linux-headers-6.17.6+deb14-common/include/drm/drm_modeset_helper.h:37:67: note: expected ‘const struct drm_format_info *’ but argument is of type ‘const struct drm_mode_fb_cmd2 *’
   37 |                                     const struct drm_format_info *info,
      |                                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
evdi_fb.c:347:9: error: too few arguments to function ‘drm_helper_mode_fill_fb_struct’; expected 4, have 3
  347 |         drm_helper_mode_fill_fb_struct(dev, &efb->base, mode_cmd);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/src/linux-headers-6.17.6+deb14-common/include/drm/drm_modeset_helper.h:35:6: note: declared here
   35 | void drm_helper_mode_fill_fb_struct(struct drm_device *dev,
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[3]: *** [/usr/src/linux-headers-6.17.6+deb14-common/scripts/Makefile.build:292: evdi_fb.o] Error 1
make[2]: *** [/usr/src/linux-headers-6.17.6+deb14-common/Makefile:2035: .] Error 2
make[1]: *** [/usr/src/linux-headers-6.17.6+deb14-common/Makefile:260: __sub-make] Error 2
make[1]: uscita dalla directory «/var/lib/dkms/evdi/1.14.10+dfsg/build»
make: *** [/usr/src/linux-headers-6.17.6+deb14-common/Makefile:260: __sub-make] Error 2
make: uscita dalla directory «/usr/src/linux-headers-6.17.6+deb14-amd64»

# exit code: 2
# elapsed time: 00:00:02
----------------------------------------------------------------


-- System Information:
Debian Release: forky/sid
  APT prefers unstable
  APT policy: (401, 'unstable'), (10, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.16.12+deb14-amd64 (SMP w/12 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_WARN, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages evdi-dkms depends on:
ii  dkms  3.2.2-1

Versions of packages evdi-dkms recommends:
ii  libevdi1  1.14.10+dfsg-1

evdi-dkms suggests no packages.

-- no debconf information