revdep-rebuild run: * Configuring search environment for revdep-rebuild * Checking reverse dependencies * Packages containing binaries and libraries broken by a package update * will be emerged. * Collecting system binaries and libraries * Generated new 1_files.rr * Collecting complete LD_LIBRARY_PATH * Generated new 2_ldpath.rr * Checking dynamic linking consistency [ 76% ] * broken /usr/lib/libswt-mozilla-gtk-3448.so (requires libnspr4.so.7 libplc4.so.7 libplds4.so.7) * broken /usr/lib/libswt-xulrunner-gtk-3448.so (requires libnspr4.so.7 libplc4.so.7 libplds4.so.7) [ 100% ] * Generated new 3_broken.rr * Assigning files to packages * /usr/lib/libswt-mozilla-gtk-3448.so -> dev-java/swt * /usr/lib/libswt-xulrunner-gtk-3448.so -> dev-java/swt * Generated new 4_raw.rr and 4_owners.rr * Cleaning list of packages to rebuild * Generated new 4_pkgs.rr * Assigning packages to ebuilds * Generated new 4_ebuilds.rr * Evaluating package order * Generated new 5_order.rr * All prepared. Starting rebuild emerge --oneshot dev-java/swt:3.4 * Building JNI libraries 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/swt-3.4-r3 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 4359: Called eant 'compile' * environment, line 887: Called java-ant-2_src_configure * environment, line 2162: Called java-ant_bsfix * environment, line 2184: Called java-ant_bsfix_files './build.xml' * environment, line 2279: 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/swt-3.4-r3/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-java/swt-3.4-r3/temp/environment'. * !!! When you file a bug report, please include the following information: GENTOO_VM=sun-jdk-1.5 CLASSPATH="" JAVA_HOME="/opt/sun-jdk-1.5.0.20" JAVACFLAGS="-source 1.4 -target 1.4" COMPILER="" reemerging dev-python/pyxml don't solve the problem. Reproducible: Always Steps to Reproduce: 1. run revdep-rebuild 2. 3. Actual Results: compile error Expected Results: compile swt without compile errors Portage 2.1.6.13 (default/linux/x86/2008.0/desktop, gcc-4.3.2, glibc-2.9_p20081201-r2, 2.6.30-gentoo-r4 i686) ================================================================= System uname: Linux-2.6.30-gentoo-r4-i686-Genuine_Intel-R-_CPU_T2500_@_2.00GHz-with-gentoo-1.12.11.1 Timestamp of tree: Sat, 22 Aug 2009 11:15:01 +0000 app-shells/bash: 3.2_p39 dev-java/java-config: 2.1.8-r1 dev-lang/python: 2.6.2-r1 dev-util/cmake: 2.6.4 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.6-r2 sys-devel/autoconf: 2.13, 2.63-r1 sys-devel/automake: 1.9.6-r2, 1.10.2 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.27-r2 ACCEPT_KEYWORDS="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/fonts/fonts.conf /etc/gconf /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 parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="ftp://de-mirror.org/distro/gentoo/ http://de-mirror.org/distro/gentoo/ ftp://mirror.switch.ch/mirror/gentoo/ ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo ftp://mirror.bytemark.co.uk/gentoo/" LANG="en_US.UTF-8" LC_ALL="en_US.UTF-8" LDFLAGS="-Wl,-O1" MAKEOPTS="-j3" 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" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="X a52 aac acpi alsa asf bitmap-fonts bluetooth bzip2 cairo cdr cdrom css cups curl dbus divx dri dvd dvdr dvdread encode ffmpeg flac gdbm gif gmplayer gnome gtk hal hdaps hunspell jpeg jpeg2k lame matroska midi mmx mp3 mpeg ncurses nls nptl nptlonly nsplugin ogg opengl pcap pcf pcmcia pcre pdf png python quicktime readline samba session slang sse sse2 ssl svg theora threads tiff truetype truetype-fonts type1-fonts udev unicode vcd vorbis win32codecs x264 x86 xft xinerama xml xorg xrandr xulrunner xv xvid zlib" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter 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 evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="radeonhd radeon" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
I'm getting this too. Tried rebuilding pyxml. That didn't help.
emerge -1 javatoolkit fixed the problem many thanks to bonsaikitten for helping