After upgrading to portage 2.0.50_pre20, the /usr/bin/etcat command from gentoolkit 0.2.0_pre5 is now broken. portage 2.0.50_pre21 is also broken. $ etcat -b /bin/ls Traceback (most recent call last): File "/usr/bin/etcat", line 664, in ? main() File "/usr/bin/etcat", line 660, in main function(query, matches) TypeError: belongs() takes exactly 1 argument (2 given) $ etcat -f udev Traceback (most recent call last): File "/usr/bin/etcat", line 664, in ? main() File "/usr/bin/etcat", line 660, in main function(query, matches) TypeError: files() takes exactly 1 argument (2 given) $ etcat -s mozilla Traceback (most recent call last): File "/usr/bin/etcat", line 664, in ? main() File "/usr/bin/etcat", line 660, in main function(query, matches) TypeError: size() takes exactly 1 argument (2 given) emerge info is: Portage 2.0.50_pre21 (default-x86-1.4, gcc-3.3.2, glibc-2.3.3_pre20040117-r0, 2.6.1-gentoo-r1) ================================================================= System uname: 2.6.1-gentoo-r1 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz Gentoo Base System version 1.4.3.12 Autoconf: sys-devel/autoconf-2.59 Automake: sys-devel/automake-1.7.8 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-O3 -march=pentium4 -funroll-loops -fprefetch-loop-arrays -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-O3 -march=pentium4 -funroll-loops -fprefetch-loop-arrays -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="ftp://gentoo.oregonstate.edu/pub/gentoo http://www.gtlib.cc.gatech.edu/pub/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X Xaw3d aalib alsa apache2 apm arts avi berkdb bidi blender-game bonobo cdr crypt cups curl dga doc dvd dvdr emacs encode esd evo foomaticdb gb gd gdbm gif gnome gphoto2 gpm gtk gtk2 imap imlib innodb java jikes joystick jpeg junit kde ldap libg++ libwww mad mbox mcal memlimit mikmod mmx motif mozilla mpeg mysql ncurses nls nocd nptl oggvorbis opengl oss pam pcmcia pda pdflib perl png pnp ppds python qt quicktime readline samba sdl slang spell sse sse2 ssl svga tcltk tcpd tetex tiff truetype unicode usb videos x86 xml xml2 xmms xv zlib"
Try again with app-portage/gentoolkit-dev please. I think this is known and expected behavior and chances are this bug is invalid.
I emerged gentoolkit-dev, but it only added /usr/bin/ekeyword and /usr/bin/echangelog and didn't fix the behavior of /usr/bin/etcat.
Sorry, my mistake: I cleaned the code a little bit in etcat and forgot to change the belongs(), size() and files() functions. Will be fixed in pre6.
Forgot to say: pre4 and lower should be ok.
pre6 is out now