Public bug reported:

[ Impact ]

DKMS make.log for virtualbox-7.0.16 for kernel 6.17.0-7-generic (x86_64)
Tue Dec 16 20:56:46 UTC 2025
make: Entering directory '/usr/src/linux-headers-6.17.0-7-generic'
make[1]: Entering directory '/var/lib/dkms/virtualbox/7.0.16/build'
warning: the compiler differs from the one used to build the kernel
  The kernel was built by: x86_64-linux-gnu-gcc-13 (Ubuntu 
13.3.0-6ubuntu2~24.04) 13.3.0
  You are using:           gcc-13 (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0
  CC [M]  vboxdrv/linux/SUPDrv-linux.o
  CC [M]  vboxdrv/SUPDrv.o
  CC [M]  vboxdrv/SUPDrvGip.o
  CC [M]  vboxdrv/SUPDrvSem.o
In file included from vboxdrv/SUPDrv.c:43:
vboxdrv/SUPDrvInternal.h:47:10: fatal error: VBox/cdefs.h: No such file or 
directory
   47 | #include <VBox/cdefs.h>
      |          ^~~~~~~~~~~~~~
compilation terminated.
In file included from vboxdrv/SUPDrvSem.c:43:
vboxdrv/SUPDrvInternal.h:47:10: fatal error: VBox/cdefs.h: No such file or 
directory
   47 | #include <VBox/cdefs.h>
      |          ^~~~~~~~~~~~~~
compilation terminated.
make[4]: *** 
[/usr/src/linux-headers-6.17.0-7-generic/scripts/Makefile.build:287: 
vboxdrv/SUPDrv.o] Error 1
make[4]: *** Waiting for unfinished jobs....
make[4]: *** 
[/usr/src/linux-headers-6.17.0-7-generic/scripts/Makefile.build:287: 
vboxdrv/SUPDrvSem.o] Error 1
In file included from vboxdrv/linux/SUPDrv-linux.c:42:
vboxdrv/linux/../SUPDrvInternal.h:47:10: fatal error: VBox/cdefs.h: No such 
file or directory
   47 | #include <VBox/cdefs.h>
      |          ^~~~~~~~~~~~~~
compilation terminated.
In file included from vboxdrv/SUPDrvGip.c:43:
vboxdrv/SUPDrvInternal.h:47:10: fatal error: VBox/cdefs.h: No such file or 
directory
   47 | #include <VBox/cdefs.h>
      |          ^~~~~~~~~~~~~~
compilation terminated.
make[4]: *** 
[/usr/src/linux-headers-6.17.0-7-generic/scripts/Makefile.build:287: 
vboxdrv/linux/SUPDrv-linux.o] Error 1
make[4]: *** 
[/usr/src/linux-headers-6.17.0-7-generic/scripts/Makefile.build:287: 
vboxdrv/SUPDrvGip.o] Error 1
make[3]: *** 
[/usr/src/linux-headers-6.17.0-7-generic/scripts/Makefile.build:556: vboxdrv] 
Error 2
make[2]: *** [/usr/src/linux-headers-6.17.0-7-generic/Makefile:2016: .] Error 2
make[1]: *** [/usr/src/linux-headers-6.17.0-7-generic/Makefile:248: __sub-make] 
Error 2
make[1]: Leaving directory '/var/lib/dkms/virtualbox/7.0.16/build'
make: *** [Makefile:248: __sub-make] Error 2
make: Leaving directory '/usr/src/linux-headers-6.17.0-7-generic'

[ Test case ]

Install the latest linux-6.17 kernel on Noble:

$ sudo add-apt-repository ppa:canonical-kernel-team/ppa3
$ sudo apt install linux-generic-hwe-24.04-edge

Install virtualbox-dkms:

$ sudo apt install virtualbox-dkms

Load the modules:

$ sudo modprobe

The same procedure should be repeated on linux-6.8 to test for possible
regressions.


[ Fix ]


[ Regression potential ]

We may experience regressions in systems that are using the virtualbox
drivers, especially with kernels >= 6.8 kernel.

** Affects: virtualbox (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: virtualbox (Ubuntu Noble)
     Importance: Undecided
         Status: New

** Also affects: virtualbox (Ubuntu Noble)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2136499

Title:
  virtualbox-dkms FTBS in Noble with the linux-6.17 kernel

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


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to