Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 355233 - x11-libs/qt-gui-4.6.3-r2 forces x11-libs/cairo-1.10.2-r1 to configure -qt4 and fail...
Summary: x11-libs/qt-gui-4.6.3-r2 forces x11-libs/cairo-1.10.2-r1 to configure -qt4 an...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-16 18:45 UTC by John (EBo) David
Modified: 2011-02-17 07:43 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John (EBo) David 2011-02-16 18:45:01 UTC
this is probably related to #352230, but a recent update to either qt-gui or cairo configures cairo to be built with -qt4 if the gtk use flag is set.  Specifically it gives the following error:

emerge: there are no ebuilds built with USE flags to satisfy ">=x11-libs/cairo-1.10.0[-qt4]".
!!! One of the following packages is required to complete your request:
- x11-libs/cairo-1.10.2-r1 (Change USE: -qt4)
(dependency required by "x11-libs/qt-gui-4.6.3-r2" [ebuild])
(dependency required by "qt-gui" [argument])
Comment 1 Davide Pesavento (RETIRED) gentoo-dev 2011-02-16 23:32:44 UTC
I don't see how this is related to bug #352230 at all...
Anyway, the dependency in qt-gui is correct afaik. To solve your issue you just have to rebuild cairo with USE="-qt4".
Comment 2 Rafał Mużyło 2011-02-16 23:54:47 UTC
Actually it's both valid and invalid.
Latest qt-gui ebuild  (in unstable) don't have that block, but use x11-themes/qgtkstyle for bug bug 336801 - though it seems something got broken in revbumps: right now there's no way of using ~x11-themes/qgtkstyle-4.6.3 - every available qt-gui ebuild blocks it.

Though there's another problem with cairo[qt4] - bug 351897.
Comment 3 Alex Alexander (RETIRED) gentoo-dev 2011-02-17 07:43:52 UTC
qgtkstyle in Qt 4.6.3 is provided by the gtk USE flag in qt-gui-4.6.3.
Unfortunately that requires cairo to be built with -qt4.

There was an attempt to split the style into a separate ebuild, however due to the issues that came up we decided to revert 4.6.3 to its original, gtk USE state. We're still working on it for Qt 4.7.

The qgtkstyle-4.6* ebuilds are masked, please don't try to use them :)