Dear Maintainer,
While installing linux-image-6.1.0-1-amd64 dpkg tries to build xtrx-dkms for
this kernel and fails with the following log file:
=============================================================
DKMS make.log for xtrx-0.0.1+git20190320.5ae3a3e-3.1 for kernel 6.1.0-1-amd64
(x86_64)
Wed Jan 18 02:21:45 PM EET 2023
make: Entering directory '/usr/src/linux-headers-6.1.0-1-amd64'
CC [M] /var/lib/dkms/xtrx/0.0.1+git20190320.5ae3a3e-3.1/build/xtrx.o
/var/lib/dkms/xtrx/0.0.1+git20190320.5ae3a3e-3.1/build/xtrx.c:518:27: error:
initialization of ‘void (*)(struct uart_port *, struct ktermios *, const struct
ktermios *)’ from incompatible pointer type ‘void (*)(struct uart_port *,
struct ktermios *, struct ktermios *)’ [-Werror=incompatible-pointer-types]
518 | .set_termios = xtrx_uart_set_termios,
| ^~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/xtrx/0.0.1+git20190320.5ae3a3e-3.1/build/xtrx.c:518:27: note:
(near initialization for ‘xtrx_uart_ops.set_termios’)
cc1: some warnings being treated as errors
make[1]: *** [/usr/src/linux-headers-6.1.0-1-common/scripts/Makefile.build:255:
/var/lib/dkms/xtrx/0.0.1+git20190320.5ae3a3e-3.1/build/xtrx.o] Error 1
make: *** [/usr/src/linux-headers-6.1.0-1-common/Makefile:2017:
/var/lib/dkms/xtrx/0.0.1+git20190320.5ae3a3e-3.1/build] Error 2
make: Leaving directory '/usr/src/linux-headers-6.1.0-1-amd64
=============================================================
Thus the whole process of installing kernel 6.1 fails with an error.
-- System Information:
Debian Release: bookworm/sid
APT prefers testing
APT policy: (800, 'testing'), (730, 'stable-security'), (710, 'stable'), (500, 'stable-updates'), (450, 'unstable'), (10, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 6.0.0-6-amd64 (SMP w/12 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages xtrx-dkms depends on:
ii dkms 3.0.10-1
xtrx-dkms recommends no packages.
xtrx-dkms suggests no packages.
-- no debconf information
Dear Maintainer,
I confirm this bug:
updating debian bookworm pkg to linux-image-6.1.0-1-amd64 causes a
"dpkg: error processing package", referred to the package xtrx.
The error is:
CC [M] /var/lib/dkms/xtrx/0.0.1+git20190320.5ae3a3e-3.1/build/xtrx.o
/var/lib/dkms/xtrx/0.0.1+git20190320.5ae3a3e-3.1/build/xtrx.c:518:27: error: initialization of ‘void (*)(struct uart_port *, struct ktermios *, const struct ktermios *)’ from incompatible pointer type ‘void (*)(struct uart_port *, struct ktermios *, struct ktermios *)’ [-Werror=incompatible-pointer-types]
518 | .set_termios = xtrx_uart_set_termios,
| ^~~~~~~~~~~~~~~~~~~~~
As a consequence, the kernel upgrade to linux-image-6.1.0-1-amd64 fails.
Probably this prevents any further kernel upgrade, until xtrx-dkms i
uninstalled.
-- System Information:
Debian Release: bookworm/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 6.0.0-6-amd64 (SMP w/16 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set