I am emerging virtualbox-3.1.0 on my system: ~ % emerge -puv virtualbox-ose These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild N ] x11-libs/qt-gui-4.6.0-r1 USE="accessibility cups dbus glib gtk tiff -debug -mng -nas -nis -pch -qt3support -raster -xinerama" 0 kB [0] [ebuild U ] app-emulation/virtualbox-ose-3.1.0 [3.0.12] USE="alsa hal opengl python qt4 -additions -headless -pulseaudio -sdk -vboxwebsrv" 0 kB [1] Total: 2 packages (1 upgrade, 1 new), Size of downloads: 0 kB Portage tree and overlays: [0] /usr/portage [1] /usr/local/portage/layman/jokey After that I get an error about "struct QGLWidget" and compilation fails. > error: forward declaration of ‘struct QGLWidget’ Mainly, since I am using the opengl USE flag, a dependency on x11-libs/qt-opengl is missing. That lib also wants to have the qt3support USE flag set to work properly. So I installed qt-opengl: ~ % USE=qt3support emerge -1v -j 2 qt-gui x11-libs/qt-opengl These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] x11-libs/qt-core-4.6.0 USE="glib iconv qt3support* ssl -debug -doc -optimized-qmake -pch" 0 kB [ebuild N ] x11-libs/qt-gui-4.6.0-r1 USE="accessibility cups dbus glib gtk qt3support tiff -debug -mng -nas -nis -pch -raster -xinerama" 0 kB [ebuild N ] x11-libs/qt-sql-4.6.0 USE="iconv qt3support sqlite -debug (-firebird) -mysql -odbc -pch -postgres" 0 kB [ebuild N ] x11-libs/qt-opengl-4.6.0 USE="qt3support -debug -pch" 0 kB [ebuild N ] x11-libs/qt-qt3support-4.6.0 USE="accessibility -debug -kde -pch -phonon" 0 kB Total: 5 packages (4 new, 1 reinstall), Size of downloads: 0 kB After that, installing virtualbox-ose, like above, worked like a charm. Reproducible: Always Steps to Reproduce:
Created attachment 213100 [details] build.log of the failing build
Created attachment 213102 [details, diff] Patch for =app-emulation/virtualbox-ose-3.1.0.ebuild in the jockey overlay
Since app-emulation/virtualbox-ose-3.1.2 entered the overlay with the given patch included, I compiled and run it here. Works like a charm here. Dependencies are correctly resolved, too.
(In reply to comment #3) > Since app-emulation/virtualbox-ose-3.1.2 entered the overlay with the given > patch included, I compiled and run it here. > > Works like a charm here. Dependencies are correctly resolved, too. > Hi, please keep in mind, as stated in bug #297424 comment #14, that there are still a couple of bug to solve in the 3.1.2 release. Thanks for your feedback