This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Trying to build plasma-workspace fails

Tags: None
(comma "," separated)
thenujan
Registered Member
Posts
1
Karma
0
I'm trying to build plasma-workspace
I'm following https://www.youtube.com/watch?v=B4xoc0K5iA4

I have installed the dependencies of plasma-workspace by checking the PKGBUILD and installing all build dependencies and dependencies

The dependencies i have installed are the following
    knotifyconfig ksystemstats ktexteditor libqalculate kde-cli-tools appstream-qt
    xorg-xrdb xorg-xsetroot kactivitymanagerd kholidays xorg-xmessage milou prison kwin
    plasma-integration kpeople kactivities-stats libkscreen kquickcharts kuserfeedback
    accountsservice kio-extras kio-fuse qt5-tools
    extra-cmake-modules kdoctools gpsd baloo networkmanager-qt plasma-wayland-protocols kunitconversion kinit

output of
Code: Select all
kdesrc-build plasma-workspace --no-include-dependencies 

Code: Select all
Updating sysadmin-repo-metadata (to branch master)

Building plasma-workspace from kf5-workspace-modules (1/1)
        Updating plasma-workspace (to branch master)
        No changes to plasma-workspace source, proceeding to build.
        Running cmake targeting Unix Makefiles...
        Compiling... failed (after 12 seconds)

plasma-workspace didn't build, stopping here.

<<<  PACKAGES FAILED TO BUILD  >>>
plasma-workspace - file:///home/thenujan/kde/src/log/2022-05-22-03/plasma-workspace/build.log

