Void Linux x86_64 XFCE
Latest virtualbox-ose should be able to build/install kernel modules successfully.
It fails to build DKMS.
Just fetch the latest updates "sudo xbps-install -Su"
Same with 5.1.x. Error with all three is (aside from the version):
~
Error! Build of vboxnetadp.ko failed for: 4.19.45_1 (x86_64)
~
What's confusing to me is that that module seems to be compiling just fine?
~
=== Building 'vboxnetadp' module ===
make[1]: Entering directory '/var/lib/dkms/virtualbox-ose/6.0.8/build/vboxnetadp'
make V= CONFIG_MODULE_SIG= -C /lib/modules/5.1.3_1/build M=/var/lib/dkms/virtualbox-ose/6.0.8/build/vboxnetadp SRCROOT=/var/lib/dkms/virtualbox-ose/6.0.8/build/vboxnetadp -j8 modules
make[2]: Entering directory '/usr/src/kernel-headers-5.1.3_1'
CC [M] /var/lib/dkms/virtualbox-ose/6.0.8/build/vboxnetadp/linux/VBoxNetAdp-linux.o
CC [M] /var/lib/dkms/virtualbox-ose/6.0.8/build/vboxnetadp/VBoxNetAdp.o
LD [M] /var/lib/dkms/virtualbox-ose/6.0.8/build/vboxnetadp/vboxnetadp.o
Building modules, stage 2.
MODPOST 1 modules
CC /var/lib/dkms/virtualbox-ose/6.0.8/build/vboxnetadp/vboxnetadp.mod.o
LD [M] /var/lib/dkms/virtualbox-ose/6.0.8/build/vboxnetadp/vboxnetadp.ko
make[2]: Leaving directory '/usr/src/kernel-headers-5.1.3_1'
make[1]: Leaving directory '/var/lib/dkms/virtualbox-ose/6.0.8/build/vboxnetadp'
~
Ah, it looks like 6.0.8 installs to misc/, the old (and I presume expected) path is updates/.
I don't think this is accurate. It definitely seems to be related to dkms though.
@Hoshpak Any ideas?
/var/lib/dkms/virtualbox-ose/6.0.8/build/vboxdrv/SUPDrvTracer.o: warning: objtool: .text+0x7: indirect jump found in RETPOLINE build
This is the error I see here in /var/lib/dkms/virtualbox-ose/6.0.8/build/make.log.
I think this is lines 1464 ff in /usr/src/virtualbox-ose-6.0.8/vboxdrv/SUPDrvTracer.c and I have no idea what it does or how it could be done differently.
Sorry, I didn't test the dkms modules this time before pushing. Arch already had a patch for the issue. I tested it and will push it.
NP @Hoshpak thanks for finding and pushing that patch :-)
Have a good time!
Most helpful comment
Sorry, I didn't test the dkms modules this time before pushing. Arch already had a patch for the issue. I tested it and will push it.