Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 348865

Summary: app-emulation/virtualbox-modules-3.1.8 not usable with 2.6.36
Product: Gentoo Linux Reporter: tbartdev
Component: Current packagesAssignee: Patrick Lauer <patrick>
Status: RESOLVED FIXED    
Severity: normal CC: aistis.jokubauskas, cyprien, mephinet, ouyanggod, polynomial-c, raistlin, swapon
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 336465    
Bug Blocks:    
Attachments: Patch against 3.1.8 for new ioctl model
original ebuild modified to include patch

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.