Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 336395 - app-text/calibre-0.7.17 fails to compile: the sip module implements API v8.0 but the PyKDE4.kdeui module requires API v7.1
Summary: app-text/calibre-0.7.17 fails to compile: the sip module implements API v8.0 ...
Status: RESOLVED DUPLICATE of bug 336368
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
Depends on:
Reported: 2010-09-07 22:56 UTC by Mark Nowiasz
Modified: 2013-10-24 02:27 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Mark Nowiasz 2010-09-07 22:56:52 UTC
When trying to upgrade calibre, calibre fails with a RunTimeError:
the sip module implements API v8.0 but the PyKDE4.kdeui module requires API v7.1

Reproducible: Always

Steps to Reproduce:
1. emerge -uDN @world @system

Actual Results:  
* Running gui

        Compiling form /var/tmp/portage/app-text/calibre-0.7.17/work/calibre/src/calibre/gui2/shortcuts.ui
Traceback (most recent call last):
  File "", line 99, in <module>
  File "", line 85, in main
  File "/var/tmp/portage/app-text/calibre-0.7.17/work/calibre/setup/", line 159, in run_all
    self.run_cmd(self, opts)
  File "/var/tmp/portage/app-text/calibre-0.7.17/work/calibre/setup/", line 152, in run_cmd
    self.run_cmd(scmd, opts)
  File "/var/tmp/portage/app-text/calibre-0.7.17/work/calibre/setup/", line 155, in run_cmd
  File "/var/tmp/portage/app-text/calibre-0.7.17/work/calibre/setup/", line 36, in run
  File "/var/tmp/portage/app-text/calibre-0.7.17/work/calibre/setup/", line 60, in build_forms
  File "/var/tmp/portage/app-text/calibre-0.7.17/work/calibre/src/calibre/gui2/", line 680, in build_forms
    compileUi(form, buf)
  File "/usr/lib64/python2.6/site-packages/PyQt4/uic/", line 130, in compileUi
    winfo = compiler.UICompiler().compileUi(uifile, pyfile, from_imports)
  File "/usr/lib64/python2.6/site-packages/PyQt4/uic/Compiler/", line 15, in __init__
  File "/usr/lib64/python2.6/site-packages/PyQt4/uic/", line 87, in __init__
    self.factory = QObjectCreator(creatorPolicy)
  File "/usr/lib64/python2.6/site-packages/PyQt4/uic/", line 57, in __init__
  File "<string>", line 22, in getFilter
RuntimeError: the sip module implements API v8.0 but the PyKDE4.kdeui module requires API v7.1
 * ERROR: app-text/calibre-0.7.17 failed:
 *   Installation failed

spectre ~ # emerge --info
Portage 2.2_rc77 (default/linux/amd64/10.0, gcc-4.4.4, glibc-2.12.1-r1, 2.6.35-gentoo-r5 x86_64)
System uname: Linux-2.6.35-gentoo-r5-x86_64-AMD_Phenom-tm-_9950_Quad-Core_Processor-with-gentoo-2.0.1
Timestamp of tree: Tue, 07 Sep 2010 21:45:01 +0000
ccache version 2.4 [disabled]
app-shells/bash:     4.1_p7
dev-java/java-config: 2.1.11
dev-lang/python:     2.6.5-r3, 3.1.2-r4
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.3
sys-apps/sandbox:    2.3-r1
sys-devel/autoconf:  2.13, 2.67
sys-devel/automake:  1.8.5-r3, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.4-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
sys-devel/make:      3.81-r2
virtual/os-headers:  2.6.35 (sys-kernel/linux-headers)
ACCEPT_KEYWORDS="amd64 ~amd64"
CFLAGS="-march=amdfam10 -O2 -pipe"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config /var/bind /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/portage /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe"
FEATURES="assume-digests distlocks fixlafiles fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
USE="3dnow X a52 aac aalib acl acpi aim alsa amd64 apache2 aspell audiofile bash-completion bcmath bluetooth bonjour branding bzip2 cairo calendar cdda cddb cdparanoia cdr cli clucene consolekit cracklib crypt cscope css ctype cups curl cxx daap dbus derby djvu dri dts dv dvb dvd dvdr dvdread encode enscript exif expat facebook fam ffmpeg fftw firefox flac fontconfig foomaticdb fortran ftp gd gdbm geoip gif gimp glib glut gmp gnome gnuplot gnutls gpg gphoto2 gpm gps graphviz gsl gtk gzip hal hddtemp htmlhandbook iconv icq icu idn imagemagick imap imlib innodb ipod ipv6 jabber java java6 javascript jbig jingle jpeg jpeg2k kde kontact kpathsea lame lash latex lcms ldap libcaca libnotify libsamplerate libwww lm_sensors lua lzo mad maildir mailwrapper matroska mhash mime mmap mmx mng modplug modules mp2 mp3 mp4 mpeg mpi mplayer msn mudflap multilib musepack musicbrainz mysql mysqli ncurses netcdf nls nntp nptl nptlonly nsplugin nvram offensive ofx ogg openal openexr opengl openmp oscar otr pam pcntl pcre pda pdf perl php plasma png policykit posix postgres ppds pppd python qt3 qt3support qt4 quicktime raw rdesktop readline recode reflection rss samba sasl scanner sdl secure-delete semantic-desktop session sharedext sharedmem shorten skype slang slp smp sndfile snmp soap sockets sox speex spell spl sql sse sse2 ssl startup-notification subversion suid svg sysfs syslog sysvipc szip taglib tcpd theora threads tidy tiff timidity tokenizer truetype unicode usb v4l2 vcd vdr videos vim-syntax vnc vorbis wavpack webdav webkit winpopup wlm wmf x264 xattr xface xft xine xml xmp xorg xpm xscreensaver xsl xulrunner xv xvid xvmc yahoo yaz zeroconf zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" NETBEANS_MODULES="*" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Comment 1 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2010-09-07 23:58:10 UTC
From dev-python/sip ebuilds:

    ewarn 'When updating sip, you usually need to recompile packages that'
    ewarn 'depend on sip, such as PyQt4 and qscintilla-python. If you have'
    ewarn 'app-portage/gentoolkit installed you can find these packages with'
    ewarn '`equery d sip` and `equery d PyQt4`.'
Comment 2 Zac Medico gentoo-dev 2013-10-24 02:27:58 UTC

*** This bug has been marked as a duplicate of bug 336368 ***