Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 299805 - dev-java/ant-core (and possibly all packages depending on dev-java/javatoolkit) broken when javatoolkit is getting old
Summary: dev-java/ant-core (and possibly all packages depending on dev-java/javatoolki...
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-05 21:05 UTC by Korkakakis Nikos
Modified: 2010-01-11 14:53 UTC (History)
1 user (show)

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 Korkakakis Nikos 2010-01-05 21:05:30 UTC
>>> 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'.
Comment 1 Korkakakis Nikos 2010-01-05 21:10:38 UTC
the suggestion of the build is misguiding: if you have pyxml installed in your system this can be solved by reemerging the javatoolkit
Comment 2 Patrick Lauer gentoo-dev 2010-01-11 14:53:19 UTC
python-updater :)