Package: virtualbox-guest-dkms
Version: 5.2.10-dfsg-6
Severity: important

Dear Maintainer,

Upon installation of the recent 4.16 kernel, this module failed to
build:

DKMS make.log for virtualbox-guest-5.2.10 for kernel 4.16.0-1-amd64 (x86_64)
Fri May  4 17:01:28 EDT 2018
make: Entering directory '/usr/src/linux-headers-4.16.0-1-amd64'
...
  CC [M]  /var/lib/dkms/virtualbox-guest/5.2.10/build/vboxvideo/vbox_ttm.o
/var/lib/dkms/virtualbox-guest/5.2.10/build/vboxvideo/vbox_ttm.c: In function 
‘vbox_bo_move’:
/var/lib/dkms/virtualbox-guest/5.2.10/build/vboxvideo/vbox_ttm.c:207:29: error: 
incompatible type for argument 2 of ‘ttm_bo_move_memcpy’
  r = ttm_bo_move_memcpy(bo, interruptible, no_wait_gpu, new_mem);
                             ^~~~~~~~~~~~~
In file included from 
/var/lib/dkms/virtualbox-guest/5.2.10/build/vboxvideo/vbox_drv.h:65:0,
                 from 
/var/lib/dkms/virtualbox-guest/5.2.10/build/vboxvideo/vbox_ttm.c:30:
/usr/src/linux-headers-4.16.0-1-common/include/drm/ttm/ttm_bo_driver.h:1001:5: 
note: expected ‘struct ttm_operation_ctx *’ but argument is of type ‘bool {aka 
_Bool}’
 int ttm_bo_move_memcpy(struct ttm_buffer_object *bo,
     ^~~~~~~~~~~~~~~~~~
/var/lib/dkms/virtualbox-guest/5.2.10/build/vboxvideo/vbox_ttm.c:207:44: error: 
incompatible type for argument 3 of ‘ttm_bo_move_memcpy’
  r = ttm_bo_move_memcpy(bo, interruptible, no_wait_gpu, new_mem);
                                            ^~~~~~~~~~~
In file included from 
/var/lib/dkms/virtualbox-guest/5.2.10/build/vboxvideo/vbox_drv.h:65:0,
                 from 
/var/lib/dkms/virtualbox-guest/5.2.10/build/vboxvideo/vbox_ttm.c:30:
/usr/src/linux-headers-4.16.0-1-common/include/drm/ttm/ttm_bo_driver.h:1001:5: 
note: expected ‘struct ttm_mem_reg *’ but argument is of type ‘bool {aka _Bool}’
 int ttm_bo_move_memcpy(struct ttm_buffer_object *bo,
     ^~~~~~~~~~~~~~~~~~
/var/lib/dkms/virtualbox-guest/5.2.10/build/vboxvideo/vbox_ttm.c:207:6: error: 
too many arguments to function ‘ttm_bo_move_memcpy’
  r = ttm_bo_move_memcpy(bo, interruptible, no_wait_gpu, new_mem);
      ^~~~~~~~~~~~~~~~~~
In file included from 
/var/lib/dkms/virtualbox-guest/5.2.10/build/vboxvideo/vbox_drv.h:65:0,
                 from 
/var/lib/dkms/virtualbox-guest/5.2.10/build/vboxvideo/vbox_ttm.c:30:
/usr/src/linux-headers-4.16.0-1-common/include/drm/ttm/ttm_bo_driver.h:1001:5: 
note: declared here
 int ttm_bo_move_memcpy(struct ttm_buffer_object *bo,
     ^~~~~~~~~~~~~~~~~~
/var/lib/dkms/virtualbox-guest/5.2.10/build/vboxvideo/vbox_ttm.c: In function 
‘vbox_ttm_tt_populate’:
/var/lib/dkms/virtualbox-guest/5.2.10/build/vboxvideo/vbox_ttm.c:244:9: error: 
too few arguments to function ‘ttm_pool_populate’
  return ttm_pool_populate(ttm);
         ^~~~~~~~~~~~~~~~~
In file included from 
/var/lib/dkms/virtualbox-guest/5.2.10/build/vboxvideo/vbox_ttm.c:31:0:
/usr/src/linux-headers-4.16.0-1-common/include/drm/ttm/ttm_page_alloc.h:50:5: 
note: declared here
 int ttm_pool_populate(struct ttm_tt *ttm, struct ttm_operation_ctx *ctx);
     ^~~~~~~~~~~~~~~~~
/var/lib/dkms/virtualbox-guest/5.2.10/build/vboxvideo/vbox_ttm.c: At top level:
/var/lib/dkms/virtualbox-guest/5.2.10/build/vboxvideo/vbox_ttm.c:254:21: error: 
initialization from incompatible pointer type 
[-Werror=incompatible-pointer-types]
  .ttm_tt_populate = vbox_ttm_tt_populate,
                     ^~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/virtualbox-guest/5.2.10/build/vboxvideo/vbox_ttm.c:254:21: note: 
(near initialization for ‘vbox_bo_driver.ttm_tt_populate’)
/var/lib/dkms/virtualbox-guest/5.2.10/build/vboxvideo/vbox_ttm.c:261:10: error: 
initialization from incompatible pointer type 
[-Werror=incompatible-pointer-types]
  .move = vbox_bo_move,
          ^~~~~~~~~~~~
/var/lib/dkms/virtualbox-guest/5.2.10/build/vboxvideo/vbox_ttm.c:261:10: note: 
(near initialization for ‘vbox_bo_driver.move’)
/var/lib/dkms/virtualbox-guest/5.2.10/build/vboxvideo/vbox_ttm.c:266:16: error: 
‘ttm_bo_default_io_mem_pfn’ undeclared here (not in a function); did you mean 
‘ttm_bo_del_from_lru’?
  .io_mem_pfn = ttm_bo_default_io_mem_pfn,
                ^~~~~~~~~~~~~~~~~~~~~~~~~
                ttm_bo_del_from_lru
/var/lib/dkms/virtualbox-guest/5.2.10/build/vboxvideo/vbox_ttm.c: In function 
‘vbox_bo_pin’:
/var/lib/dkms/virtualbox-guest/5.2.10/build/vboxvideo/vbox_ttm.c:435:8: error: 
too many arguments to function ‘ttm_bo_validate’
  ret = ttm_bo_validate(&bo->bo, &bo->placement, false, false);
        ^~~~~~~~~~~~~~~
In file included from 
/var/lib/dkms/virtualbox-guest/5.2.10/build/vboxvideo/vbox_drv.h:64:0,
                 from 
/var/lib/dkms/virtualbox-guest/5.2.10/build/vboxvideo/vbox_ttm.c:30:
/usr/src/linux-headers-4.16.0-1-common/include/drm/ttm/ttm_bo_api.h:338:5: 
note: declared here
 int ttm_bo_validate(struct ttm_buffer_object *bo,
     ^~~~~~~~~~~~~~~
/var/lib/dkms/virtualbox-guest/5.2.10/build/vboxvideo/vbox_ttm.c: In function 
‘vbox_bo_unpin’:
/var/lib/dkms/virtualbox-guest/5.2.10/build/vboxvideo/vbox_ttm.c:462:8: error: 
too many arguments to function ‘ttm_bo_validate’
  ret = ttm_bo_validate(&bo->bo, &bo->placement, false, false);
        ^~~~~~~~~~~~~~~
In file included from 
/var/lib/dkms/virtualbox-guest/5.2.10/build/vboxvideo/vbox_drv.h:64:0,
                 from 
/var/lib/dkms/virtualbox-guest/5.2.10/build/vboxvideo/vbox_ttm.c:30:
/usr/src/linux-headers-4.16.0-1-common/include/drm/ttm/ttm_bo_api.h:338:5: 
note: declared here
 int ttm_bo_validate(struct ttm_buffer_object *bo,
     ^~~~~~~~~~~~~~~
/var/lib/dkms/virtualbox-guest/5.2.10/build/vboxvideo/vbox_ttm.c: In function 
‘vbox_bo_push_sysram’:
/var/lib/dkms/virtualbox-guest/5.2.10/build/vboxvideo/vbox_ttm.c:494:8: error: 
too many arguments to function ‘ttm_bo_validate’
  ret = ttm_bo_validate(&bo->bo, &bo->placement, false, false);
        ^~~~~~~~~~~~~~~
In file included from 
/var/lib/dkms/virtualbox-guest/5.2.10/build/vboxvideo/vbox_drv.h:64:0,
                 from 
/var/lib/dkms/virtualbox-guest/5.2.10/build/vboxvideo/vbox_ttm.c:30:
/usr/src/linux-headers-4.16.0-1-common/include/drm/ttm/ttm_bo_api.h:338:5: 
note: declared here
 int ttm_bo_validate(struct ttm_buffer_object *bo,
     ^~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
make[4]: *** 
[/usr/src/linux-headers-4.16.0-1-common/scripts/Makefile.build:329: 
/var/lib/dkms/virtualbox-guest/5.2.10/build/vboxvideo/vbox_ttm.o] Error 1
make[4]: *** Waiting for unfinished jobs....
make[3]: *** 
[/usr/src/linux-headers-4.16.0-1-common/scripts/Makefile.build:588: 
/var/lib/dkms/virtualbox-guest/5.2.10/build/vboxvideo] Error 2
make[2]: *** [/usr/src/linux-headers-4.16.0-1-common/Makefile:1575: 
_module_/var/lib/dkms/virtualbox-guest/5.2.10/build] Error 2
make[1]: *** [Makefile:146: sub-make] Error 2
make: *** [Makefile:8: all] Error 2
make: Leaving directory '/usr/src/linux-headers-4.16.0-1-amd64'


-- System Information:
Debian Release: buster/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unstable'), (1, 
'experimental-debug'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.15.0-3-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages virtualbox-guest-dkms depends on:
ii  dkms  2.3-3

virtualbox-guest-dkms recommends no packages.

virtualbox-guest-dkms suggests no packages.

-- no debconf information

Reply via email to