[Qgis-developer] master; grass7 plugin build fail?

Richard Duivenvoorde rdmailings at duif.net
Wed Oct 5 13:11:53 PDT 2016


QGIS build fails on grass7?

Anybody else fails to build (master, Debian testing, working grass):

[ 97%] Building CXX object
src/plugins/grass/7/CMakeFiles/grassplugin7.dir/__/qgsgrasseditrenderer.cpp.o
[ 97%] Building CXX object
src/plugins/grass/7/CMakeFiles/grassplugin7.dir/__/qgsgrassaddfeature.cpp.o
[ 97%] Building CXX object
src/plugins/grass/7/CMakeFiles/grassplugin7.dir/__/qgsgrassplugin.cpp.o
[ 97%] Building CXX object
src/plugins/grass/7/CMakeFiles/grassplugin7.dir/__/qgsgrassselect.cpp.o
[ 97%] Building CXX object
src/plugins/grass/7/CMakeFiles/grassplugin7.dir/__/qgsgrasstools.cpp.o
[ 97%] Building CXX object
src/plugins/grass/7/CMakeFiles/grassplugin7.dir/__/qgsgrassmapcalc.cpp.o
[ 98%] Building CXX object
src/plugins/grass/7/CMakeFiles/grassplugin7.dir/__/qgsgrassmodule.cpp.o
In file included from
/home/richard/dev/qgis/git/qgis3/src/plugins/grass/qgsgrasseditrenderer.cpp:30:0:
/home/richard/dev/qgis/git/qgis3/src/plugins/grass/qgsgrasseditrenderer.h:41:28:
error: ‘virtual QList<QString> QgsGrassEditRenderer::usedAttributes()’
marked ‘override’, but does not override
     virtual QList<QString> usedAttributes() override;
                            ^~~~~~~~~~~~~~
In file included from
/home/richard/dev/qgis/git/qgis3/src/plugins/grass/qgsgrassplugin.cpp:23:0:
/home/richard/dev/qgis/git/qgis3/src/plugins/grass/qgsgrasseditrenderer.h:41:28:
error: ‘virtual QList<QString> QgsGrassEditRenderer::usedAttributes()’
marked ‘override’, but does not override
     virtual QList<QString> usedAttributes() override;
                            ^~~~~~~~~~~~~~
/home/richard/dev/qgis/git/qgis3/src/plugins/grass/qgsgrasseditrenderer.cpp:
In member function ‘virtual QList<QString>
QgsGrassEditRenderer::usedAttributes()’:
/home/richard/dev/qgis/git/qgis3/src/plugins/grass/qgsgrasseditrenderer.cpp:178:39:
error: could not convert ‘QgsFeatureRenderer::usedAttributes()’ from
‘QSet<QString>’ to ‘QList<QString>’
   return mLineRenderer->usedAttributes();
          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
/home/richard/dev/qgis/git/qgis3/src/plugins/grass/qgsgrasseditrenderer.cpp:
In member function ‘virtual QgsFeatureRenderer*
QgsGrassEditRenderer::clone() const’:
/home/richard/dev/qgis/git/qgis3/src/plugins/grass/qgsgrasseditrenderer.cpp:183:54:
error: invalid new-expression of abstract class type ‘QgsGrassEditRenderer’
   QgsGrassEditRenderer* r = new QgsGrassEditRenderer();
                                                      ^
In file included from
/home/richard/dev/qgis/git/qgis3/src/plugins/grass/qgsgrasseditrenderer.cpp:30:0:
/home/richard/dev/qgis/git/qgis3/src/plugins/grass/qgsgrasseditrenderer.h:27:7:
note:   because the following virtual functions are pure within
‘QgsGrassEditRenderer’:
 class QgsGrassEditRenderer : public QgsFeatureRenderer
       ^~~~~~~~~~~~~~~~~~~~
In file included from
/home/richard/dev/qgis/git/qgis3/src/plugins/grass/../../core/symbology-ng/qgscategorizedsymbolrenderer.h:19:0,
                 from
/home/richard/dev/qgis/git/qgis3/src/plugins/grass/qgsgrasseditrenderer.cpp:19:
/home/richard/dev/qgis/git/qgis3/src/plugins/grass/../../core/symbology-ng/qgsrenderer.h:151:27:
note: 	virtual QSet<QString> QgsFeatureRenderer::usedAttributes() const
     virtual QSet<QString> usedAttributes() const = 0;
                           ^~~~~~~~~~~~~~
