[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1019712: zanshin FTBFS: error: no matching function for call to ‘Plugin::Plugin(KontactInterface::Core*, const KPluginMetaData&, const QVariantList&)’



Source: zanshin
Version: 22.04.2-1
Severity: serious
Tags: ftbfs

https://buildd.debian.org/status/logs.php?pkg=zanshin&ver=22.04.2-1%2Bb1

...
In file included from /usr/include/KF5/KontactInterface/KontactInterface/Plugin:1,
                 from /<<PKGBUILDDIR>>/src/zanshin/kontact/kontact_plugin.h:10,
                 from /<<PKGBUILDDIR>>/src/zanshin/kontact/kontact_plugin.cpp:6:
/<<PKGBUILDDIR>>/src/zanshin/kontact/kontact_plugin.cpp: In static member function ‘static QObject* Instance::createInstance(QWidget*, QObject*, const KPluginMetaData&, const QVariantList&)’:
/<<PKGBUILDDIR>>/src/zanshin/kontact/kontact_plugin.cpp:28:1: error: no matching function for call to ‘Plugin::Plugin(KontactInterface::Core*, const KPluginMetaData&, const QVariantList&)’
   28 | EXPORT_KONTACT_PLUGIN_WITH_JSON(Plugin, "zanshin_plugin.json")
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/src/zanshin/kontact/kontact_plugin.h:18:5: note: candidate: ‘Plugin::Plugin(KontactInterface::Core*, const QVariantList&)’
   18 |     Plugin(KontactInterface::Core *core, const QVariantList &);
      |     ^~~~~~
/<<PKGBUILDDIR>>/src/zanshin/kontact/kontact_plugin.h:18:5: note:   candidate expects 2 arguments, 3 provided
/<<PKGBUILDDIR>>/src/zanshin/kontact/kontact_plugin.cpp: In constructor ‘Plugin::Plugin(KontactInterface::Core*, const QVariantList&)’:
/<<PKGBUILDDIR>>/src/zanshin/kontact/kontact_plugin.cpp:31:53: error: no matching function for call to ‘KontactInterface::Plugin::Plugin(KontactInterface::Core*&, KontactInterface::Core*&, const char [8])’
   31 |     : KontactInterface::Plugin(core, core, "zanshin")
      |                                                     ^
/usr/include/KF5/KontactInterface/kontactinterface/plugin.h:80:5: note: candidate: ‘KontactInterface::Plugin::Plugin(KontactInterface::Core*, QObject*, const KPluginMetaData&, const char*, const char*)’
   80 |     Plugin(Core *core, QObject *parent, const KPluginMetaData &data, const char *appName, const char *pluginName = nullptr);
      |     ^~~~~~
/usr/include/KF5/KontactInterface/kontactinterface/plugin.h:80:5: note:   candidate expects 5 arguments, 3 provided
make[3]: *** [src/zanshin/kontact/CMakeFiles/kontact_zanshinplugin.dir/build.make:93: src/zanshin/kontact/CMakeFiles/kontact_zanshinplugin.dir/kontact_plugin.cpp.o] Error 1

Reply to: