Bug 377022 - Fails to build - /plasmate/plugins/savesystemview/git.cpp:111:5: error: ‘VcsEventModel’ is not a member of ‘KDevelop’
Summary: Fails to build - /plasmate/plugins/savesystemview/git.cpp:111:5: error: ‘VcsE...
Status: RESOLVED UNMAINTAINED
Alias: None
Product: Plasma SDK
Classification: Plasma
Component: General (other bugs)
Version First Reported In: Git
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-02-28 14:50 UTC by Rik Mills
Modified: 2017-06-06 16:09 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rik Mills 2017-02-28 14:50:43 UTC
plasma-sdk fails to build with the error log shown below:

Seems to be a result of VcsEventModel being changed to VcsBasicEventModel in kdevplatform

See:

https://cgit.kde.org/kdevplatform.git/commit/vcs/models?id=b0d95189c5a418cbb56f5df063ed719c488a1b2c

----- buildlog extract -------

[ 99%] Building CXX object plasmate/plugins/plasmaprojectmanager/CMakeFiles/kdevplasmamanager.dir/kdevplasmamanager_automoc.cpp.o
cd /<<BUILDDIR>>/plasma-sdk-5.9.2+p17.04+git20170228.1429/obj-x86_64-linux-gnu/plasmate/plugins/plasmaprojectmanager && /usr/bin/c++   -DKCOREADDONS_LIB -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_DISABLE_DEPRECATED_BEFORE=0 -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_NO_URL_CAST_FROM_STRING -DQT_USE_FAST_CONCATENATION -DQT_USE_FAST_OPERATOR_PLUS -DQT_WIDGETS_LIB -DQT_XML_LIB -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -Dkdevplasmamanager_EXPORTS -I/<<BUILDDIR>>/plasma-sdk-5.9.2+p17.04+git20170228.1429/obj-x86_64-linux-gnu/plasmate/plugins/plasmaprojectmanager -I/<<BUILDDIR>>/plasma-sdk-5.9.2+p17.04+git20170228.1429/plasmate/plugins/plasmaprojectmanager -I/<<BUILDDIR>>/plasma-sdk-5.9.2+p17.04+git20170228.1429/plasmate/plugins/.. -isystem /usr/include/kdevplatform -isystem /usr/include/KF5/KParts -isystem /usr/include/KF5 -isystem /usr/include/KF5/KIOWidgets -isystem /usr/include/KF5/KIOCore -isystem /usr/include/KF5/KCoreAddons -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -isystem /usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -isystem /usr/include/KF5/KService -isystem /usr/include/KF5/KConfigCore -isystem /usr/include/KF5/KJobWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtNetwork -isystem /usr/include/KF5/KCompletion -isystem /usr/include/KF5/KWidgetsAddons -isystem /usr/include/KF5/KXmlGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtDBus -isystem /usr/include/x86_64-linux-gnu/qt5/QtXml -isystem /usr/include/KF5/KConfigWidgets -isystem /usr/include/KF5/KCodecs -isystem /usr/include/KF5/KConfigGui -isystem /usr/include/KF5/KAuth -isystem /usr/include/KF5/KTextWidgets -isystem /usr/include/KF5/SonnetUi -isystem /usr/include/KF5/KI18n -isystem /usr/include/KF5/KTextEditor -isystem /usr/include/KF5/KItemModels -isystem /usr/include/KF5/Plasma -isystem /usr/include/KF5/KPackage  -g -O2 -fdebug-prefix-map=/<<BUILDDIR>>/plasma-sdk-5.9.2+p17.04+git20170228.1429=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++0x -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wall -std=c++0x -fPIC -fvisibility=hidden -fvisibility-inlines-hidden   -fPIC -std=gnu++11 -o CMakeFiles/kdevplasmamanager.dir/kdevplasmamanager_automoc.cpp.o -c /<<BUILDDIR>>/plasma-sdk-5.9.2+p17.04+git20170228.1429/obj-x86_64-linux-gnu/plasmate/plugins/plasmaprojectmanager/kdevplasmamanager_automoc.cpp
/<<BUILDDIR>>/plasma-sdk-5.9.2+p17.04+git20170228.1429/plasmate/plugins/savesystemview/git.cpp: In member function ‘bool Git::initGit()’:
/<<BUILDDIR>>/plasma-sdk-5.9.2+p17.04+git20170228.1429/plasmate/plugins/savesystemview/git.cpp:111:5: error: ‘VcsEventModel’ is not a member of ‘KDevelop’
     KDevelop::VcsEventModel *vcsEventModel = new KDevelop::VcsEventModel(basicVersionControl, rev, m_repositoryPath, this);
     ^~~~~~~~
/<<BUILDDIR>>/plasma-sdk-5.9.2+p17.04+git20170228.1429/plasmate/plugins/savesystemview/git.cpp:111:30: error: ‘vcsEventModel’ was not declared in this scope
     KDevelop::VcsEventModel *vcsEventModel = new KDevelop::VcsEventModel(basicVersionControl, rev, m_repositoryPath, this);
                              ^~~~~~~~~~~~~
/<<BUILDDIR>>/plasma-sdk-5.9.2+p17.04+git20170228.1429/plasmate/plugins/savesystemview/git.cpp:111:50: error: expected type-specifier
     KDevelop::VcsEventModel *vcsEventModel = new KDevelop::VcsEventModel(basicVersionControl, rev, m_repositoryPath, this);
Comment 1 Friedrich W. H. Kossebau 2017-02-28 15:21:20 UTC
While I touched plasmate last, because I adapted it to changes I did myself to the kdevplatform API, to be a nice guy for related projects, I am not the maintainer or even a user of plasmate.

Looking at the commit log of plasmate (https://cgit.kde.org/plasma-sdk.git/log/plasmate) it seems development of plasmate has actually stalled.
Guess it is time to discuss this with the plasma team, whether plasmate is a zombie now and should be rather properly buried, i.e. removed from the codebase. Until someone cares enough to revive it :)

[16:10] <frinring> Riddell: hi. as plasma release master, what is your take on plasmate? who is the person to talk to? is it something people, incl. you, actually know about? :) https://cgit.kde.org/plasma-sdk.git/log/plasmate looks like development is dead.
[16:12] <Riddell> frinring: I don't know, feels like it needs a discussion on the mailing list to see if it's useful and if there's energy to maintain it

But not my playground, so removing myself from this bug.