>>> Messages generated by process 7567 on 2010-01-05 22:45:24 EET for package dev-java/ant-core-1.7.1-r4: ERROR: prepare If the output above contains: ImportError: /usr/lib/python2.4/site-packages/_xmlplus/parsers/pyexpat.so: undefined symbol: PyUnicodeUCS2_DecodeUTF8 Try re-emerging dev-python/pyxml ERROR: dev-java/ant-core-1.7.1-r4 failed. Call stack: ebuild.sh, line 49: Called src_prepare environment, line 4431: Called java-ant_bsfix_one 'build.xml' environment, line 2351: Called java-ant_bsfix_files 'build.xml' environment, line 2332: Called _bsfix_die 'xml-rewrite2 failed: build.xml' environment, line 320: Called die The specific snippet of code: die ${1} " Look at the eerror message above"; The die message: xml-rewrite2 failed: build.xml Look at the eerror message above If you need support, post the topmost build error, and the call stack if relevant. A complete build log is located at '/var/tmp/portage/dev-java/ant-core-1.7.1-r4/temp/build.log'. The ebuild environment file is located at '/var/tmp/portage/dev-java/ant-core-1.7.1-r4/temp/environment'. Reproducible: Always Steps to Reproduce: 1. eselect python set 1 [ie 2.5] 2. emerge javatoolkit 3. unmerge pyxml from python 4. swap over to another python : eselect python set 2 5. install pyxml 5. try emerging anything that needs pyxml [ie dev-java/ant-core] the build fails because javatoolkit pinpoints to the python2.5 pyxml libs instead of the actual ones. Actual Results: Build fails Expected Results: Build normally an example of the failure: >>> Messages generated by process 7567 on 2010-01-05 22:45:24 EET for package dev-java/ant-core-1.7.1-r4: ERROR: prepare If the output above contains: ImportError: /usr/lib/python2.4/site-packages/_xmlplus/parsers/pyexpat.so: undefined symbol: PyUnicodeUCS2_DecodeUTF8 Try re-emerging dev-python/pyxml ERROR: dev-java/ant-core-1.7.1-r4 failed. Call stack: ebuild.sh, line 49: Called src_prepare environment, line 4431: Called java-ant_bsfix_one 'build.xml' environment, line 2351: Called java-ant_bsfix_files 'build.xml' environment, line 2332: Called _bsfix_die 'xml-rewrite2 failed: build.xml' environment, line 320: Called die The specific snippet of code: die ${1} " Look at the eerror message above"; The die message: xml-rewrite2 failed: build.xml Look at the eerror message above If you need support, post the topmost build error, and the call stack if relevant. A complete build log is located at '/var/tmp/portage/dev-java/ant-core-1.7.1-r4/temp/build.log'. The ebuild environment file is located at '/var/tmp/portage/dev-java/ant-core-1.7.1-r4/temp/environment'.
the suggestion of the build is misguiding: if you have pyxml installed in your system this can be solved by reemerging the javatoolkit
python-updater :)