:-(
Unable to save persistent module data: No such file or directory
Your logs are saved in file:///home/thenujan/kde/src/log/2022-05-22-03



in the build log error starts at
Code: Select all
[ 21%] Building CXX object components/calendar/CMakeFiles/calendarplugin.dir/calendar.cpp.o
In file included from /home/thenujan/kde/build/plasma-workspace/components/calendar/calendarplugin_autogen/EWIEGA46WW/../../../../../../src/plasma-workspace/components/calendar/daysmodel.h:15,
                 from /home/thenujan/kde/build/plasma-workspace/components/calendar/calendarplugin_autogen/EWIEGA46WW/../../../../../../src/plasma-workspace/components/calendar/calendar.h:16,
                 from /home/thenujan/kde/build/plasma-workspace/components/calendar/calendarplugin_autogen/EWIEGA46WW/moc_calendar.cpp:10,
                 from /home/thenujan/kde/build/plasma-workspace/components/calendar/calendarplugin_autogen/mocs_compilation.cpp:2:
/home/thenujan/kde/build/plasma-workspace/components/calendar/calendarplugin_autogen/EWIEGA46WW/../../../../../../src/plasma-workspace/components/calendar/eventpluginsmanager.h:67:81: error: ‘SubLabel’ is not a member of ‘CalendarEvents::CalendarEventsPlugin’
   67 |     void subLabelReady(const QHash<QDate, CalendarEvents::CalendarEventsPlugin::SubLabel> &data);
      |                                                                                 ^~~~~~~~



full build.log
Code: Select all
# kdesrc-build running: 'make' '-j' '4'
# from directory: /home/thenujan/kde/build/plasma-workspace
[  0%] Built target doc-kcontrol-desktopthemedetails-index-cache-bz2
[  0%] Built target doc-klipper-index-cache-bz2
[  0%] Built target doc-kcontrol-formats-index-cache-bz2
[  0%] Built target doc-kcontrol-icons-index-cache-bz2
[  0%] Built target doc-kcontrol-colors-index-cache-bz2
[  0%] Built target doc-kcontrol-fontinst-index-cache-bz2
[  0%] Built target doc-kcontrol-screenlocker-index-cache-bz2
[  0%] Built target doc-kcontrol-translations-index-cache-bz2
[  0%] Built target doc-kcontrol-notifications-index-cache-bz2
[  0%] Built target doc-kcontrol-autostart-index-cache-bz2
[  0%] Built target doc-kcontrol-kcmstyle-index-cache-bz2
[  0%] Built target doc-kcontrol-fonts-index-cache-bz2
[  0%] Automatic MOC for target kworkspace
[  0%] Built target doc-PolicyKit-kde-index-cache-bz2
[  0%] Automatic MOC for target dbusmenuqt
[  0%] Automatic MOC for target appmenutest
AutoMoc warning
---------------
"SRC:/libkworkspace/login1_manager_interface.cpp"
includes the moc file "login1_manager_interface.moc", but does not contain a Q_OBJECT, Q_GADGET, Q_NAMESPACE, Q_NAMESPACE_EXPORT, K_PLUGIN_FACTORY, K_PLUGIN_CLASS, K_PLUGIN_FACTORY_WITH_JSON, K_PLUGIN_CLASS_WITH_JSON, K_EXPORT_KPACKAGE_PACKAGE_WITH_JSON, K_EXPORT_PLASMA_SERVICE, K_EXPORT_PLASMA_APPLET, K_EXPORT_PLASMA_PACKAGE, K_EXPORT_PLASMA_APPLETSCRIPTENGINE, K_EXPORT_PLASMA_DATAENGINESCRIPTENGINE, K_EXPORT_PLASMA_DATAENGINE, K_EXPORT_PLASMA_PACKAGE_WITH_JSON, K_EXPORT_PLASMA_SERVICE_WITH_JSON, K_EXPORT_PLASMA_APPLET_WITH_JSON, K_EXPORT_PLASMA_APPLETSCRIPTENGINE_WITH_JSON, K_EXPORT_PLASMA_DATAENGINESCRIPTENGINE_WITH_JSON, K_EXPORT_PLASMA_CONTAINMENTACTIONS_WITH_JSON, K_EXPORT_PLASMA_DATAENGINE_WITH_JSON, K_EXPORT_PLASMA_RUNNER, K_EXPORT_RUNNER_CONFIG, K_EXPORT_PLASMA_RUNNER_WITH_JSON or KCMODULECONTAINER macro.

[  0%] Built target appmenutest_autogen
[  0%] Built target dbusmenuqt_autogen
[  0%] Automatic MOC for target taskmanager
[  0%] Built target kworkspace_autogen
[  0%] Automatic MOC for target notificationmanager
[  0%] Automatic MOC for target colorcorrect
[  0%] Automatic MOC for target containmentlayoutmanagerplugin
[  0%] Built target taskmanager_autogen
[  0%] Built target colorcorrect_autogen
[  0%] Built target containmentlayoutmanagerplugin_autogen
[  0%] Built target notificationmanager_autogen
[  0%] Automatic MOC for target plasmashellprivateplugin
[  0%] Automatic MOC for target keyboardlayoutplugin
[  0%] Automatic MOC for target lookandfeelqmlplugin
[  1%] Automatic MOC for target calendarplugin
[  1%] Built target plasmashellprivateplugin_autogen
[  1%] Built target keyboardlayoutplugin_autogen
[  1%] Built target lookandfeelqmlplugin_autogen
[  1%] Built target calendarplugin_autogen
[  1%] Automatic MOC for target plasmawindowed
[  1%] Automatic MOC for target plasma_packagestructure_layoutemplate
[  2%] Automatic MOC for target plasma_packagestructure_lookandfeel
[  2%] Built target plasmawindowed_autogen
[  2%] Automatic MOC for target plasma_packagestructure_plasmashell
[  2%] Built target plasma_packagestructure_layoutemplate_autogen
[  2%] Built target plasma_packagestructure_lookandfeel_autogen
[  2%] Built target plasma_packagestructure_plasmashell_autogen
[  2%] Automatic MOC for target plasma_packagestructure_wallpaper
[  2%] Automatic MOC for target plasma_packagestructure_wallpaperimages
[  2%] Built target plasma_packagestructure_wallpaper_autogen
[  2%] Automatic MOC for target SharedClientTest
[  2%] Automatic MOC for target screenpoolmanualtest
[  2%] Built target plasma_packagestructure_wallpaperimages_autogen
[  2%] Automatic MOC for target freespacenotifier
[  2%] Built target screenpoolmanualtest_autogen
[  2%] Built target SharedClientTest_autogen
[  2%] Automatic MOC for target libklipper_common_static
[  2%] Automatic MOC for target krunnerglobalshortcuts
[  2%] Built target freespacenotifier_autogen
[  2%] Automatic MOC for target krunnerhistory
[  2%] Built target libklipper_common_static_autogen
[  2%] Built target krunnerglobalshortcuts_autogen
[  2%] Built target krunnerhistory_autogen
[  3%] Automatic MOC for target logout-greeter-test
[  3%] Automatic MOC for target ksysguard
[  3%] Built target logout-greeter-test_autogen
[  3%] Automatic MOC for target statusnotifierwatcher
[  3%] Automatic MOC for target PlasmaAutostart
[  3%] Built target ksysguard_autogen
[  3%] Built target statusnotifierwatcher_autogen
[  3%] Built target PlasmaAutostart_autogen
[  3%] Automatic MOC for target plasma_waitforname
[  3%] Built target plasma_waitforname_autogen
[  3%] Automatic MOC for target kcm_desktoptheme
[  3%] Automatic MOC for target plasma-apply-desktoptheme
[  3%] Automatic MOC for target kcm_icons
[  3%] Built target plasma-apply-desktoptheme_autogen
[  3%] Automatic MOC for target plasma-changeicons
[  3%] Built target kcm_icons_autogen
[  3%] Built target kcm_desktoptheme_autogen
[  3%] Built target plasma-changeicons_autogen
[  3%] Automatic MOC for target kcm_translations
[  4%] Automatic MOC for target kcm_feedback
[  4%] Built target plasma-apply-lookandfeel_link
[  4%] Automatic MOC for target kcolorschemeeditor
[  4%] Built target kcm_translations_autogen
[  4%] Built target kcm_feedback_autogen
[  4%] Automatic MOC for target kfontinst
[  4%] Built target kcolorschemeeditor_autogen
[  4%] Automatic MOC for target kcm_formats
[  4%] actions for org.kde.fontinst
[  4%] Built target kfontinst_autogen
[  4%] Built target org.kde.fontinst.policy-customtarget
[  4%] Automatic MOC for target kcm_users
[  4%] Built target kcm_formats_autogen
[  4%] Automatic MOC for target plasma_containmentactions_paste
[  4%] Automatic MOC for target plasma_containmentactions_applauncher
[  4%] Built target kcm_users_autogen
[  5%] Automatic MOC for target baloorunner
[  5%] Built target plasma_containmentactions_paste_autogen
[  5%] Built target plasma_containmentactions_applauncher_autogen
[  5%] Built target baloorunner_autogen
[  5%] Automatic MOC for target krunner_bookmarks_common
[  5%] Automatic MOC for target helprunner
[  5%] Automatic MOC for target calculator
[  5%] Automatic MOC for target locations
[  5%] Built target krunner_bookmarks_common_autogen
[  5%] Built target helprunner_autogen
[  5%] Built target calculator_autogen
[  5%] Built target locations_autogen
[  5%] Automatic MOC for target krunner_placesrunner
[  5%] Automatic MOC for target krunner_services_static
[  5%] Automatic MOC for target krunner_recentdocuments
[  5%] Automatic MOC for target krunner_shell
[  5%] Built target krunner_services_static_autogen
[  5%] Built target krunner_placesrunner_autogen
[  5%] Built target krunner_recentdocuments_autogen
[  5%] Built target krunner_shell_autogen
[  5%] Automatic MOC for target krunner_webshortcuts
[  5%] Automatic MOC for target krunner_windowedwidgets
[  5%] Automatic MOC for target krunner_appstream
[  5%] Automatic MOC for target kcm_krunner_kill
[  5%] Built target krunner_windowedwidgets_autogen
[  5%] Built target krunner_appstream_autogen
[  5%] Built target krunner_webshortcuts_autogen
[  5%] Built target kcm_krunner_kill_autogen
[  5%] Automatic MOC for target krunner_kill
[  5%] Automatic MOC for target org.kde.plasma.systemmonitor
[  5%] Automatic MOC for target org.kde.plasma.calendar
[  5%] Automatic MOC for target digitalclockplugin
[  5%] Built target org.kde.plasma.systemmonitor_autogen
[  5%] Built target krunner_kill_autogen
[  5%] Built target org.kde.plasma.calendar_autogen
[  5%] Built target digitalclockplugin_autogen
[  5%] Automatic MOC for target org.kde.plasma.panelspacer
[  5%] Automatic MOC for target qmltest
[  5%] Automatic MOC for target org.kde.plasma.systemtray
[  5%] Automatic MOC for target statusnotifiertest
[  5%] Built target qmltest_autogen
[  5%] Built target org.kde.plasma.panelspacer_autogen
[  5%] Built target org.kde.plasma.systemtray_autogen
[  5%] Built target statusnotifiertest_autogen
[  6%] Automatic MOC for target plasma_engine_activities
[  6%] Automatic MOC for target plasma_engine_apps
[  6%] Automatic MOC for target plasma_engine_devicenotifications
[  6%] Built target plasma_engine_activities_autogen
[  6%] Automatic MOC for target plasma_engine_dict
[  6%] Built target plasma_engine_devicenotifications_autogen
[  6%] Built target plasma_engine_apps_autogen
[  6%] Built target plasma_engine_dict_autogen
[  7%] Automatic MOC for target plasma_engine_executable
[  7%] Automatic MOC for target plasma_engine_favicons
[  7%] Automatic MOC for target plasma_engine_filebrowser
[  7%] Built target plasma_engine_executable_autogen
[  7%] Automatic MOC for target plasma-geolocation-interface
[  7%] Built target plasma_engine_filebrowser_autogen
[  7%] Built target plasma_engine_favicons_autogen
[  7%] Built target plasma-geolocation-interface_autogen
[  7%] Automatic MOC for target plasma_engine_hotplug
[  7%] Automatic MOC for target plasma_engine_mpris2
[  7%] Automatic MOC for target plasma_engine_keystate
[  7%] Automatic MOC for target plasma_engine_packagekit
[  7%] Built target plasma_engine_hotplug_autogen
[  7%] Built target plasma_engine_keystate_autogen
[  7%] Built target plasma_engine_mpris2_autogen
[  7%] Built target plasma_engine_packagekit_autogen
[  7%] Automatic MOC for target plasma_engine_places
[  7%] Automatic MOC for target plasma_engine_soliddevice
[  7%] Automatic MOC for target plasma_engine_time
[  7%] Automatic MOC for target weather_ion
[  7%] Built target plasma_engine_places_autogen
[  7%] Built target plasma_engine_time_autogen
[  7%] Built target plasma_engine_soliddevice_autogen
[  7%] Built target weather_ion_autogen
[  7%] Automatic MOC for target plasma_engine_mouse
[  7%] Automatic MOC for target plasma_engine_systemmonitor
[  7%] Automatic MOC for target plasma-apply-wallpaperimage
[  7%] Automatic MOC for target plasma_wallpaper_imageplugin_static
[  7%] Built target plasma_engine_mouse_autogen
[  7%] Built target plasma-apply-wallpaperimage_autogen
[  7%] Built target plasma_engine_systemmonitor_autogen
[  7%] Built target plasma_wallpaper_imageplugin_static_autogen
[  7%] Automatic MOC for target testimagebackend
[  8%] Automatic MOC for target kio_applications
[  8%] Automatic MOC for target kio_desktop
[  8%] Built target testimagebackend_autogen
[  8%] Automatic MOC for target desktopnotifier
[  8%] Built target kio_desktop_autogen
[  8%] Built target kio_applications_autogen
[  8%] Built target desktopnotifier_autogen
[  8%] Automatic MOC for target testdesktop
[  8%] Automatic MOC for target ktimezoned
[  8%] Automatic MOC for target kde
[  8%] Built target testdesktop_autogen
[  8%] Automatic MOC for target plasma-interactiveconsole
[  8%] Built target kde_autogen
[  8%] Built target ktimezoned_autogen
[  9%] Built target plasma-interactiveconsole_autogen
[  9%] Automatic MOC for target xembedsniproxy
[  9%] Automatic MOC for target soliduiserver
[  9%] Automatic MOC for target gmenudbusmenuproxy
[  9%] Built target xembedsniproxy_autogen
[ 10%] Automatic MOC for target holidaysevents
[ 10%] Built target soliduiserver_autogen
[ 10%] Built target gmenudbusmenuproxy_autogen
[ 10%] Built target holidaysevents_autogen
[ 10%] Automatic MOC for target holidayeventshelperplugin
Consolidate compiler generated dependencies of target appmenutest
Consolidate compiler generated dependencies of target dbusmenuqt
[ 10%] Built target holidayeventshelperplugin_autogen
[ 10%] Built target appmenutest
[ 11%] Built target dbusmenuqt
Consolidate compiler generated dependencies of target kworkspace
Consolidate compiler generated dependencies of target colorcorrect
[ 11%] Built target colorcorrect
[ 13%] Built target kworkspace
Consolidate compiler generated dependencies of target taskmanager
[ 13%] Building CXX object libtaskmanager/CMakeFiles/taskmanager.dir/waylandtasksmodel.cpp.o
Consolidate compiler generated dependencies of target plasmashellprivateplugin
Consolidate compiler generated dependencies of target containmentlayoutmanagerplugin
[ 14%] Built target plasmashellprivateplugin
[ 15%] Built target containmentlayoutmanagerplugin
Consolidate compiler generated dependencies of target notificationmanager
[ 15%] Automatic MOC for target sessionsprivateplugin
Consolidate compiler generated dependencies of target keyboardlayoutplugin
[ 19%] Built target notificationmanager
[ 19%] Built target sessionsprivateplugin_autogen
[ 20%] Built target keyboardlayoutplugin
Consolidate compiler generated dependencies of target lookandfeelqmlplugin
[ 21%] Built target lookandfeelqmlplugin
Consolidate compiler generated dependencies of target calendarplugin
Consolidate compiler generated dependencies of target plasmawindowed
[ 21%] Building CXX object components/calendar/CMakeFiles/calendarplugin.dir/calendarplugin_autogen/mocs_compilation.cpp.o
[ 21%] Automatic MOC for target plasmashell
[ 21%] Built target plasmawindowed
[ 21%] Building CXX object components/calendar/CMakeFiles/calendarplugin.dir/calendarplugin.cpp.o
[ 21%] Built target plasmashell_autogen
Consolidate compiler generated dependencies of target plasma_packagestructure_layoutemplate
[ 21%] Built target plasma_packagestructure_layoutemplate
Consolidate compiler generated dependencies of target plasma_packagestructure_lookandfeel
[ 21%] Built target plasma_packagestructure_lookandfeel
[ 21%] Building CXX object components/calendar/CMakeFiles/calendarplugin.dir/calendar.cpp.o
In file included from /home/thenujan/kde/build/plasma-workspace/components/calendar/calendarplugin_autogen/EWIEGA46WW/../../../../../../src/plasma-workspace/components/calendar/daysmodel.h:15,
                 from /home/thenujan/kde/build/plasma-workspace/components/calendar/calendarplugin_autogen/EWIEGA46WW/../../../../../../src/plasma-workspace/components/calendar/calendar.h:16,
                 from /home/thenujan/kde/build/plasma-workspace/components/calendar/calendarplugin_autogen/EWIEGA46WW/moc_calendar.cpp:10,
                 from /home/thenujan/kde/build/plasma-workspace/components/calendar/calendarplugin_autogen/mocs_compilation.cpp:2:
/home/thenujan/kde/build/plasma-workspace/components/calendar/calendarplugin_autogen/EWIEGA46WW/../../../../../../src/plasma-workspace/components/calendar/eventpluginsmanager.h:67:81: error: ‘SubLabel’ is not a member of ‘CalendarEvents::CalendarEventsPlugin’
   67 |     void subLabelReady(const QHash<QDate, CalendarEvents::CalendarEventsPlugin::SubLabel> &data);
      |                                                                                 ^~~~~~~~
/home/thenujan/kde/build/plasma-workspace/components/calendar/calendarplugin_autogen/EWIEGA46WW/../../../../../../src/plasma-workspace/components/calendar/eventpluginsmanager.h:67:89: error: template argument 2 is invalid
   67 |     void subLabelReady(const QHash<QDate, CalendarEvents::CalendarEventsPlugin::SubLabel> &data);
      |                                                                                         ^
In file included from /home/thenujan/kde/build/plasma-workspace/components/calendar/calendarplugin_autogen/EWIEGA46WW/../../../../../../src/plasma-workspace/components/calendar/calendar.h:16,
                 from /home/thenujan/kde/build/plasma-workspace/components/calendar/calendarplugin_autogen/EWIEGA46WW/moc_calendar.cpp:10,
                 from /home/thenujan/kde/build/plasma-workspace/components/calendar/calendarplugin_autogen/mocs_compilation.cpp:2:
/home/thenujan/kde/build/plasma-workspace/components/calendar/calendarplugin_autogen/EWIEGA46WW/../../../../../../src/plasma-workspace/components/calendar/daysmodel.h:76:83: error: ‘SubLabel’ is not a member of ‘CalendarEvents::CalendarEventsPlugin’
   76 |     void onSubLabelReady(const QHash<QDate, CalendarEvents::CalendarEventsPlugin::SubLabel> &data);
      |                                                                                   ^~~~~~~~
/home/thenujan/kde/build/plasma-workspace/components/calendar/calendarplugin_autogen/EWIEGA46WW/../../../../../../src/plasma-workspace/components/calendar/daysmodel.h:76:91: error: template argument 2 is invalid
   76 |     void onSubLabelReady(const QHash<QDate, CalendarEvents::CalendarEventsPlugin::SubLabel> &data);
      |                                                                                           ^
In file included from /home/thenujan/kde/build/plasma-workspace/components/calendar/calendarplugin_autogen/mocs_compilation.cpp:4:
/home/thenujan/kde/build/plasma-workspace/components/calendar/calendarplugin_autogen/EWIEGA46WW/moc_daysmodel.cpp: In static member function ‘static void DaysModel::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)’:
/home/thenujan/kde/build/plasma-workspace/components/calendar/calendarplugin_autogen/EWIEGA46WW/moc_daysmodel.cpp:128:113: error: ‘SubLabel’ is not a member of ‘CalendarEvents::CalendarEventsPlugin’
  128 |         case 6: _t->onSubLabelReady((*reinterpret_cast< const QHash<QDate,CalendarEvents::CalendarEventsPlugin::SubLabel>(*)>(_a[1]))); break;
      |                                                                                                                 ^~~~~~~~
