| Summary: | dev-python/pyxml-0.8.4-r1 caused build errors with iso-codes, wlassistant and jedit | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Ján Bednár <jan.bednar> |
| Component: | Current packages | Assignee: | Gentoo Linux Gnome Desktop Team <gnome> |
| Status: | RESOLVED NEEDINFO | ||
| Severity: | normal | CC: | spatz |
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | x86 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
|
Description
Ján Bednár
2008-09-26 07:50:57 UTC
which version of expat do you have ? (In reply to comment #1) > which version of expat do you have ? > I have dev-libs/expat-2.0.1 Hi,
I have runned emerge -e world and found 3 packages with similar errors:
1. app-text/iso-codes-3.2
./iso3166tab.py iso_3166.xml > iso_3166.tab.new
Traceback (most recent call last):
File "./iso3166tab.py", line 45, in <module>
p = make_parser()
File "/usr/lib/python2.5/site-packages/_xmlplus/sax/sax2exts.py", line 37, in make_parser
return XMLParserFactory.make_parser(parser_list)
File "/usr/lib/python2.5/site-packages/_xmlplus/sax/saxexts.py", line 75, in make_parser
sys.modules[parser_name].create_parser = _create_parser
KeyError: 'xml.sax.drivers2.drv_pyexpat'
make[2]: *** [iso_3166.tab] Error 1
make[2]: Leaving directory `/var/tmp/portage/app-text/iso-codes-3.2/work/iso-codes-3.2/iso_3166'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/app-text/iso-codes-3.2/work/iso-codes-3.2/iso_3166'
make: *** [install-recursive] Error 1
2. net-wireless/wlassistant-0.5.7:
Checking for the qt includes : ok /usr/qt/3/include/
Checking for the kde includes : ok /usr/kde/3.5/include/
scons: Reading SConscript files ...
KeyError: 'xml.sax.drivers2.drv_pyexpat':
File "/var/tmp/portage/net-wireless/wlassistant-0.5.7/work/wlassistant-0.5.7/SConstruct", line 29:
env.xmlfile('config.bks')
File "/var/tmp/portage/net-wireless/wlassistant-0.5.7/work/wlassistant-0.5.7/bksys/parser.py", line 135:
parser = make_parser()
File "/usr/lib/python2.5/site-packages/_xmlplus/sax/sax2exts.py", line 37:
return XMLParserFactory.make_parser(parser_list)
File "/usr/lib/python2.5/site-packages/_xmlplus/sax/saxexts.py", line 75:
sys.modules[parser_name].create_parser = _create_parser
make: *** [all] Error 2
3. app-editors/jedit-4.2-r2:
ewriting attributes
Rewriting ./build.xml
Traceback (most recent call last):
File "/usr/lib/javatoolkit/bin/xml-rewrite-3.py", line 240, in <module>
outxml = processActions(options, f)
File "/usr/lib/javatoolkit/bin/xml-rewrite-3.py", line 135, in processActions
out_stream = doRewrite(rewriter, out_stream, rewriter.modify_elements)
File "/usr/lib/javatoolkit/bin/xml-rewrite-3.py", line 95, in doRewrite
rewriter.process(in_stream, callback, **kwargs)
File "/usr/lib/python2.5/site-packages/javatoolkit/xml/SaxRewriter.py", line 130, in process
parseString(in_stream, self)
File "/usr/lib/python2.5/site-packages/_xmlplus/sax/__init__.py", line 41, in parseString
parser = make_parser()
File "/usr/lib/python2.5/site-packages/_xmlplus/sax/sax2exts.py", line 37, in make_parser
return XMLParserFactory.make_parser(parser_list)
File "/usr/lib/python2.5/site-packages/_xmlplus/sax/saxexts.py", line 75, in make_parser
sys.modules[parser_name].create_parser = _create_parser
KeyError: 'xml.sax.drivers2.drv_pyexpat'
I have dev-libs/expat-2.0.1 installed.
so is anyone going to try: 1) a newer expat 2) a newer XML-SAX expat-2.0.1-r1 is supposed to have a fix for its python bindings iirc so you might want to test it. Hi, I have found a solution for this bug. Downgrading dev-python/pyxml from 0.8.4-r1 to 0.8.4 have solved build errors for iso-codes, wlassistant and jedit. Can someone verify my results and contact pyxml maintainer? I can confirm this - iso-codes-3.3 would not merge, failing in the installation stage due to access violations while attempting to remove files belonging to pyxml-0.8.4-r1. Removing pyxml allowed iso-codes to merge successfully. I re-emerged pyxml after iso-codes was installed and now everything's fine. please provide answers to comment #4, with/without pyxml-0.8.4-r1 doesn't make any difference on my systems. I have expat-2.0.1-r1 and I don't have XML-SAX installed, yet I have this problem as I said in comment #6. |