[Qgis-user] Problems building qgis

Oliver Burger obgr_seneca at mageia.org
Sun Jan 15 06:13:44 PST 2012


Hi there,

I'm facing problems (re-)building qgis-1.7.3 on Mageia:
It did build four weeks ago, but we had quite some changes on qt since.

Here is the building log containing the error. Could anyone give me a hint?


Thanks,

Oliver

---> log <---
[ 63%] Built target python_module_qgis_analysis
[ 63%] Generating core/sipcorepart0.cpp, core/sipcorepart1.cpp,
core/sipcorepart2.cpp, core/sipcorepart3.cpp

sip: Deprecation warning:
/home/qgis/BUILD/qgis-1.7.3/python/core/core.sip:2: %Module version
number should be specified using the 'version' argument
sip: Deprecation warning:
/home/qgis/BUILD/qgis-1.7.3/python/core/qgsnetworkaccessmanager.sip:36:
Annotation is invalid
Scanning dependencies of target python_module_qgis_core
[ 63%] Building CXX object
python/CMakeFiles/python_module_qgis_core.dir/core/sipcorepart0.cpp.o
[ 63%] Building CXX object
python/CMakeFiles/python_module_qgis_core.dir/core/sipcorepart1.cpp.o
/home/qgis/BUILD/qgis-1.7.3/build/python/core/sipcorepart1.cpp: In
function 'PyObject* meth_QgsSymbolV2_renderHints(PyObject*,
PyObject*)':
/home/qgis/BUILD/qgis-1.7.3/build/python/core/sipcorepart1.cpp:6671:42:
error: passing 'const QgsSymbolV2' as 'this' argument of 'int
QgsSymbolV2::renderHints()' discards qualifiers [-fpermissive]
/home/qgis/BUILD/qgis-1.7.3/build/python/core/sipcorepart1.cpp: In
function 'PyObject*
meth_QgsSymbolV2RenderContext_setSelected(PyObject*, PyObject*)':
/home/qgis/BUILD/qgis-1.7.3/build/python/core/sipcorepart1.cpp:7069:35:
error: passing 'const QgsSymbolV2RenderContext' as 'this' argument of
'void QgsSymbolV2RenderContext::setSelected(bool)' discards qualifiers
[-fpermissive]
make[2]: *** [python/CMakeFiles/python_module_qgis_core.dir/core/sipcorepart1.cpp.o]
Error 1
make[1]: *** [python/CMakeFiles/python_module_qgis_core.dir/all] Error 2
make: *** [all] Error 2
error: Bad exit status from /home/qgis/BUILDROOT/rpm-tmp.ySzrge (%build)



More information about the Qgis-user mailing list