FreeBSD Bugzilla – Bug 192524
Port deskutils/calibre fails to compile
Last modified: 2014-08-11 20:33:33 UTC
The port deskutils/calibre fails to compile on my 10-Stable system. I get the following error message:
* Running gui
Compiling form /usr/ports/deskutils/calibre/work/calibre-src/src/calibre/gui2/shortcuts.ui
Traceback (most recent call last):
File "setup.py", line 99, in <module>
File "setup.py", line 85, in main
File "/usr/ports/deskutils/calibre/work/calibre-src/setup/__init__.py", line 181, in run_all
File "/usr/ports/deskutils/calibre/work/calibre-src/setup/__init__.py", line 175, in run_cmd
File "/usr/ports/deskutils/calibre/work/calibre-src/setup/__init__.py", line 178, in run_cmd
File "/usr/ports/deskutils/calibre/work/calibre-src/setup/gui.py", line 41, in run
File "/usr/ports/deskutils/calibre/work/calibre-src/setup/gui.py", line 64, in build_forms
build_forms(self.SRC, info=self.info, summary=summary)
File "/usr/ports/deskutils/calibre/work/calibre-src/src/calibre/gui2/__init__.py", line 1154, in build_forms
File "/usr/local/lib/python2.7/site-packages/PyQt4/uic/__init__.py", line 175, in compileUi
winfo = compiler.UICompiler().compileUi(uifile, pyfile, from_imports, resource_suffix)
File "/usr/local/lib/python2.7/site-packages/PyQt4/uic/Compiler/compiler.py", line 55, in __init__
File "/usr/local/lib/python2.7/site-packages/PyQt4/uic/uiparser.py", line 156, in __init__
self.factory = QObjectCreator(creatorPolicy)
File "/usr/local/lib/python2.7/site-packages/PyQt4/uic/objcreator.py", line 97, in __init__
File "<string>", line 22, in getFilter
RuntimeError: the sip module implements API v11.0 to v11.1 but the PyKDE4.kdeui module requires API v10.1
*** Error code 1
make: stopped in /usr/ports/deskutils/calibre
portsmon is stale, but it was building everywhere there:
over to maintainer (in CC)
Robert, Do you have an old version of py-pykde4 installed?
Adding kde@ to CC. The error message looks like py-qt4 seems to conflict with older versions of py-pykde4. Maybe we need to add CONFLICTS?
I have this version of py-pykde4 installed:
py27-pykde4-4.12.5_1 Python bindings for KDE
Does calibre build if you first rebuilt devel/py-pykde4? If so then we need to bump PORTREVISION in the latter to force a rebuild after the sip/PyQt upgrade committed a few weeks ago.
Rebuilding devel/py-pykde4 was the solution to getting Calibre to build properly. That was the culprit.
Thanks for the help.
A commit references this bug:
Date: Mon Aug 11 20:32:07 UTC 2014
New revision: 364659
Bump PORTREVISION to force a rebuild after r362721.
The SIP/PyQt4 update in r362721 requires PyKDE4 to be rebuilt, otherwise the
generated shared libraries will still mention a SIP API version that is
older than the one currently defined by SIP.
Thanks, I've now bumped PORTREVISION in py-pykde4 to make sure everyone builds it after the SIP update.