[arch-general] Update to 4.12.3-1 failed to rebuild DKMS virtualbox modules?

David C. Rankin drankinatty at suddenlinkmail.com
Sat Jul 29 06:58:26 UTC 2017


Archdevs,

  Update tonight to 4.12.3-1, and for the first time in years, DKMS failed to
rebuild the VirtualBox kernel modules. Specifically attempting a manual
install/build resulted in:

# dkms install -m vboxhost -v 5.1.22

Kernel preparation unnecessary for this kernel.  Skipping...

Building module:
cleaning build area...
make -j8 KERNELRELEASE=4.12.3-1-ARCH -C /usr/lib/modules/4.12.3-1-ARCH/build
M=/var/lib/dkms/vboxhost/5.1.22/build....(bad exit status: 2)
Error! Bad return status for module build on kernel: 4.12.3-1-ARCH (x86_64)
Consult /var/lib/dkms/vboxhost/5.1.22/build/make.log for more information.

Is this known, expected, or do we need to open a bug?

The error from the log centers around:

  CC [M]
/var/lib/dkms/vboxhost/5.1.22/build/vboxdrv/r0drv/linux/memuserkernel-r0drv-linux.o
In file included from
/var/lib/dkms/vboxhost/5.1.22/build/vboxdrv/r0drv/linux/alloc-r0drv-linux.c:31:0:
/var/lib/dkms/vboxhost/5.1.22/build/vboxdrv/r0drv/linux/alloc-r0drv-linux.c:
In function ‘VBoxHost_RTMemContAlloc’:
/var/lib/dkms/vboxhost/5.1.22/build/vboxdrv/r0drv/linux/the-linux-kernel.h:323:47:
error: implicit declaration of function ‘set_pages_x’; did you mean
‘get_page’? [-Werror=implicit-function-declaration]
 # define MY_SET_PAGES_EXEC(pPages, cPages)    set_pages_x(pPages, cPages)
                                               ^
/var/lib/dkms/vboxhost/5.1.22/build/vboxdrv/r0drv/linux/alloc-r0drv-linux.c:445:13:
note: in expansion of macro ‘MY_SET_PAGES_EXEC’
             MY_SET_PAGES_EXEC(&paPages[iPage], 1);
             ^~~~~~~~~~~~~~~~~
<snip>

-- 
David C. Rankin, J.D.,P.E.


More information about the arch-general mailing list