Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 269715 - dev-java/commons-codec should depend on dev-lang/python[xml]
Summary: dev-java/commons-codec should depend on dev-lang/python[xml]
Status: RESOLVED DUPLICATE of bug 261218
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Java (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-13 15:33 UTC by Martin Väth
Modified: 2009-05-14 08:37 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***