Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 64353 - glsa-check / portage Unicode problems
Summary: glsa-check / portage Unicode problems
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Tools (show other bugs)
Hardware: All Linux
: High critical (vote)
Assignee: Portage Tools Team
URL:
Whiteboard:
Keywords: InVCS
: 65106 65161 65241 66500 67064 68836 70109 74632 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-09-16 23:14 UTC by Nathan Sullivan
Modified: 2004-12-16 11:54 UTC (History)
11 users (show)

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 Nathan Sullivan 2004-09-16 23:14:19 UTC
when running glsa-check -p all, glsa-check usually goes through finds any glsa's you are affected by and displays ways to fix (update this app/lib, etc). In this case, it seems to fail during its search. Before my last emerge sync, this worked fine, and for the GLSA 200407-12, it would tell me update my kernel. During my last emerge i sync'd the ebuild of ck-sources-2.6.8.1-r7, previously i had like r4 or something in portage. I am still running ck-sources-2.6.7 as my running kernel for now. also portage was just updated I think (i usually emerge -u world once a week or so).

Reproducible: Always
Steps to Reproduce:
1. glsa-check -p all
2.
3.

Actual Results:  
Checking GLSA 200407-11
Nothing to do for this GLSA

**********************************************************************

Checking GLSA 200407-12
auxdb exception: [/usr/portage::sys-kernel/ck-sources-2.6.8.1-r7]: u'No key
provided. key: ck-sources-2.6.8.1-r7'
Traceback (most recent call last):
  File "/usr/bin/glsa-check", line 174, 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/sys-kernel/ck-sources/ck-sources-2.6.8.1-r7.ebuild'

Expected Results:  
Success, with results displayed.

Portage 2.0.51_rc1 (default-x86-2004.0, gcc-3.4.1, glibc-2.3.4.20040808-r0,
2.6.7-ck5 i686)
=================================================================
System uname: 2.6.7-ck5 i686 Intel(R) Pentium(R) 4 CPU 2.00GHz
Gentoo Base System version 1.5.3
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/linux-headers-2.4.22
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.3/share/config:/usr/kde/3.3/env:/usr/kde/3.3/shutdown
/usr/kde/3/share/config /usr/share/config /var/bind /var/qmail/alias
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://public.planetmirror.com/pub/gentoo
http://mirror.gentoo.gr.jp ftp://gg3.net/pub/linux/gentoo
http://ftp-mirror.internap.com/pub/gentoo ftp://gentoo.agsn.ca/"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acpi aim alsa apm arts artswrappersuid avi berkdb bitmap-fonts cdr crypt
cups curl dvd dvdr encode ethereal fam foomaticdb gd gdbm gif gpm gtk gtk2 icq
imap imlib innodb ipv6 jabber jpeg kde ldap libg++ libwww mad mcal mikmod mmx
motif mozilla mpeg mysql ncurses nls oggvorbis opengl oss pam pdflib perl png
postgres python qt quicktime readline samba sdl slang snmp spell sse ssl svga
tcltk tcpd tiff truetype x86 xinerama xml2 xmms xprint xv yahoo zlib"
Comment 1 jack_mort 2004-09-21 14:32:54 UTC
Same "problem" here !

