Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 189951 - dev-java/iso-relax-20050331-r1 -- breaks emerge command
Summary: dev-java/iso-relax-20050331-r1 -- breaks emerge command
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Java (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Java team
Depends on:
Reported: 2007-08-23 16:37 UTC by Seweryn Habdank-Wojewodzki
Modified: 2007-08-23 23:01 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Seweryn Habdank-Wojewodzki 2007-08-23 16:37:36 UTC

Many of dev-java packages is doing like below:

>>> Compiling source in /var/tmp/portage/dev-java/iso-relax-20050331-r1/work/iso-relax-20050331 ...
Rewriting source attributes
Using Sax to rewrite the build.xml files
Rewriting ./build.xml
Traceback (most recent call last):
  File "/usr/bin/", line 229, in ?
  File "/usr/bin/", line 142, in process
    parse(in_stream, self)
  File "/usr/lib/python2.4/site-packages/_xmlplus/sax/", line 28, in parse
    parser = make_parser()
  File "/usr/lib/python2.4/site-packages/_xmlplus/sax/", line 37, in make_parser
    return XMLParserFactory.make_parser(parser_list)
  File "/usr/lib/python2.4/site-packages/_xmlplus/sax/", line 75, in make_parser
    sys.modules[parser_name].create_parser = _create_parser
KeyError: 'xml.sax.drivers2.drv_pyexpat'
 * If the output above contains:
 * ImportError:
 * /usr/lib/python2.4/site-packages/_xmlplus/parsers/
 * undefined symbol: PyUnicodeUCS2_DecodeUTF8
 * Try re-emerging dev-python/pyxml

!!! ERROR: dev-java/iso-relax-20050331-r1 failed.
Call stack:, line 1632:   Called dyn_compile, line 983:   Called qa_call 'src_compile', line 44:   Called src_compile, line 1322:   Called java-pkg-2_src_compile
  java-pkg-2.eclass, line 84:   Called eant 'release' '-f' 'build.xml'
  java-utils-2.eclass, line 1799:   Called java-ant_bsfix
  java-ant-2.eclass, line 169:   Called java-ant_bsfix_files './build.xml'
  java-ant-2.eclass, line 268:   Called _bsfix_die 'xml-rewrite2 failed: ./build.xml'
  java-ant-2.eclass, line 181:   Called die

!!! 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/iso-relax-20050331-r1/temp/build.log'.

!!! When you file a bug report, please include the following information:
GENTOO_VM=sun-jdk-1.5  CLASSPATH="." JAVA_HOME="/opt/sun-jdk-"
JAVACFLAGS="-source 1.4 -target 1.4" COMPILER=""
and of course, the output of emerge --info

Reproducible: Always

Portage (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.5-r4, 2.6.17-gentoo-r8 i686)
System uname: 2.6.17-gentoo-r8 i686 AMD Athlon(tm) 2600+
Gentoo Base System release 1.12.9
Timestamp of tree: Mon, 20 Aug 2007 12:20:01 +0000
ccache version 2.4 [disabled]
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.23b
virtual/os-headers:  2.6.21
CFLAGS="-mtune=athlon-4 -O2 -pipe -msse -fomit-frame-pointer"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-mtune=athlon-4 -O2 -pipe -msse"
FEATURES="distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
LINGUAS="pl en"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
USE="16bit 3dnow 3dnowext 7zip X a52 aac aalib accessibility acl acpi addbookmarks akode alsa amr ao aotuv applet arts artswrappersuid artworkextra async audacious audiofile avahi bash-completion bcp berkdb bidi bitmap-fonts bittorrent bjam bl blas bonobo bzip2 c++ cairo caps catalogs cdda cddb cdinstall cdparanoia cdr cgi chroot cli connectionstatus cpudetection cracklib crypt css ctype cups curl cvs cvsgraph cxx daap dbase dbus dbx dga directfb djvu dlopen dmi dnd doc double-precision dri dts dv dvb dvd dvdnav dvdr dvdread dvi eds emacs emboss encode epiphany epson epydoc esd evo examples exif expat extensions extramodules fam fame fastcgi fat ffmpeg fftw firefox flac flash font-server force-cgi-redirect fortran fpx frascend ftp fuse gadu gb gcj gconf gd gdal gdb gdbm gif gimp gimpprint ginac glade glut gmp gnokii gnome gnuplot gphoto2 gpm graphviz gs gsl gsm gstreamer gtk gzip h323 hal haskell history howl howl-compat html icecast iconv id3 idn ieee1394 image imagemagick inkjar iproute2 ipsec ipv6 irda irmc isdnlog jpeg jpeg2k kcal kde kdeenablefinal kdepim kdm kerberos kexi kipi ladspa lame lash latex lcd lcms ldap libgda libnotify libsamplerate libvisual lirc live lm_sensors logrotate lzo lzw mad mail maildir math mdb mdnsresponder-compat midi mikmod mime mjpeg mmap mmx mmxext mng mono mouse mozdevelop mp2 mp3 mp4 mp4live mpeg mpeg2 mpi mplayer mpm-worker msn mudflap musepack musicbrainz nas nat ncurses net network nfs nis nls nntp nptl nptlonly nsplugin ntfs numarray numeric odbc ode office ogdi ogg openal opengl openmp openssh openssl oss pam pango pcre pda pdf perl player png portaudio posix postgres povray ppds pppd psyco pvm pyste python qt3 qt3support qt4 quicktime rar rdesktop readline real realmedia recode reflection reiserfs resolvconf rss samba sametime sasl scanner screen sdl sensord server session sftp shout simplexml slang slp sms sndfile soap sockets sound spamassassin speech spell spl sql sqlite sqlite3 sse ssl stream subversion svg svgz svk svn-mirror swat swig sysfs syslog tcl tcpd tetex text texteffect tga themes theora thesaurus threads tiff tivo tk tlen tokenizer tools transcode truetype truetype-fonts tta tv_check tv_pick_cgi type1 type1-fonts unicode usb userlocales v4l v4l2 valgrind vcd vdr verbose vidix vim vim-pager vim-with-x visualization vlm vnc vncviewer voice vorbis vorbis-psy wav wavpack weak-algorithms webdav win32codecs winpopup wma wmf x264 x86 xcomposite xface xforms xfs xft xine xml xmlrpc xorg xpm xscreensaver xsl xv xvid xvmc yaepg yp yv12 zip zlib zvbi" ALSA_CARDS="emu10k1 via82xx" 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="pl en" LIRC_DEVICES="serial" USERLAND="GNU" VIDEO_CARDS="fbdev radeon vesa frglx"
Comment 1 Petteri Räty (RETIRED) gentoo-dev 2007-08-23 16:48:43 UTC
Have you run revdep-rebuild after updating expat as instructed? Please reopen if revdep-rebuild doesn't report any problems.
Comment 2 Seweryn Habdank-Wojewodzki 2007-08-23 19:50:44 UTC

revdep-rebuild is not working. However I took a list from that program and rebuild (I hope all) programs that uses expat. So if I omit important one please tell me what I have to rebuild -- especially python is been rebuild.


Comment 3 Petteri Räty (RETIRED) gentoo-dev 2007-08-23 23:01:10 UTC
(In reply to comment #2)
> Hi
> revdep-rebuild is not working. However I took a list from that program and
> rebuild (I hope all) programs that uses expat. So if I omit important one
> please tell me what I have to rebuild -- especially python is been rebuild.
> Regards.

Rebuilding python is probably enough to fix the Java ebuilds but you do want to fix other stuff too.