Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

QGIS 1.0.2 build on opensuse 11.2 fails with python-sip4 error #12499

Closed
qgib opened this issue Feb 12, 2010 · 5 comments
Closed

QGIS 1.0.2 build on opensuse 11.2 fails with python-sip4 error #12499

qgib opened this issue Feb 12, 2010 · 5 comments
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Build/Install Related to compiling or installing QGIS
Milestone

Comments

@qgib
Copy link
Contributor

qgib commented Feb 12, 2010

Author Name: Otto Dassau (Otto Dassau)
Original Redmine Issue: 2439

Redmine category:build/install
Assignee: nobody -


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
gmaker3: *** [sipcoreQMap18000600QMap18000100QVariant.o] Error 1
maker2: *** [python/core/core.so] Error 2
maker1: *** [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


@qgib
Copy link
Contributor Author

qgib commented Feb 12, 2010

Author Name: Martin Dobias (@wonder-sk)


Try to apply patch from 3d35c57 (SVN r11774). See #12019 for some details.

@qgib
Copy link
Contributor Author

qgib commented Feb 12, 2010

Author Name: Otto Dassau (Otto Dassau)


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...
maker2: *** [python/core/Makefile] Error 1
maker1: *** [python/CMakeFiles/python.dir/all] Error 2
make: *** [all] Error 2

Otto

@qgib
Copy link
Contributor Author

qgib commented Feb 12, 2010

Author Name: Martin Dobias (@wonder-sk)


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]]*> 

@qgib
Copy link
Contributor Author

qgib commented Apr 23, 2010

Author Name: Paolo Cavallini (@pcav)


Does this still apply? Does it make sense to keep it open? Are going to really support and fix issues on 1.0 series?

@qgib
Copy link
Contributor Author

qgib commented Jun 11, 2010

Author Name: Paolo Cavallini (@pcav)


Closing it for lack of user feedback. Please reopen it if necessary


  • resolution was configured as wontfix
  • status_id was changed from Open to Closed

@qgib qgib added Bug Either a bug report, or a bug fix. Let's hope for the latter! Build/Install Related to compiling or installing QGIS labels May 24, 2019
@qgib qgib added this to the Version 1.0.3 milestone May 24, 2019
@qgib qgib closed this as completed May 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Build/Install Related to compiling or installing QGIS
Projects
None yet
Development

No branches or pull requests

1 participant