[SRU] virtualbox-guest-dkms 4.3.10-dfsg-1: virtualbox-guest kernel module failed to build [error: 'generic_file_aio_read' undeclared here (not in a function)]

Bug #1411507 reported by Mahesh
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
virtualbox (Ubuntu)
Fix Released
Undecided
Unassigned
Trusty
Fix Released
Undecided
Unassigned

Bug Description

[Impact]

* User can't install and build virtualbox-guest-dkms kernel module

[Test Case]

* Install it. Ensure that it installs with a 3.16 and 3.13 kernel.

[Regression Potential]

 * None (this needs to be done almost at each kernel release)
 * Upstream "ifdefs" the new code, so there is no regression.

[Other Info]

After updates installed I got this error

ProblemType: Package
DistroRelease: Ubuntu 14.04
Package: virtualbox-guest-dkms 4.3.10-dfsg-1
ProcVersionSignature: Ubuntu 3.16.0-29.39~14.04.1-generic 3.16.7-ckt2
Uname: Linux 3.16.0-29-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.6
Architecture: amd64
DKMSKernelVersion: 3.16.0-29-generic
Date: Fri Jan 16 10:53:05 2015
DuplicateSignature: dkms:virtualbox-guest-dkms:4.3.10-dfsg-1:/var/lib/dkms/virtualbox-guest/4.3.10/build/vboxsf/regops.c:577:20: error: 'generic_file_aio_read' undeclared here (not in a function)
InstallationDate: Installed on 2015-01-06 (9 days ago)
InstallationMedia: Ubuntu 14.04.1 LTS "Trusty Tahr" - Release amd64 (20140722.2)
PackageArchitecture: all
PackageVersion: 4.3.10-dfsg-1
SourcePackage: virtualbox
Title: virtualbox-guest-dkms 4.3.10-dfsg-1: virtualbox-guest kernel module failed to build
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Mahesh (mahesh-balumuri) wrote :
tags: removed: need-duplicate-check
summary: virtualbox-guest-dkms 4.3.10-dfsg-1: virtualbox-guest kernel module
- failed to build
+ failed to build [error: 'generic_file_aio_read' undeclared here (not in
+ a function)]
Revision history for this message
Gianfranco Costamagna (costamagnagianfranco) wrote : Re: virtualbox-guest-dkms 4.3.10-dfsg-1: virtualbox-guest kernel module failed to build [error: 'generic_file_aio_read' undeclared here (not in a function)]

Hi Mahesh, where did you get kernel 3.16?

anyway please test virtualbox from my ppa:costamagnagianfranco/locutusofborg-ppa

thanks

Revision history for this message
Gianfranco Costamagna (costamagnagianfranco) wrote :

I'm testing it right now in a vm

Revision history for this message
Gianfranco Costamagna (costamagnagianfranco) wrote :

I'm testing it right now in a vm, I had to add a new part of the patch, to fix the next build failure.

Revision history for this message
Gianfranco Costamagna (costamagnagianfranco) wrote :

Confirming, with the debdiff-v2 virtualbox builds correctly.

However I would like to also add this
http://anonscm.debian.org/cgit/pkg-virtualbox/virtualbox.git/commit/src/VBox/Additions/linux/drm/vboxvideo_drm.c?id=c923f4d32f4c80cf283dd3a53e109335a8e8d9f8

to fix another build failure when 3.18 will be backported to trusty

Revision history for this message
Daniel Holbach (dholbach) wrote :

Uploaded. Sitting in the queue now:

virtualbox (4.3.10-dfsg-1ubuntu1) trusty; urgency=medium

  * Add support for Virtualbox host kernel modules on Linux 3.16
    - 39-add-support-for-linux-3-16.patch (LP: #1411507).

Changed in virtualbox (Ubuntu Trusty):
status: New → Fix Committed
Revision history for this message
Daniel Holbach (dholbach) wrote :

Please fill out the rest of https://wiki.ubuntu.com/StableReleaseUpdates on the bug report.

summary: - virtualbox-guest-dkms 4.3.10-dfsg-1: virtualbox-guest kernel module
- failed to build [error: 'generic_file_aio_read' undeclared here (not in
- a function)]
+ [SRU] virtualbox-guest-dkms 4.3.10-dfsg-1: virtualbox-guest kernel
+ module failed to build [error: 'generic_file_aio_read' undeclared here
+ (not in a function)]
description: updated
Revision history for this message
Chris J Arges (arges) wrote : Please test proposed package

Hello Mahesh, or anyone else affected,

Accepted virtualbox into trusty-proposed. The package will build now and be available at http://launchpad.net/ubuntu/+source/virtualbox/4.3.10-dfsg-1ubuntu1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

description: updated
tags: added: verification-needed
Revision history for this message
Gianfranco Costamagna (costamagnagianfranco) wrote :

tested on a clean trusty VM, working flawlessly

tags: added: verification-done
removed: verification-needed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package virtualbox - 4.3.10-dfsg-1ubuntu1

---------------
virtualbox (4.3.10-dfsg-1ubuntu1) trusty; urgency=medium

  * Add support for Virtualbox host kernel modules on Linux 3.16
    - 39-add-support-for-linux-3-16.patch (LP: #1411507).
 -- Gianfranco Costamagna <email address hidden> Mon, 19 Jan 2015 09:48:09 +0100

Changed in virtualbox (Ubuntu Trusty):
status: Fix Committed → Fix Released
Revision history for this message
Chris J Arges (arges) wrote : Update Released

The verification of the Stable Release Update for virtualbox has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

Chris J Arges (arges)
Changed in virtualbox (Ubuntu):
status: New → Fix Released
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.