Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 269715

Summary: dev-java/commons-codec should depend on dev-lang/python[xml]
Product: Gentoo Linux Reporter: Martin Väth <martin>
Component: [OLD] JavaAssignee: Java team <java>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Martin Väth 2009-05-13 15:33:02 UTC
Compilatio of dev-java/commons-code fails immediately if python was emerged with USE='-xml'.
Comment 1 Petteri Räty (RETIRED) gentoo-dev 2009-05-13 17:34:56 UTC
No info given so assuming duplicate.

*** This bug has been marked as a duplicate of bug 261218 ***
Comment 2 Martin Väth 2009-05-13 22:40:22 UTC
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
Comment 3 Petteri Räty (RETIRED) gentoo-dev 2009-05-14 08:37:58 UTC
(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 ***