Summary: | "equery files" says internal error when including the version of hotplug | ||
---|---|---|---|
Product: | Portage Development | Reporter: | Adam <richard.adam> |
Component: | Tools | Assignee: | Portage Tools Team <tools-portage> |
Status: | RESOLVED FIXED | ||
Severity: | minor | CC: | chkno, johannes, kogorman, ziga.boehm |
Priority: | High | Keywords: | InVCS |
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Adam
2005-01-04 12:32:14 UTC
Not specific to hotplug, or to packages in general. "foo-1.0" gives the same result. Not specific to files command. Triggered for all of: check, depgraph, files, size, uses. (notable exception: list) Confirmed. I just emerged gentoolkit v0.2.0 today and can reproduce the problem with the "depgraph" option : $ equery depgraph gentoo-sources-2.4.26-r14 [ Searching for packages matching gentoo-sources-2.4.26-r14... ] !!! Internal portage error, terminating Traceback (most recent call last): File "/usr/bin/equery", line 1565, in ? print_error(e) File "/usr/lib/gentoolkit/pym/gentoolkit/pprinter.py", line 14, in print_error sys.stderr.write(output.red("!!! ") + s + "\n") TypeError: cannot concatenate 'str' and 'instance' objects $ emerge info Gentoo Base System version 1.4.16 Portage 2.0.51-r3 (default-linux/x86/2004.0, gcc-3.3.4, glibc-2.3.4.20040808-r1, 2.4.22 i686) ================================================================= System uname: 2.4.22 i686 Celeron (Coppermine) distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.59-r5 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.15.90.0.1.1-r3 Headers: sys-kernel/linux-headers-2.4.19-r1,sys-kernel/linux-headers-2.4.21-r1 Libtools: sys-devel/libtool-1.4.3-r4,sys-devel/libtool-1.5.2-r7 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O3 -march=pentium3 -funroll-loops -pipe" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /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/terminfo /etc/env.d" CXXFLAGS="-O3 -march=pentium3 -funroll-loops -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms userpriv usersandbox" GENTOO_MIRRORS="ftp://gentoo.ccccom.com ftp://sunsite.ualberta.ca/pub/unix/Linux/gentoo/ ftp://ftp.isu.edu.tw/pub/Linux/Gentoo ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X Xaw3d aalib acl apm avi berkdb bitmap-fonts crypt cups dga directfb emacs encode esd fam foomaticdb fortran gd gdbm gif gnome gpm gstreamer gtk gtk2 gtkhtml imap imlib ipv6 java joystick jpeg ldap libg++ libwww mad mikmod mmx motif mozilla mpeg mule ncurses nls oggvorbis opengl oss pam pcmcia pdflib perl plotutils png python quicktime readline samba scanner sdl slang spell sse ssl svga tcpd tetex tiff truetype trusted unicode usb x86 xml xml2 xmms xv zlib" equery needs a check so when using version you have to use a =. If not using the = equery should complain like emerge does. Hmm, it seems like the best approach would be to use the same code to parse the parameters that emerge uses, and link it to both programs or something to ensure that the 2 programs don't behave differently in that respect. Fixed with gentoolkit-0.2.1* *** Bug 115793 has been marked as a duplicate of this bug. *** Fix is in gentoolkit-0.2.1 *** Bug 124101 has been marked as a duplicate of this bug. *** |