pop-os / system76-dkms

System76 DKMS driver
GNU General Public License v2.0
36 stars 19 forks source link

Compilation failure on Kernel 5.15 and 5.16 #59

Open EnderCrypt opened 2 years ago

EnderCrypt commented 2 years ago

Distribution:

NAME="Manjaro Linux"
ID=manjaro
ID_LIKE=arch
BUILD_ID=rolling
PRETTY_NAME="Manjaro Linux"

Related Application and/or Package Version: system76-dkms 1.0.13-1 (via AUR)

Issue/Bug Description: Installing kernel 5.15.28-1 or 5.16.14-1 on manjaro succeds but with an error:

==> dkms install --no-depmod system76/1.0.13 -k 5.16.14-1-MANJARO
Error! Bad return status for module build on kernel: 5.16.14-1-MANJARO (x86_64)
Consult /var/lib/dkms/system76/1.0.13/build/make.log for more information.
==> WARNING: `dkms install --no-depmod system76/1.0.13 -k 5.16.14-1-MANJARO' exited 10

the mentioned log contains:

DKMS make.log for system76-1.0.13 for kernel 5.16.14-1-MANJARO (x86_64)
Wed Mar 23 00:00:14 CET 2022
make: Entering directory '/usr/lib/modules/5.16.14-1-MANJARO/build'
make: uname: No such file or directory
make: make: No such file or directory
make: *** [Makefile:1846: /var/lib/dkms/system76/1.0.13/build] Error 127
make: Leaving directory '/usr/lib/modules/5.16.14-1-MANJARO/build'

Steps to reproduce:

  1. install system76-dkms via aur
  2. install a kernel (above 5.10) via kernel settings screen

Expected behavior: to get no errors or complaints from the kernel installations

Other Notes: