[Pkg-virtualbox-devel] Bug#849633: virtualbox-dkms: Compiling error when updating kernel

Karl Voit debian at Karl-Voit.at
Thu Dec 29 10:09:28 UTC 2016


Package: virtualbox-dkms
Version: 4.3.36-dfsg-1+deb8u1
Severity: grave
Justification: renders package unusable

Dear Maintainer,

I updated my kernel via apt. VirtualBox does not work since because of
error when compiling the DKMS modules. This issue persists since a few
kernel updates.

See the log output of /var/lib/dkms/virtualbox/4.3.36/build/make.log
which I have attached.

-- System Information:
Debian Release: 8.6
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.7.0-0.bpo.1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages virtualbox-dkms depends on:
ii  dkms  2.2.1.0+git20160527-1~bpo8+1

Versions of packages virtualbox-dkms recommends:
ii  virtualbox  4.3.36-dfsg-1+deb8u1

virtualbox-dkms suggests no packages.

-- no debconf information
-------------- next part --------------
DKMS make.log for virtualbox-4.3.36 for kernel 4.8.0-0.bpo.2-amd64 (x86_64)
Thu Dec 29 10:42:53 CET 2016
make: Entering directory '/usr/src/linux-headers-4.8.0-0.bpo.2-amd64'
  LD      /var/lib/dkms/virtualbox/4.3.36/build/built-in.o
  LD      /var/lib/dkms/virtualbox/4.3.36/build/vboxdrv/built-in.o
  CC [M]  /var/lib/dkms/virtualbox/4.3.36/build/vboxdrv/linux/SUPDrv-linux.o
  CC [M]  /var/lib/dkms/virtualbox/4.3.36/build/vboxdrv/SUPDrv.o
  CC [M]  /var/lib/dkms/virtualbox/4.3.36/build/vboxdrv/SUPDrvTracer.o
  CC [M]  /var/lib/dkms/virtualbox/4.3.36/build/vboxdrv/SUPDrvSem.o
  CC [M]  /var/lib/dkms/virtualbox/4.3.36/build/vboxdrv/r0drv/alloc-r0drv.o
  CC [M]  /var/lib/dkms/virtualbox/4.3.36/build/vboxdrv/r0drv/initterm-r0drv.o
  CC [M]  /var/lib/dkms/virtualbox/4.3.36/build/vboxdrv/r0drv/memobj-r0drv.o
  CC [M]  /var/lib/dkms/virtualbox/4.3.36/build/vboxdrv/r0drv/mpnotification-r0drv.o
  CC [M]  /var/lib/dkms/virtualbox/4.3.36/build/vboxdrv/r0drv/powernotification-r0drv.o
  CC [M]  /var/lib/dkms/virtualbox/4.3.36/build/vboxdrv/r0drv/linux/assert-r0drv-linux.o
  CC [M]  /var/lib/dkms/virtualbox/4.3.36/build/vboxdrv/r0drv/linux/alloc-r0drv-linux.o
  CC [M]  /var/lib/dkms/virtualbox/4.3.36/build/vboxdrv/r0drv/linux/initterm-r0drv-linux.o
  CC [M]  /var/lib/dkms/virtualbox/4.3.36/build/vboxdrv/r0drv/linux/memobj-r0drv-linux.o
  CC [M]  /var/lib/dkms/virtualbox/4.3.36/build/vboxdrv/r0drv/linux/memuserkernel-r0drv-linux.o
/var/lib/dkms/virtualbox/4.3.36/build/vboxdrv/r0drv/linux/memobj-r0drv-linux.c: In function ?rtR0MemObjNativeFree?:
/var/lib/dkms/virtualbox/4.3.36/build/vboxdrv/r0drv/linux/memobj-r0drv-linux.c:581:21: error: implicit declaration of function ?page_cache_release? [-Werror=implicit-function-declaration]
                     page_cache_release(pMemLnx->apPages[iPage]);
                     ^
