dev-java/ant-core-1.7.1-r2 should inherit python eclass to avoid build failure with dev-lang/python:2.6. >>> Unpacking source... >>> Unpacking apache-ant-1.7.1-src.tar.bz2 to /var/tmp/portage/dev-java/ant-core-1.7.1-r2/work >>> Unpacking ant-1.7.1-gentoo.tar.bz2 to /var/tmp/portage/dev-java/ant-core-1.7.1-r2/work removed `lib/xercesImpl.jar' removed `lib/xml-apis.jar' /usr/lib/python2.6/site-packages/java_config_2/EnvironmentManager.py:15: DeprecationWarning: the sets module is deprecated from sets import Set /usr/lib/python2.6/site-packages/java_config_2/EnvironmentManager.py:15: DeprecationWarning: the sets module is deprecated from sets import Set Rewriting attributes ACCESS DENIED unlink: /usr/lib/python2.6/site-packages/_xmlplus/sax/__init__.pyc ACCESS DENIED unlink: /usr/lib/python2.6/site-packages/_xmlplus/sax/xmlreader.pyc ACCESS DENIED unlink: /usr/lib/python2.6/site-packages/_xmlplus/sax/handler.pyc ACCESS DENIED unlink: /usr/lib/python2.6/site-packages/_xmlplus/sax/_exceptions.pyc ACCESS DENIED unlink: /usr/lib/python2.6/site-packages/_xmlplus/sax/sax2exts.pyc ACCESS DENIED unlink: /usr/lib/python2.6/site-packages/_xmlplus/sax/saxexts.pyc ACCESS DENIED unlink: /usr/lib/python2.6/site-packages/_xmlplus/sax/saxlib.pyc ACCESS DENIED unlink: /usr/lib/python2.6/site-packages/_xmlplus/sax/saxutils.pyc Rewriting build.xml ACCESS DENIED unlink: /usr/lib/python2.6/site-packages/_xmlplus/sax/drivers2/__init__.pyc ACCESS DENIED unlink: /usr/lib/python2.6/site-packages/_xmlplus/sax/drivers2/drv_pyexpat.pyc ACCESS DENIED unlink: /usr/lib/python2.6/site-packages/_xmlplus/sax/expatreader.pyc >>> Source unpacked. --------------------------- ACCESS VIOLATION SUMMARY --------------------------- LOG FILE = "/var/log/sandbox/sandbox-2933.log" unlink: /usr/lib/python2.6/site-packages/_xmlplus/sax/__init__.pyc unlink: /usr/lib/python2.6/site-packages/_xmlplus/sax/xmlreader.pyc unlink: /usr/lib/python2.6/site-packages/_xmlplus/sax/handler.pyc unlink: /usr/lib/python2.6/site-packages/_xmlplus/sax/_exceptions.pyc unlink: /usr/lib/python2.6/site-packages/_xmlplus/sax/sax2exts.pyc unlink: /usr/lib/python2.6/site-packages/_xmlplus/sax/saxexts.pyc unlink: /usr/lib/python2.6/site-packages/_xmlplus/sax/saxlib.pyc unlink: /usr/lib/python2.6/site-packages/_xmlplus/sax/saxutils.pyc unlink: /usr/lib/python2.6/site-packages/_xmlplus/sax/drivers2/__init__.pyc unlink: /usr/lib/python2.6/site-packages/_xmlplus/sax/drivers2/drv_pyexpat.pyc unlink: /usr/lib/python2.6/site-packages/_xmlplus/sax/expatreader.pyc --------------------------------------------------------------------------------
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.