Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 47528 - metabug: glsa-check / python-2.2 / pyxml problems
Summary: metabug: glsa-check / python-2.2 / pyxml problems
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Tools (show other bugs)
Hardware: All All
: High major (vote)
Assignee: Portage Tools Team
URL:
Whiteboard:
Keywords:
: 48593 48756 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-04-11 11:12 UTC by Josh Glover (RETIRED)
Modified: 2004-12-08 03:39 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Adds >=dev-python/pyxml-0.8.1 dependency (gentoolkit-0.2.0_pre8.ebuild.pyxml.patch,357 bytes, patch)
2004-04-11 11:22 UTC, Josh Glover (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Josh Glover (RETIRED) gentoo-dev 2004-04-11 11:12:41 UTC
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.
Comment 1 Josh Glover (RETIRED) gentoo-dev 2004-04-11 11:22:23 UTC
Created attachment 29096 [details, diff]
Adds >=dev-python/pyxml-0.8.1 dependency
Comment 2 Marius Mauch (RETIRED) gentoo-dev 2004-04-12 00:20:23 UTC
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.
Comment 3 Josh Glover (RETIRED) gentoo-dev 2004-04-12 05:26:57 UTC
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.
Comment 4 Marius Mauch (RETIRED) gentoo-dev 2004-04-12 13:30:13 UTC
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.
Comment 5 Marius Mauch (RETIRED) gentoo-dev 2004-08-21 11:55:33 UTC
*** Bug 48756 has been marked as a duplicate of this bug. ***
Comment 6 Marius Mauch (RETIRED) gentoo-dev 2004-08-21 11:55:51 UTC
*** Bug 48593 has been marked as a duplicate of this bug. ***
Comment 7 Marius Mauch (RETIRED) gentoo-dev 2004-12-08 03:39:47 UTC
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.