Source: openrazer
Version: 3.4.0+dfsg-1
Severity: serious
User: debian...@lists.debian.org
Usertags: regression

Dear maintainer(s),

With a recent upload of openrazer the autopkgtest of openrazer fails in testing when that autopkgtest is run with the binary packages of openrazer from unstable. It passes when run with only packages from testing. In tabular form:

                       pass            fail
openrazer              from testing    3.4.0+dfsg-1
all others             from testing    from testing

I copied some of the output at the bottom of this report.

Currently this regression is blocking the migration to testing [1]. Can you please investigate the situation and fix it?

More information about this bug and the reason for filing it can be found on
https://wiki.debian.org/ContinuousIntegration/RegressionEmailInformation

Paul

[1] https://qa.debian.org/excuses.php?package=openrazer

https://ci.debian.net/data/autopkgtest/testing/amd64/o/openrazer/25469803/log.gz

I: Removing binary package openrazer-driver-dkms, to get clean state
I: Installing binary package openrazer-driver-dkms
Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
  udev
The following NEW packages will be installed:
  openrazer-driver-dkms udev
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 1717 kB of archives.
After this operation, 11.0 MB of additional disk space will be used.
Get:1 http://deb.debian.org/debian testing/main amd64 udev amd64 251.3-1 [1656 kB] Get:2 http://deb.debian.org/debian unstable/main amd64 openrazer-driver-dkms all 3.4.0+dfsg-1 [60.9 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 1717 kB in 0s (32.0 MB/s)
Selecting previously unselected package udev.
(Reading database ... (Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 30129 files and directories currently installed.)
Preparing to unpack .../udev_251.3-1_amd64.deb ...
Unpacking udev (251.3-1) ...
Selecting previously unselected package openrazer-driver-dkms.
Preparing to unpack .../openrazer-driver-dkms_3.4.0+dfsg-1_all.deb ...
Unpacking openrazer-driver-dkms (3.4.0+dfsg-1) ...
Setting up udev (251.3-1) ...
Setting up openrazer-driver-dkms (3.4.0+dfsg-1) ...
autoinstall for dkms modules has been disabled.
I: Checking for missing dkms dependency by trying to deinstall dkms
dpkg: dependency problems prevent removal of dkms:
 openrazer-driver-dkms depends on dkms (>= 2.1.0.0).

dpkg: error processing package dkms (--remove):
 dependency problems - not removing
Errors were encountered while processing:
 dkms
I: No Linux header packages are installed.
I: Installing all available ones from src:linux 5.18.16-1:
I:   install linux-headers-5.18.0-4-amd64
I:   install linux-headers-5.18.0-4-cloud-amd64
I:   install linux-headers-5.18.0-4-rt-amd64
I:   skip    linux-headers-amd64
I:   skip    linux-headers-cloud-amd64
I:   skip    linux-headers-rt-amd64
Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
  cpp-11 gcc-11 gcc-11-base libasan6 libgcc-11-dev libtsan0
  linux-compiler-gcc-11-x86 linux-headers-5.18.0-4-common
  linux-headers-5.18.0-4-common-rt linux-kbuild-5.18
Suggested packages:
  gcc-11-locales gcc-11-multilib gcc-11-doc
Recommended packages:
  libc6-dev
The following NEW packages will be installed:
  cpp-11 gcc-11 gcc-11-base libasan6 libgcc-11-dev libtsan0
  linux-compiler-gcc-11-x86 linux-headers-5.18.0-4-amd64
  linux-headers-5.18.0-4-cloud-amd64 linux-headers-5.18.0-4-common
  linux-headers-5.18.0-4-common-rt linux-headers-5.18.0-4-rt-amd64
  linux-kbuild-5.18
0 upgraded, 13 newly installed, 0 to remove and 0 not upgraded.
Need to get 55.3 MB of archives.
After this operation, 220 MB of additional disk space will be used.
Get:1 http://deb.debian.org/debian testing/main amd64 gcc-11-base amd64 11.3.0-5 [209 kB] Get:2 http://deb.debian.org/debian testing/main amd64 cpp-11 amd64 11.3.0-5 [9155 kB] Get:3 http://deb.debian.org/debian testing/main amd64 libasan6 amd64 11.3.0-5 [2050 kB] Get:4 http://deb.debian.org/debian testing/main amd64 libtsan0 amd64 11.3.0-5 [2017 kB] Get:5 http://deb.debian.org/debian testing/main amd64 libgcc-11-dev amd64 11.3.0-5 [2361 kB] Get:6 http://deb.debian.org/debian testing/main amd64 gcc-11 amd64 11.3.0-5 [18.2 MB] Get:7 http://deb.debian.org/debian testing/main amd64 linux-compiler-gcc-11-x86 amd64 5.18.16-1 [499 kB] Get:8 http://deb.debian.org/debian testing/main amd64 linux-headers-5.18.0-4-common all 5.18.16-1 [9470 kB] Get:9 http://deb.debian.org/debian testing/main amd64 linux-kbuild-5.18 amd64 5.18.16-1 [751 kB] Get:10 http://deb.debian.org/debian testing/main amd64 linux-headers-5.18.0-4-amd64 amd64 5.18.16-1 [1028 kB] Get:11 http://deb.debian.org/debian testing/main amd64 linux-headers-5.18.0-4-cloud-amd64 amd64 5.18.16-1 [781 kB] Get:12 http://deb.debian.org/debian testing/main amd64 linux-headers-5.18.0-4-common-rt all 5.18.16-1 [7817 kB] Get:13 http://deb.debian.org/debian testing/main amd64 linux-headers-5.18.0-4-rt-amd64 amd64 5.18.16-1 [1028 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 55.3 MB in 0s (152 MB/s)
Selecting previously unselected package gcc-11-base:amd64.
(Reading database ... (Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 30272 files and directories currently installed.)
Preparing to unpack .../00-gcc-11-base_11.3.0-5_amd64.deb ...
Unpacking gcc-11-base:amd64 (11.3.0-5) ...
Selecting previously unselected package cpp-11.
Preparing to unpack .../01-cpp-11_11.3.0-5_amd64.deb ...
Unpacking cpp-11 (11.3.0-5) ...
Selecting previously unselected package libasan6:amd64.
Preparing to unpack .../02-libasan6_11.3.0-5_amd64.deb ...
Unpacking libasan6:amd64 (11.3.0-5) ...
Selecting previously unselected package libtsan0:amd64.
Preparing to unpack .../03-libtsan0_11.3.0-5_amd64.deb ...
Unpacking libtsan0:amd64 (11.3.0-5) ...
Selecting previously unselected package libgcc-11-dev:amd64.
Preparing to unpack .../04-libgcc-11-dev_11.3.0-5_amd64.deb ...
Unpacking libgcc-11-dev:amd64 (11.3.0-5) ...
Selecting previously unselected package gcc-11.
Preparing to unpack .../05-gcc-11_11.3.0-5_amd64.deb ...
Unpacking gcc-11 (11.3.0-5) ...
Selecting previously unselected package linux-compiler-gcc-11-x86.
Preparing to unpack .../06-linux-compiler-gcc-11-x86_5.18.16-1_amd64.deb ...
Unpacking linux-compiler-gcc-11-x86 (5.18.16-1) ...
Selecting previously unselected package linux-headers-5.18.0-4-common.
Preparing to unpack .../07-linux-headers-5.18.0-4-common_5.18.16-1_all.deb ...
Unpacking linux-headers-5.18.0-4-common (5.18.16-1) ...
Selecting previously unselected package linux-kbuild-5.18.
Preparing to unpack .../08-linux-kbuild-5.18_5.18.16-1_amd64.deb ...
Unpacking linux-kbuild-5.18 (5.18.16-1) ...
Selecting previously unselected package linux-headers-5.18.0-4-amd64.
Preparing to unpack .../09-linux-headers-5.18.0-4-amd64_5.18.16-1_amd64.deb ...
Unpacking linux-headers-5.18.0-4-amd64 (5.18.16-1) ...
Selecting previously unselected package linux-headers-5.18.0-4-cloud-amd64.
Preparing to unpack .../10-linux-headers-5.18.0-4-cloud-amd64_5.18.16-1_amd64.deb ...
Unpacking linux-headers-5.18.0-4-cloud-amd64 (5.18.16-1) ...
Selecting previously unselected package linux-headers-5.18.0-4-common-rt.
Preparing to unpack .../11-linux-headers-5.18.0-4-common-rt_5.18.16-1_all.deb ...
Unpacking linux-headers-5.18.0-4-common-rt (5.18.16-1) ...
Selecting previously unselected package linux-headers-5.18.0-4-rt-amd64.
Preparing to unpack .../12-linux-headers-5.18.0-4-rt-amd64_5.18.16-1_amd64.deb ...
Unpacking linux-headers-5.18.0-4-rt-amd64 (5.18.16-1) ...
Setting up gcc-11-base:amd64 (11.3.0-5) ...
Setting up linux-headers-5.18.0-4-common (5.18.16-1) ...
Setting up linux-kbuild-5.18 (5.18.16-1) ...
Setting up linux-headers-5.18.0-4-common-rt (5.18.16-1) ...
Setting up libasan6:amd64 (11.3.0-5) ...
Setting up libtsan0:amd64 (11.3.0-5) ...
Setting up cpp-11 (11.3.0-5) ...
Setting up libgcc-11-dev:amd64 (11.3.0-5) ...
Setting up gcc-11 (11.3.0-5) ...
Setting up linux-compiler-gcc-11-x86 (5.18.16-1) ...
Setting up linux-headers-5.18.0-4-rt-amd64 (5.18.16-1) ...
/etc/kernel/header_postinst.d/dkms:
dkms: autoinstall for dkms modules has been disabled.
Setting up linux-headers-5.18.0-4-amd64 (5.18.16-1) ...
/etc/kernel/header_postinst.d/dkms:
dkms: autoinstall for dkms modules has been disabled.
Setting up linux-headers-5.18.0-4-cloud-amd64 (5.18.16-1) ...
/etc/kernel/header_postinst.d/dkms:
dkms: autoinstall for dkms modules has been disabled.
Processing triggers for libc-bin (2.34-4) ...
I: Testing binary package openrazer-driver-dkms
I: Trying to build openrazer-driver/3.4.0 for 5.18.0-4-amd64
Creating symlink /var/lib/dkms/openrazer-driver/3.4.0/source -> /usr/src/openrazer-driver-3.4.0

Building module:
cleaning build area...
KERNELDIR=/lib/modules/5.18.0-4-amd64/build make driver....
cleaning build area...

razerkbd.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/5.18.0-4-amd64/updates/dkms/

razermouse.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/5.18.0-4-amd64/updates/dkms/

razerkraken.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/5.18.0-4-amd64/updates/dkms/

razeraccessory.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/5.18.0-4-amd64/updates/dkms/
depmod...
I: Testing if openrazer-driver modules are correctly installed
openrazer-driver/3.4.0, 5.18.0-4-amd64, x86_64: installed
I: Trying to build openrazer-driver/3.4.0 for 5.18.0-4-cloud-amd64

Building module:
cleaning build area...
KERNELDIR=/lib/modules/5.18.0-4-cloud-amd64/build make driver...(bad exit status: 2) Error! Bad return status for module build on kernel: 5.18.0-4-cloud-amd64 (x86_64) Consult /var/lib/dkms/openrazer-driver/3.4.0/build/make.log for more information.
E: openrazer-driver/3.4.0 failed to build for 5.18.0-4-cloud-amd64
========== /var/lib/dkms/openrazer-driver/3.4.0/build/make.log ==========
DKMS make.log for openrazer-driver-3.4.0 for kernel 5.18.0-4-cloud-amd64 (x86_64)
Mon Aug 29 16:22:25 UTC 2022
-e :: Compiling OpenRazer kernel modules
========================================
make -C /lib/modules/5.18.0-4-cloud-amd64/build M=/var/lib/dkms/openrazer-driver/3.4.0/build/driver modules
make[1]: Entering directory '/usr/src/linux-headers-5.18.0-4-cloud-amd64'
CC [M] /var/lib/dkms/openrazer-driver/3.4.0/build/driver/razerkbd_driver.o
  CC [M]  /var/lib/dkms/openrazer-driver/3.4.0/build/driver/razercommon.o
/var/lib/dkms/openrazer-driver/3.4.0/build/driver/razercommon.c:208:46: warning: ‘struct usb_device’ declared inside parameter list will not be visible outside of this definition or declaration 208 | int razer_send_control_msg_old_device(struct usb_device *usb_dev,void const *data, uint report_value, uint report_index, uint report_size, ulong wait_min, ulong wait_max)
      |                                              ^~~~~~~~~~
/var/lib/dkms/openrazer-driver/3.4.0/build/driver/razercommon.c: In function ‘razer_send_control_msg_old_device’: /var/lib/dkms/openrazer-driver/3.4.0/build/driver/razercommon.c:210:20: error: ‘HID_REQ_SET_REPORT’ undeclared (first use in this function)
  210 |     uint request = HID_REQ_SET_REPORT; // 0x09
      |                    ^~~~~~~~~~~~~~~~~~
/var/lib/dkms/openrazer-driver/3.4.0/build/driver/razercommon.c:210:20: note: each undeclared identifier is reported only once for each function it appears in /var/lib/dkms/openrazer-driver/3.4.0/build/driver/razercommon.c:211:25: error: ‘USB_TYPE_CLASS’ undeclared (first use in this function) 211 | uint request_type = USB_TYPE_CLASS | USB_RECIP_INTERFACE | USB_DIR_OUT; // 0x21
      |                         ^~~~~~~~~~~~~~
/var/lib/dkms/openrazer-driver/3.4.0/build/driver/razercommon.c:211:42: error: ‘USB_RECIP_INTERFACE’ undeclared (first use in this function) 211 | uint request_type = USB_TYPE_CLASS | USB_RECIP_INTERFACE | USB_DIR_OUT; // 0x21
      |                                          ^~~~~~~~~~~~~~~~~~~
/var/lib/dkms/openrazer-driver/3.4.0/build/driver/razercommon.c:211:64: error: ‘USB_DIR_OUT’ undeclared (first use in this function) 211 | uint request_type = USB_TYPE_CLASS | USB_RECIP_INTERFACE | USB_DIR_OUT; // 0x21 | ^~~~~~~~~~~ /var/lib/dkms/openrazer-driver/3.4.0/build/driver/razercommon.c:220:11: error: implicit declaration of function ‘usb_control_msg’ [-Werror=implicit-function-declaration]
  220 |     len = usb_control_msg(usb_dev, usb_sndctrlpipe(usb_dev, 0),
      |           ^~~~~~~~~~~~~~~
/var/lib/dkms/openrazer-driver/3.4.0/build/driver/razercommon.c:220:36: error: implicit declaration of function ‘usb_sndctrlpipe’ [-Werror=implicit-function-declaration]
  220 |     len = usb_control_msg(usb_dev, usb_sndctrlpipe(usb_dev, 0),
      |                                    ^~~~~~~~~~~~~~~
/var/lib/dkms/openrazer-driver/3.4.0/build/driver/razercommon.c:227:27: error: ‘USB_CTRL_SET_TIMEOUT’ undeclared (first use in this function)
  227 |                           USB_CTRL_SET_TIMEOUT);
      |                           ^~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/openrazer-driver/3.4.0/build/driver/razercommon.c:230:5: error: implicit declaration of function ‘usleep_range’ [-Werror=implicit-function-declaration]
  230 |     usleep_range(wait_min, wait_max);
      |     ^~~~~~~~~~~~
cc1: some warnings being treated as errors
make[2]: *** [/usr/src/linux-headers-5.18.0-4-common/scripts/Makefile.build:294: /var/lib/dkms/openrazer-driver/3.4.0/build/driver/razercommon.o] Error 1 make[1]: *** [/usr/src/linux-headers-5.18.0-4-common/Makefile:1862: /var/lib/dkms/openrazer-driver/3.4.0/build/driver] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-5.18.0-4-cloud-amd64'
make: *** [Makefile:41: driver] Error 2
====================
I: Trying to build openrazer-driver/3.4.0 for 5.18.0-4-rt-amd64

Building module:
cleaning build area...
KERNELDIR=/lib/modules/5.18.0-4-rt-amd64/build make driver....
cleaning build area...

razerkbd.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/5.18.0-4-rt-amd64/updates/dkms/

razermouse.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/5.18.0-4-rt-amd64/updates/dkms/

razerkraken.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/5.18.0-4-rt-amd64/updates/dkms/

razeraccessory.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/5.18.0-4-rt-amd64/updates/dkms/
depmod...
I: Testing if openrazer-driver modules are correctly installed
openrazer-driver/3.4.0, 5.18.0-4-rt-amd64, x86_64: installed
./openrazer-driver/3.4.0/5.18.0-4-rt-amd64/x86_64/log/make.log
./openrazer-driver/3.4.0/5.18.0-4-amd64/x86_64/log/make.log
autopkgtest [16:22:32]: test dkms-autopkgtest

Attachment: OpenPGP_signature
Description: OpenPGP digital signature

Reply via email to