/home/thenujan/kde/build/plasma-workspace/components/calendar/calendarplugin_autogen/EWIEGA46WW/moc_daysmodel.cpp:128:121: error: template argument 2 is invalid
  128 |         case 6: _t->onSubLabelReady((*reinterpret_cast< const QHash<QDate,CalendarEvents::CalendarEventsPlugin::SubLabel>(*)>(_a[1]))); break;
      |                                                                                                                         ^
/home/thenujan/kde/build/plasma-workspace/components/calendar/calendarplugin_autogen/EWIEGA46WW/moc_daysmodel.cpp:128:122: error: expected ‘>’ before ‘(’ token
  128 |         case 6: _t->onSubLabelReady((*reinterpret_cast< const QHash<QDate,CalendarEvents::CalendarEventsPlugin::SubLabel>(*)>(_a[1]))); break;
      |                                                                                                                          ^
/home/thenujan/kde/build/plasma-workspace/components/calendar/calendarplugin_autogen/EWIEGA46WW/moc_daysmodel.cpp:128:124: error: expected primary-expression before ‘)’ token
  128 |         case 6: _t->onSubLabelReady((*reinterpret_cast< const QHash<QDate,CalendarEvents::CalendarEventsPlugin::SubLabel>(*)>(_a[1]))); break;
      |                                                                                                                            ^
