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> sys.exit(main()) File "setup.py", line 85, in main command.run_all(opts) File "/usr/ports/deskutils/calibre/work/calibre-src/setup/__init__.py", line 181, in run_all self.run_cmd(self, opts) File "/usr/ports/deskutils/calibre/work/calibre-src/setup/__init__.py", line 175, in run_cmd self.run_cmd(scmd, opts) File "/usr/ports/deskutils/calibre/work/calibre-src/setup/__init__.py", line 178, in run_cmd cmd.run(opts) File "/usr/ports/deskutils/calibre/work/calibre-src/setup/gui.py", line 41, in run self.build_forms(summary=opts.summary) 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 compileUi(form, buf) 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__ CompilerCreatorPolicy()) 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__ self._cwFilters.append(plugin_locals["getFilter"]()) 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 Stop. make: stopped in /usr/ports/deskutils/calibre
portsmon is stale, but it was building everywhere there: http://portsmon.freebsd.org/portoverview.py?category=deskutils&portname=calibre 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: Author: rakuco Date: Mon Aug 11 20:32:07 UTC 2014 New revision: 364659 URL: http://svnweb.freebsd.org/changeset/ports/364659 Log: 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. PR: 192524 Changes: head/devel/py-pykde4/Makefile
Thanks, I've now bumped PORTREVISION in py-pykde4 to make sure everyone builds it after the SIP update.