zhtengw / deepin-overlay

Gentoo overlay for Deepin APPs
GNU General Public License v2.0
57 stars 14 forks source link

failed to emerge x11-wm/dde-kwin-5.2.0.13 #129

Open guyuming76 opened 3 years ago

guyuming76 commented 3 years ago

prePaintScreen, prePaintWindow marked override, but does not override

AmberisMyShiba commented 3 years ago

I encountered the same issue .my erroe is following

FAILED: plugins/kwineffects/blur/CMakeFiles/blur.dir/blur_autogen/mocs_compilation.o /usr/bin/x86_64-pc-linux-gnu-g++ -DKCOREADDONS_LIB -DKWIN_VERSION_BUI=0 -DKWIN_VERSION_MAJ=5 -DKWIN_VERSION_MIN=21 -DKWIN_VERSION_PAT=3 -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NO_DEBUG -DQT_WIDGETS_LIB -Dblur_EXPORTS -Iplugins/kwineffects/blur -I/var/tmp/portage/x11-wm/dde-kwin-5.2.0.13/work/dde-kwin-5.2.0.13/plugins/kwineffects/blur -Iplugins/kwineffects/blur/blur_autogen/include -I/var/tmp/portage/x11-wm/dde-kwin-5.2.0.13/work/dde-kwin-5.2.0.13/plugins/kwineffects/blur/../../platforms/lib -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtGui -isystem /usr/include/KF5/KCoreAddons -isystem /usr/include/KF5 -isystem /usr/include/KF5/KWindowSystem -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/KF5/KConfigCore -DNDEBUG -march=skylake -O2 -pipe -fPIC -DPROJECT_NAME=\"dde-kwin\" -DPROJECT_VERSION=\"5.2.0.13\" -DKWIN_VERSION_STR=\"5.21.3\" -fPIC -MD -MT plugins/kwineffects/blur/CMakeFiles/blur.dir/blur_autogen/mocs_compilation.o -MF plugins/kwineffects/blur/CMakeFiles/blur.dir/blur_autogen/mocs_compilation.o.d -o plugins/kwineffects/blur/CMakeFiles/blur.dir/blur_autogen/mocs_compilation.o -c plugins/kwineffects/blur/blur_autogen/mocs_compilation.cpp In file included from plugins/kwineffects/blur/blur_autogen/EWIEGA46WW/moc_blur.cpp:10, from plugins/kwineffects/blur/blur_autogen/mocs_compilation.cpp:2: plugins/kwineffects/blur/blur_autogen/EWIEGA46WW/../../../../../../dde-kwin-5.2.0.13/plugins/kwineffects/blur/blur.h:66:10: error: ‘void BlurEffect::prePaintScreen(KWin::ScreenPrePaintData&, int)’ marked ‘override’, but does not override 66 | void prePaintScreen(ScreenPrePaintData &data, int time) override; | ^~~~~~ plugins/kwineffects/blur/blur_autogen/EWIEGA46WW/../../../../../../dde-kwin-5.2.0.13/plugins/kwineffects/blur/blur.h:67:10: error: ‘void BlurEffect::prePaintWindow(KWin::EffectWindow, KWin::WindowPrePaintData&, int)’ marked ‘override’, but does not override 67 | void prePaintWindow(EffectWindow w, WindowPrePaintData& data, int time) override; | ^~~~~~ ninja: build stopped: subcommand failed.

linuxbuh commented 3 years ago

Needed emerge -av kde-frameworks/extra-cmake-modules Ebuild emerge x11-wm/dde-kwin-5.2.0.13 Ok Возможно нужно пересобрать cmake USE="qt5" emerge -av dev-util/cmake

AmberisMyShiba commented 3 years ago

Needed emerge -av kde-frameworks/extra-cmake-modules Ebuild emerge x11-wm/dde-kwin-5.2.0.13 Ok Возможно нужно пересобрать cmake USE="qt5" emerge -av dev-util/cmake

thanks to reply.but still same issue encountered

equery u cmake                                                                             130 ↵
[ Legend : U - final flag setting for installation]
[        : I - package is installed with flag     ]
[ Colors : set, unset                             ]
 * Found these USE flags for dev-util/cmake-3.18.5:
 U I
 - - doc     : Add extra documentation (API, Javadoc, etc). It is recommended to enable per package instead
               of globally
 - - emacs   : Add support for GNU Emacs
 + + ncurses : Add ncurses support (console display library)
 + + qt5     : Add support for the Qt 5 application and UI framework
 - - test    : Enable dependencies and/or preparations necessary to run tests (usually controlled by
               FEATURES=test but can be toggled independently)
equery l extra-cmake-modules
 * Searching for extra-cmake-modules ...
[IP-] [  ] kde-frameworks/extra-cmake-modules-5.81.0:5/5.81