In file included from /home/thenujan/kde/build/plasma-workspace/components/calendar/calendarplugin_autogen/mocs_compilation.cpp:6:
/home/thenujan/kde/build/plasma-workspace/components/calendar/calendarplugin_autogen/EWIEGA46WW/moc_eventpluginsmanager.cpp: In static member function ‘static void EventPluginsManager::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)’:
/home/thenujan/kde/build/plasma-workspace/components/calendar/calendarplugin_autogen/EWIEGA46WW/moc_eventpluginsmanager.cpp:126:111: error: ‘SubLabel’ is not a member of ‘CalendarEvents::CalendarEventsPlugin’
  126 |         case 5: _t->subLabelReady((*reinterpret_cast< const QHash<QDate,CalendarEvents::CalendarEventsPlugin::SubLabel>(*)>(_a[1]))); break;
      |                                                                                                               ^~~~~~~~
/home/thenujan/kde/build/plasma-workspace/components/calendar/calendarplugin_autogen/EWIEGA46WW/moc_eventpluginsmanager.cpp:126:119: error: template argument 2 is invalid
  126 |         case 5: _t->subLabelReady((*reinterpret_cast< const QHash<QDate,CalendarEvents::CalendarEventsPlugin::SubLabel>(*)>(_a[1]))); break;
      |                                                                                                                       ^
