app-text/calibre-0.8.2 wont compile Reproducible: Always Steps to Reproduce: 1. nice -n 19 emerge -av calibre 2. 3. Actual Results: >>> Emerging (1 of 1) app-text/calibre-0.8.2 * calibre-0.8.2.tar.gz RMD160 SHA1 SHA256 size ;-) ... [ ok ] * Package: app-text/calibre-0.8.2 * Repository: gentoo * Maintainer: zmedico@gentoo.org * USE: consolekit elibc_glibc kernel_linux policykit userland_GNU x86 * FEATURES: 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 4935: Called distutils_src_compile * environment, line 1288: 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' Expected Results: compilation emerge --info output Portage 2.1.9.42 (default/linux/x86/10.0/desktop/kde, gcc-4.3.4, glibc-2.11.2-r3, 2.6.35-gentoo-r12 i686) ================================================================= System Settings ================================================================= System uname: Linux-2.6.35-gentoo-r12-i686-Intel-R-_Pentium-R-_M_processor_1.73GHz-with-gentoo-1.12.14 Timestamp of tree: Mon, 06 Jun 2011 07:30:01 +0000 app-shells/bash: 4.1_p7 dev-java/java-config: 2.1.11-r1 dev-lang/python: 2.6.6-r1, 2.7.1-r1, 3.1.2-r4 dev-util/cmake: 2.8.1-r2 sys-apps/baselayout: 1.12.14-r1 sys-apps/sandbox: 2.4 sys-devel/autoconf: 2.13, 2.65-r1 sys-devel/automake: 1.8.5-r3, 1.9.6-r2, 1.10.3, 1.11.1 sys-devel/binutils: 2.20.1-r1 sys-devel/gcc: 4.3.4, 4.4.4-r2 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.10 sys-devel/make: 3.81-r2 sys-kernel/linux-headers: 2.6.30-r1 sys-libs/glibc: 2.11.2-r3 virtual/os-headers: 2.6.30-r1 (sys-kernel/linux-headers) ACCEPT_KEYWORDS="x86" ACCEPT_LICENSE="*" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=pentium-m -O2 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config /usr/share/openvpn/easy-rsa /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/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" CXXFLAGS="-march=pentium-m -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests binpkg-logs distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" FFLAGS="" GENTOO_MIRRORS="rsync://192.168.1.1/gentoo-portage/distfiles rsync://192.168.1.1/gentoo-portage/ rsync://ftp6.linux.cz/pub/linux/gentoo/ rsync://ftp.fi.muni.cz/pub/linux/gentoo/ ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo ftp://ftp.tu-clausthal.de/pub/linux/gentoo" LANG="cs_CZ.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="cs us" 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/portage/local/layman/gamerlay /usr/local/portage /mnt/nfs_portage/distfiles/layman/desktop-effects" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="7zip X a52 aac acl acpi alsa berkdb bluetooth branding bzip2 cairo cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr dvdread emboss encode exif faad fam firefox flac fortran gdbm gdu gif gpm gtk iconv ipv6 jack java java6 jpeg kde laptop lcms ldap libnotify mad mmx mng modules mp3 mp4 mpeg mudflap ncurses nls nptl nptlonly nsplugin ogg opengl openmp pam pango pcre pdf perl png policykit ppds pppd python qt qt3support qt4 readline sdl session slang spell sse sse2 ssl startup-notification svg sysfs tcpd tiff truetype udev unicode usb vorbis x264 x86 xcb xinerama xml xorg xulrunner xv xvid zlib" 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 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" 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 keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="cs us" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel i810" 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, MAKEOPTS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
rebuild dev-python/PyQt4
*** This bug has been marked as a duplicate of bug 368911 ***
did not help. result of nice -n 19 emerge -av dev-python/PyQt4 >>> Original instance of package unmerged safely. * Compilation and optimization of Python modules for CPython 2.6 ... [ ok ] * Compilation and optimization of Python modules for CPython 3.1 ... [ ok ] >>> Auto-cleaning packages... Emerging (1 of 1) app-text/calibre-0.8.2 * calibre-0.8.2.tar.gz RMD160 SHA1 SHA256 size ;-) ... [ ok ] * Package: app-text/calibre-0.8.2 * Repository: gentoo * Maintainer: zmedico@gentoo.org * USE: consolekit elibc_glibc kernel_linux policykit userland_GNU x86 * FEATURES: 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 4935: Called distutils_src_compile * environment, line 1288: 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'
You probably need to run python-updater.