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

trunk r10595 fails to build at parsing SIP files for 'gui' #11701

Closed
qgib opened this issue Apr 19, 2009 · 12 comments
Closed

trunk r10595 fails to build at parsing SIP files for 'gui' #11701

qgib opened this issue Apr 19, 2009 · 12 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

Comments

@qgib
Copy link
Contributor

qgib commented Apr 19, 2009

Author Name: Maciej Sieczka - (Maciej Sieczka -)
Original Redmine Issue: 1641

Redmine category:build/install
Assignee: nobody -


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

@qgib
Copy link
Contributor Author

qgib commented Apr 19, 2009

Author Name: Jürgen Fischer (@jef-n)


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


  • resolution was changed from to worksforme
  • status_id was changed from Open to Closed

@qgib
Copy link
Contributor Author

qgib commented Apr 19, 2009

Author Name: Maciej Sieczka - (Maciej Sieczka -)


Replying to [comment:1 jef]:

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.


  • status_id was changed from Closed to Feedback
  • resolution was changed from worksforme to

@qgib
Copy link
Contributor Author

qgib commented Apr 19, 2009

Author Name: Maciej Sieczka - (Maciej Sieczka -)


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.

@qgib
Copy link
Contributor Author

qgib commented Apr 19, 2009

Author Name: Martin Dobias (@wonder-sk)


Builds fine on my box too.

The error suggests that the problem is in the [[PyQt]]4 sip file so I suggest you to report this to [[PyQt]]4 developers. In meanwhile you can try some other [[PyQt]]4 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.

@qgib
Copy link
Contributor Author

qgib commented Apr 19, 2009

Author Name: Jürgen Fischer (@jef-n)


Replying to [comment:4 wonder]:

The error suggests that the problem is in the [[PyQt]]4 sip file so I suggest you to report this to [[PyQt]]4 developers. In meanwhile you can try some other [[PyQt]]4 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.

@qgib
Copy link
Contributor Author

qgib commented Apr 19, 2009

Author Name: Maciej Sieczka - (Maciej Sieczka -)


Replying to [comment:4 wonder]:

Builds fine on my box too.

The error suggests that the problem is in the [[PyQt]]4 sip file so I suggest you to report this to [[PyQt]]4 developers. In meanwhile you can try some other [[PyQt]]4 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.


  • resolution was changed from to invalid
  • status_id was changed from Feedback to Closed

@qgib
Copy link
Contributor Author

qgib commented Apr 19, 2009

Author Name: Jürgen Fischer (@jef-n)


Replying to [comment:6 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

@qgib
Copy link
Contributor Author

qgib commented Apr 21, 2009

Author Name: antoniusz - (antoniusz -)


Replying to [comment:3 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


  • status_id was changed from Closed to Feedback
  • resolution was changed from invalid to

@qgib
Copy link
Contributor Author

qgib commented Apr 21, 2009

Author Name: Martin Dobias (@wonder-sk)


Replying to [comment:8 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.


  • status_id was changed from Feedback to Closed
  • resolution was changed from to invalid

@qgib
Copy link
Contributor Author

qgib commented Apr 21, 2009

Author Name: Jürgen Fischer (@jef-n)


Replying to [comment:8 antoniusz]:

I think, the error appears with sip 4.7.9 only, if the build is a >clean build<




@qgib
Copy link
Contributor Author

qgib commented Apr 21, 2009

Author Name: antoniusz - (antoniusz -)


Replying to [comment:10 jef]:

Still there's no problem building on debian unstable amd64 using it's sip 4.7.9-2, [[PyQt]]4 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, >> [[PyQT]]4 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

@qgib
Copy link
Contributor Author

qgib commented Aug 21, 2009

Author Name: Anónimo (Anónimo)


Milestone Version 1.1.0 deleted

@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 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