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

Bug 170966

Summary: app-emulation/virtualbox needs futex.h and sched.h from >=sys-kernel/linux-headers-2.6.19.2-r2
Product: Gentoo Linux Reporter: CPUShare <cpushare>
Component: New packagesAssignee: Markus Ullmann (RETIRED) <jokey>
Status: RESOLVED NEEDINFO    
Severity: normal CC: swapon
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description CPUShare 2007-03-14 22:58:31 UTC
virtualbox failed to compile until I upgraded linux-headers to 2.6.19.2-r2. The reason is that it includes futex.h that includes sched.h that only works in more recent versions (see the cascade of includes not suitable to compile userland packages). Adding the version check as a dependency is probably worthless, I guess it's simpler to unmask/stabilize linux-headers 2.6.19.2-r2 or another not broken one that allows including futex.h without chocking the compilation.

Reproducible: Always
Comment 1 CPUShare 2007-03-14 23:21:59 UTC
JFYI: after solving the compilation issue it mostly crashed my system after it failed to startup the opensuse10.2 cd so I had to reboot with the power button... I was just curious to give a spin to this yet another virtualization project, and I guess it's not exactly stable on amd64 (the trouble with nmi_watchdog sounds quite weird too). Still the compilation trouble reported earlier applies and it should affect other archs too (where hopefully virtualbox is more stable).
Comment 2 Alessio Cassibba (X-Drum) 2007-03-15 13:55:17 UTC
hi,
please can you provide some additional information?
-app-emulation/virtualbox version used
-your arch
-your current kernel