Emerging calibre-0.8.2 configure process barfs finding PyQt4 module. emerge --info ============= Portage 2.1.9.42 (default/linux/x86/10.0/desktop/kde, gcc-4.4.3, glibc-2.11.2-r0, 2.6.31-gentoo-r10 i686) ================================================================= System uname: Linux-2.6.31-gentoo-r10-i686-Intel-R-_Pentium-R-_4_CPU_3.20GHz-with-gentoo-2.0.2 Timestamp of tree: Thu, 26 May 2011 02:00:01 +0000 distcc 3.1 i686-pc-linux-gnu [enabled] ccache version 2.4 [enabled] app-shells/bash: 4.0_p37 dev-java/java-config: 2.1.11 dev-lang/python: 2.4.6, 2.5.4-r4, 2.6.5-r3, 2.7.1-r1, 3.1.2-r4 dev-util/ccache: 2.4-r7 dev-util/cmake: 2.8.1-r2 sys-apps/baselayout: 2.0.2 sys-apps/openrc: 0.8.2-r1 sys-apps/sandbox: 1.6-r2 sys-devel/autoconf: 2.13, 2.65 sys-devel/automake: 1.7.9-r2, 1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1 sys-devel/binutils: 2.20.1-r1 sys-devel/gcc: 3.3.6-r1::<unknown repository>, 4.1.2, 4.3.4, 4.4.3-r2 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6b sys-devel/make: 3.81-r2 sys-kernel/linux-headers: 2.6.30-r1 sys-libs/glibc: 2.11.2 virtual/os-headers: 2.6.30-r1 (sys-kernel/linux-headers) ACCEPT_KEYWORDS="x86" ACCEPT_LICENSE="* -@EULA" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=i686 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config" 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/splash /etc/terminfo" CXXFLAGS="-O2 -march=i686 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests binpkg-logs ccache distcc distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" FFLAGS="" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="en_GB.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j4" 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" SYNC="rsync://www.cpedesign/gentoo-portage" USE="X a52 aac acl acpi alsa berkdb bluetooth branding bzip2 cairo cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr emboss encode exif fam firefox flac fortran gdbm gdu gif gpm gtk iconv ipv6 jpeg kde lcms ldap libnotify mad mng modules mp3 mp4 mpeg mudflap ncurses nls nptl nptlonly ogg opengl openmp pam pango pcre pdf perl png policykit ppds pppd python qt3support qt4 readline sdl session spell ssl startup-notification svg sysfs tcpd tiff truetype udev unicode usb vorbis x264 x86 xcb xml xorg xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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" CALLIGRA_FEATURES="braindump flow karbon kexi kpresenter krita tables words" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" DVB_CARDS="cx2341x" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" PHP_TARGETS="php5-3" 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" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY emerge log ========== * Package: app-text/calibre-0.8.2 * Repository: gentoo * Maintainer: zmedico@gentoo.org * USE: consolekit elibc_glibc kernel_linux policykit userland_GNU x86 * FEATURES: ccache distcc sandbox >>> Unpacking source... >>> Unpacking calibre-0.8.2.tar.gz to /var/tmp/portage/app-text/calibre-0.8.2/work >>> Source unpacked in /var/tmp/portage/app-text/calibre-0.8.2/work >>> Preparing source in /var/tmp/portage/app-text/calibre-0.8.2/work/calibre ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/app-text/calibre-0.8.2/work/calibre ... >>> Source configured. >>> Compiling source in /var/tmp/portage/app-text/calibre-0.8.2/work/calibre ... python2.7 setup.py build Traceback (most recent call last): File "setup.py", line 13, in <module> import setup.commands as commands File "/var/tmp/portage/app-text/calibre-0.8.2/work/calibre/setup/commands.py", line 28, in <module> from setup.translations import POT, GetTranslations, Translations, ISO639 File "/var/tmp/portage/app-text/calibre-0.8.2/work/calibre/setup/translations.py", line 14, in <module> from setup.build_environment import pyqt File "/var/tmp/portage/app-text/calibre-0.8.2/work/calibre/setup/build_environment.py", line 12, in <module> from PyQt4 import pyqtconfig ImportError: No module named PyQt4 * ERROR: app-text/calibre-0.8.2 failed (compile phase): * Building failed * * Call stack: * ebuild.sh, line 56: Called src_compile * environment, line 4957: Called distutils_src_compile * environment, line 1310: Called die * The specific snippet of code: * "$(PYTHON)" "${setup_file#*|}" "${_DISTUTILS_GLOBAL_OPTIONS[@]}" build "$@" || die "Building failed"; * * If you need support, post the output of 'emerge --info =app-text/calibre-0.8.2', * the complete build log and the output of 'emerge -pqv =app-text/calibre-0.8.2'. * The complete build log is located at '/var/tmp/portage/app-text/calibre-0.8.2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-text/calibre-0.8.2/temp/environment'. * S: '/var/tmp/portage/app-text/calibre-0.8.2/work/calibre' emerge emerge -pqv =app-text/calibre-0.8.2 ========================================== [ebuild N ] app-text/calibre-0.8.2 USE="-bash-completion" !!! The following installed packages are masked: - dev-java/sun-jre-bin-1.6.0.20 (masked by: dlj-1.1 license(s)) A copy of the 'dlj-1.1' license is located at '/usr/portage/licenses/dlj-1.1'. - net-im/skype-2.1.0.81 (masked by: skype-eula license(s)) A copy of the 'skype-eula' license is located at '/usr/portage/licenses/skype-eula'. - dev-java/sun-jdk-1.6.0.20 (masked by: dlj-1.1 license(s)) For more information, see the MASKED PACKAGES section in the emerge man page or refer to the Gentoo Handbook.
As a stab in the dark, I'd say it's time for python-updater (and do you really need all of those older python versions ?).
(In reply to comment #1) > As a stab in the dark, I'd say it's time for python-updater (and do you really > need all of those older python versions ?). I can't get python updater to complete as vte pukes.
Given that the root problem is PyQt4 breakage, this bug is more or less in the same class as bug 350320. *** This bug has been marked as a duplicate of bug 350320 ***
(In reply to comment #3) > Given that the root problem is PyQt4 breakage, this bug is more or less in the > same class as bug 350320. > > *** This bug has been marked as a duplicate of bug 350320 *** Quite unlikely - there the main message is: RuntimeError: Failed to load the Progress Indicator plugin: the PyQt4.QtCore module is version -1 but the progress_indicator module requires version 0 here, it's plain: ImportError: No module named PyQt4 So, as I said, time for python-updater.
Either way, it's a dependency issue related to PyQt4, and there's nothing that can be done on the calibre side.
*** Bug 370307 has been marked as a duplicate of this bug. ***