/home/richard/dev/qgis/git/qgis3/src/plugins/grass/qgsgrasseditrenderer.cpp:
In static member function ‘static QgsFeatureRenderer*
QgsGrassEditRenderer::create(QDomElement&)’:
/home/richard/dev/qgis/git/qgis3/src/plugins/grass/qgsgrasseditrenderer.cpp:224:61:
error: invalid new-expression of abstract class type ‘QgsGrassEditRenderer’
   QgsGrassEditRenderer *renderer = new QgsGrassEditRenderer();
                                                             ^
/home/richard/dev/qgis/git/qgis3/src/plugins/grass/qgsgrasseditrenderer.cpp:
In constructor
‘QgsGrassEditRendererWidget::QgsGrassEditRendererWidget(QgsVectorLayer*,
QgsStyle*, QgsFeatureRenderer*)’:
/home/richard/dev/qgis/git/qgis3/src/plugins/grass/qgsgrasseditrenderer.cpp:273:42:
error: invalid new-expression of abstract class type ‘QgsGrassEditRenderer’
     mRenderer = new QgsGrassEditRenderer();
                                          ^
[ 98%] Building CXX object
src/plugins/grass/7/CMakeFiles/grassplugin7.dir/__/qgsgrassmoduleinput.cpp.o
/home/richard/dev/qgis/git/qgis3/src/plugins/grass/qgsgrassplugin.cpp:
In member function ‘void QgsGrassPlugin::onEditingStarted()’:
/home/richard/dev/qgis/git/qgis3/src/plugins/grass/qgsgrassplugin.cpp:420:63:
error: invalid new-expression of abstract class type ‘QgsGrassEditRenderer’
     QgsGrassEditRenderer *renderer = new QgsGrassEditRenderer();
                                                               ^
In file included from
/home/richard/dev/qgis/git/qgis3/src/plugins/grass/qgsgrassplugin.cpp:23:0:
/home/richard/dev/qgis/git/qgis3/src/plugins/grass/qgsgrasseditrenderer.h:27:7:
note:   because the following virtual functions are pure within
‘QgsGrassEditRenderer’:
 class QgsGrassEditRenderer : public QgsFeatureRenderer
       ^~~~~~~~~~~~~~~~~~~~
In file included from
/home/richard/dev/qgis/git/qgis3/src/plugins/grass/../../core/symbology-ng/qgscategorizedsymbolrenderer.h:19:0,
                 from
/home/richard/dev/qgis/git/qgis3/src/plugins/grass/qgsgrasseditrenderer.h:20,
                 from
/home/richard/dev/qgis/git/qgis3/src/plugins/grass/qgsgrassplugin.cpp:23:
/home/richard/dev/qgis/git/qgis3/src/plugins/grass/../../core/symbology-ng/qgsrenderer.h:151:27:
note: 	virtual QSet<QString> QgsFeatureRenderer::usedAttributes() const
     virtual QSet<QString> usedAttributes() const = 0;
                           ^~~~~~~~~~~~~~
src/plugins/grass/7/CMakeFiles/grassplugin7.dir/build.make:256: recipe
for target
'src/plugins/grass/7/CMakeFiles/grassplugin7.dir/__/qgsgrasseditrenderer.cpp.o'
failed
make[2]: ***
[src/plugins/grass/7/CMakeFiles/grassplugin7.dir/__/qgsgrasseditrenderer.cpp.o]
Error 1
make[2]: *** Waiting for unfinished jobs....
src/plugins/grass/7/CMakeFiles/grassplugin7.dir/build.make:280: recipe
for target
'src/plugins/grass/7/CMakeFiles/grassplugin7.dir/__/qgsgrassplugin.cpp.o'
failed
make[2]: ***
[src/plugins/grass/7/CMakeFiles/grassplugin7.dir/__/qgsgrassplugin.cpp.o]
Error 1
CMakeFiles/Makefile2:3398: recipe for target
'src/plugins/grass/7/CMakeFiles/grassplugin7.dir/all' failed
make[1]: *** [src/plugins/grass/7/CMakeFiles/grassplugin7.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 98%] Linking CXX executable ../../output/bin/qgis
[ 98%] Built target qgis
Makefile:149: recipe for target 'all' failed
make: *** [all] Error 2
richard at kwik~/dev/qgis/git/qgis3/build (master)$ git pull
Already up-to-date.


More information about the Qgis-developer mailing list