/home/thenujan/kde/build/plasma-workspace/components/calendar/calendarplugin_autogen/EWIEGA46WW/moc_eventpluginsmanager.cpp:126:120: error: expected ‘>’ before ‘(’ token
  126 |         case 5: _t->subLabelReady((*reinterpret_cast< const QHash<QDate,CalendarEvents::CalendarEventsPlugin::SubLabel>(*)>(_a[1]))); break;
      |                                                                                                                        ^
/home/thenujan/kde/build/plasma-workspace/components/calendar/calendarplugin_autogen/EWIEGA46WW/moc_eventpluginsmanager.cpp:126:122: error: expected primary-expression before ‘)’ token
  126 |         case 5: _t->subLabelReady((*reinterpret_cast< const QHash<QDate,CalendarEvents::CalendarEventsPlugin::SubLabel>(*)>(_a[1]))); break;
      |                                                                                                                          ^
In file included from /home/thenujan/kde/build/plasma-workspace/components/calendar/calendarplugin_autogen/mocs_compilation.cpp:6:
/home/thenujan/kde/build/plasma-workspace/components/calendar/calendarplugin_autogen/EWIEGA46WW/moc_eventpluginsmanager.cpp:168:110: error: ‘SubLabel’ is not a member of ‘CalendarEvents::CalendarEventsPlugin’
  168 |             using _t = void (EventPluginsManager::*)(const QHash<QDate,CalendarEvents::CalendarEventsPlugin::SubLabel> & );
      |                                                                                                              ^~~~~~~~