/var/lib/dkms/virtualbox/4.3.36/build/vboxdrv/r0drv/linux/memobj-r0drv-linux.c: In function ?rtR0MemObjNativeLockUser?:
/var/lib/dkms/virtualbox/4.3.36/build/vboxdrv/r0drv/linux/memobj-r0drv-linux.c:1032:29: warning: passing argument 1 of ?get_user_pages? makes integer from pointer without a cast
         rc = get_user_pages(pTask,                  /* Task for fault accounting. */
                             ^
In file included from /var/lib/dkms/virtualbox/4.3.36/build/vboxdrv/r0drv/linux/the-linux-kernel.h:88:0,
                 from /var/lib/dkms/virtualbox/4.3.36/build/vboxdrv/r0drv/linux/memobj-r0drv-linux.c:31:
/usr/src/linux-headers-4.8.0-0.bpo.2-common/include/linux/mm.h:1315:6: note: expected ?long unsigned int? but argument is of type ?struct task_struct *?
 long get_user_pages(unsigned long start, unsigned long nr_pages,
      ^
/var/lib/dkms/virtualbox/4.3.36/build/vboxdrv/r0drv/linux/memobj-r0drv-linux.c:1033:29: warning: passing argument 2 of ?get_user_pages? makes integer from pointer without a cast
                             pTask->mm,              /* Whose pages. */
                             ^
In file included from /var/lib/dkms/virtualbox/4.3.36/build/vboxdrv/r0drv/linux/the-linux-kernel.h:88:0,
                 from /var/lib/dkms/virtualbox/4.3.36/build/vboxdrv/r0drv/linux/memobj-r0drv-linux.c:31:
/usr/src/linux-headers-4.8.0-0.bpo.2-common/include/linux/mm.h:1315:6: note: expected ?long unsigned int? but argument is of type ?struct mm_struct *?
 long get_user_pages(unsigned long start, unsigned long nr_pages,
      ^
/var/lib/dkms/virtualbox/4.3.36/build/vboxdrv/r0drv/linux/memobj-r0drv-linux.c:1036:29: warning: passing argument 5 of ?get_user_pages? makes pointer from integer without a cast
                             fWrite,                 /* Write to memory. */
                             ^
In file included from /var/lib/dkms/virtualbox/4.3.36/build/vboxdrv/r0drv/linux/the-linux-kernel.h:88:0,
                 from /var/lib/dkms/virtualbox/4.3.36/build/vboxdrv/r0drv/linux/memobj-r0drv-linux.c:31:
/usr/src/linux-headers-4.8.0-0.bpo.2-common/include/linux/mm.h:1315:6: note: expected ?struct page **? but argument is of type ?int?
 long get_user_pages(unsigned long start, unsigned long nr_pages,
      ^
/var/lib/dkms/virtualbox/4.3.36/build/vboxdrv/r0drv/linux/memobj-r0drv-linux.c:1037:29: warning: passing argument 6 of ?get_user_pages? makes pointer from integer without a cast
                             fWrite,                 /* force write access. */
                             ^
In file included from /var/lib/dkms/virtualbox/4.3.36/build/vboxdrv/r0drv/linux/the-linux-kernel.h:88:0,
                 from /var/lib/dkms/virtualbox/4.3.36/build/vboxdrv/r0drv/linux/memobj-r0drv-linux.c:31:
/usr/src/linux-headers-4.8.0-0.bpo.2-common/include/linux/mm.h:1315:6: note: expected ?struct vm_area_struct **? but argument is of type ?int?
 long get_user_pages(unsigned long start, unsigned long nr_pages,
      ^
/var/lib/dkms/virtualbox/4.3.36/build/vboxdrv/r0drv/linux/memobj-r0drv-linux.c:1032:14: error: too many arguments to function ?get_user_pages?
         rc = get_user_pages(pTask,                  /* Task for fault accounting. */
              ^
In file included from /var/lib/dkms/virtualbox/4.3.36/build/vboxdrv/r0drv/linux/the-linux-kernel.h:88:0,
                 from /var/lib/dkms/virtualbox/4.3.36/build/vboxdrv/r0drv/linux/memobj-r0drv-linux.c:31:
/usr/src/linux-headers-4.8.0-0.bpo.2-common/include/linux/mm.h:1315:6: note: declared here
 long get_user_pages(unsigned long start, unsigned long nr_pages,
      ^
cc1: some warnings being treated as errors
/usr/src/linux-headers-4.8.0-0.bpo.2-common/scripts/Makefile.build:294: recipe for target '/var/lib/dkms/virtualbox/4.3.36/build/vboxdrv/r0drv/linux/memobj-r0drv-linux.o' failed
make[4]: *** [/var/lib/dkms/virtualbox/4.3.36/build/vboxdrv/r0drv/linux/memobj-r0drv-linux.o] Error 1
make[4]: *** Waiting for unfinished jobs....
/usr/src/linux-headers-4.8.0-0.bpo.2-common/scripts/Makefile.build:445: recipe for target '/var/lib/dkms/virtualbox/4.3.36/build/vboxdrv' failed
make[3]: *** [/var/lib/dkms/virtualbox/4.3.36/build/vboxdrv] Error 2
/usr/src/linux-headers-4.8.0-0.bpo.2-common/Makefile:1490: recipe for target '_module_/var/lib/dkms/virtualbox/4.3.36/build' failed
make[2]: *** [_module_/var/lib/dkms/virtualbox/4.3.36/build] Error 2
Makefile:150: recipe for target 'sub-make' failed
make[1]: *** [sub-make] Error 2
Makefile:8: recipe for target 'all' failed
make: *** [all] Error 2
make: Leaving directory '/usr/src/linux-headers-4.8.0-0.bpo.2-amd64'


More information about the Pkg-virtualbox-devel mailing list