Summary: | dev-java/ant-core-1.7.1-r2 fails to build with dev-lang/python:2.6 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Arfrever Frehtes Taifersar Arahesis (RETIRED) <arfrever> |
Component: | [OLD] Java | Assignee: | Java team <java> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | python, spatz |
Priority: | Highest | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 230205 |
Description
Arfrever Frehtes Taifersar Arahesis (RETIRED)
2008-11-14 21:46:53 UTC
This is a more general problem that exists with many packages, and is somehow associated with pyxml. I solve this for every package that exhibits this issue by removing pyxml, emerging the troubling package and re-emerging pyxml. (In reply to comment #1) > This is a more general problem that exists with many packages, and is > somehow associated with pyxml. Python 2.6 more aggresively wants to compile .py files. dev-python/pyxml installs many .py files in /usr/lib/python2.6/site-packages/_xmlplus, but only small amount of them is compiled/optimized: $ find /usr/lib/python2.6/site-packages/_xmlplus -name '*.py' | wc -l 192 $ find /usr/lib/python2.6/site-packages/_xmlplus -name '*.pyc' | wc -l 16 $ find /usr/lib/python2.6/site-packages/_xmlplus -name '*.pyo' | wc -l 16 $ python.eclass runs python_disable_pyc in global scope which exports PYTHONDONTWRITEBYTECODE=1. 'DeprecationWarning: the sets module is deprecated' not in issues.apache.org It's not specific to ant-core, it's java-config. Does it mean the java-pkg-2 eclass should inherit python eclass or what? Has anyone actually ran python-updater after updating to python 2.6 (In reply to comment #5) > Has anyone actually ran python-updater after updating to python 2.6 > I built =dev-java/ant-core-1.7.1-r2 without issue today with =dev-lang/python-2.6.2. 'eselect python list' gives me: Available python interpreters: [1] python2.5 [2] python2.6 * This was during an 'emerge -ev system && emerge -ev world' after upgrading gcc, so results may vary. I figure I built it yesterday too, when I ran 'emerge -uvDN world' followed by 'python-updater -i'. Python please advise. I think it's something that you fixed already? This bug is pseudo-fixed. I will suggest proper solution later. |