Skip to content

DKMS fails to build tuxedo-drivers/4.12.2 for kernel 6.15.0-rc1

On Fedora 41, with tuxedo-drivers-4.12.2-1.noarch and kernel-6.15.0-0.rc1.213.vanilla.fc41.x86_64:

DKMS (dkms-3.1.7) make.log for tuxedo-drivers/4.12.2 for kernel 6.15.0-0.rc1.213.vanilla.fc41.x86_64 (x86_64)
Sun  6 Apr 22:27:57 UTC 2025

Building module(s)
# command: make -j16 KERNELRELEASE=6.15.0-0.rc1.213.vanilla.fc41.x86_64 -C /lib/modules/6.15.0-0.rc1.213.vanilla.fc41.x86_64/build M=/var/lib/dkms/tuxedo-drivers/4.12.2/build
make: Entering directory '/usr/src/kernels/6.15.0-0.rc1.213.vanilla.fc41.x86_64'
make[1]: Entering directory '/var/lib/dkms/tuxedo-drivers/4.12.2/build'
  CC [M]  clevo_acpi.o
  CC [M]  clevo_wmi.o
  CC [M]  tuxedo_keyboard.o
  CC [M]  uniwill_wmi.o
  CC [M]  ite_8291/ite_8291.o
  CC [M]  ite_8291_lb/ite_8291_lb.o
  CC [M]  ite_829x/ite_829x.o
  CC [M]  tuxedo_compatibility_check/tuxedo_compatibility_check.o
  CC [M]  ite_8297/ite_8297.o
  CC [M]  tuxedo_io/tuxedo_io.o
  CC [M]  tuxedo_nb04/tuxedo_nb04_keyboard.o
  CC [M]  tuxedo_nb05/tuxedo_nb05_keyboard.o
  CC [M]  tuxedo_tuxi/tuxi_acpi.o
  CC [M]  tuxedo_nb02_nvidia_power_ctrl/tuxedo_nb02_nvidia_power_ctrl.o
  CC [M]  stk8321/stk8321.o
  CC [M]  gxtp7380/gxtp7380.o
In file included from tuxedo_compatibility_check/tuxedo_compatibility_check.c:25:
tuxedo_compatibility_check/tuxedo_compatibility_check.c:160:23: error: ‘INTEL_ATOM_AIRMONT_MID’ undeclared here (not in a function); did you mean ‘INTEL_ATOM_AIRMONT_NP’?
  160 |         X86_MATCH_VFM(INTEL_ATOM_AIRMONT_MID, NULL),
      |                       ^~~~~~~~~~~~~~~~~~~~~~
/usr/src/kernels/6.15.0-0.rc1.213.vanilla.fc41.x86_64/arch/x86/include/asm/cpu_device_id.h:78:27: note: in definition of macro ‘X86_MATCH_CPU’
   78 |         .vendor         = _vendor,                                      \
      |                           ^~~~~~~
/usr/src/kernels/6.15.0-0.rc1.213.vanilla.fc41.x86_64/arch/x86/include/asm/cpu_device_id.h:161:23: note: in expansion of macro ‘VFM_VENDOR’
  161 |         X86_MATCH_CPU(VFM_VENDOR(vfm), VFM_FAMILY(vfm), VFM_MODEL(vfm),         \
      |                       ^~~~~~~~~~
tuxedo_compatibility_check/tuxedo_compatibility_check.c:160:9: note: in expansion of macro ‘X86_MATCH_VFM’
  160 |         X86_MATCH_VFM(INTEL_ATOM_AIRMONT_MID, NULL),
      |         ^~~~~~~~~~~~~
make[4]: *** [/usr/src/kernels/6.15.0-0.rc1.213.vanilla.fc41.x86_64/scripts/Makefile.build:203: tuxedo_compatibility_check/tuxedo_compatibility_check.o] Error 1
make[3]: *** [/usr/src/kernels/6.15.0-0.rc1.213.vanilla.fc41.x86_64/scripts/Makefile.build:461: tuxedo_compatibility_check] Error 2
make[3]: *** Waiting for unfinished jobs....
  CC [M]  tuxedo_nb04/tuxedo_nb04_wmi_ab.o
  CC [M]  tuxedo_nb05/tuxedo_nb05_kbd_backlight.o
  CC [M]  tuxedo_nb05/tuxedo_nb05_power_profiles.o
  CC [M]  tuxedo_nb05/tuxedo_nb05_ec.o
  CC [M]  tuxedo_nb04/tuxedo_nb04_wmi_bs.o
  CC [M]  tuxedo_tuxi/tuxedo_tuxi_fan_control.o
  CC [M]  tuxedo_nb05/tuxedo_nb05_sensors.o
  CC [M]  tuxedo_nb04/tuxedo_nb04_sensors.o
  CC [M]  tuxedo_nb04/tuxedo_nb04_power_profiles.o
  CC [M]  tuxedo_nb05/tuxedo_nb05_fan_control.o
  CC [M]  tuxedo_nb04/tuxedo_nb04_kbd_backlight.o
tuxedo_nb05/tuxedo_nb05_power_profiles.c: In function ‘tuxedo_nb05_power_profiles_remove’:
tuxedo_nb05/tuxedo_nb05_power_profiles.c:360:9: error: implicit declaration of function ‘del_timer’; did you mean ‘add_timer’? [-Wimplicit-function-declaration]
  360 |         del_timer(&profile_changed_timer);
      |         ^~~~~~~~~
      |         add_timer
make[4]: *** [/usr/src/kernels/6.15.0-0.rc1.213.vanilla.fc41.x86_64/scripts/Makefile.build:203: tuxedo_nb05/tuxedo_nb05_power_profiles.o] Error 1
make[4]: *** Waiting for unfinished jobs....
make[3]: *** [/usr/src/kernels/6.15.0-0.rc1.213.vanilla.fc41.x86_64/scripts/Makefile.build:461: tuxedo_nb05] Error 2
make[2]: *** [/usr/src/kernels/6.15.0-0.rc1.213.vanilla.fc41.x86_64/Makefile:2014: .] Error 2
make[1]: *** [/usr/src/kernels/6.15.0-0.rc1.213.vanilla.fc41.x86_64/Makefile:256: __sub-make] Error 2
make[1]: Leaving directory '/var/lib/dkms/tuxedo-drivers/4.12.2/build'
make: *** [Makefile:256: __sub-make] Error 2
make: Leaving directory '/usr/src/kernels/6.15.0-0.rc1.213.vanilla.fc41.x86_64'

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