Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 39798 - portage 2.0.50_pre20 breaks gentoolkit (etcat)
Summary: portage 2.0.50_pre20 breaks gentoolkit (etcat)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High major
Assignee: Portage Tools Team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2004-01-29 14:10 UTC by Jake Hamby
Modified: 2004-02-06 16:47 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jake Hamby 2004-01-29 14:10:16 UTC
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"
Comment 1 solar (RETIRED) gentoo-dev 2004-01-29 14:18:13 UTC
Try again with app-portage/gentoolkit-dev please. 
I think this is known and expected behavior and chances are this bug is invalid.
Comment 2 Jake Hamby 2004-01-30 13:57:05 UTC
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.
Comment 3 Marius Mauch (RETIRED) gentoo-dev 2004-01-30 14:31:33 UTC
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.
Comment 4 Marius Mauch (RETIRED) gentoo-dev 2004-01-30 14:32:21 UTC
Forgot to say: pre4 and lower should be ok.
Comment 5 Marius Mauch (RETIRED) gentoo-dev 2004-02-06 16:47:55 UTC
pre6 is out now