qufo
July 31, 2022, 5:14pm
1
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
https://yum.qubes-os.org/r4.1/current/dom0/fc32/rpm/kernel-latest-devel-5.18.9-1.fc32.qubes.x86_64.rpm
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?
Regards.
I’ll write another post with a detailed background description but that needs a bit more thought to make it understandable.
qufo
August 2, 2022, 11:32am
2
Opened an issue on GitHub:
opened 11:23AM - 02 Aug 22 UTC
T: bug
P: default
### Qubes OS release
4.1
### Brief summary
I need to build the Tuxedo-Key… board 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
https://yum.qubes-os.org/r4.1/current/dom0/fc32/rpm/kernel-latest-devel-.18.9-1.fc32.qubes.x86_64.rpm
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
```
### Steps to reproduce
1. Install kernel-latest and kernel-latest-qubes-vm
2. Install and update fedora-32 template
3. Create standalone HVM based on the template fedora-32
4. Set kernel to 5.18
5. Start the standalone VM
6. Install kernel-devel or kernel-headers
Background as to why: https://forum.qubes-os.org/t/tuxedo-pulse-15-gen1-amd-ryzen-7-4800h-with-radeon-graphics-intermittent-crashes-and-worrying-messages-in-the-journal/12886
### Expected behavior
That the matching headers are installed.
### Actual behavior
dnf installs the kernel headers for 5.11
1 Like