virtualbox-guest-dkms 4.1.12-dfsg-2ubuntu0.7: virtualbox-guest kernel module failed to build

Bug #1408939 reported by Benedikt Plitt
54
This bug affects 4 people
Affects Status Importance Assigned to Milestone
virtualbox (Ubuntu)
Fix Released
Undecided
Unassigned
Precise
Fix Released
Undecided
Unassigned

Bug Description

new version doesn't build

ProblemType: Package
DistroRelease: Ubuntu 12.04
Package: virtualbox-guest-dkms 4.1.12-dfsg-2ubuntu0.7
ProcVersionSignature: Ubuntu 3.13.0-43.72~precise1-generic 3.13.11.11
Uname: Linux 3.13.0-43-generic i686
ApportVersion: 2.0.1-0ubuntu17.8
Architecture: i386
DKMSKernelVersion: 3.13.0-43-generic
Date: Fri Jan 9 10:12:55 2015
InstallationMedia: Ubuntu 12.04.5 LTS "Precise Pangolin" - Release i386 (20140807.1)
MarkForUpload: True
PackageArchitecture: all
PackageVersion: 4.1.12-dfsg-2ubuntu0.7
SourcePackage: virtualbox
Title: virtualbox-guest-dkms 4.1.12-dfsg-2ubuntu0.7: virtualbox-guest kernel module failed to build
UpgradeStatus: No upgrade log present (probably fresh install)
VirtualBox.ModInfo:

Revision history for this message
Benedikt Plitt (beplitt) wrote :
tags: removed: need-duplicate-check
Revision history for this message
Gianfranco Costamagna (costamagnagianfranco) wrote :

Hi Benedikt, I uploaded a patch in my ppa:
https://launchpad.net/~costamagnagianfranco/+archive/ubuntu/locutusofborg-ppa/

can you please wait for the build and test it? thanks!

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

I just verified that in current vivid the module builds fine against 3.18.0-8-generic, so closing vivid task.

Changed in virtualbox (Ubuntu):
status: New → Fix Released
Revision history for this message
Martin Pitt (pitti) wrote :

Thanks! Uploaded to precise SRU queue, SRU team now needs to review/accept into -proposed.

Unsubscribing sponsors now.

Changed in virtualbox (Ubuntu Precise):
status: New → In Progress
Revision history for this message
Martin Pitt (pitti) wrote :

Rejected on LocutusOfBorg's request, this needs another fix. Please re-subscribe ubuntu-sponsors when ready.

Changed in virtualbox (Ubuntu Precise):
status: In Progress → Triaged
Revision history for this message
Gianfranco Costamagna (costamagnagianfranco) wrote :

Attaching a working patch

I'm trying to trim down the patch to a more minimal one

BTW the patch is an cherry-pick of upstream commits here
http://anonscm.debian.org/cgit/pkg-virtualbox/virtualbox.git/log/src/VBox/Additions/linux/drm/vboxvideo_drm.c

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

Stripped down the debdiff as much as possible and tested.

working correctly.

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

patches are in costamagnagianfranco/locutusofborg-ppa (the first)
and costamagnagianfranco/costamagnagianfranco-ppa (the second)

Revision history for this message
Martin Pitt (pitti) wrote :

This gets removed unconditionally:

+- .fasync = drm_fasync,

So this isn't necessary for 3.2 either? It might still build, but it might incur some performance degradation?

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

I don't know, I tested with 3.2 and it builds.

You can add a conditional kernel define if you want ;)

Revision history for this message
Martin Pitt (pitti) wrote : Re: [Bug 1408939] Re: virtualbox-guest-dkms 4.1.12-dfsg-2ubuntu0.7: virtualbox-guest kernel module failed to build

LocutusOfBorg [2015-01-12 9:41 -0000]:
> I don't know, I tested with 3.2 and it builds.

Builds for sure, I was wondering if it still works, and why this
code removal isn't conditional?

Thanks,

Martin
--
Martin Pitt | http://www.piware.de
Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org)

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

I think because it is really older than 3.2...
usually upstream ifdefs if something is still worth the old code.

I see usually they seem to support also 2.6 (I saw many 2.6.x defines in the code IIRC), so I presume that workaround it was wrong or too old to be useful now.

said this, I blindly follow upstream's ifdefs when a new kernel is released, so if you want to diverge from upstream it is up to you ;)

Revision history for this message
Martin Pitt (pitti) wrote :

Uploaded again, thank you! Unsub'ing sponsors.

Changed in virtualbox (Ubuntu Precise):
status: Triaged → In Progress
Revision history for this message
Gianfranco Costamagna (costamagnagianfranco) wrote :
Revision history for this message
Brian Murray (brian-murray) wrote : Please test proposed package

Hello Benedikt, or anyone else affected,

Accepted virtualbox into precise-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/virtualbox/4.1.12-dfsg-2ubuntu0.8 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!

Changed in virtualbox (Ubuntu Precise):
status: In Progress → Fix Committed
tags: added: verification-needed
Revision history for this message
Gianfranco Costamagna (costamagnagianfranco) wrote :

I just removed and purged all the virtualbox stuff in my preecise VM, and installed from proposed.

Everything has been built correctly, no build failures.

tags: added: verification-done
removed: verification-needed
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.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package virtualbox - 4.1.12-dfsg-2ubuntu0.8

---------------
virtualbox (4.1.12-dfsg-2ubuntu0.8) precise; urgency=medium

  * Add support for Virtualbox host kernel modules on Linux 3.5
    (LP: #1408939).
 -- Gianfranco Costamagna <email address hidden> Fri, 09 Jan 2015 11:48:31 +0100

Changed in virtualbox (Ubuntu Precise):
status: Fix Committed → 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.