The threadname says it, I will attach some data below (including the error).
Created attachment 236289 [details] The failing build log Around line 1115: /var/tmp/portage/app-emulation/virtualbox-ose-3.1.8/work/VirtualBox-3.1.8_OSE/src/VBox/Frontends/VirtualBox/src/VBoxGLSupportInfo.cpp:33:21: error: QGLWidget: No such file or directory /var/tmp/portage/app-emulation/virtualbox-ose-3.1.8/work/VirtualBox-3.1.8_OSE/src/VBox/Frontends/VirtualBox/src/VBoxGLSupportInfo.cpp:34:22: error: QGLContext: No such file or directory
Created attachment 236291 [details] Environment file
Created attachment 236293 [details] emerge --info --verbose
Created attachment 236295 [details] Don't know if you need this...
This problem seems to be fixed in virtualbox-ose-3.2.4 I asked usptream for a patch for 3.1.8. If they provide one I apply it to that version else we have no other choice than making opengl USE flag mandatory.
I don't think that is an viable option either :/ I try to enable it as a temporary workaround (I'm not paranoid) BUT, it forces you to disable qt3support which a lot of apps rely on...
No response from upstream up to now. If I don't get feedback from them till end of the week I will force opengl on in 3.1.8. Sorry for this hard descision but I have no other options then.
+ 10 Jul 2010; Lars Wendler <polynomial-c@gentoo.org> + virtualbox-ose-3.1.8.ebuild: + Removed opengl USE flag as build system is b0rked. Thanks to Ronald for + reporting this in bug #325117. +