Package: xone-dkms
Version: 0.5.8-1
Severity: important
Tags: upstream

Hi,

xone-dkms fails to build a module for Linux 7.4 in experimental:

DKMS (dkms-3.2.2) make.log for xone/0.5.8 for kernel 7.4-amd64 (x86_64)
Thu Nov 26 18:29:21 UTC 2026

Building module(s)
# command: make -j14 KERNELRELEASE=7.4-amd64 -C /lib/modules/7.4-amd64/build 
M=/var/lib/dkms/xone/0.5.8/build
make: Entering directory '/usr/src/linux-headers-7.4-amd64'
make[1]: Entering directory '/var/lib/dkms/xone/0.5.8/build'
  CC [M]  bus/bus.o
  CC [M]  bus/protocol.o
  CC [M]  auth/auth.o
  CC [M]  auth/crypto.o
  CC [M]  driver/common.o
  CC [M]  transport/wired.o
  CC [M]  transport/dongle.o
  CC [M]  transport/mt76.o
  CC [M]  driver/gamepad.o
  CC [M]  driver/headset.o
  CC [M]  driver/chatpad.o
  CC [M]  driver/madcatz_strat.o
  CC [M]  driver/madcatz_glam.o
  CC [M]  driver/pdp_jaguar.o
  LD [M]  xone_gip_gamepad.o
driver/headset.c: In function 'gip_headset_register':
driver/headset.c:404:15: error: implicit declaration of function 
'snd_card_free_on_error' [-Wimplicit-function-declaration]
  404 |         err = snd_card_free_on_error(&client->dev, 
gip_headset_init_pcm(headset));
      |               ^~~~~~~~~~~~~~~~~~~~~~
make[3]: *** [/usr/src/linux-headers-7.4-common/scripts/Makefile.build:295: 
driver/headset.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[2]: *** [/usr/src/linux-headers-7.4-common/Makefile:2268: .] Error 2
make[1]: *** [/usr/src/linux-headers-7.4-common/Makefile:260: __sub-make] Error 
2
make[1]: Leaving directory '/var/lib/dkms/xone/0.5.8/build'
make: *** [/usr/src/linux-headers-7.4-common/Makefile:260: __sub-make] Error 2
make: Leaving directory '/usr/src/linux-headers-7.4-amd64'

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

The function was removed by Linux commit "ALSA: Drop unused 
snd_card_free_on_error()"
(cb8e306fd99c70cc6f57d1a3ec39659dd4c5a6e6) in v7.4-rc1
See preceding commits for the changes leading to its obsolescence.


Andreas

Reply via email to