Package: ddcci-dkms
Version: 0.4.1-1
Severity: serious

When I try to install ddcci-dkms with linux-headers-amd64 5.15.3-1
installed, the installation fails because the build of the ddcci module
fails because of an incompatible pointer type in the source code:

   $ sudo apt install linux-headers-amd64
   ...
   
   $ sudo apt install ddcci-dkms
   ...
   Setting up ddcci-dkms (0.4.1-1) ...
   Loading new ddcci-0.4.1 DKMS files...
   Building for 5.15.0-1-amd64
   Building initial module for 5.15.0-1-amd64
   Error! Bad return status for module build on kernel: 5.15.0-1-amd64 (x86_64)
   Consult /var/lib/dkms/ddcci/0.4.1/build/make.log for more information.
   dpkg: error processing package ddcci-dkms (--configure):
    installed ddcci-dkms package post-installation script subprocess returned 
error exit status 10
   Processing triggers for libc-bin (2.32-4) ...
   Errors were encountered while processing:
    ddcci-dkms
   E: Sub-process /usr/bin/dpkg returned an error code (1)
   
   $ cat /var/lib/dkms/ddcci/0.4.1/build/make.log
   DKMS make.log for ddcci-0.4.1 for kernel 5.15.0-1-amd64 (x86_64)
   Mon Nov 22 01:53:32 UTC 2021
   make: Entering directory '/var/lib/dkms/ddcci/0.4.1/build'
   make -C "ddcci"
   make[1]: Entering directory '/var/lib/dkms/ddcci/0.4.1/build/ddcci'
   make -C "/lib/modules/5.15.0-1-amd64/build" 
M="/var/lib/dkms/ddcci/0.4.1/build/ddcci" modules
   make[2]: Entering directory '/usr/src/linux-headers-5.15.0-1-amd64'
     CC [M]  /var/lib/dkms/ddcci/0.4.1/build/ddcci/ddcci.o
   /var/lib/dkms/ddcci/0.4.1/build/ddcci/ddcci.c:1295:27: error: initialization 
of 'void (*)(struct device *)' from incompatible pointer type 'int (*)(struct 
device *)' [-Werror=incompatible-pointer-types]
    1295 |         .remove         = ddcci_device_remove
         |                           ^~~~~~~~~~~~~~~~~~~
   /var/lib/dkms/ddcci/0.4.1/build/ddcci/ddcci.c:1295:27: note: (near 
initialization for 'ddcci_bus_type.remove')
   cc1: some warnings being treated as errors
   make[3]: *** 
[/usr/src/linux-headers-5.15.0-1-common/scripts/Makefile.build:282: 
/var/lib/dkms/ddcci/0.4.1/build/ddcci/ddcci.o] Error 1
   make[2]: *** [/usr/src/linux-headers-5.15.0-1-common/Makefile:1892: 
/var/lib/dkms/ddcci/0.4.1/build/ddcci] Error 2
   make[2]: Leaving directory '/usr/src/linux-headers-5.15.0-1-amd64'
   make[1]: *** [Makefile:38: ddcci.ko] Error 2
   make[1]: Leaving directory '/var/lib/dkms/ddcci/0.4.1/build/ddcci'
   make: *** [Makefile:28: ddcci] Error 2
   make: Leaving directory '/var/lib/dkms/ddcci/0.4.1/build'

-- System Information:
Debian Release: bookworm/sid
  APT prefers testing-debug
  APT policy: (900, 'testing-debug'), (900, 'testing'), (860, 
'testing-proposed-updates-debug'), (860, 'testing-proposed-updates'), (800, 
'unstable-debug'), (800, 'unstable'), (790, 'buildd-unstable'), (700, 
'experimental-debug'), (700, 'experimental'), (690, 'buildd-experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 5.15.0-1-amd64 (SMP w/8 CPU threads)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_AU.utf8, LC_CTYPE=en_AU.utf8 (charmap=UTF-8), LANGUAGE=en_AU:en
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages ddcci-dkms depends on:
ii  dkms  2.8.7-2

ddcci-dkms recommends no packages.

ddcci-dkms suggests no packages.

-- no debconf information

-- 
bye,
pabs

https://wiki.debian.org/PaulWise

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to