Opened 14 years ago
Closed 14 years ago
#2439 closed bug (wontfix)
QGIS 1.0.2 build on opensuse 11.2 fails with python-sip4 error
Reported by: | dassau | Owned by: | nobody |
---|---|---|---|
Priority: | major: does not work as expected | Milestone: | Version 1.0.3 |
Component: | Build/Install | Version: | 1.0.2 |
Keywords: | sip4 | Cc: | |
Must Fix for Release: | No | Platform: | SuSE |
Platform Version: | opensuse 11.2 | Awaiting user input: | no |
Description
Hi,
wanted to build QGIS 1.0.2 rpms for opensuse 11.2 and ended up with following python-sip4 error (was working with opensuse 11.1):
[ 61%] Generating core/core.so /usr/src/packages/BUILD/qgis10-1.0.2/python/core/conversions.sip: In function 'int convertTo_QMap_1800_0600QMap_1800_0100QVariant(PyObject*, void, int*, PyObject*)': /usr/src/packages/BUILD/qgis10-1.0.2/python/core/conversions.sip:367: error: 'sipClass_QVariant' was not declared in this scope /usr/src/packages/BUILD/qgis10-1.0.2/python/core/conversions.sip:394: error: 'sipClass_QVariant' was not declared in this scope gmake[3]: * [sipcoreQMap18000600QMap18000100QVariant.o] Error 1 make[2]: * [python/core/core.so] Error 2 make[1]: * [python/CMakeFiles/python.dir/all] Error 2 make: * [all] Error 2
opensuse 11.2 uses python-sip-4.9.1
attached you find a patch that I use succesfully for SLES 10, but it doesn't work with 11.2.
any ideas?
Regards,
Otto
Attachments (1)
Change History (7)
by , 14 years ago
Attachment: | sip49_support.patch added |
---|
comment:2 by , 14 years ago
no, doesn't work, result is:
[ 61%] Generating core/Makefile, gui/Makefile sip: QgsOverlayObject is undefined sip: QgsOverlayObject is undefined Error: Unable to open "/usr/src/packages/BUILD/qgis10-1.0.2/python/core/core.sbf" Parsing SIP files for 'core' library... /usr/bin/sip -c core -b /usr/src/packages/BUILD/qgis10-1.0.2/python/core/core.sbf -I /usr/share/sip/PyQt4 -x VendorID -t WS_X11 -x PyQt_NoPrintRangeBug -t Qt_4_5_0 -x Py_v3 -g /usr/src/packages/BUILD/qgis10-1.0.2/python/core/core.sip Parsing SIP files for 'gui' library... /usr/bin/sip -c gui -b /usr/src/packages/BUILD/qgis10-1.0.2/python/gui/gui.sbf -I /usr/src/packages/BUILD/qgis10-1.0.2/python -I /usr/share/sip/PyQt4 -x VendorID -t WS_X11 -x PyQt_NoPrintRangeBug -t Qt_4_5_0 -x Py_v3 -g /usr/src/packages/BUILD/qgis10-1.0.2/python/gui/gui.sip Creating makefiles... make[2]: * [python/core/Makefile] Error 1 make[1]: * [python/CMakeFiles/python.dir/all] Error 2 make: * [all] Error 2
Otto
comment:3 by , 14 years ago
This time the problem is in the attached sip49_support.patch - the last chunk of added code in python/core/conversions.sip shouldn't be there (QgsOverlayObject exists from 1.1). So just delete everything in that file starting from this line:
%MappedType QMap<int, QgsOverlayObject*>
comment:4 by , 14 years ago
Priority: | critical: causes crash or data corruption → major: does not work as expected |
---|
comment:5 by , 14 years ago
Does this still apply? Does it make sense to keep it open? Are going to really support and fix issues on 1.0 series?
comment:6 by , 14 years ago
Resolution: | → wontfix |
---|---|
Status: | new → closed |
Closing it for lack of user feedback. Please reopen it if necessary
sip patch to compile qgis 1.0.2 on SLES 10