Bug 192524 - Port deskutils/calibre fails to compile
Summary: Port deskutils/calibre fails to compile
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-08-09 12:32 UTC by Robert Cina
Modified: 2014-08-11 20:33 UTC (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Cina 2014-08-09 12:32:29 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>
    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
Comment 1 John Marino freebsd_committer freebsd_triage 2014-08-09 14:45:57 UTC
portsmon is stale, but it was building everywhere there:
http://portsmon.freebsd.org/portoverview.py?category=deskutils&portname=calibre


over to maintainer (in CC)
Comment 2 Tilman Keskinoz freebsd_committer freebsd_triage 2014-08-11 13:10:22 UTC
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?
Comment 3 Robert Cina 2014-08-11 13:47:24 UTC
I have this version of py-pykde4 installed:

py27-pykde4-4.12.5_1           Python bindings for KDE
Comment 4 Raphael Kubo da Costa freebsd_committer freebsd_triage 2014-08-11 18:22:03 UTC
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.
Comment 5 Robert Cina 2014-08-11 20:14:03 UTC
Rebuilding devel/py-pykde4 was the solution to getting Calibre to build properly.  That was the culprit.

Thanks for the help.
Comment 6 commit-hook freebsd_committer freebsd_triage 2014-08-11 20:32:44 UTC
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
Comment 7 Raphael Kubo da Costa freebsd_committer freebsd_triage 2014-08-11 20:33:16 UTC
Thanks, I've now bumped PORTREVISION in py-pykde4 to make sure everyone builds it after the SIP update.