You are not logged in.
I can no longer build a dkms module
yay evdi-dkms
==> dkms install --no-depmod evdi/1.14.15 -k 6.19.6-arch1-1
/usr/bin/dkms: line 1420: ((: < 2: arithmetic syntax error: operand expected (error token is "< 2")Error! Bad return status for module build on kernel: 6.19.6-arch1-1 (x86_64)
Consult /var/lib/dkms/evdi/1.14.15/build/make.log for more information.
==> WARNING: `dkms install --no-depmod evdi/1.14.15 -k 6.19.6-arch1-1' exited 10
(3/4) Running kernel-install...
Running kernel-install for 6.19.6-arch1-1
cat /var/lib/dkms/evdi/1.14.15/build/make.log
c -o evdi_ioc32.o evdi_ioc32.c
# LD [M] evdi.o
ld -m elf_x86_64 -z noexecstack --no-warn-rwx-segments -r -o evdi.o @evdi.mod ; /usr/lib/modules/6.19.6-arch1-1/build/tools/objtool/objtool --hacks=jump_label --hacks=noinstr --hacks=skylake --ibt --orc --retpoline --rethunk --sls --static-call --uaccess --prefix=16 --link --module evdi.o
/usr/bin/ld: no input files
make[4]: *** [/usr/lib/modules/6.19.6-arch1-1/build/scripts/Makefile.build:505: evdi.o] Error 1
make[3]: *** [/usr/lib/modules/6.19.6-arch1-1/build/Makefile:2064: .] Error 2
make[2]: *** [/usr/lib/modules/6.19.6-arch1-1/build/Makefile:248: __sub-make] Error 2
make[2]: Leaving directory '/var/lib/dkms/evdi/1.14.15/build'
make[1]: *** [Makefile:248: __sub-make] Error 2
make[1]: Leaving directory '/usr/lib/modules/6.19.6-arch1-1/build'
make: *** [Makefile:34: all] Error 2# exit code: 2
# elapsed time: 00:00:01
It happens with every dkms package. I am using Endeavour on the system.
I have already reinstalled dkms, but nothing has helped so far.
Does anyone have an idea?
I found the error; I had to reinstall gawk, and now it works again but with overwrite.
sudo pacman -S gawk --overwrite “*”
Last edited by lurks (2026-03-09 06:42:20)
Offline
(($(ls "$source_dir" | wc -l | awk {'print $1'}) < 2)) && die 8You can add "set -x" to the dkms script to trace it but want to check what source_dir is and its contents are.
I am using Endeavour on the system.
Offline