Building dev-util/eric-4.0.3 fails with Sorry, please install QScintilla2 and it's PyQt4 wrapper. Error: cannot import name Qsci But there is no QScintilla2 package in Gentoo upto now. Reproducible: Always
Post the errors and emerge --info,
>>> Emerging (1 of 1) dev-util/eric-4.0.3 to / * eric4-i18n-de-4.0.3.tar.gz RMD160 SHA1 SHA256 size ;-) ... [ ok ] * eric4-4.0.3.tar.gz RMD160 SHA1 SHA256 size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] * checking eric4-4.0.3.tar.gz ;-) ... [ ok ] * checking eric4-i18n-de-4.0.3.tar.gz ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking eric4-4.0.3.tar.gz to /var/tmp/portage/dev-util/eric-4.0.3/work >>> Unpacking eric4-i18n-de-4.0.3.tar.gz to /var/tmp/portage/dev-util/eric-4.0.3 /work >>> Source unpacked. >>> Compiling source in /var/tmp/portage/dev-util/eric-4.0.3/work/eric4-4.0.3 .. . >>> Source compiled. >>> Test phase [not enabled]: dev-util/eric-4.0.3 >>> Install eric-4.0.3 into /var/tmp/portage/dev-util/eric-4.0.3/image/ category dev-util Sorry, please install QScintilla2 and it's PyQt4 wrapper. Error: cannot import name Qsci * * ERROR: dev-util/eric-4.0.3 failed. emerge --info Portage 2.1.3.19 (default-linux/x86/2007.0, gcc-4.2.2, glibc-2.7-r0, 2.6.23-gentoo i686) ================================================================= System uname: 2.6.23-gentoo i686 Pentium III (Coppermine) Timestamp of tree: Sat, 10 Nov 2007 09:46:01 +0000 ccache version 2.4 [disabled] app-shells/bash: 3.2_p17-r1 dev-java/java-config: 1.3.7, 2.0.33-r1 dev-lang/python: 2.4.3-r1, 2.5.1-r3 dev-python/pycrypto: 2.0.1-r6 dev-util/ccache: 2.4-r7 sys-apps/baselayout: 1.12.10-r5 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.61-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 sys-devel/binutils: 2.18-r1 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.24 virtual/os-headers: 2.6.23 ACCEPT_KEYWORDS="x86 ~x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=i686 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/NX/etc /usr/NX/home /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-O2 -march=i686 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo " LINGUAS="en de" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.be.gentoo.org/gentoo-portage" USE="X acl alsa atm berkdb bitmap-fonts cairo cdr cli cracklib crypt cups doc dri dvd fortran gdbm gif gimp gnome gpm gtk iconv ipv6 isdnlog jpeg kde lcms midi mmx mudflap ncurses nls nptl nptlonly opengl openmp pam pcre pdf perl png pppd python qt readline reflection session spl sqlite sqlite3 sse ssl svg tcl tcpd tetex tiff tk truetype-fonts type1-fonts unicode x86 xorg xulrunner zlib" ALSA_CARDS="ens1371" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en de" USERLAND="GNU" VIDEO_CARDS="nv" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Run python-updater and try again. Works perfectly fine here.
(In reply to comment #4) > Run python-updater and try again. Works perfectly fine here. > I've done that, nothing changed. By the way, I'm running a python-2.5 based system since a year now.
SOLVED: Reemerging dev-python/qscintilla-2.1 WITH the qt4 USE FLAG enabled and then emerging dev-util/eric works fine. Could the ebuild of dev-util/eric check the use flag of dev-python/qscintilla ?
Well seriously, this *depends* on QT4, what did you expect? This built_with_use bloat for obvious stuff gets rather annoying...
(In reply to comment #7) > Well seriously, this *depends* on QT4, what did you expect? This built_with_use > bloat for obvious stuff gets rather annoying... What do you expect? Should every Gentoo user study all ebuilds in detail before using Gentoo?
*** Bug 204052 has been marked as a duplicate of this bug. ***
eric-4.04 depends on qscintilla-python and dies if qscintilla-python is emerged without qt4 USE flag. This should fix the problem. Thanks for reporting :)