/home/thenujan/kde/build/plasma-workspace/components/calendar/calendarplugin_autogen/EWIEGA46WW/moc_eventpluginsmanager.cpp:168:118: error: template argument 2 is invalid
  168 |             using _t = void (EventPluginsManager::*)(const QHash<QDate,CalendarEvents::CalendarEventsPlugin::SubLabel> & );
      |                                                                                                                      ^
/home/thenujan/kde/build/plasma-workspace/components/calendar/calendarplugin_autogen/EWIEGA46WW/moc_eventpluginsmanager.cpp: At global scope:
/home/thenujan/kde/build/plasma-workspace/components/calendar/calendarplugin_autogen/EWIEGA46WW/moc_eventpluginsmanager.cpp:290:97: error: ‘SubLabel’ is not a member of ‘CalendarEvents::CalendarEventsPlugin’
  290 | void EventPluginsManager::subLabelReady(const QHash<QDate,CalendarEvents::CalendarEventsPlugin::SubLabel> & _t1)
      |                                                                                                 ^~~~~~~~
/home/thenujan/kde/build/plasma-workspace/components/calendar/calendarplugin_autogen/EWIEGA46WW/moc_eventpluginsmanager.cpp:290:105: error: template argument 2 is invalid
  290 | void EventPluginsManager::subLabelReady(const QHash<QDate,CalendarEvents::CalendarEventsPlugin::SubLabel> & _t1)
      |                                                                                                         ^
