Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 97998 - Equery gives multiple repeat error when plus signs are in package name
Summary: Equery gives multiple repeat error when plus signs are in package name
Status: RESOLVED DUPLICATE of bug 77113
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Tools (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Portage Tools Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-05 05:42 UTC by Jeff Walters
Modified: 2005-07-05 10:13 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 Jeff Walters 2005-07-05 05:42:07 UTC
Running "equery list dev-libs/libsigc++" gives an error stack, apparently due to
the '+' characters in the package name.  Quoting the package name doesn't help.



Reproducible: Always
Steps to Reproduce:
1. Install gentoolkit-0.2.0
2. Run "equery list dev-libs/libsigc++"


Actual Results:  
[ Searching for package 'libsigc++' in 'dev-libs' among: ]
Traceback (most recent call last):
  File "/usr/bin/equery", line 1551, in ?
    cmd.perform(local_opts)
  File "/usr/bin/equery", line 1177, in perform
    rx = re.compile(cat + "/" + name + "-" + ver + "(-" + rev + ")?")
  File "/usr/lib/python2.3/sre.py", line 179, in compile
    return _compile(pattern, flags)
  File "/usr/lib/python2.3/sre.py", line 230, in _compile
    raise error, v # invalid expression
sre_constants.error: multiple repeat



Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5-20050130,
glibc-2.3.4.20041102-r1, 2.6.11.10 i686)
=================================================================
System uname: 2.6.11.10 i686 AMD Duron(tm) Processor
Gentoo Base System version 1.6.12
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Apr 27 2005, 20:16:17)]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5
sys-apps/sandbox:    [Not Present]
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.9.5, 1.6.3
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.16
virtual/os-headers:  2.6.8.1-r4
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=athlon-tbird -pipe -fomit-frame-pointer"
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
/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="-O2 -march=athlon-tbird -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowex X Xaw3d aalib alsa apache2 apm arts avi berkdb
bitmap-fonts bonobo cdr crypt cups curl directfb eds emacs emboss encode esd fam
flac foomaticdb fortran gd gdbm gif gimpprint gnome gphoto2 gpm gstreamer gtk
gtk2 gtkhtml guile ieee1394 imagemagick imlib ipv6 java jikes jpeg junit kde
kqemu ldap libg++ libwww mad mikmod mmx mmx2 mozcalendar mozilla mozsvg mp3 mpeg
nas ncurses nls nntp nptl nptlonly ogg oggvorbis opengl oss pam pda pdflib perl
png ppds python qt quicktime quotes readline real samba scanner sdl silc slang
softmmu spell ssl svg svga tcltk tcpd tetex threads tiff truetype truetype-fonts
type1-fonts unicode usb userlocales vorbis wmf xine xml xml2 xmms xprint xv xvid
zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 1 Paul Varner (RETIRED) gentoo-dev 2005-07-05 10:13:39 UTC
The following command will do what you want.

equery list dev-libs/libsigc\\+\\+

*** This bug has been marked as a duplicate of 77113 ***