[QGIS-Developer] 2.14 sip build problem?

Richard Duivenvoorde rdmailings at duif.net
Sun Oct 1 05:08:12 PDT 2017


Hi Devs,

After my 'apt dist-upgrade' today (Debian Testing), all my (self build!)
qgis's segfaulted.

Luckily a clean compile was enough to resurrrect master and 2.18, but my
2.14 build still fails. To me looking like a sip problem?

Does this ring a bell to anyone?

[ 96%] Building CXX object
python/CMakeFiles/python_module_qgis__core.dir/core/sip_corepart0.cpp.o
/home/richard/dev/qgis/git/qgis214/build/python/core/sip_corepart0.cpp:15288:40:
error: conflicting declaration ‘PyObject* sipExportedExceptions__core [3]’

                                        ^
/home/richard/dev/qgis/git/qgis214/python/core/qgscoordinatetransform.sip:18:18:
note: previous declaration as ‘PyObject* sipExportedExceptions__core [2]’
 extern PyObject *sipExportedExceptions__core[2];  // workaround:
sipExportedExceptions__core is only defined in the first sip part
                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~
python/CMakeFiles/python_module_qgis__core.dir/build.make:375: recipe
for target
'python/CMakeFiles/python_module_qgis__core.dir/core/sip_corepart0.cpp.o'
failed
make[2]: ***
[python/CMakeFiles/python_module_qgis__core.dir/core/sip_corepart0.cpp.o]
Error 1
CMakeFiles/Makefile2:3948: recipe for target
'python/CMakeFiles/python_module_qgis__core.dir/all' failed
make[1]: *** [python/CMakeFiles/python_module_qgis__core.dir/all] Error 2
Makefile:151: recipe for target 'all' failed
make: *** [all] Error 2

Regards,

Richard Duivenvoorde

ps note that 2.18 and master did not have this problem after rebuilding
ps2 yes I still need 2.14 sometimes for testing


More information about the QGIS-Developer mailing list