Running 'glsa-check --list' when one does not have dev-python/pyxml emerged will result in no GLSAs being displayed. glsa-check does not report an error, and exits with a return value of 0 (success). Furthermore, with dev-python/PyXML-0.7.1, 'glsa-check --list' bombs out with this error message: File "/usr/lib/python2.2/site-packages/_xmlplus/sax/expatreader.py", line 232, in reset self._parser = expat.ParserCreate(None, " ", intern = self._interning) TypeError: 'intern' is an invalid keyword argument for this function I was able to resolve this by upgrading to dev-python/pyxml-0.8.3, and later tested dev-python/pyxml-0.8.1 and found that it worked, as well. Therefore, I recommend the following patch to app-portage/gentoolkit-0.2.0_pre8.ebuild.
Created attachment 29096 [details, diff] Adds >=dev-python/pyxml-0.8.1 dependency
Any chance you could try to update python to 2.3 ? glsa-check should work just as fine without pyxml. I've seen one other report about strange things with glsa-check and python-2.2, so maybe the xml code has changed in subtle ways between 2.2 and 2.3.
I unmerged PyXML, emerged dev-lang/python-2.3.3, ran /usr/sbin/python-updater, then unmerged Python 2.2. 'glsa-check -l' works properly. That just leaves us with the question of what exactly the dependencies of gentoolkit should be.
well, I'm not so much worried about gentoolkit deps as about future portage deps as glsa-check will disappear in a few weeks and glsa.py will move to portage.
*** Bug 48756 has been marked as a duplicate of this bug. ***
*** Bug 48593 has been marked as a duplicate of this bug. ***
added a check for python-2.3 in glsa.py and made gentoolkit-0.2.0_rc1 depending on that version, problems caused by pyxml are supposed to go away by remerging it.