Portage 2.0.51_rc1 (default-linux/amd64/gcc34-2004.2, gcc-3.4.1, glibc-2.3.4.20040918-r0, 2.6.8-gentoo-r4 x86_64)
=================================================================
System uname: 2.6.8-gentoo-r4 x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.5.3
ccache version 2.3 [enabled]
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.7-r4
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CFLAGS="-march=athlon64 -O2 -pipe -ftracer -fweb -momit-leaf-frame-pointer -fweb -frename-registers -fno-asynchronous-unwind-tables"
CHOST="x86_64-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 /var/qmail/control"CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon64 -O2 -pipe -ftracer -fweb -momit-leaf-frame-pointer -fweb -frename-registers -fno-asynchronous-unwind-tables"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache"
GENTOO_MIRRORS="http://ftp.easynet.nl/mirror/gentoo/ http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://gentoo.inode.at/ http://mirrors.sec.informatik.tu-darmstadt.de/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 acpi alsa amd64 audiofile avi bitmap-fonts cdr crypt cups dedicated dga dvd dvdr encode esd fam flac foomaticdb gif gnome gtk gtk2 imlib java jpeg mad matroska mikmod mozilla mpeg multilib ncurses nls nptl oggvorbis opengl oss pam pdflib perl png python quicktime readline samba sdl slang spell ssl tcpd tiff truetype unicode wmf xml2 xprint xv zlib"
Comment 2 Evgeny Stambulchik 2004-09-22 07:39:17 UTC
See http://bugs.gentoo.org/show_bug.cgi?id=64601
Comment 3 Marius Mauch (RETIRED) gentoo-dev 2004-10-06 02:44:44 UTC
The problem is that the python XML code returns Unicode which portage doesn't like. I plan to release a fixed version later this week.
Comment 4 Marius Mauch (RETIRED) gentoo-dev 2004-10-06 02:49:30 UTC
*** Bug 66500 has been marked as a duplicate of this bug. ***
Comment 5 Marius Mauch (RETIRED) gentoo-dev 2004-10-06 02:50:12 UTC
*** Bug 65241 has been marked as a duplicate of this bug. ***
Comment 6 Thierry Carrez (RETIRED) gentoo-dev 2004-10-10 05:29:49 UTC
*** Bug 65161 has been marked as a duplicate of this bug. ***
Comment 7 Thierry Carrez (RETIRED) gentoo-dev 2004-10-10 07:46:55 UTC
*** Bug 65106 has been marked as a duplicate of this bug. ***
Comment 8 Marius Mauch (RETIRED) gentoo-dev 2004-10-10 15:57:37 UTC
should be fixed in gentoolkit-0.2.0_pre10
Comment 9 Marius Mauch (RETIRED) gentoo-dev 2004-10-11 03:24:59 UTC
*** Bug 67064 has been marked as a duplicate of this bug. ***
Comment 10 Marius Mauch (RETIRED) gentoo-dev 2004-10-25 11:07:09 UTC
*** Bug 68836 has been marked as a duplicate of this bug. ***
Comment 11 Roman Gaufman 2004-10-26 04:32:13 UTC
So let me get this straight, the stable version is broken so people have to use a masked one? -- not much QA there :)
Comment 12 Jason Stubbs (RETIRED) gentoo-dev 2004-10-26 05:27:05 UTC
WARNING: This tool is completely new and not very tested, so it should not be
used on production systems. It's mainly a test tool for the new GLSA release
and distribution system, it's functionality will later be merged into emerge
and equery.

What part of that was misunderstandable?
Comment 13 Roman Gaufman 2004-10-26 05:31:14 UTC
The part that stops you from being able to test it ;) -- if its fixed in a masked version, why not the stable. That remains a complete mistery.
Comment 14 Marius Mauch (RETIRED) gentoo-dev 2004-10-26 15:43:05 UTC
Because pre10 includes other changes as well, including a broken `equery belongs` implementation. And before you say "fix it and make a new release": CVS has even more problems right now.
Comment 15 Roman Gaufman 2004-10-26 16:00:20 UTC
well, ideally critical fixes made to masked should be backported to stable -- just like security patches can be applied on old versions.

I suppose if it were this easy, it would already be done but really this should be quite a high priority. Keeping a critical feature broken for over a month puts a bit of a dent in my gentoo high QA belief -- especially since the bug is fixed in the unstable version.
Comment 16 Marius Mauch (RETIRED) gentoo-dev 2004-10-26 16:32:53 UTC
Well, I'm not too keen on supporting multiple branches for a tool that's clearly marked as experimental.
Comment 17 Marius Mauch (RETIRED) gentoo-dev 2004-11-05 01:22:11 UTC
*** Bug 70109 has been marked as a duplicate of this bug. ***
Comment 18 Roman Gaufman 2004-11-05 02:44:31 UTC
Can we please get this fixed in the stable version :(
Comment 19 Thierry Carrez (RETIRED) gentoo-dev 2004-12-16 07:54:00 UTC
*** Bug 74632 has been marked as a duplicate of this bug. ***