Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 348865 - app-emulation/virtualbox-modules-3.1.8 not usable with 2.6.36
Summary: app-emulation/virtualbox-modules-3.1.8 not usable with 2.6.36
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Patrick Lauer
URL:
Whiteboard:
Keywords:
: 349377 350174 353229 (view as bug list)
Depends on: 336465
Blocks:
  Show dependency tree
 
Reported: 2010-12-16 13:03 UTC by tbartdev
Modified: 2011-02-03 08:09 UTC (History)
7 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch against 3.1.8 for new ioctl model (virtualbox-modules-2.6.36-ioctl.patch,1.49 KB, text/plain)
2010-12-16 13:04 UTC, tbartdev
Details
original ebuild modified to include patch (virtualbox-modules-3.1.8-r1.ebuild,2.25 KB, text/plain)
2010-12-16 13:05 UTC, tbartdev
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tbartdev 2010-12-16 13:03:08 UTC
at least nvidia-drivers and virtualbox-modules do not compile against the latest stable 2.6.36 (2.6.36-r5 right now). Guess that kernel should not have gone stable...
Anyway. ioctl is deprecated in 2.6.36.

Here is an ebuild and a patch against the latest stable virtualbox-modules (virtualbox-modules-3.1.8 right now) that makes them compile.

Reproducible: Always

Steps to Reproduce:
1. emerge virtualbox-modules
2. "/var/tmp/portage/app-emulation/virtualbox-modules-3.1.8/work/vboxnetadp/linux/VBoxNetAdp-linux.c:92: error: unknown field ‘ioctl’ specified in initializer"


Actual Results:  
compiling failed

Expected Results:  
should compile against a stable kernel

ebuild and patch follow
Comment 1 tbartdev 2010-12-16 13:04:34 UTC
Created attachment 257313 [details]
Patch against 3.1.8 for new ioctl model
Comment 2 tbartdev 2010-12-16 13:05:18 UTC
Created attachment 257314 [details]
original ebuild modified to include patch
Comment 3 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2010-12-16 13:05:58 UTC
virtualbox-3.2.12 is the next stable candidate. Try this version instead...
Comment 4 rpansky 2010-12-21 01:09:01 UTC
I can confirm that both virtualbox-modules-3.2.12 and 3.2.10 do compile against gentoo-sources-2.6.36-r5.
Comment 5 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2010-12-22 16:08:04 UTC
*** Bug 349377 has been marked as a duplicate of this bug. ***
Comment 6 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2010-12-31 10:49:17 UTC
*** Bug 350174 has been marked as a duplicate of this bug. ***
Comment 7 Aistis Jokubauskas 2011-01-30 14:32:26 UTC
*** Bug 353229 has been marked as a duplicate of this bug. ***
Comment 8 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2011-02-03 08:09:49 UTC
virtualbox-3.2.12 is now stable. Closing this bug.