Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 229257 - dev-java/commons-cli-1.1 failed with javatoolkit error
Summary: dev-java/commons-cli-1.1 failed with javatoolkit error
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Java (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2008-06-24 18:07 UTC by Arjen Pool
Modified: 2008-06-26 09:28 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 Arjen Pool 2008-06-24 18:07:01 UTC
dev-java/commons-cli-1.1 failed. 

>>> Compiling source in /var/tmp/portage/dev-java/commons-cli-1.1/work/commons-cli-1.1-src ...
/usr/lib/portage/pym/portage_dep.py:39: DeprecationWarning: DEPRECATION NOTICE: The portage_dep module was replaced by portage.dep
/usr/lib/portage/pym/portage_dep.py:39: DeprecationWarning: DEPRECATION NOTICE: The portage_dep module was replaced by portage.dep
Rewriting attributes
Rewriting ./build.xml
Traceback (most recent call last):
  File "/usr/lib/javatoolkit/bin/xml-rewrite-3.py", line 240, in <module>
    outxml = processActions(options, f)
  File "/usr/lib/javatoolkit/bin/xml-rewrite-3.py", line 109, in processActions
    out_stream = doRewrite(rewriter, out_stream, rewriter.add_gentoo_classpath,classpath = newcp)
  File "/usr/lib/javatoolkit/bin/xml-rewrite-3.py", line 100, in doRewrite
    rewriter.write(out)
  File "/usr/lib/python2.5/site-packages/javatoolkit/xml/DomRewriter.py", line 81, in write
    from xml.dom.ext import PrettyPrint
ImportError: No module named ext
 *
 * ERROR: dev-java/commons-cli-1.1 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 3909:  Called java-pkg-2_src_compile
 *             environment, line 2118:  Called eant 'jar' '-f' 'build.xml'
 *             environment, line  799:  Called java-ant_bsfix
 *             environment, line 1959:  Called java-ant_bsfix_files './build.xml'
 *             environment, line 2044:  Called _bsfix_die 'xml-rewrite2 failed: ./build.xml'
 *             environment, line  283:  Called die
 * The specific snippet of code:
 *           die ${1};
 *  The die message:
 *   xml-rewrite2 failed: ./build.xml
 *
 * 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/commons-cli-1.1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-java/commons-cli-1.1/temp/environment'.
 *
!!! When you file a bug report, please include the following information:
GENTOO_VM=sun-jdk-1.6  CLASSPATH="" JAVA_HOME="/opt/sun-jdk-1.6.0.06"
JAVACFLAGS="-source 1.4 -target 1.4" COMPILER=""
and of course, the output of emerge --info

 * Messages for package dev-java/commons-cli-1.1:

 *
 * ERROR: dev-java/commons-cli-1.1 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 3909:  Called java-pkg-2_src_compile
 *             environment, line 2118:  Called eant 'jar' '-f' 'build.xml'
 *             environment, line  799:  Called java-ant_bsfix
 *             environment, line 1959:  Called java-ant_bsfix_files './build.xml'
 *             environment, line 2044:  Called _bsfix_die 'xml-rewrite2 failed: ./build.xml'
 *             environment, line  283:  Called die
 * The specific snippet of code:
 *           die ${1};
 *  The die message:
 *   xml-rewrite2 failed: ./build.xml
 *
 * 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/commons-cli-1.1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-java/commons-cli-1.1/temp/environment'.


Reproducible: Always

Steps to Reproduce:
1.emerge -a commons-cli
2.error!!
3.

Actual Results:  
error

Expected Results:  
compile & merge 

Linux raptor 2.6.25-gentoo-r5 #1 SMP PREEMPT Fri Jun 20 19:51:25 CEST 2008 i686 Genuine Intel(R) CPU T2080 @ 1.73GHz GenuineIntel GNU/Linux

Gnu C                  4.1.2
Gnu make               3.81
binutils               2.18
util-linux             2.14
mount                  support
module-init-tools      3.4
e2fsprogs              1.40.11
reiserfsprogs          3.6.19
Linux C Library        2.8
Dynamic linker (ldd)   2.8
Procps                 3.2.7
Net-tools              1.60
Kbd                    1.14.1
Sh-utils               6.12
udev                   124
wireless-tools         29
Modules Loaded         snd_pcm_oss snd_mixer_oss snd_seq_dummy snd_seq_oss snd_seq_midi_event snd_seq snd_seq_device ipv6 af_packet usbmouse usbhid hid joydev psmouse yenta_socket pcspkr serio_raw rsrc_nonstatic pcmcia_core sdhci snd_hda_intel ehci_hcd mmc_core uhci_hcd usbcore snd_pcm snd_timer nvidia video snd output battery soundcore container ac thermal snd_page_alloc processor intel_agp button agpgart evdev

=======================================================================================

# /etc/make.conf
CFLAGS="-O2 -march=prescott -mno-tls-direct-seg-refs -mmmx -m32 -pipe"
CHOST="i686-pc-linux-gnu"
USE="kde qt3 qt4 X xorg ipv6 spell pcre
nvidia dbus hal wifi cdrom cdr dvd dvdr
dvdread bluetooth pcmcia usb perl python
jpeg mpg mpeg mp2 mp3 mp4 avi win32codecs gif
tiff pdf quicktime msn alsa arts cairo eds
emboss encode esd evo fam firefox gpm
ldap mad mikmod ogg opengl oss png qt3support
ssl sdl spell svg truetype vorbis unicode xml
xv cups crypt branding -fortran alsa
pam -pascal xulrunner"
CXXFLAGS="${CFLAGS}"
ACCEPT_KEYWORDS="~x86"
LINGUAS="en"
MAKEOPTS="-j3"
PORTAGE_NICENESS="8"
FEATURES="parallel-fetch ccache confcache collision-protect"
CCACHE_DIR="/var/tmp/ccache"
CCACHE_SIZE="2G"
CONFIG_PROTECT="/etc"
INPUT_DEVICES="keyboard mouse synaptics"
VIDEO_CARDS="nvidia"
AlSA_CARDS="hda-intel"
AUTOCLEAN="yes"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
PORTAGE_TMPFS="/dev/shm"
GENTOO_MIRRORS="ftp://ftp.gtlib.gatech.edu/pub/gentoo http://www.gtlib.gatech.edu/pub/gentoo http://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://ftp.snt.ut$
# /etc/make.conf.
Comment 1 Alistair Bush (RETIRED) gentoo-dev 2008-06-26 09:28:21 UTC
Ok.  Revbumped in cvs.  Was missing a rdepend on dev-python/pyxml

thanks for the bug report.  Please wait a hours or so before retesting to let it hit the mirrors.

Please reopen if it continues ( which it doesn't here ;) )