Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 271968 - dev-java/junit-4.6 can't update No module named javatoolkit.xml.DomRewrite
Summary: dev-java/junit-4.6 can't update No module named javatoolkit.xml.DomRewrite
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Java (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-31 12:13 UTC by Casufi
Modified: 2009-06-03 18:41 UTC (History)
0 users

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 Casufi 2009-05-31 12:13:58 UTC
emerge log
>>> Emerging (1 of 21) dev-java/junit-4.6
 * junit4.6.zip RMD160 SHA1 SHA256 size ;-) ...                                                                        [ ok ]
 * checking ebuild checksums ;-) ...                                                                                   [ ok ]
 * checking auxfile checksums ;-) ...                                                                                  [ ok ]
 * checking miscfile checksums ;-) ...                                                                                 [ ok ]
 * Using: sun-jdk-1.6
>>> Unpacking source...
>>> Unpacking junit4.6.zip to /var/tmp/portage/dev-java/junit-4.6/work
>>> Source unpacked in /var/tmp/portage/dev-java/junit-4.6/work
>>> Compiling source in /var/tmp/portage/dev-java/junit-4.6/work/junit4.6 ...
Rewriting attributes
Traceback (most recent call last):
  File "/usr/lib/javatoolkit/bin/xml-rewrite-3.py", line 30, in <module>
    from javatoolkit.xml.DomRewriter import DomRewriter
ImportError: No module named javatoolkit.xml.DomRewriter
 * 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/junit-4.6 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 4114:  Called eant 'build' 'jars' '-Dhamcrestlib=/usr/share/hamcrest-core/lib/hamcrest-core.jar'
 *             environment, line  814:  Called java-ant-2_src_configure
 *             environment, line 2066:  Called java-ant_bsfix
 *             environment, line 2088:  Called java-ant_bsfix_files './build.xml'
 *             environment, line 2183:  Called _bsfix_die 'xml-rewrite2 failed: ./build.xml'
 *             environment, line  288:  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/junit-4.6/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-java/junit-4.6/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.13"
JAVACFLAGS="-source 1.5 -target 1.5" COMPILER=""
and of course, the output of emerge --info


emerge info

Portage 2.1.6.13 (default/linux/x86/2008.0/desktop, gcc-4.3.3, glibc-2.10.1-r0, 2.6.27-gentoo-r7 i686)
=================================================================
System uname: Linux-2.6.27-gentoo-r7-i686-Intel-R-_Celeron-R-_M_CPU_410_@_1.46GHz-with-gentoo-2.0.1
Timestamp of tree: Fri, 29 May 2009 19:45:01 +0000
app-shells/bash:     4.0_p24
dev-java/java-config: 2.1.8
dev-lang/python:     2.5.4-r3, 2.6.2-r1
dev-python/pycrypto: 2.0.1-r8
dev-util/cmake:      2.6.4
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.4.3-r2
sys-apps/sandbox:    1.9
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.19.1-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.29
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages metadata-transfer parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://ftp.linux.ee/pub/gentoo/distfiles/ ftp://ftp.linux.ee/pub/gentoo/distfiles/ ftp://mirror.ovh.net/gentoo-distfiles/ ftp://gentoo.imj.fr/pub/gentoo/ http://gentoo.po.opole.pl ftp://gentoo.po.opole.pl "
LANG="ru_RU.UTF-8"
LC_ALL=""
LDFLAGS="-Wl,-O1"
LINGUAS="ru uk"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/rostov /usr/local/portage/layman/sunrise /usr/local/portage/layman/bazaar"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnowext 7zip X aac accessibility acl acpi alsa apic automount bash-completion bluetooth branding bzip2 cairo cdda cdparanoia cdr clamav cli cracklib crypt cups dbus djvu dri dvb dvd dvdr dvdread emboss enca encode equalizer esd exif fam flac foomaticdb fortran fpu fuse gdbm geoip gif gnome gphoto2 gpm gstreamer gtk hal hddtemp iconv ipod iproute2 isdnlog jabber java java6 jingle jpeg laptop libnotify lm_sensors mad madwifi midi mikmod mmx mmxext mp3 mpeg mplayer mudflap musepack musicbrainz nautilus ncurses nls nptl nptlonly ogg opengl openmp pam pcmcia pcre pdf perl png ppds pppd python qt3support qt4 quicktime raw rdesktop readline reflection rtc scanner sdl session slang spell spl sql sse sse2 ssl ssse3 startup-notification svg sysfs tagwriting tcpd theora tiff truetype ttf unicode usb vim-syntax vorbis wifi win32codecs wma x264 x86 xine xinerama xml xorg xulrunner xv xvid zlib zsh-completion" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru uk" USERLAND="GNU" VIDEO_CARDS="radeon radeonhd fglrx"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS



Reproducible: Always

Steps to Reproduce:
1. emerge uDN world
Comment 1 Casufi 2009-05-31 12:16:04 UTC
I tried 
emerge -1 dev-python/pyxml
emerge uDN world


Comment 2 Serkan Kaba (RETIRED) gentoo-dev 2009-05-31 13:17:23 UTC
(In reply to comment #1)
> I tried 
> emerge -1 dev-python/pyxml
> emerge uDN world
> 
can you try remerging dev-java/javatoolkit
Comment 3 Casufi 2009-06-03 18:41:43 UTC
it work it out