According to the included log text, the source appears to compile. It's the "running gui" of the emerge which fails. See below: x86_64-pc-linux-gnu-g++ /var/tmp/portage/app-text/calibre-0.6.20/work/calibre/build/pyqt/pictureflow/qt/moc_pictureflow.o /var/tmp/portage/app-text/calibre-0.6.20/work/calibre/build/pyqt/pictureflow/qt/pictureflow.o -Wl,-O1 -shared -Wl,-rpath,/usr/lib64/qt4 -Wl,--version-script=pictureflow.exp -o pictureflow.so sippictureflowcmodule.o sippictureflowPictureFlow.o sippictureflowFlowImages.o -L/usr/lib64/qt4 -L/usr/X11R6/lib -lQtCore -L/usr/lib64 -L/usr/lib64/qt4 -L/usr/lib64/qt4 -lz -lm -pthread -lgthread-2.0 -lrt -lglib-2.0 -lpthread -ldl -lQtGui -L/usr/lib64 -L/usr/lib64/qt4 -L/usr/X11R6/lib -L/usr/lib64/qt4 -laudio -lXt -pthread -lpng -lfreetype -lgobject-2.0 -lSM -lICE -lQtCore -L/usr/lib64 -lz -pthread -lgthread-2.0 -lrt -lglib-2.0 -lpthread -lXrender -lXrandr -lXinerama -lfontconfig -lXext -lX11 -lm -ldl -lXext -lX11 -lm -lpthread >>> Source compiled. >>> Test phase [not enabled]: app-text/calibre-0.6.20 >>> Install calibre-0.6.20 into /var/tmp/portage/app-text/calibre-0.6.20/image/ category app-text python setup.py install --root=/var/tmp/portage/app-text/calibre-0.6.20/image/ --no-compile --bindir=/var/tmp/portage/app-text/calibre-0.6.20/image/usr/bin --sharedir=/var/tmp/portage/app-text/calibre-0.6.20/image/usr/share * * Running build * --no-compile specified, skipping compilation * * Running gui * Compiling form /var/tmp/portage/app-text/calibre-0.6.20/work/calibre/src/calibre/gui2/main.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 "/var/tmp/portage/app-text/calibre-0.6.20/work/calibre/setup/__init__.py", line 158, in run_all self.run_cmd(self, opts) File "/var/tmp/portage/app-text/calibre-0.6.20/work/calibre/setup/__init__.py", line 151, in run_cmd self.run_cmd(scmd, opts) File "/var/tmp/portage/app-text/calibre-0.6.20/work/calibre/setup/__init__.py", line 154, in run_cmd cmd.run(opts) File "/var/tmp/portage/app-text/calibre-0.6.20/work/calibre/setup/gui.py", line 36, in run self.build_forms() File "/var/tmp/portage/app-text/calibre-0.6.20/work/calibre/setup/gui.py", line 60, in build_forms build_forms(self.SRC, info=self.info) File "/var/tmp/portage/app-text/calibre-0.6.20/work/calibre/src/calibre/gui2/__init__.py", line 573, in build_forms compileUi(form, buf) File "/usr/lib64/python2.6/site-packages/PyQt4/uic/__init__.py", line 128, in compileUi winfo = compiler.UICompiler().compileUi(uifile, pyfile) File "/usr/lib64/python2.6/site-packages/PyQt4/uic/Compiler/compiler.py", line 14, in __init__ CompilerCreatorPolicy()) File "/usr/lib64/python2.6/site-packages/PyQt4/uic/uiparser.py", line 87, in __init__ self.factory = QObjectCreator(creatorPolicy) File "/usr/lib64/python2.6/site-packages/PyQt4/uic/objcreator.py", line 49, in __init__ self._cwFilters.append(plugin_locals["getFilter"]()) File "<string>", line 22, in getFilter RuntimeError: the sip module implements API v6.0 but the PyKDE4.kdeui module requires API v5.0 * ERROR: app-text/calibre-0.6.20 failed: * Installation failed Portage 2.2_rc48 (default/linux/amd64/10.0, gcc-4.4.2, glibc-2.10.1-r0, 2.6.30.9 x86_64) ================================================================= System uname: Linux-2.6.30.9-x86_64-AMD_Phenom-tm-_9600_Quad-Core_Processor-with-gentoo-2.0.1 Timestamp of tree: Sun, 01 Nov 2009 13:00:01 +0000 ccache version 2.4 [enabled] app-shells/bash: 4.0_p35 dev-java/java-config: 1.3.7-r1, 2.1.9-r1 dev-lang/python: 2.5.4-r3, 2.6.4, 3.1.1-r1 dev-python/pycrypto: 2.0.1-r8 dev-util/ccache: 2.4-r8 dev-util/cmake: 2.6.4-r3 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 0.5.2-r1 sys-apps/sandbox: 2.2 sys-devel/autoconf: 2.13, 2.63-r1 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2, 1.11 sys-devel/binutils: 2.20 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6a virtual/os-headers: 2.6.30-r1 ACCEPT_KEYWORDS="amd64 ~amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=opteron -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /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/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-march=opteron -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests ccache distlocks fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LDFLAGS="-Wl,-O1" MAKEOPTS="-j6" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow 3dnowext 7zip X a52 aac aalib accessibility acl acpi aften aiglx aim aimextras aio akode allegro alsa amarok amazon amd amd64 amr ao aotuv apache2 asterisk async atlas audacious audiofile automount avahi bash-completion bdf berkdb bigpatch binary-drivers bittorrent blender-game bonjour bonobo boost bsf bzip2 cairo ccache cdaudio cdda cddb cdio cdparanoia cdr cdrom cgi chm chroot cleartype cli commercial config-log consolekit corba cracklib crypt css cups curl curlwrappers dbase dbm dbus dbx depth32 devhelp dga dia directfb djvu dpms dri dts dv dvb dvd dvdr dvdread dynamic eds emboss emovix emul-linux-x86 enblend encode enscript exif expat extrafilters fam fame fastcgi fat fbcon fbdev ffmpeg fftw filter firefox flac flash font-server fontconfig foomaticdb fortran fping fpx ftp fuse gatos gcj gd gdbm geoip ggi gif gimp gimpprint glib glibc-omitfp glitz glut gmail gmailtimestamps gmp gnutls gocr gpac gphoto2 gpm grammar graphicsmagick graphviz gs gstreamer gtk gtkhtml guile gzip hal hddtemp hdri html htmlhandbook httpd iconv icq icu id3 id3tag idea imagemagick imap imlib inkjar inotify insecure-savers ipfilter ipsec ipv6 irc isdnlog jabber jack java javascript jbig jikes jpeg jpeg2k junit kde kdexdeltas kerberos kipi lame lash latex lcms ldap lesstiff libcaca libg++ libnotify libsamplerate libvisual libwww linuxthreads-tls live lm_sensors logrotate lyx lzo lzw mad maildir mailwrapper matroska midi mikmod milter mime ming mjpeg mmap mmx mmxext mng mod modplug modules mono mozdevelop moznoirc moznomail mozsha1 mp2 mp3 mp4 mp4live mpeg mpeg2 mpi mplayer msn msql mudflap multilib multiuser musepack mysql mysqli nas ncurses network nfs nls nntp nodrm nptl nptlonly nsplugin ntfs nxclient ocrad odbc odk offensive ogg ole on-the-fly-crypt openal opendoc openexr opengl openmp openssl opensslcrypt osc oscar ots pam pam_chroot pam_timestamp pango passwordsave paste64 pcre pda pdf perl php player plib plotutils plugins png policykit posix postrgres postscript povray ppds pppd print ps python q32 qt3 qt3support qt4 quicktime rar raw rc5 rdesktop readline recode reflection regex reiser4 reiserfs restrict-javascript rle rss rtc rtsp ruby samba sasl scanner schroedinger screen sdk sdl sdl-image seamonkey sensord session sftp sftplogging sharedmem shorten shout sift simplexml skins slang sndfile snmp soap sockets sox speedo speex spell spf spl sql sqlite srs sse sse2 ssl stream streamripper submenu subp subtitles subversion svg svgz swat sysfs syslog szip t1lib taglib tagwriter tcl tcltk tcpd tcpwrapper tesseract tetex tga theora thesaurus threads tidy tiff timidity tk tokenizer toolbar tools totem transcode truetype tta type1 udev unicode unzip usb utempter utils uudeview v4l v4l2 vcd vdr vfat vhosts visualization visualizations vlm vorbis vorbis-psy wav wavpack webkit winbind winf wma wmf wordperfect wv wxwindows x264 xanim xcomposite xeo xface xforms xfs xft xine xinerama xml xmlrpc xorg xosd xpm xscreensaver xv xvid xvmc yaepg yahoo zeroconf zip zlib zoran" ALSA_CARDS="hda-intel" 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 auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" CAMERAS="canon minolta konica" ELIBC="glibc" INPUT_DEVICES="wacom evdev" KERNEL="linux" USERLAND="GNU" VIDEO_CARDS="vesa ati" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Do you have most recent version of whatever package provides that PyKDE4 ?
(In reply to comment #1) > Do you have most recent version of whatever package provides > that PyKDE4 ? I don't think that is likely to be the issue. Re-emerge kde-base/pykde4 again. This is so it works against an updated dev-python/sip. You should then find that calibre emerges OK.
After upgrading {as part of KDE-4.3.2 to KDE-4.3.3} calibre-0.6.20 now emerges to completion. Thank you for your time and comments. They were helpful. ... # emerge -s pykde4 Searching... [ Results for search key : pykde4 ] [ Applications found : 1 ] * kde-base/pykde4 Latest version available: 4.3.3 Latest version installed: 4.3.3 Size of files: 4,767 kB Homepage: http://www.kde.org/ Description: Python bindings for KDE4 License: GPL-2 ... * Messages for package app-text/calibre-0.6.20: * To enable command-line completion for calibre, run: * * eselect bashcomp enable calibre * * to install locally, or * * eselect bashcomp enable --global calibre * * to install system-wide. >>> Auto-cleaning packages... >>> No outdated packages were found on your system. * GNU info directory index is up-to-date.