Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 658018 - kde-plasma/libksysguard: processui/scripting.cpp:46:10: fatal error: QWebView: No such file or directory
Summary: kde-plasma/libksysguard: processui/scripting.cpp:46:10: fatal error: QWebView...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Overlays (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
: 658530 659310 660296 (view as bug list)
Depends on: 624404
Blocks:
  Show dependency tree
 
Reported: 2018-06-12 23:01 UTC by George Diamantopoulos
Modified: 2018-07-13 13:15 UTC (History)
7 users (show)

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


Attachments
build log (build-libksysguard-5.13.log,118.10 KB, text/x-log)
2018-06-12 23:04 UTC, George Diamantopoulos
Details
output of emerge --info (emerge-info.txt,6.50 KB, text/plain)
2018-06-12 23:04 UTC, George Diamantopoulos
Details
stripped dev-qt/qtwebkit build.log (build.log,348.08 KB, text/x-log)
2018-06-17 11:49 UTC, Igor Poboiko
Details
libksysguard-5.13.0-qwebview5.11.patch (qwebview.patch,673 bytes, patch)
2018-06-18 20:20 UTC, Vladimir Smirnov (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description George Diamantopoulos 2018-06-12 23:01:45 UTC
libksysguard version 5.12.90 used to build fine a few days ago. Commits in KDE git for this package seem trivial since the last RC, so something might have changed in the meanwhile in other packages.

failure seems to be:

/var/tmp/portage/kde-plasma/libksysguard-5.13.0/work/libksysguard-5.13.0/processui/ksysguardprocesslist.cpp:29:10: fatal error: QWebView: No such file or directory

I will be attaching emerge --info, build log shortly
Comment 1 George Diamantopoulos 2018-06-12 23:04:18 UTC
Created attachment 535762 [details]
build log
Comment 2 George Diamantopoulos 2018-06-12 23:04:38 UTC
Created attachment 535764 [details]
output of emerge --info
Comment 3 George L. Emigh 2018-06-13 01:45:32 UTC
libksysguard 5.13.0 is the same, but it will build if you turn off the USE flag "-detailedmemory"
Comment 4 George Diamantopoulos 2018-06-13 12:26:39 UTC
It does indeed. Thanks!
Comment 5 Andreas Sturmlechner gentoo-dev 2018-06-14 18:22:53 UTC
Not reproducible here...
Comment 6 Andreas Sturmlechner gentoo-dev 2018-06-14 18:36:09 UTC
According to your log, Qt5WebKitWidgets is found properly. Even if it wasn't, all use of QWebView is ifdef'd okay. This would indicate a missing QWebView when it should be provided by your dev-qt/qtwebkit:5 package. Also, the last available QtWebkit version is 5.9.1, so this is not related to 5.11.0_rc2.

Please check:
$ equery b QWebView
Comment 7 George Diamantopoulos 2018-06-15 18:30:06 UTC
Hello Adreas, thanks for the follow-up.

Your suggestion doesn't seem to produce any results:

equery b QWebView
 * Searching for QWebView ... 

I additionally run the following to see if qtwebkit provides anything relevant, and this is what came up:

equery f dev-qt/qtwebkit | grep -i webv
/usr/include/qt5/QtWebKit/5.9.1/QtWebKit/private/qquickwebview_p.h
/usr/include/qt5/QtWebKit/5.9.1/QtWebKit/private/qquickwebview_p_p.h
/usr/include/qt5/QtWebKit/5.9.1/QtWebKit/private/qrawwebview_p.h
/usr/include/qt5/QtWebKit/5.9.1/QtWebKit/private/qrawwebview_p_p.h
/usr/include/qt5/QtWebKitWidgets/5.9.1/QtWebKitWidgets/private/qwebviewaccessible_p.h
/usr/include/qt5/QtWebKitWidgets/qgraphicswebview.h
/usr/include/qt5/QtWebKitWidgets/qwebview.h

qtwebkit is built with the following flags:
[ebuild   R    ] dev-qt/qtwebkit-5.9.1:5/5.9::gentoo  USE="geolocation jit multimedia opengl orientation printsupport qml webchannel webp -debug (-gles2) -gstreamer {-test}" 0 KiB
Comment 8 Andreas Sturmlechner gentoo-dev 2018-06-16 09:40:07 UTC
It seems that your qtwebkit installation is broken.

# emerge -1q qtwebkit:5
Comment 9 Igor Poboiko 2018-06-16 09:48:58 UTC
I also experience the same problem.
Rebuilding qtwebkit didn't help.

(BTW, kde-frameworks/kdewebkit-5.47.0 also doesn't want to build for the same reason: it cannot find some headers from qtwebkit, namely QGraphicsWebView and QWebPage)
Comment 10 Andreas Sturmlechner gentoo-dev 2018-06-16 14:33:44 UTC
(In reply to Igor Poboiko from comment #9)
> I also experience the same problem.
> Rebuilding qtwebkit didn't help.
Please attach that build.log.
Comment 11 Igor Poboiko 2018-06-17 11:49:04 UTC
Created attachment 536084 [details]
stripped dev-qt/qtwebkit build.log

Sorry, the build.log for qtwebkit is way too large (600MB+, it has lots of "Wexpansion-to-defined" warnings).

I disabled all the warnings (23MB) and removed all the lines containing "/usr/lib64/qt5/bin/moc" and "x86_64-pc-linux-gnu-gcc" (I guess those are not very useful), here is what is left.
Comment 12 Vladimir Smirnov (RETIRED) gentoo-dev 2018-06-18 20:20:27 UTC
Created attachment 536294 [details, diff]
libksysguard-5.13.0-qwebview5.11.patch

As far as I understand, in Qt 5.11 the way how you find some of the libraries changed. As far as I understand this patch fixes that for Qt 5.11, but I'm not sure if it doesn't break it for other possible configurations.
Comment 13 Andreas Sturmlechner gentoo-dev 2018-06-19 20:08:04 UTC
*** Bug 658530 has been marked as a duplicate of this bug. ***
Comment 14 Andreas Sturmlechner gentoo-dev 2018-06-19 20:23:54 UTC
Adding Qt here as users are missing parts of QtWebKit...
Comment 15 Andreas Sturmlechner gentoo-dev 2018-06-26 22:05:27 UTC
*** Bug 659310 has been marked as a duplicate of this bug. ***
Comment 16 Andreas Sturmlechner gentoo-dev 2018-07-03 09:21:45 UTC
Please try rebuild after upgrade to qtwebkit-5.212.0_pre20180120.
Comment 17 Andreas Sturmlechner gentoo-dev 2018-07-03 18:47:55 UTC
*** Bug 660296 has been marked as a duplicate of this bug. ***
Comment 18 klaus818 2018-07-03 19:09:12 UTC
With qtwebkit-5.212.0_pre20180120 everything works fine. I had no problem.
Comment 19 Andreas Sturmlechner gentoo-dev 2018-07-07 13:01:40 UTC
Thanks for checking back. Everyone else, please re-open if this is reproduced after the qtwebkit snapshot upgrade.