Bug report #8040

sip-related build failure in trunk

Added by John Tull over 11 years ago. Updated over 11 years ago.

Status:Closed
Priority:Normal
Assignee:-
Category:Build/Install
Affected QGIS version:master Regression?:No
Operating System:OS X Easy fix?:No
Pull Request or Patch supplied:No Resolution:
Crashes QGIS or corrupts data:No Copied to github as #:16883

Description

Attempting to build the latest code, I fail with the following output. Perhaps this is related to recent sip updates:

...

[ 90%] Built target python_module_qgis_analysis
[ 90%] Building CXX object python/CMakeFiles/python_module_qgis_core.dir/core/sipcorepart3.cpp.o
/Users/jctull/sources/qgis/python/core/qgsfeature.sip: In function ‘PyObject* meth_QgsFeature___getattr__(PyObject*, PyObject*)’:
/Users/jctull/sources/qgis/python/core/qgsfeature.sip:128: error: invalid conversion from ‘const void*’ to ‘void*’
/Users/jctull/sources/qgis/python/core/qgsfeature.sip:136: error: invalid conversion from ‘const void*’ to ‘void*’
/Users/jctull/sources/qgis/python/core/qgsfeature.sip: In function ‘PyObject* meth_QgsFeature_setAttribute(PyObject*, PyObject*)’:
/Users/jctull/sources/qgis/python/core/qgsfeature.sip:425: error: invalid conversion from ‘const QString*’ to ‘int’
/Users/jctull/sources/qgis/python/core/qgsfeature.sip:425: error: initializing argument 1 of ‘bool QgsFeature::setAttribute(int, const QVariant&)’
/Users/jctull/sources/qgis/python/core/qgsfeature.sip: In function ‘PyObject* meth_QgsFeature_attribute(PyObject*, PyObject*)’:
/Users/jctull/sources/qgis/python/core/qgsfeature.sip:470: error: invalid conversion from ‘const void*’ to ‘void*’
/Users/jctull/sources/qgis/python/core/qgsfeature.sip: In function ‘int slot_QgsFeature___setitem__(PyObject*, PyObject*)’:
/Users/jctull/sources/qgis/python/core/qgsfeature.sip:261: error: invalid conversion from ‘const QString*’ to ‘int’
/Users/jctull/sources/qgis/python/core/qgsfeature.sip:261: error: initializing argument 1 of ‘bool QgsFeature::setAttribute(int, const QVariant&)’
/Users/jctull/sources/qgis/python/core/qgsfeature.sip: In function ‘PyObject* slot_QgsFeature___getitem__(PyObject*, PyObject*)’:
/Users/jctull/sources/qgis/python/core/qgsfeature.sip:207: error: invalid conversion from ‘const void*’ to ‘void*’
/Users/jctull/sources/qgis/python/core/qgsfeature.sip:225: error: invalid conversion from ‘const void*’ to ‘void*’
/Users/jctull/sources/qgis/python/core/qgsfeature.sip: In function ‘PyObject* convertFrom_QgsAttributes(void*, PyObject*)’:
/Users/jctull/sources/qgis/python/core/qgsfeature.sip:32: error: invalid conversion from ‘const void*’ to ‘void*’
make2: * [python/CMakeFiles/python_module_qgis_core.dir/core/sipcorepart3.cpp.o] Error 1
make1:
[python/CMakeFiles/python_module_qgis_core.dir/all] Error 2
make: *
* [all] Error 2

Associated revisions

Revision 052669f5
Added by Nathan Woodrow over 11 years ago

Fix #8040. Build error with sip

History

#1 Updated by Anonymous over 11 years ago

  • Status changed from Open to Closed

Also available in: Atom PDF