zzag / kwin-effects-yet-another-magic-lamp

Just Yet Another Magic Lamp effect
GNU General Public License v2.0
162 stars 26 forks source link

Build error on Plasma 5.18 LTS Beta #21

Closed kidonng closed 4 years ago

kidonng commented 4 years ago

Operating System: Arch Linux KDE Plasma Version: 5.17.90 KDE Frameworks Version: 5.66.0 Qt Version: 5.14.0 Kernel Version: 5.4.11-zen1-1-zencjk AUR Helper: yay

==> Making package: kwin-effects-yet-another-magic-lamp 4.1-1 (2020-01-18 01:16:38)
==> Retrieving sources...
  -> Found kwin-effects-yet-another-magic-lamp-4.1.tar.gz
==> Validating source files with sha256sums...
    kwin-effects-yet-another-magic-lamp-4.1.tar.gz ... Passed
extra-cmake-modules not satisfied, flushing install queue
==> Making package: kwin-effects-yet-another-magic-lamp 4.1-1 (2020-01-18 01:16:39)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found kwin-effects-yet-another-magic-lamp-4.1.tar.gz
==> Validating source files with sha256sums...
    kwin-effects-yet-another-magic-lamp-4.1.tar.gz ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Extracting kwin-effects-yet-another-magic-lamp-4.1.tar.gz with bsdtar
==> Starting prepare()...
==> Sources are ready.
==> Making package: kwin-effects-yet-another-magic-lamp 4.1-1 (2020-01-18 01:16:42)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Removing existing $pkgdir/ directory...
==> Starting build()...
-- The C compiler identification is GNU 9.2.0
-- The CXX compiler identification is GNU 9.2.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Installing in the same prefix as Qt, adopting their path scheme.
-- Looking for __GLIBC__
-- Looking for __GLIBC__ - found
-- Performing Test _OFFT_IS_64BIT
-- Performing Test _OFFT_IS_64BIT - Success
-- Performing Test HAVE_DATE_TIME
-- Performing Test HAVE_DATE_TIME - Success
-- Found KF5Config: /usr/lib64/cmake/KF5Config/KF5ConfigConfig.cmake (found version "5.66.0") 
-- Found KF5ConfigWidgets: /usr/lib64/cmake/KF5ConfigWidgets/KF5ConfigWidgetsConfig.cmake (found version "5.66.0") 
-- Found KF5CoreAddons: /usr/lib64/cmake/KF5CoreAddons/KF5CoreAddonsConfig.cmake (found version "5.66.0") 
-- Found KF5WindowSystem: /usr/lib64/cmake/KF5WindowSystem/KF5WindowSystemConfig.cmake (found version "5.66.0") 
-- Found KF5: success (found version "5.66.0") found components: Config ConfigWidgets CoreAddons WindowSystem 
-- Found PkgConfig: /usr/bin/pkg-config (found version "1.6.3") 
-- Found KWinEffects_Core: /usr/lib/libkwineffects.so (found version "") 
-- Found KWinEffects_OpenGL: /usr/lib/libkwinglutils.so (found version "") 
-- Found KWinEffects: /usr/lib/libkwineffects.so;/usr/lib/libkwinglutils.so  found components: Core OpenGL 
-- Found epoxy: /usr/lib/libepoxy.so  
-- The following OPTIONAL packages have been found:

 * KF5Auth (required version >= 5.66.0)
 * KF5Codecs (required version >= 5.66.0)
 * PkgConfig

-- The following REQUIRED packages have been found:

 * ECM
 * Qt5DBus
 * Qt5Gui
 * Qt5
 * KF5ConfigWidgets
 * Qt5Core (required version >= 5.12.0)
 * KF5CoreAddons
 * KF5WindowSystem
 * KF5
 * KWinEffects
 * epoxy

-- Configuring done
-- Generating done
-- Build files have been written to: /home/kid/.cache/yay/kwin-effects-yet-another-magic-lamp/src/build
Scanning dependencies of target kwin4_effect_yetanothermagiclamp_autogen
[  4%] Automatic MOC for target kwin4_effect_yetanothermagiclamp
AutoMoc warning
---------------
"SRC:/src/plugin.cc"
includes the moc file "plugin.moc", but does not contain a Q_OBJECT, Q_GADGET, Q_NAMESPACE, Q_NAMESPACE_EXPORT, K_PLUGIN_FACTORY, K_PLUGIN_FACTORY_WITH_JSON, K_PLUGIN_CLASS_WITH_JSON, K_PLUGIN_FACTORY, K_PLUGIN_FACTORY_WITH_JSON or K_PLUGIN_CLASS_WITH_JSON macro.

[  4%] Built target kwin4_effect_yetanothermagiclamp_autogen
[  9%] Generating YetAnotherMagicLampConfig.h, YetAnotherMagicLampConfig.cpp
Scanning dependencies of target kwin4_effect_yetanothermagiclamp
[ 13%] Building CXX object src/CMakeFiles/kwin4_effect_yetanothermagiclamp.dir/kwin4_effect_yetanothermagiclamp_autogen/mocs_compilation.cpp.o
In file included from /home/kid/.cache/yay/kwin-effects-yet-another-magic-lamp/src/build/src/kwin4_effect_yetanothermagiclamp_autogen/EWIEGA46WW/moc_YetAnotherMagicLampEffect.cpp:10,
                 from /home/kid/.cache/yay/kwin-effects-yet-another-magic-lamp/src/build/src/kwin4_effect_yetanothermagiclamp_autogen/mocs_compilation.cpp:4:
/home/kid/.cache/yay/kwin-effects-yet-another-magic-lamp/src/kwin-effects-yet-another-magic-lamp-4.1/src/YetAnotherMagicLampEffect.h:43:10: error: ‘void YetAnotherMagicLampEffect::drawWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&)’ marked ‘override’, but does not override
   43 |     void drawWindow(KWin::EffectWindow* w, int mask, QRegion region, KWin::WindowPaintData& data) override;
      |          ^~~~~~~~~~
/home/kid/.cache/yay/kwin-effects-yet-another-magic-lamp/src/kwin-effects-yet-another-magic-lamp-4.1/src/YetAnotherMagicLampEffect.h:43:10: warning:   by ‘void YetAnotherMagicLampEffect::drawWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&)’ [-Woverloaded-virtual]
make[2]: *** [src/CMakeFiles/kwin4_effect_yetanothermagiclamp.dir/build.make:71: src/CMakeFiles/kwin4_effect_yetanothermagiclamp.dir/kwin4_effect_yetanothermagiclamp_autogen/mocs_compilation.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:368: src/CMakeFiles/kwin4_effect_yetanothermagiclamp.dir/all] Error 2
make: *** [Makefile:141: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...