Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 619152 - [kde overlay] kde-frameworks/plasma-9999[-wayland] error: 'class PlasmaQuick::DialogPrivate' has no member named 'shellSurface'
Summary: [kde overlay] kde-frameworks/plasma-9999[-wayland] error: 'class PlasmaQuick:...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Overlays (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo KDE team
URL: https://phabricator.kde.org/D5828
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-05-21 09:21 UTC by Duncan
Modified: 2017-06-05 14:18 UTC (History)
0 users

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


Attachments
plasma emerge log (plasma.emerge.log,728.84 KB, text/plain)
2017-05-21 09:21 UTC, Duncan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Duncan 2017-05-21 09:21:16 UTC
Created attachment 473614 [details]
plasma emerge log

I haven't been able to update the plasma framework beyond upstream 028d7fec2.  The next commit, fd2e85015 (back on May 12), fails in the compile phase.  I've rebuilt my entire system (but the plasma framework) with the new gcc-6.3.0 since then, so tried the last working 028d7fec2 again, and yes, it still built at that commit.

It fails with fd2e85015 (first bad commit), and with current HEAD 6d3e5841f in compile phase as follows (just the error, same file, line and character in both):

/tmp/portage/kde-frameworks/plasma-9999/work/plasma-9999/src/plasmaquick/dialog.cpp:1138:17: error: 'class PlasmaQuick::DialogPrivate' has no member named 'shellSurface'
         if (!d->shellSurface) {
                 ^~~~~~~~~~~~

Here's a slightly longer excerpt, with the last couple of *MANY* deprecated warnings, and the portage error output, too.

In file included from /tmp/portage/kde-frameworks/plasma-9999/work/plasma-9999/src/plasmaquick/dialog.cpp:41:0:
/include/KF5/KWindowSystem/kwindowsystem.h:102:49: note: declared here
     KWINDOWSYSTEM_DEPRECATED static KWindowInfo windowInfo(WId win, NET::Properties properties, NET::Properties2 properties2 = nullptr);
                                                 ^~~~~~~~~~
/tmp/portage/kde-frameworks/plasma-9999/work/plasma-9999/src/plasmaquick/dialog.cpp: In member function 'virtual bool PlasmaQuick::Dialog::event(QEvent*)':
/tmp/portage/kde-frameworks/plasma-9999/work/plasma-9999/src/plasmaquick/dialog.cpp:1138:17: error: 'class PlasmaQuick::DialogPrivate' has no member named 'shellSurface'
         if (!d->shellSurface) {
                 ^~~~~~~~~~~~
/tmp/portage/kde-frameworks/plasma-9999/work/plasma-9999/src/plasmaquick/dialog.cpp:1161:21: warning: unused variable 'me' [-Wunused-variable]
         QMoveEvent *me = static_cast<QMoveEvent *>(event);
                     ^~
make[2]: *** [src/plasmaquick/CMakeFiles/KF5PlasmaQuick.dir/build.make:87: src/plasmaquick/CMakeFiles/KF5PlasmaQuick.dir/dialog.cpp.o] Error 1
make[2]: Leaving directory '/tmp/portage/kde-frameworks/plasma-9999/work/plasma-9999_build'
make[1]: *** [CMakeFiles/Makefile2:1742: src/plasmaquick/CMakeFiles/KF5PlasmaQuick.dir/all] Error 2
make[1]: Leaving directory '/tmp/portage/kde-frameworks/plasma-9999/work/plasma-9999_build'
make: *** [Makefile:130: all] Error 2
 * ERROR: kde-frameworks/plasma-9999::kde failed (compile phase):
 *   emake failed


Sure enough, that upstream commit added the problematic line to that file.  FWIW, both the in-code comment and the git log comment suggest it's wayland related.  Perhaps a new dep that the ebuild's not pulling in yet?

FWIW, ~amd64 qt*-5.7.1-* installed.  Nearly all of frameworks/plasma/kde-apps are current live-git, but for plasma itself, of course, due to this.

The full build log (with current HEAD 6d3e5841f) is attached.
Comment 1 Andreas Sturmlechner gentoo-dev 2017-05-21 10:19:57 UTC
Hm, it just built fine for me.
Comment 2 Andreas Sturmlechner gentoo-dev 2017-05-21 10:27:36 UTC
Doesn't build with USE=-wayland, probably an #ifdef error.
Comment 3 Andreas Sturmlechner gentoo-dev 2017-06-05 14:18:00 UTC
Fixed upstream - commit 6c03c15c08a4b585bc3f320865858e4c2832f70b

src/plasmaquick/dialog.cpp - fix build without kwayland