Your message dated Sat, 21 Mar 2026 22:57:21 +0100 with message-id <[email protected]> and subject line Re: virtualbox-dkms: module fails to build for Linux 6.15: support for EXTRA_CFLAGS has been removed has caused the Debian Bug report #1106718, regarding virtualbox-dkms: module fails to build for Linux 6.15: support for EXTRA_CFLAGS has been removed to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected] immediately.) -- 1106718: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1106718 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: virtualbox-dkms Version: 7.1.8-dfsg-3 Severity: important Tags: upstream sid forky Hi, virtualbox-dkms fails to build the module(s) for Linux 6.15 in experimental: DKMS (dkms-3.2.0) make.log for virtualbox/7.1.8 for kernel 6.15-rc7-amd64 (x86_64) Sat May 24 21:54:02 UTC 2025 Building module(s) # command: make -j14 KERNELRELEASE=6.15-rc7-amd64 -C /lib/modules/6.15-rc7-amd64/build M=/var/lib/dkms/virtualbox/7.1.8/build make: Entering directory '/usr/src/linux-headers-6.15-rc7-amd64' make[1]: Entering directory '/var/lib/dkms/virtualbox/7.1.8/build' CC [M] vboxdrv/linux/SUPDrv-linux.o CC [M] vboxdrv/SUPDrv.o CC [M] vboxdrv/SUPDrvGip.o CC [M] vboxdrv/SUPDrvSem.o CC [M] vboxdrv/SUPDrvTracer.o CC [M] vboxdrv/SUPLibAll.o 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/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.15-rc7-common/scripts/Makefile.build:208: vboxdrv/SUPDrvSem.o] Error 1 make[4]: *** Waiting for unfinished jobs.... CC [M] vboxdrv/common/string/strformatrt.o make[4]: *** [/usr/src/linux-headers-6.15-rc7-common/scripts/Makefile.build:208: vboxdrv/linux/SUPDrv-linux.o] Error 1 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/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.15-rc7-common/scripts/Makefile.build:208: vboxdrv/SUPDrvGip.o] Error 1 make[4]: *** [/usr/src/linux-headers-6.15-rc7-common/scripts/Makefile.build:208: vboxdrv/SUPDrv.o] Error 1 In file included from vboxdrv/SUPDrvTracer.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.15-rc7-common/scripts/Makefile.build:208: vboxdrv/SUPDrvTracer.o] Error 1 vboxdrv/SUPLibAll.c:41:10: fatal error: VBox/sup.h: No such file or directory 41 | #include <VBox/sup.h> | ^~~~~~~~~~~~ compilation terminated. make[4]: *** [/usr/src/linux-headers-6.15-rc7-common/scripts/Makefile.build:208: vboxdrv/SUPLibAll.o] Error 1 vboxdrv/common/string/strformatrt.c:42:10: fatal error: iprt/string.h: No such file or directory 42 | #include <iprt/string.h> | ^~~~~~~~~~~~~~~ compilation terminated. make[4]: *** [/usr/src/linux-headers-6.15-rc7-common/scripts/Makefile.build:208: vboxdrv/common/string/strformatrt.o] Error 1 make[3]: *** [/usr/src/linux-headers-6.15-rc7-common/scripts/Makefile.build:466: vboxdrv] Error 2 make[2]: *** [/usr/src/linux-headers-6.15-rc7-common/Makefile:2027: .] Error 2 make[1]: *** [/usr/src/linux-headers-6.15-rc7-common/Makefile:260: __sub-make] Error 2 make[1]: Leaving directory '/var/lib/dkms/virtualbox/7.1.8/build' make: *** [/usr/src/linux-headers-6.15-rc7-common/Makefile:260: __sub-make] Error 2 make: Leaving directory '/usr/src/linux-headers-6.15-rc7-amd64' # exit code: 2 # elapsed time: 00:00:01 ---------------------------------------------------------------- This is most likely caused by the usage of deprecated EXTRA_CFLAGS (superseded by ccflags-y since 2007) where the backwards compatibility support has been removed in v6.15-rc1, finally. "kbuild: remove EXTRA_*FLAGS support" https://github.com/torvalds/linux/commit/e966ad0edd0056c7491b8f23992c11734ab61ddf Andreas
--- End Message ---
--- Begin Message ---This has been fixed in the meantime, proably with virtualbox 7.2.0 and/or kernel 6.15.1 (As always, this bug can be reopened should the bug is still there)
--- End Message ---

