Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 448178 - dev-qt/qtwebkit-5: Project ERROR: Unknown module(s) in QT: opengl / webkitwidget
Summary: dev-qt/qtwebkit-5: Project ERROR: Unknown module(s) in QT: opengl / webkitwidget
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords:
: 512274 (view as bug list)
Depends on:
Blocks: qt5-porting
  Show dependency tree
 
Reported: 2012-12-22 12:56 UTC by Stefan Böhmann
Modified: 2014-09-25 11:19 UTC (History)
7 users (show)

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 Stefan Böhmann 2012-12-22 12:56:47 UTC
qt-opengl is a missing dependency for x11-libs/qt-webkit.
With qt-opengl installed, emerge qt-webkit is successful.

Reproducible: Always
Comment 1 Patrick Lauer gentoo-dev 2014-04-23 06:18:39 UTC
make[2]: Leaving directory '/var/tmp/portage/dev-qt/qtwebkit-5.2.1/work/qtwebkit-opensource-src-5.2.1_build/Source'
cd WebKit2/ && ( test -e Makefile.WebProcess || /var/tmp/portage/dev-qt/qtwebkit-5.2.1/work/qtwebkit-opensource-src-5.2.1_build/bin/qmake /var/tmp/portage/dev-qt/qtwebkit-5.2.1/work/qtwebkit-opensource-src-5.2.1/Source/WebKit2/WebProcess.pro -o Makefile.WebProcess ) && make -f Makefile.WebProcess 
Project ERROR: Unknown module(s) in QT: webkitwidgets
Makefile.QtWebKit:68: recipe for target 'sub-WebKit2-WebProcess-pro-make_first-ordered' failed
make[1]: *** [sub-WebKit2-WebProcess-pro-make_first-ordered] Error 3
make[1]: Leaving directory '/var/tmp/portage/dev-qt/qtwebkit-5.2.1/work/qtwebkit-opensource-src-5.2.1_build/Source'
Makefile:303: recipe for target 'sub-Source-QtWebKit-pro-make_first-ordered' failed
make: *** [sub-Source-QtWebKit-pro-make_first-ordered] Error 2
 * ERROR: dev-qt/qtwebkit-5.2.1::gentoo failed (compile phase):
 *   emake failed
Comment 2 Kelly Price 2014-04-27 13:58:20 UTC
Just ran into this.  Was able to work around it with USE="widgets" for this package.
Comment 3 Sergey Popov gentoo-dev 2014-06-17 09:26:32 UTC
*** Bug 512274 has been marked as a duplicate of this bug. ***
Comment 4 Konstantin (elxa) 2014-07-20 13:42:45 UTC
(In reply to Kelly Price from comment #2)
> Just ran into this.  Was able to work around it with USE="widgets" for this
> package.

+1
Comment 5 Michael Palimaka (kensington) gentoo-dev 2014-09-23 19:47:52 UTC
We can get a bit further with ' qt_use_disable_mod widgets widgets Source/WebKit2/WebProcess.pro' but in Source/WebKit2/qt/MainQt.cpp:

#if defined(QT_NO_WIDGETS)
#include <QGuiApplication>
typedef QGuiApplication ApplicationType;
#else
#include <QApplication>
typedef QApplication ApplicationType;
#endif

Is there any way to handle this, or should we just drop the widgets USE flag?
Comment 6 Davide Pesavento gentoo-dev 2014-09-23 21:59:26 UTC
(In reply to Michael Palimaka (kensington) from comment #5)
> Is there any way to handle this, or should we just drop the widgets USE flag?

No, at least not in a sane way. It's much easier and safer to just drop USE=widgets and always require it. We can revisit this later if needed.
Comment 7 Michael Palimaka (kensington) gentoo-dev 2014-09-24 08:11:25 UTC
USE flag removed in overlay, will push to the tree if it looks sane.

https://github.com/gentoo/qt/commit/89f342721be920c796ac7323454746fd4f661c8f
Comment 8 Davide Pesavento gentoo-dev 2014-09-24 23:43:48 UTC
LGTM, please proceed. (don't bother to revbump...)

What about the opengl part of this bug?
Comment 9 Michael Palimaka (kensington) gentoo-dev 2014-09-25 11:19:24 UTC
Thanks, fixed in CVS.

I tried a few things but wasn't able to reproduce any opengl issue (and haven't heard anything about it lately either). Please reopen with a build log if that issue persists.

+  25 Sep 2014; Michael Palimaka <kensington@gentoo.org> qtwebkit-5.3.2.ebuild:
+  Remove widgets USE flag wrt bug #448178 as it causes build failure when
+  disabled.