# etcat -u eog [ Colour Code : set unset ] [ Legend : (U) Col 1 - Current USE flags ] [ : (I) Col 2 - Installed With USE flags ] Traceback (most recent call last): File "/usr/bin/etcat", line 670, in ? main() File "/usr/bin/etcat", line 666, in main function(query, matches) File "/usr/bin/etcat", line 357, in uses used = p.get_use_vars().split() AttributeError: Package instance has no attribute 'get_use_vars' # etcat -u xorg-x11 [ Colour Code : set unset ] [ Legend : (U) Col 1 - Current USE flags ] [ : (I) Col 2 - Installed With USE flags ] Traceback (most recent call last): File "/usr/bin/etcat", line 670, in ? main() File "/usr/bin/etcat", line 666, in main function(query, matches) File "/usr/bin/etcat", line 357, in uses used = p.get_use_vars().split() AttributeError: Package instance has no attribute 'get_use_vars' This happens with gentoolkit-0.2.0_pre8-r1 and 0.2.0_pre10-r1 and some other versions I've cared to try out. This also happens with multiple versions of portage. Both xorg-x11 and eog are installed in my system. With packages that are not installed, I never get anything else than # etcat -u libffi [ Colour Code : set unset ] [ Legend : (U) Col 1 - Current USE flags ] [ : (I) Col 2 - Installed With USE flags ] # etcat -u xfree [ Colour Code : set unset ] [ Legend : (U) Col 1 - Current USE flags ] [ : (I) Col 2 - Installed With USE flags ] Reproducible: Always Steps to Reproduce: 1. Type "etcat -u" and the name of an installed package 2. 3. Portage 2.0.51-r3 (default-linux/x86/2004.0, gcc-3.3.4, glibc-2.3.4.20041102-r0, 2.6.8.1 i686) ================================================================= System uname: 2.6.8.1 i686 Pentium III (Coppermine) Gentoo Base System version 1.4.16 distcc 2.18 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] Autoconf: sys-devel/autoconf-2.59-r5 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.15.92.0.2-r1 Headers: sys-kernel/linux26-headers-2.6.8.1-r1 Libtools: sys-devel/libtool-1.5.2-r7 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-Os -mcpu=pentium3 -pipe" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3 /env /usr/kde/ 3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /us r/lib/mozilla/defaults/pref /usr/share/ config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-Os -mcpu=pentium3 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache distlocks sandbox sfperms" GENTOO_MIRRORS="http://trumpetti.atm.tut.fi/gentoo/ ftp://trumpetti.atm.tut.fi/g entoo/" MAKEOPTS="-j3 -s" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="X alsa apm arts avi berkdb bitmap-fonts bonobo crypt cups encode esd f77 fa m flac foomaticdb fortran gdbm gif gimpprint gnome gphoto2 gpm gstreamer gtk gtk 2 gtkhtml guile imagemagick imlib jack java jpeg jpg junit kde ladcca libg++ lib www mad mikmod mmx motif mozilla mpeg nas ncurses nls nptl objc oggvorbis opengl oss pam pdflib perl png ppds python qt quicktime readline samba sdl slang spell sse ssl svga tcltk tcpd tiff truetype wmf x86 xml xml2 xmms xv zlib"
I get this too, but only on systems that were upgraded to portage 2.0.51.
Created attachment 45714 [details, diff] Fixes call to get_use_vars that was renamed to get_use_flags This small change should fix it.
*** Bug 74546 has been marked as a duplicate of this bug. ***
I was also having this problem, and I can confirm that the above patch fixes it.
The patch also fixed it for me
Kimmo, please don't close bug reports until fixes are available through portage. I have provided a patch, but it still has to be checked into the archive by the gentoolkit developers.
can confirm this issue with gentoolkit-0.2.0
*** Bug 80606 has been marked as a duplicate of this bug. ***
fixed in 0.2.1_pre1. Sorry for the long delay.