Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 256809 - app-emulation/virtualbox-modules-2.0.6 + 2.6.29 kernel - /usr/share/virtualbox/src/vboxdrv/linux/SUPDrv-linux.c:706: error: ‘struct task_struct’ has no member named ‘euid’
Summary: app-emulation/virtualbox-modules-2.0.6 + 2.6.29 kernel - /usr/share/virtualbo...
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Markus Ullmann (RETIRED)
URL: http://forums.virtualbox.org/viewtopi...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-29 17:43 UTC by Tiago Batista
Modified: 2009-05-04 20:26 UTC (History)
4 users (show)

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


Attachments
paths that solves the compilation error (virtualbox-modules-2.0.6_2.6.29.patch,795 bytes, patch)
2009-01-29 17:44 UTC, Tiago Batista
Details | Diff
This ebuild applies the patch and compiles cleanly (virtualbox-modules-2.0.6-r1.ebuild,1.22 KB, text/plain)
2009-01-29 17:45 UTC, Tiago Batista
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tiago Batista 2009-01-29 17:43:23 UTC
As seen in the url, the modules fail to compile against 2.6.29 kernel:

CC [M] /usr/share/virtualbox/src/vboxdrv/linux/SUPDrv-linux.o
/usr/share/virtualbox/src/vboxdrv/linux/SUPDrv-linux.c: In function ‘VBoxDrvLinuxCreate’:
/usr/share/virtualbox/src/vboxdrv/linux/SUPDrv-linux.c:706: error: ‘struct task_struct’ has no member named ‘euid’
/usr/share/virtualbox/src/vboxdrv/linux/SUPDrv-linux.c:719: error: ‘struct task_struct’ has no member named ‘uid’
/usr/share/virtualbox/src/vboxdrv/linux/SUPDrv-linux.c:720: error: ‘struct task_struct’ has no member named ‘gid’ 


Reproducible: Always

Steps to Reproduce:
1. update/pull a 2.6.29 kernel
2. build and boot the new kernel
3. try to build virtualbox-modules
Comment 1 Tiago Batista 2009-01-29 17:44:55 UTC
Created attachment 180136 [details, diff]
paths that solves the compilation error

This patch solves the compilation error
Comment 2 Tiago Batista 2009-01-29 17:45:55 UTC
Created attachment 180137 [details]
This ebuild applies the patch and compiles cleanly
Comment 3 Matti Kariluoma 2009-02-18 01:25:38 UTC
Same situtaion, alls well for me using the patch and ebuild.
Comment 4 Patrick Lauer gentoo-dev 2009-03-29 09:31:17 UTC
Is this still an issue with 2.1.4 ? As far as I know it has a specific patch for 2.6.29.
Comment 5 Patrick De Pinguin 2009-04-14 19:13:44 UTC
Will there be any updating of the (x86 stable) ebuild for virtualbox-modules 1.6.6 ? This release also has this issue with kernel 2.6.29.
Comment 6 Matt Farmer 2009-05-04 20:26:54 UTC
(In reply to comment #5)
> Will there be any updating of the (x86 stable) ebuild for virtualbox-modules
> 1.6.6 ? This release also has this issue with kernel 2.6.29.
> 

Refer to http://bugs.gentoo.org/show_bug.cgi?id=267310 for the same issue with virtualbox-modules-1.6.6