Compilatio of dev-java/commons-code fails immediately if python was emerged with USE='-xml'.
No info given so assuming duplicate. *** This bug has been marked as a duplicate of bug 261218 ***
It is a similar error message, but apparently the fix of bug 261218 did not fix it for this package: For javatoolkit, it suffices that celementtree is installed, but although dev-python/celementtree is installed here, there is (at least with dev-lang/python-2.5.4-r2[-xml]): Traceback (most recent call last): File "/usr/lib64/javatoolkit/bin/build-xml-rewrite", line 4, in <module> import xml.etree.cElementTree as et File "/usr/lib64/python2.5/xml/etree/cElementTree.py", line 3, in <module> from _elementtree import * ImportError: No module named _elementtree
(In reply to comment #2) > > Traceback (most recent call last): > File "/usr/lib64/javatoolkit/bin/build-xml-rewrite", line 4, in <module> > import xml.etree.cElementTree as et > File "/usr/lib64/python2.5/xml/etree/cElementTree.py", line 3, in <module> > from _elementtree import * > ImportError: No module named _elementtree > bug 261218 reopened fixing this issue belongs there. *** This bug has been marked as a duplicate of bug 261218 ***