← Back to team overview

group.of.nepali.translators team mailing list archive

[Bug 1729568] Re: [ SRU ]virtualbox-dkms 5.0.40-dfsg-0ubuntu1.16.04.1: virtualbox kernel module failed to build - error: implicit declaration of function ‘set_pages_x’

 

This bug was fixed in the package virtualbox - 5.0.40-dfsg-
0ubuntu1.16.04.2

---------------
virtualbox (5.0.40-dfsg-0ubuntu1.16.04.2) xenial; urgency=medium

  * Fix kernel module build with new kernel 4.13 (LP: #1729568)

 -- Gianfranco Costamagna <locutusofborg@xxxxxxxxxx>  Mon, 06 Nov 2017
18:41:59 +0100

** Changed in: virtualbox (Ubuntu Xenial)
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1729568

Title:
  [ SRU ]virtualbox-dkms 5.0.40-dfsg-0ubuntu1.16.04.1: virtualbox kernel
  module failed to build - error: implicit declaration of function
  ‘set_pages_x’

Status in virtualbox package in Ubuntu:
  Fix Released
Status in virtualbox-hwe package in Ubuntu:
  Invalid
Status in virtualbox source package in Xenial:
  Fix Released
Status in virtualbox-hwe source package in Xenial:
  Fix Released

Bug description:
  [ Test case ]
  * Install virtualbox-guest-dkms or virtualbox-dkms on a new hwe linux kernel

  [ Regression potential ]
  * Minimal, this is taken from later kernel modules (usual ifdefs in the kernel module)

  [ Other info ]
  * the kernel module needs the usual updates.
  This happened after kernel update to 4.13.0-16-generic

  ProblemType: Package
  DKMSBuildLog:
   DKMS make.log for virtualbox-5.0.40 for kernel 4.13.0-16-generic (x86_64)
   czw, 2 lis 2017, 11:44:13 CET
   make: Wejście do katalogu '/usr/src/linux-headers-4.13.0-16-generic'
     AR      /var/lib/dkms/virtualbox/5.0.40/build/built-in.o
     AR      /var/lib/dkms/virtualbox/5.0.40/build/vboxdrv/built-in.o
     CC [M]  /var/lib/dkms/virtualbox/5.0.40/build/vboxdrv/linux/SUPDrv-linux.o
     CC [M]  /var/lib/dkms/virtualbox/5.0.40/build/vboxdrv/SUPDrv.o
     CC [M]  /var/lib/dkms/virtualbox/5.0.40/build/vboxdrv/SUPDrvGip.o
     CC [M]  /var/lib/dkms/virtualbox/5.0.40/build/vboxdrv/SUPDrvSem.o
     CC [M]  /var/lib/dkms/virtualbox/5.0.40/build/vboxdrv/SUPDrvTracer.o
     CC [M]  /var/lib/dkms/virtualbox/5.0.40/build/vboxdrv/SUPLibAll.o
     CC [M]  /var/lib/dkms/virtualbox/5.0.40/build/vboxdrv/r0drv/alloc-r0drv.o
     CC [M]  /var/lib/dkms/virtualbox/5.0.40/build/vboxdrv/r0drv/initterm-r0drv.o
     CC [M]  /var/lib/dkms/virtualbox/5.0.40/build/vboxdrv/r0drv/memobj-r0drv.o
     CC [M]  /var/lib/dkms/virtualbox/5.0.40/build/vboxdrv/r0drv/mpnotification-r0drv.o
     CC [M]  /var/lib/dkms/virtualbox/5.0.40/build/vboxdrv/r0drv/powernotification-r0drv.o
     CC [M]  /var/lib/dkms/virtualbox/5.0.40/build/vboxdrv/r0drv/linux/assert-r0drv-linux.o
     CC [M]  /var/lib/dkms/virtualbox/5.0.40/build/vboxdrv/r0drv/linux/alloc-r0drv-linux.o
   In file included from /var/lib/dkms/virtualbox/5.0.40/build/vboxdrv/r0drv/linux/alloc-r0drv-linux.c:31:0:
   /var/lib/dkms/virtualbox/5.0.40/build/vboxdrv/r0drv/linux/alloc-r0drv-linux.c: In function ‘VBoxHost_RTMemContAlloc’:
   /var/lib/dkms/virtualbox/5.0.40/build/vboxdrv/r0drv/linux/the-linux-kernel.h:313:47: error: implicit declaration of function ‘set_pages_x’ [-Werror=implicit-function-declaration]
    # define MY_SET_PAGES_EXEC(pPages, cPages)    set_pages_x(pPages, cPages)
                                                  ^
   /var/lib/dkms/virtualbox/5.0.40/build/vboxdrv/r0drv/linux/alloc-r0drv-linux.c:444:13: note: in expansion of macro ‘MY_SET_PAGES_EXEC’
                MY_SET_PAGES_EXEC(&paPages[iPage], 1);
                ^
   /var/lib/dkms/virtualbox/5.0.40/build/vboxdrv/r0drv/linux/alloc-r0drv-linux.c: In function ‘VBoxHost_RTMemContFree’:
   /var/lib/dkms/virtualbox/5.0.40/build/vboxdrv/r0drv/linux/the-linux-kernel.h:314:47: error: implicit declaration of function ‘set_pages_nx’ [-Werror=implicit-function-declaration]
    # define MY_SET_PAGES_NOEXEC(pPages, cPages)  set_pages_nx(pPages, cPages)
                                                  ^
   /var/lib/dkms/virtualbox/5.0.40/build/vboxdrv/r0drv/linux/alloc-r0drv-linux.c:492:13: note: in expansion of macro ‘MY_SET_PAGES_NOEXEC’
                MY_SET_PAGES_NOEXEC(&paPages[iPage], 1);
                ^
   cc1: some warnings being treated as errors
   scripts/Makefile.build:302: polecenia dla obiektu '/var/lib/dkms/virtualbox/5.0.40/build/vboxdrv/r0drv/linux/alloc-r0drv-linux.o' nie powiodły się
   make[2]: *** [/var/lib/dkms/virtualbox/5.0.40/build/vboxdrv/r0drv/linux/alloc-r0drv-linux.o] Błąd 1
   scripts/Makefile.build:575: polecenia dla obiektu '/var/lib/dkms/virtualbox/5.0.40/build/vboxdrv' nie powiodły się
   make[1]: *** [/var/lib/dkms/virtualbox/5.0.40/build/vboxdrv] Błąd 2
   Makefile:1546: polecenia dla obiektu '_module_/var/lib/dkms/virtualbox/5.0.40/build' nie powiodły się
   make: *** [_module_/var/lib/dkms/virtualbox/5.0.40/build] Błąd 2
   make: Opuszczenie katalogu '/usr/src/linux-headers-4.13.0-16-generic'
  DKMSKernelVersion: 4.13.0-16-generic
  Date: Thu Nov  2 11:44:20 2017
  DuplicateSignature: dkms:virtualbox-dkms:5.0.40-dfsg-0ubuntu1.16.04.1:/var/lib/dkms/virtualbox/5.0.40/build/vboxdrv/r0drv/linux/the-linux-kernel.h:313:47: error: implicit declaration of function ‘set_pages_x’ [-Werror=implicit-function-declaration]
  Package: virtualbox-dkms 5.0.40-dfsg-0ubuntu1.16.04.1
  PackageVersion: 5.0.40-dfsg-0ubuntu1.16.04.1
  SourcePackage: virtualbox
  Title: virtualbox-dkms 5.0.40-dfsg-0ubuntu1.16.04.1: virtualbox kernel module failed to build

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/virtualbox/+bug/1729568/+subscriptions