#1641 closed bug (invalid)
trunk r10595 fails to build at parsing SIP files for 'gui'
Reported by: | msieczka | Owned by: | nobody |
---|---|---|---|
Priority: | critical: causes crash or data corruption | Milestone: | |
Component: | Build/Install | Version: | Trunk |
Keywords: | sip PyQT | Cc: | |
Must Fix for Release: | Yes | Platform: | Debian |
Platform Version: | amd64 | Awaiting user input: | no |
Description
Trunk r10595 fails to build as follows:
Parsing SIP files for 'gui' library... /usr/bin/sip -c gui -b /home/shoofi/src/straight/qgis-trunk/build/python/gui/gui.sbf -I /home/shoofi/src/straight/qgis-trunk/python -I /usr/share/sip/PyQt4 -x VendorID -t WS_X11 -x PyQt_NoPrintRangeBug -t Qt_4_4_0 -g /home/shoofi/src/straight/qgis-trunk/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
Change History (12)
follow-up: 2 comment:1 by , 15 years ago
Resolution: | → worksforme |
---|---|
Status: | new → closed |
comment:2 by , 15 years ago
Resolution: | worksforme |
---|---|
Status: | closed → reopened |
follow-up: 8 comment:3 by , 15 years ago
More info: the final error above is preceded by:
[ 61%] Generating core/Makefile, gui/Makefile sip: /usr/share/sip/PyQt4/QtCore/qxmlstream.sip:213: Incorrect number of arguments to Python slot sip: /usr/share/sip/PyQt4/QtCore/qxmlstream.sip:213: Incorrect number of arguments to Python slot Error: Unable to open "/home/shoofi/src/straight/qgis-trunk/build/python/core/core.sbf": [Errno 2] No such file or directory: '/home/shoofi/src/straight/qgis-trunk/build/python/core/core.sbf'
Indeed I don't have any *.sbf files in my QGIS build dir.
follow-ups: 5 6 comment:4 by , 15 years ago
Builds fine on my box too.
The error suggests that the problem is in the PyQt4 sip file so I suggest you to report this to PyQt4 developers. In meanwhile you can try some other PyQt4 version to see whether it helps. What version do you use? Have you done any upgrade of it recently?
And I recommend you to close the bug as it's probably unrelated to qgis.
comment:5 by , 15 years ago
Replying to wonder:
The error suggests that the problem is in the PyQt4 sip file so I suggest you to report this to PyQt4 developers. In meanwhile you can try some other PyQt4 version to see whether it helps. What version do you use? Have you done any upgrade of it recently?
I would first check if it's a Debian testing problem or maybe even just a local installation problem. As it builds fine on both sid and lenny.
And I recommend you to close the bug as it's probably unrelated to qgis.
That was my point in closing the bug - it even builds fine on Windows, so this doesn't seem to be any qgis problem.
follow-up: 7 comment:6 by , 15 years ago
Resolution: | → invalid |
---|---|
Status: | reopened → closed |
Replying to wonder:
Builds fine on my box too.
The error suggests that the problem is in the PyQt4 sip file so I suggest you to report this to PyQt4 developers. In meanwhile you can try some other PyQt4 version to see whether it helps. What version do you use?
My Pyqt is 4.4.2-4 (stock Debian testing packages).
Sip is 4.7.9-2.
Have you done any upgrade of it recently?
Not sure. Plenty of updates pop in daily. Package changelogs only say when they arrive unstable, not when they are promoted to testing I guess, so I can't check.
comment:7 by , 15 years ago
Replying to msieczka:
My Pyqt is 4.4.2-4 (stock Debian testing packages).
lenny is also at 4.4.2-4 and unstable at 4.4.4-6 - both work for me.
Not sure. Plenty of updates pop in daily. Package changelogs only say when they arrive unstable, not when they are promoted to testing I guess, so I can't check.
check /var/lib/dpkg.log
follow-ups: 9 10 comment:8 by , 15 years ago
Keywords: | sip added |
---|---|
Resolution: | invalid |
Status: | closed → reopened |
Replying to msieczka:
I can confirm this compile error. After downgrading sip4 from 4.7.9-2 to 4.7.6-1, the error disappeared, and qgis compiled without problem.
I think, the error appears with sip 4.7.9 only, if the build is a >clean build<
system: debian testing amd64
comment:9 by , 15 years ago
Resolution: | → invalid |
---|---|
Status: | reopened → closed |
Replying to antoniusz:
I can confirm this compile error. After downgrading sip4 from 4.7.9-2 to 4.7.6-1, the error disappeared, and qgis compiled without problem.
I think, the error appears with sip 4.7.9 only, if the build is a >clean build<
I don't see the point why you're reopening this ticket again. Obviously it's a sip/pyqt4 problem and I don't know what we could do with it.
follow-up: 11 comment:10 by , 15 years ago
Replying to antoniusz:
I think, the error appears with sip 4.7.9 only, if the build is a >clean build<
I always do clean builds, ie. dpkg-buildpackage -us -uc -b
, which builds in a fresh debian/build
every time. Still there's no problem building on debian unstable amd64 using it's sip 4.7.9-2, PyQt4 4.4.4-6, Qt 4.4.3-2.
comment:11 by , 15 years ago
Keywords: | PyQT added |
---|
Replying to jef:
Still there's no problem building on debian unstable amd64 using it's sip 4.7.9-2, PyQt4 4.4.4-6, Qt 4.4.3-2.
Here is the problem. We are talking about debian testing, not unstable, which has sip 4.7.9-2, >> PyQT4 4.4.2-4<< and Qt 4.4.3-2.
The combination from debian testing (sip 4.7.9 & pyqt 4.4.2) doesn't build, but upgrading PyQt (debian package: python-qt4-*) from debian unstable repository solve the problem. :-)
Just 1 dependent package must be upgraded - python-support).
summa summarum:
- to wait 5 day (maybe more) to pyqt 4.4.4 hit testing or
- downgrading sip from 4.7.9 to 4.7.6 or
- upgrading pyqt from 4.4.2 to 4.4.4 (my choice)
thanks
r10599 builds fine here (Debian unstable amd64 as of today - sip 4.7.9-2)