Trying to run glsa-check -f all, I get a traceback as follows: fixing 200408-13 auxdb exception: [/usr/portage::kde-base/kdelibs-3.2.0]: u'No key provided. key: kdelibs-3.2.0' Traceback (most recent call last): File "/usr/bin/glsa-check", line 162, in ? mergelist = myglsa.getMergeList() File "/usr/lib/gentoolkit/pym/glsa.py", line 565, in getMergeList self.packages[pkg]["unaff_atoms"]) File "/usr/lib/gentoolkit/pym/glsa.py", line 324, in getMinUpgrade mylist = portage.db["/"]["porttree"].dbapi.match(u) File "/usr/lib/portage/pym/portage.py", line 5118, in match return self.xmatch("match-visible",mydep) File "/usr/lib/portage/pym/portage.py", line 5105, in xmatch myval=match_from_list(mydep,self.xmatch("list-visible",None,mydep=mydep,mykey=mykey)) File "/usr/lib/portage/pym/portage.py", line 5091, in xmatch myval=self.gvisible(self.visible(self.cp_list(mykey))) File "/usr/lib/portage/pym/portage.py", line 5189, in gvisible myaux=db["/"]["porttree"].dbapi.aux_get(mycpv, ["KEYWORDS"]) File "/usr/lib/portage/pym/portage.py", line 4916, in aux_get myret=doebuild(myebuild,"depend","/",self.mysettings,dbkey=mydbkey) File "/usr/lib/portage/pym/portage.py", line 2118, in doebuild mysettings["EBUILD"] = ebuild_path File "/usr/lib/portage/pym/portage.py", line 1398, in __setitem__ raise ValueError("Invalid type being used as a value: '%s': '%s'" % (str(mykey),str(myvalue))) ValueError: Invalid type being used as a value: 'EBUILD': '/usr/portage/kde-base/kdelibs/kdelibs-3.2.0.ebuild' self.configdict["env"][mykey]=myvalue Which is from this method: def __setitem__(self,mykey,myvalue): "set a value; will be thrown away at reset() time" if type(myvalue) != types.StringType: raise ValueError("Invalid type being used as a value: '%s': '%s'" % (str(mykey),str(myvalue))) self.modifying() self.modifiedkeys += [mykey] self.configdict["env"][mykey]=myvalue would be useful to use either %r for the formatters and drop the str() calls (so you can see the closer-to-source-code representation. i.e. something like this: raise ValueError("Invalid type %s being used as a value: %r: %r" % ( myvalue.__class__.__name__, mykey,myvalue)) which then gives the message that the type being used for value is "unicode". BTW, IIRC it's now considered proper to use isinstance( value, str ) or isinstance( value, (str,unicode)) for these kinds of checks, though that won't work for Python 1.5.2, so that may be the reason for using the types.StringType comparison. Reproducible: Always Steps to Reproduce: 1. glsa-check -f all Actual Results: Multiple packages report "fixing %date", then traceback from portage.py, seems to be rolling back the changes, as the same dates are reported before the failure each time. Expected Results: Completed successfully. root@raistlin:/home/mcfletch$ emerge info Portage 2.0.51_rc1 (default-amd64-2004.2, gcc-3.3.4, glibc-2.3.4.20040808-r0, 2.6.7-gentoo-r14 x86_64) ================================================================= System uname: 2.6.7-gentoo-r14 x86_64 AMD Athlon(tm) 64 Processor 3000+ Gentoo Base System version 1.4.16 Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.15.90.0.1.1-r3 Headers: sys-kernel/linux26-headers-2.6.6-r1 Libtools: sys-devel/libtool-1.5.2-r5 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CFLAGS="-O2" CHOST="x86_64-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache" GENTOO_MIRRORS="http://gentoo.osuosl.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/home/mcfletch/portagedev" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X aalib alsa amd64 apm arts avi berkdb bitmap-fonts cdr crypt dvd encode esd foomaticdb gdbm gif gpm gtk gtk2 imlib java jpeg kde ldap libg++ libwww mikmod motif mozilla mpeg mysql ncurses nls nogcj oggvorbis opengl oss pam pdflib perl png postgres python qt quicktime readline sdl slang spell ssl tcltk tcpd truetype xml2 xmms xprint xv zlib"
*** This bug has been marked as a duplicate of 64353 ***