Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#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)

comment:1 by jef, 15 years ago

Resolution: worksforme
Status: newclosed

r10599 builds fine here (Debian unstable amd64 as of today - sip 4.7.9-2)

in reply to:  1 comment:2 by msieczka, 15 years ago

Resolution: worksforme
Status: closedreopened

Replying to jef:

r10599 builds fine here (Debian unstable amd64 as of today - sip 4.7.9-2)

Same sip version, Debian testing amd64, same revision and still fails as initially reported.

comment:3 by msieczka, 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.

comment:4 by wonder, 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.

in reply to:  4 comment:5 by jef, 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.

in reply to:  4 ; comment:6 by msieczka, 15 years ago

Resolution: invalid
Status: reopenedclosed

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.

in reply to:  6 comment:7 by jef, 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

in reply to:  3 ; comment:8 by antoniusz, 15 years ago

Keywords: sip added
Resolution: invalid
Status: closedreopened

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

in reply to:  8 comment:9 by wonder, 15 years ago

Resolution: invalid
Status: reopenedclosed

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.

in reply to:  8 ; comment:10 by jef, 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.

in reply to:  10 comment:11 by antoniusz, 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:

  1. to wait 5 day (maybe more) to pyqt 4.4.4 hit testing or
  2. downgrading sip from 4.7.9 to 4.7.6 or
  3. upgrading pyqt from 4.4.2 to 4.4.4 (my choice)

thanks

comment:12 by (none), 15 years ago

Milestone: Version 1.1.0

Milestone Version 1.1.0 deleted

Note: See TracTickets for help on using tickets.