In file included from /home/thenujan/kde/src/plasma-workspace/components/calendar/daysmodel.h:15,
                 from /home/thenujan/kde/src/plasma-workspace/components/calendar/calendar.h:16,
                 from /home/thenujan/kde/src/plasma-workspace/components/calendar/calendar.cpp:10:
/home/thenujan/kde/src/plasma-workspace/components/calendar/eventpluginsmanager.h:67:81: error: ‘SubLabel’ is not a member of ‘CalendarEvents::CalendarEventsPlugin’
   67 |     void subLabelReady(const QHash<QDate, CalendarEvents::CalendarEventsPlugin::SubLabel> &data);
      |                                                                                 ^~~~~~~~
/home/thenujan/kde/src/plasma-workspace/components/calendar/eventpluginsmanager.h:67:89: error: template argument 2 is invalid
   67 |     void subLabelReady(const QHash<QDate, CalendarEvents::CalendarEventsPlugin::SubLabel> &data);
      |                                                                                         ^
In file included from /home/thenujan/kde/src/plasma-workspace/components/calendar/calendar.h:16,
                 from /home/thenujan/kde/src/plasma-workspace/components/calendar/calendar.cpp:10:
/home/thenujan/kde/src/plasma-workspace/components/calendar/daysmodel.h:76:83: error: ‘SubLabel’ is not a member of ‘CalendarEvents::CalendarEventsPlugin’
   76 |     void onSubLabelReady(const QHash<QDate, CalendarEvents::CalendarEventsPlugin::SubLabel> &data);
      |                                                                                   ^~~~~~~~
/home/thenujan/kde/src/plasma-workspace/components/calendar/daysmodel.h:76:91: error: template argument 2 is invalid
   76 |     void onSubLabelReady(const QHash<QDate, CalendarEvents::CalendarEventsPlugin::SubLabel> &data);
      |                                                                                           ^
In file included from /home/thenujan/kde/src/plasma-workspace/components/calendar/daysmodel.h:15,
                 from /home/thenujan/kde/src/plasma-workspace/components/calendar/calendar.h:16,
                 from /home/thenujan/kde/src/plasma-workspace/components/calendar/calendarplugin.cpp:8:
/home/thenujan/kde/src/plasma-workspace/components/calendar/eventpluginsmanager.h:67:81: error: ‘SubLabel’ is not a member of ‘CalendarEvents::CalendarEventsPlugin’
   67 |     void subLabelReady(const QHash<QDate, CalendarEvents::CalendarEventsPlugin::SubLabel> &data);
      |                                                                                 ^~~~~~~~
/home/thenujan/kde/src/plasma-workspace/components/calendar/eventpluginsmanager.h:67:89: error: template argument 2 is invalid
   67 |     void subLabelReady(const QHash<QDate, CalendarEvents::CalendarEventsPlugin::SubLabel> &data);
      |                                                                                         ^
In file included from /home/thenujan/kde/src/plasma-workspace/components/calendar/calendar.h:16,
                 from /home/thenujan/kde/src/plasma-workspace/components/calendar/calendarplugin.cpp:8:
/home/thenujan/kde/src/plasma-workspace/components/calendar/daysmodel.h:76:83: error: ‘SubLabel’ is not a member of ‘CalendarEvents::CalendarEventsPlugin’
   76 |     void onSubLabelReady(const QHash<QDate, CalendarEvents::CalendarEventsPlugin::SubLabel> &data);
      |                                                                                   ^~~~~~~~
/home/thenujan/kde/src/plasma-workspace/components/calendar/daysmodel.h:76:91: error: template argument 2 is invalid
   76 |     void onSubLabelReady(const QHash<QDate, CalendarEvents::CalendarEventsPlugin::SubLabel> &data);
      |                                                                                           ^
