I have found I cannot upgrade (nor unmerge) qscintilla because of this problem: aquarius portage # emerge unmerge qscintilla dev-python/qscintilla selected: 1.61 1.5.1 protected: none omitted: none >>> 'Selected' packages are slated for removal. >>> 'Protected' and 'omitted' packages will not be removed. >>> Waiting 5 seconds before starting... >>> (Control-C to abort)... >>> Unmerging in: 5 4 3 2 1 >>> Unmerging dev-python/qscintilla-1.61... No package files given... Grabbing a set. /usr/lib/portage/bin/ebuild.sh: line 1443: /usr/portage/eclass/qt.eclass: No such file or directory !!! ERROR: dev-python/qscintilla-1.61 failed. !!! Function inherit, Line 1444, Exitcode 1 !!! died sourcing /usr/portage/eclass/qt.eclass in inherit() !!! If you need support, post the topmost build error, NOT this status message. !!! FAILED prerm: 1 aquarius portage # ls -la /usr/portage/eclass/qt.eclass ls: /usr/portage/eclass/qt.eclass: No such file or directory aquarius portage # ls -la /usr/portage/eclass/qt3.eclass -rw-r--r-- 1 root root 1565 Jul 25 17:05 /usr/portage/eclass/qt3.eclass aquarius portage # # emerge info Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r1, 2.6.13-rc5-git4 i686) ================================================================= System uname: 2.6.13-rc5-git4 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz Gentoo Base System version 1.6.13 ccache version 2.4 [disabled] dev-lang/python: 2.3.4-r1, 2.4.1-r1 sys-apps/sandbox: 1.2.11 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.4.19-r1, 2.6.11-r2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O3 -mmmx -msse -msse2 -fomit-frame-pointer -march=pentium4 -funroll-loops -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/bind /var/qmail/alias /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d" CXXFLAGS="-O3 -mmmx -msse -msse2 -fomit-frame-pointer -march=pentium4 -funroll-loops -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distcc distlocks sandbox sfperms strict" GENTOO_MIRRORS="ftp://ftp.muni.cz/pub/linux/gentoo http://gentoo.mirror.icd.hu/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://gd.tuwien.ac.at/opsys/linux/gentoo/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/" LINGUAS="cs cz en" MAKEOPTS="-j1" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X Xaw3d aalib acpi adns alsa apache2 apm arts ati avcodec avi bidi bitmap-fonts bonobo caca cdparanoia crypt cscope cups curl dba dga directfb distcc divx divx4 divx4linux divx5 divx5linux dv dvb dvd dvdr dvdread eds emacs emacs-w3 emboss encode esd ethereal evo f77 faac faad faad2 fam fame fbcon ffmpeg flac flash foomaticdb fortran fvwm fvwm2 gb gd gdbm ggi gif gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile i8x0 icc imagemagick imlib imlib2 innodb java jpeg junit lcms leim libg++ libwww live lpthread lzo lzw-tiff mad mcal mesa mikmod mmx mmx2 motif mozilla mp3 mpeg mule mysql ncurses network nls nptl ogg oggvorbis opengl oss pam pda pdflib perl php php4 plotutils png ppds pthread pthreads python qt qtx quicktime readline rtc samba scanner sdl slp speex spell sse sse2 ssl svga tcltk tcpd tetex tex theora thread threads tiff truetype truetype-fonts type1-fonts unicode usb v4l v4l2 vorbis win32 winvidix wmf xine xml xml2 xmms xosd xv xvid xvmc yv12 zeo zlib video_cards_radeon linguas_cs linguas_cz linguas_en userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS # Reproducible: Always Steps to Reproduce: 1. 2. 3.
Please, download the eclass from http://www.gentoo.org/cgi-bin/viewcvs.cgi/eclass/ and put it into /usr/portage/eclass/ temporarily so that you can unmerge the offending ebuild. Then you can delete it again. Marking as CANTFIX, but the above steps will work. @caleb: Messing with eclasses in this way is a really bad idea(tm) for obvious reasons.
Heh, I just copied the qt3.eclass I had in that dir and after I got rid of the package, I removed the renamed file too. But thanks for pointer to the cvs! ;)
simply doing `touch /usr/portage/eclass/qt3.eclass` should fix the situation too
*** Bug 122233 has been marked as a duplicate of this bug. ***