Yes LTS is 4.19.14-1-lts
But package virtualbox-host-modules-artix depends on > linux 4.20.artix1-1
So if I want to say with LTS, I am forced to use DKMS
And virtualbox-host-dkms does not build on 4.19.14-1-lts
Errors during build in pamac:
Install DKMS modules
==> dkms install vboxhost/6.0.0_OSE -k 4.19.14-1-lts
Error! Bad return status for module build on kernel: 4.19.14-1-lts (x86_64)
Consult /var/lib/dkms/vboxhost/6.0.0_OSE/build/make.log for more information.
==> dkms install vboxhost/6.0.0_OSE -k 4.20.0-artix1-1-ARTIX
Error! Bad return status for module build on kernel: 4.20.0-artix1-1-ARTIX (x86_64)
Consult /var/lib/dkms/vboxhost/6.0.0_OSE/build/make.log for more information.
and that file says:
DKMS make.log for vboxhost-6.0.0_OSE for kernel 4.20.0-artix1-1-ARTIX (x86_64)
Sat Jan 12 00:48:23 CET 2019
make: Entering directory '/usr/lib/modules/4.20.0-artix1-1-ARTIX/build'
gcc: error trying to exec 'cc1': execvp: No such file or directory
gcc: error trying to exec 'cc1': execvp: No such file or directory
CC [M] /var/lib/dkms/vboxhost/6.0.0_OSE/build/vboxnetflt/linux/VBoxNetFlt-linux.o
gcc: error trying to exec 'cc1': execvp: No such file or directory
make[2]: *** [scripts/Makefile.build:291: /var/lib/dkms/vboxhost/6.0.0_OSE/build/vboxnetflt/linux/VBoxNetFlt-linux.o] Error 1
make[1]: *** [scripts/Makefile.build:516: /var/lib/dkms/vboxhost/6.0.0_OSE/build/vboxnetflt] Error 2
make[1]: *** Waiting for unfinished jobs....
CC [M] /var/lib/dkms/vboxhost/6.0.0_OSE/build/vboxnetadp/linux/VBoxNetAdp-linux.o
gcc: error trying to exec 'cc1': execvp: No such file or directory
CC [M] /var/lib/dkms/vboxhost/6.0.0_OSE/build/vboxnetadp/VBoxNetAdp.o
make[2]: *** [scripts/Makefile.build:292: /var/lib/dkms/vboxhost/6.0.0_OSE/build/vboxnetadp/linux/VBoxNetAdp-linux.o] Error 1
make[2]: *** Waiting for unfinished jobs....
gcc: error trying to exec 'cc1': execvp: No such file or directory
make[2]: *** [scripts/Makefile.build:292: /var/lib/dkms/vboxhost/6.0.0_OSE/build/vboxnetadp/VBoxNetAdp.o] Error 1
make[1]: *** [scripts/Makefile.build:516: /var/lib/dkms/vboxhost/6.0.0_OSE/build/vboxnetadp] Error 2
CC [M] /var/lib/dkms/vboxhost/6.0.0_OSE/build/vboxdrv/linux/SUPDrv-linux.o
CC [M] /var/lib/dkms/vboxhost/6.0.0_OSE/build/vboxpci/linux/VBoxPci-linux.o
gcc: error trying to exec 'cc1': execvp: No such file or directory
make[2]: *** [scripts/Makefile.build:291: /var/lib/dkms/vboxhost/6.0.0_OSE/build/vboxdrv/linux/SUPDrv-linux.o] Error 1
make[2]: *** Waiting for unfinished jobs....
CC [M] /var/lib/dkms/vboxhost/6.0.0_OSE/build/vboxdrv/SUPDrv.o
gcc: error trying to exec 'cc1': execvp: No such file or directory
make[2]: *** [scripts/Makefile.build:291: /var/lib/dkms/vboxhost/6.0.0_OSE/build/vboxpci/linux/VBoxPci-linux.o] Error 1
make[2]: *** Waiting for unfinished jobs....
gcc: error trying to exec 'cc1': execvp: No such file or directory
make[2]: *** [scripts/Makefile.build:291: /var/lib/dkms/vboxhost/6.0.0_OSE/build/vboxdrv/SUPDrv.o] Error 1
make[1]: *** [scripts/Makefile.build:516: /var/lib/dkms/vboxhost/6.0.0_OSE/build/vboxdrv] Error 2
CC [M] /var/lib/dkms/vboxhost/6.0.0_OSE/build/vboxpci/VBoxPci.o
gcc: error trying to exec 'cc1': execvp: No such file or directory
make[2]: *** [scripts/Makefile.build:291: /var/lib/dkms/vboxhost/6.0.0_OSE/build/vboxpci/VBoxPci.o] Error 1
make[1]: *** [scripts/Makefile.build:516: /var/lib/dkms/vboxhost/6.0.0_OSE/build/vboxpci] Error 2
make: *** [Makefile:1563: _module_/var/lib/dkms/vboxhost/6.0.0_OSE/build] Error 2
make: Leaving directory '/usr/lib/modules/4.20.0-artix1-1-ARTIX/build'
I found that cc1 what not in PATH: sudo ln -s /usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/cc1 /usr/bin/cc1
When I execute make again:
sudo make
=== Building 'vboxdrv' module ===
make[1]: Entering directory '/var/lib/dkms/vboxhost/6.0.0_OSE/build/vboxdrv'
make V= CONFIG_MODULE_SIG= -C /lib/modules/4.19.14-1-lts/build SUBDIRS=/var/lib/dkms/vboxhost/6.0.0_OSE/build/vboxdrv SRCROOT=/var/lib/dkms/vboxhost/6.0.0_OSE/build/vboxdrv -j4 modules
make[2]: Entering directory '/usr/lib/modules/4.19.14-1-lts/build'
CC [M] /var/lib/dkms/vboxhost/6.0.0_OSE/build/vboxdrv/linux/SUPDrv-linux.o
CC [M] /var/lib/dkms/vboxhost/6.0.0_OSE/build/vboxdrv/SUPDrv.o
CC [M] /var/lib/dkms/vboxhost/6.0.0_OSE/build/vboxdrv/SUPDrvGip.o
CC [M] /var/lib/dkms/vboxhost/6.0.0_OSE/build/vboxdrv/SUPDrvSem.o
cc1: fatal error: /var/lib/dkms/vboxhost/6.0.0_OSE/build/vboxdrv/vboxdrv/include/VBox/SUPDrvMangling.h: No such file or directory
compilation terminated.
make[3]: *** [scripts/Makefile.build:303: /var/lib/dkms/vboxhost/6.0.0_OSE/build/vboxdrv/SUPDrv.o] Error 1
make[3]: *** Waiting for unfinished jobs....
cc1: fatal error: /var/lib/dkms/vboxhost/6.0.0_OSE/build/vboxdrv/vboxdrv/include/VBox/SUPDrvMangling.h: No such file or directory
compilation terminated.
make[3]: *** [scripts/Makefile.build:303: /var/lib/dkms/vboxhost/6.0.0_OSE/build/vboxdrv/SUPDrvGip.o] Error 1
cc1: fatal error: /var/lib/dkms/vboxhost/6.0.0_OSE/build/vboxdrv/vboxdrv/include/VBox/SUPDrvMangling.h: No such file or directory
compilation terminated.
cc1: fatal error: /var/lib/dkms/vboxhost/6.0.0_OSE/build/vboxdrv/vboxdrv/include/VBox/SUPDrvMangling.h: No such file or directory
compilation terminated.
make[3]: *** [scripts/Makefile.build:303: /var/lib/dkms/vboxhost/6.0.0_OSE/build/vboxdrv/linux/SUPDrv-linux.o] Error 1
make[3]: *** [scripts/Makefile.build:303: /var/lib/dkms/vboxhost/6.0.0_OSE/build/vboxdrv/SUPDrvSem.o] Error 1
make[2]: *** [Makefile:1517: _module_/var/lib/dkms/vboxhost/6.0.0_OSE/build/vboxdrv] Error 2
make[2]: Leaving directory '/usr/lib/modules/4.19.14-1-lts/build'
make[1]: *** [/var/lib/dkms/vboxhost/6.0.0_OSE/build/vboxdrv/Makefile.include.footer:106: vboxdrv] Error 2
make[1]: Leaving directory '/var/lib/dkms/vboxhost/6.0.0_OSE/build/vboxdrv'
make: *** [Makefile:58: vboxdrv] Error 2