Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 297052 - [jockey-overlay] Compile error for app-emulation/virtualbox-ose-3.1.0
Summary: [jockey-overlay] Compile error for app-emulation/virtualbox-ose-3.1.0
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Markus Ullmann (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-15 16:34 UTC by Christian Ludwig
Modified: 2009-12-29 16:43 UTC (History)
2 users (show)

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


Attachments
build.log of the failing build (build.log,207.40 KB, text/plain)
2009-12-15 16:35 UTC, Christian Ludwig
Details
Patch for =app-emulation/virtualbox-ose-3.1.0.ebuild in the jockey overlay (ebuild.patch,441 bytes, patch)
2009-12-15 16:36 UTC, Christian Ludwig
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Ludwig 2009-12-15 16:34:49 UTC
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:
Comment 1 Christian Ludwig 2009-12-15 16:35:25 UTC
Created attachment 213100 [details]
build.log of the failing build
Comment 2 Christian Ludwig 2009-12-15 16:36:47 UTC
Created attachment 213102 [details, diff]
Patch for =app-emulation/virtualbox-ose-3.1.0.ebuild in the jockey overlay
Comment 3 Christian Ludwig 2009-12-28 19:19:26 UTC
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.
Comment 4 Alessio Cassibba (X-Drum) 2009-12-29 16:43:02 UTC
(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