https://bugs.kde.org/show_bug.cgi?id=377022

            Bug ID: 377022
           Summary: Fails to build -
                    /plasmate/plugins/savesystemview/git.cpp:111:5: error:
                    ‘VcsEventModel’ is not a member of ‘KDevelop’
           Product: Plasma SDK
           Version: Git
          Platform: unspecified
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: General
          Assignee: plasma-b...@kde.org
          Reporter: rik.mill...@gmail.com
                CC: antonis.tsiapalio...@kde.org
  Target Milestone: ---

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);

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to