make[2]: *** [components/calendar/CMakeFiles/calendarplugin.dir/build.make:76: components/calendar/CMakeFiles/calendarplugin.dir/calendarplugin_autogen/mocs_compilation.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
Consolidate compiler generated dependencies of target plasma_packagestructure_plasmashell
[ 21%] Built target plasma_packagestructure_plasmashell
Consolidate compiler generated dependencies of target plasma_packagestructure_wallpaper
[ 21%] Built target plasma_packagestructure_wallpaper
make[2]: *** [components/calendar/CMakeFiles/calendarplugin.dir/build.make:104: components/calendar/CMakeFiles/calendarplugin.dir/calendar.cpp.o] Error 1
Consolidate compiler generated dependencies of target plasma_packagestructure_wallpaperimages
[ 21%] Built target plasma_packagestructure_wallpaperimages
Consolidate compiler generated dependencies of target SharedClientTest
[ 23%] Built target SharedClientTest
Consolidate compiler generated dependencies of target screenpoolmanualtest
[ 24%] Built target screenpoolmanualtest
Consolidate compiler generated dependencies of target freespacenotifier
[ 25%] Built target freespacenotifier
Consolidate compiler generated dependencies of target libklipper_common_static
[ 25%] Building CXX object klipper/CMakeFiles/libklipper_common_static.dir/klipper.cpp.o
[ 25%] Automatic MOC for target krunner
/home/thenujan/kde/src/plasma-workspace/libtaskmanager/waylandtasksmodel.cpp: In member function ‘TaskManager::AppData TaskManager::WaylandTasksModel::Private::appData(KWayland::Client::PlasmaWindow*)’:
/home/thenujan/kde/src/plasma-workspace/libtaskmanager/waylandtasksmodel.cpp:320:117: error: ‘class KWayland::Client::PlasmaWindow’ has no member named ‘resourceName’
  320 |     const AppData &data = appDataFromUrl(windowUrlFromMetadata(window->appId(), window->pid(), rulesConfig, window->resourceName()));
      |                                                                                                                     ^~~~~~~~~~~~
AutoMoc: /home/thenujan/kde/src/plasma-workspace/krunner/view.h:45: Warning: Property declaration runnerManager has no READ accessor function or associated MEMBER variable. The property will be invalid.
[ 25%] Built target krunner_autogen
[ 25%] Building CXX object krunner/update/CMakeFiles/krunnerglobalshortcuts.dir/krunnerglobalshortcuts_autogen/mocs_compilation.cpp.o
[ 25%] Building CXX object krunner/update/CMakeFiles/krunnerglobalshortcuts.dir/krunnerglobalshortcuts.cpp.o
make[2]: *** [libtaskmanager/CMakeFiles/taskmanager.dir/build.make:286: libtaskmanager/CMakeFiles/taskmanager.dir/waylandtasksmodel.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:6047: libtaskmanager/CMakeFiles/taskmanager.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 25%] Building CXX object klipper/CMakeFiles/libklipper_common_static.dir/historyitem.cpp.o
make[2]: *** [components/calendar/CMakeFiles/calendarplugin.dir/build.make:90: components/calendar/CMakeFiles/calendarplugin.dir/calendarplugin.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:6835: components/calendar/CMakeFiles/calendarplugin.dir/all] Error 2
[ 25%] Building CXX object klipper/CMakeFiles/libklipper_common_static.dir/historymodel.cpp.o
[ 25%] Linking CXX executable ../../bin/krunnerglobalshortcuts
[ 25%] Built target krunnerglobalshortcuts
[ 25%] Building CXX object klipper/CMakeFiles/libklipper_common_static.dir/historystringitem.cpp.o
[ 25%] Building CXX object klipper/CMakeFiles/libklipper_common_static.dir/klipperpopup.cpp.o
/home/thenujan/kde/src/plasma-workspace/klipper/klipper.cpp: In member function ‘virtual bool Klipper::eventFilter(QObject*, QEvent*)’:
/home/thenujan/kde/src/plasma-workspace/klipper/klipper.cpp:426:24: error: ‘class KWayland::Client::PlasmaShellSurface’ has no member named ‘openUnderCursor’
  426 |         plasmaSurface->openUnderCursor();
      |                        ^~~~~~~~~~~~~~~
[ 25%] Building CXX object klipper/CMakeFiles/libklipper_common_static.dir/popupproxy.cpp.o
make[2]: *** [klipper/CMakeFiles/libklipper_common_static.dir/build.make:99: klipper/CMakeFiles/libklipper_common_static.dir/klipper.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [CMakeFiles/Makefile2:7513: klipper/CMakeFiles/libklipper_common_static.dir/all] Error 2
make: *** [Makefile:146: all] Error 2





in the cmake.log i found

Code: Select all
 
-- The following RUNTIME packages have not been found:


* org.kde.quickcharts-QMLModule, QML module 'org.kde.quickcharts' is a runtime dependency.
 * KIOExtras, Common KIO slaves for operations.
   Show thumbnails in wallpaper selection.
 * KIOFuse, Provide KIO support to legacy applications.
 * org.kde.plasma.core-QMLModule, QML module 'org.kde.plasma.core' is a runtime dependency.
 * AppMenuGtkModule, Application Menu GTK+ Module, <https://github.com/rilian-la-te/vala-panel-appmenu/tree/master/subprojects/appmenu-gtk-module>


But i'm sure that i have installed all the dependencies looks like some of the installed dependencies are not found.

Can someone help me build plasma workspace
pasowa
Registered Member
Posts
1
Karma
0
Running:
Code: Select all
mkdir ~/.local/state

should fix the error about saving persistent state. (then re-run kdesrc-build)

As for the compilation error, it could be that some of your dependencies is too old. A possible solution is to build plasma-workspace with all its dependencies.


Bookmarks



Who is online

Registered users: bartoloni, Bing [Bot], Google [Bot], Yahoo [Bot]