Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 45734 - emerge rsync results in KeyError
Summary: emerge rsync results in KeyError
Status: RESOLVED CANTFIX
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Dependencies (show other bugs)
Hardware: x86 Linux
: High critical
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-25 12:20 UTC by Kaleb Pederson
Modified: 2004-04-12 18:17 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 Kaleb Pederson 2004-03-25 12:20:39 UTC
emerge rsync 
...
Traceback (most recent call last):
  File "/usr/bin/emerge", line 2267, in ?
    mymatches=portage.portdb.xmatch("match-all",x)
  File "/usr/lib/portage/pym/portage.py", line 4705, in xmatch
    myval=match_from_list(mydep,self.cp_list(mykey))
  File "/usr/lib/portage/pym/portage.py", line 3539, in match_from_list
    raise KeyError, "Specific key requires an operator (%s) (try adding an '=')" % (mydep)
KeyError: "Specific key requires an operator (app-doc/ebook-gtk-2.0) (try adding an '=')"


Reproducible: Always
Steps to Reproduce:

Actual Results:  
 


root@kinux kibab # emerge --info 
Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.6.1) 
================================================================= 
System uname: 2.6.1 i686 Pentium III (Coppermine) 
Gentoo Base System version 1.4.3.13 
ccache version 2.3 [enabled] 
Autoconf: sys-devel/autoconf-2.58-r1 
Automake: sys-devel/automake-1.7.7 
ACCEPT_KEYWORDS="x86" 
AUTOCLEAN="yes" 
CFLAGS="-O3 -march=pentium3 -fprefetch-loop-arrays -funroll-loops -pipe" 
CHOST="i686-pc-linux-gnu" 
COMPILER="gcc3" 
CONFIG_PROTECT="/etc /etc/tomcat /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.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 -fprefetch-loop-arrays -funroll-loops -pipe" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoaddcvs ccache sandbox" 
GENTOO_MIRRORS="http://mirror.cpsc.ucalgary.ca/mirror/gentoo.org 
http://www.gtlib.cc.gatech.edu/pub/gentoo 
http://open-systems.ufl.edu/mirrors/gentoo 
http://gentoo.chem.wisc.edu/gentoo/" 
MAKEOPTS="-j2" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="/usr/portage.local" 
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage" 
USE="3dnow X alsa apache2 apm arts avi berkdb bonobo cdr crypt cups directfb 
doc dvd encode esd foomaticdb gdbm gif gnome gpm gtk gtk2 imlib innodb java 
jpeg junit kde kerberos ldap libg++ libwww mad mikmod mmx motif mozilla mpeg 
mysql ncurses nls odbc oggvorbis opengl oss pam pdflib perl png postgres 
python qt quicktime readline samba scanner sdk sdl slang spell sse ssl svga 
tcltk tcpd tetex thread truetype usb wmf x86 xml xml2 xmms xv zlib"
Comment 1 Kaleb Pederson 2004-03-25 12:22:09 UTC
This one is similar to 41400 BTW, but given the age of that bug, I don't think it has been taken care of.
Comment 2 Marius Mauch (RETIRED) gentoo-dev 2004-03-25 14:49:44 UTC
Please run `grep -r app-doc/ebook-gtk-2.0 /var/cache/edb /etc/portage /usr/local/portage`
Comment 3 Kaleb Pederson 2004-03-25 22:24:55 UTC
root@kinux kibab # grep -r app-doc/ebook-gtk-2.0 /var/cache/edb /etc/portage /usr/local/portage
/var/cache/edb/eclass.pickle:aS'app-doc/ebook-gtk-2.0-r1'
grep: /etc/portage: No such file or directory
grep: /usr/local/portage: No such file or directory
Comment 4 Masatomo Nakano (RETIRED) gentoo-dev 2004-04-09 12:13:35 UTC
Hello Kaleb,

The problem happens yet?

If so, can try this command?
# PORTDIR_OVERLAY="" emerge sync
Comment 5 Kaleb Pederson 2004-04-09 23:11:08 UTC
The problem disappeared after I did my next rsync.  The sync itself was working it was the computations after the sync that caused it to die.

I verified that I had nothing in PORTDIR_OVERLAY related to that ebuild, as I guessed that was the intent of the command the previous poster listed (even though he didn't grab my PORTDIR_OVERLAY from the emerge info).

These were what I had (and still have) in PORTDIR_OVERLAY
./net-www/tomcat/tomcat-4.1.29.ebuild (and supporting files)
./net-fs/samba/samba-3.0.1.ebuild (and supporting files)
./dev-python/yappy/yappy-1.2.1.ebuild (and supporting files)

None of the above reference any gnome particulars.

I generally don't need to do many custom ebuilds, so my ebuilds shouldn't have been related to the problem.  I haven't changed them since before the sync that caused the problem, nor have I changed them since...
Comment 6 Nicholas Jones (RETIRED) gentoo-dev 2004-04-12 18:17:12 UTC
That's an extremely weird place for that error message and I
can only imagine it being caused by something very oddly named in
the portage tree... like 'ebook-gtk-2.0-2.0.ebuild'

That particular traceback is not recoverable and won't be "fixed".