Missing packages: kernel-devel / kernel headers for 5.15.x and 5.18.x

Hi everybody,

I need to build the Tuxedo-Keyboard module bundle. I created a standalone HVM based on the template Fedora-32; installed development tools, and want to install the kernel-headers for kernel

  • kernel-5.15.52-1.fc32.qubes.x86_64
  • kernel-latest-5.18.9-1.fc32.qubes.x86_64

but what I can get, regardless of which kernel is active, is

  • kernel headers 5.11.19-100.fc32

I don’t even have a 5.11.x kernel installed.

I tried this package
but it doesn’t work:

make -C /lib/modules/5.18.9-1.fc32.qubes.x86_64/build M=/home/user/My-Stuff/Development/Tuxedo-Keyboard/git/tuxedo-keyboard modules
make[1]: Entering directory '/usr/lib/modules/5.18.9-1.fc32.qubes.x86_64/build'
/bin/sh: -c: line 0: syntax error near unexpected token `('
/bin/sh: -c: line 0: `if [ "gcc (GCC) 10.3.1 20210422 (Red Hat 10.3.1-1)" != ""gcc (GCC) 10.3.1 20210422 (Red Hat 10.3.1-1)"" ]; then \'
make[1]: *** [Makefile:1724: prepare] Error 1
make[1]: Leaving directory '/usr/lib/modules/5.18.9-1.fc32.qubes.x86_64/build'
make: *** [Makefile:29: all] Error 2

So my question is: where can I get the matching header files? Any ideas?


I’ll write another post with a detailed background description but that needs a bit more thought to make it understandable.

Opened an issue on GitHub:

1 Like