Public bug reported:
dkms build virtualbox/7.0.16 fails on my host:
```
# dkms build virtualbox/7.0.16
Sign command: /bin/kmodsign
Signing key: /var/lib/shim-signed/mok/MOK.priv
Public certificate (MOK): /var/lib/shim-signed/mok/MOK.der
Building module:
Cleaning build area...
make -j4 KERNELRELEASE=6.17.0-14-generic -C
/lib/modules/6.17.0-14-generic/build
M=/var/lib/dkms/virtualbox/7.0.16/build...(bad exit status: 2)
ERROR: Cannot create report: [Errno 17] File exists:
'/var/crash/virtualbox-dkms.0.crash'
Error! Bad return status for module build on kernel: 6.17.0-14-generic (x86_64)
Consult /var/lib/dkms/virtualbox/7.0.16/build/make.log for more information.
```
/var/lib/dkms/virtualbox/7.0.16/build/make.log (attached) is full of
"VBox/cdef.h: No such file or directory" errors.
ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: virtualbox-dkms 7.0.16-dfsg-2ubuntu1.1
ProcVersionSignature: Ubuntu 6.17.0-14.14~24.04.1-generic 6.17.9
Uname: Linux 6.17.0-14-generic x86_64
ApportVersion: 2.28.1-0ubuntu3.8
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: ubuntu:GNOME
Date: Tue Feb 17 06:56:39 2026
InstallationDate: Installed on 2025-06-19 (243 days ago)
InstallationMedia: Ubuntu 24.04.2 LTS "Noble Numbat" - Release amd64 (20250215)
ProcEnviron:
LANG=en_US.UTF-8
PATH=(custom, no user)
SHELL=/usr/bin/fish
TERM=xterm-256color
XDG_RUNTIME_DIR=<set>
SourcePackage: virtualbox
UpgradeStatus: No upgrade log present (probably fresh install)
** Affects: virtualbox (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug noble wayland-session
** Attachment added: "dkms build log"
https://bugs.launchpad.net/bugs/2142014/+attachment/5946679/+files/make.log
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2142014
Title:
dkms build fails with "VBox/cdefs.h: No such file or directory"
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/virtualbox/+bug/2142014/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs