During compilation of dev-java/commons-codec-1.3-r2 I get this error: cElementTree rewriter Traceback (most recent call last): File "/usr/lib/javatoolkit/bin/build-xml-rewrite", line 4, in <module> import xml.etree.cElementTree as et File "/usr/lib/python2.5/xml/etree/cElementTree.py", line 3, in <module> from _elementtree import * ImportError: No module named _elementtree The compilation fails because the package requires python's library: _elementtree.so, which is provided by package dev-lang/python with USE 'xml' enabled (see bug 235650); the problem here is the ebuild of dev-java/commons-codec that do not check dependencies USE, so I have made a little enhancements to the ebuild (see attachment). Please review my ebuild patch, I hope it will be useful. p.s.: fixed also copyright header and use EAPI2 syntax; Reproducible: Always
Created attachment 194969 [details, diff] commons-codec-1.3-r2.ebuild.patch
*** This bug has been marked as a duplicate of bug 261218 ***