virtualbox-dkms 6.0.10-dfsg-1: virtualbox kernel module failed to build

Bug #1837278 reported by Jean-Baptiste Lallement
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
virtualbox (Ubuntu)
New
Undecided
Unassigned

Bug Description

DKMS module fails to build with:

In file included from /var/lib/dkms/virtualbox/6.0.10/build/vboxdrv/include/iprt/types.h:150,
                 from /var/lib/dkms/virtualbox/6.0.10/build/vboxdrv/include/VBox/types.h:33,
                 from /var/lib/dkms/virtualbox/6.0.10/build/vboxdrv/SUPDrvInternal.h:38,
                 from /var/lib/dkms/virtualbox/6.0.10/build/vboxdrv/SUPDrv.c:33:
./include/linux/compiler.h: In function ‘__read_once_size’:
./include/linux/compiler.h:192:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
  192 | {
      | ^

ProblemType: Package
DistroRelease: Ubuntu 19.10
Package: virtualbox-dkms 6.0.10-dfsg-1
ProcVersionSignature: Ubuntu 5.0.0-20.21-generic 5.0.8
Uname: Linux 5.0.0-20-generic x86_64
NonfreeKernelModules: vboxpci vboxnetadp vboxnetflt vboxdrv zfs zunicode zavl icp zcommon znvpair
ApportVersion: 2.20.11-0ubuntu5
Architecture: amd64
DKMSKernelVersion: 5.0.0-20-generic
Date: Fri Jul 19 10:17:42 2019
DuplicateSignature: dkms:virtualbox-dkms:6.0.10-dfsg-1:./include/linux/compiler.h:192:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
InstallationDate: Installed on 2014-07-15 (1831 days ago)
InstallationMedia: Ubuntu 14.10 "Utopic Unicorn" - Alpha amd64 (20140520)
PackageArchitecture: all
PackageVersion: 6.0.10-dfsg-1
Python3Details: /usr/bin/python3.7, Python 3.7.4, python3-minimal, 3.7.3-1
PythonDetails: /usr/bin/python2.7, Python 2.7.16+, python-minimal, 2.7.16-1
RelatedPackageVersions:
 dpkg 1.19.7ubuntu1
 apt 1.9.1
SourcePackage: virtualbox
Title: virtualbox-dkms 6.0.10-dfsg-1: virtualbox kernel module failed to build
UpgradeStatus: Upgraded to eoan on 2018-03-24 (482 days ago)

Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :
description: updated
tags: removed: need-duplicate-check
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. This particular bug has already been reported and is a duplicate of bug 1830961, so it is being marked as such. Please look at the other bug report to see if there is any missing information that you can provide, or to see if there is a workaround for the bug. Additionally, any further discussion regarding the bug should occur in the other report. Feel free to continue to report any other bugs you may find.

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

(it was fixed in kernel 5.2.0)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.