I attach the error messages as a file. Some more infos: ---------------- GENTOO_VM=sun-jdk-1.5 CLASSPATH="" JAVA_HOME="/opt/sun-jdk-1.5.0.07" JAVACFLAGS="-source 1.4 -target 1.4" COMPILER="javac" emerge --info: --------------- Portage 2.1.1_pre1-r1 (default-linux/x86/2006.0, gcc-4.1.1/vanilla, glibc-2.4-r3, 2.6.16-suspend2-r8 i686) ================================================================= System uname: 2.6.16-suspend2-r8 i686 Intel(R) Pentium(R) M processor 1.80GHz Gentoo Base System version 1.12.1 ccache version 2.4 [enabled] dev-lang/python: 2.4.3-r1 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.4-r2 dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.16.1-r2 sys-devel/gcc-config: 2.0.0_rc1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r5 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium-m -mtune=pentium-m -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/eselect/compiler /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c" CXXFLAGS="-O2 -march=pentium-m -mtune=pentium-m -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LDFLAGS="-Wl,-O1" LINGUAS="en sv" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" 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'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/portage/local/layman/java-experimental /usr/portage/local/layman/java-migration /usr/portage/local/layman/portage-xgl /usr/portage/local/layman/java-migration-packages" SYNC="rsync://gentoo.ub.uu.se/gentoo-portage" USE="x86 X aac aalib acpi alsa apache2 audiofile avi berkdb bzip2 cairo cdparanoia cdr crypt cups curl dba divx4linux dri dv dvd dvdr dvdread encode esd expat fam ffmpeg firefox flac fommaticdb foomaticdb gd gdbm gif gimpprint glitz gnome gpm gstreamer gtk gtk2 guile hal howl idn imagemagick imlib java jce jikes jpeg junit lame lcms ldap libg libg++ live logrotate lua mad mikmod mjpeg mmx mng motif mp3 mpeg ncurses nls nptl nptlonly nsplugin ogg opengl oss other_var1 other_var2 pam pda perl png postgres ppds python qt quicktime radeon readline real samba sdl speex spell sse sse2 ssl svg tcltk tcpd tetex thunderbird tiff truetype udev unicode usb userlocales vcd vidix vorbis vorbix wavelan webdav win32codecs xine xml xmms xv zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_synaptics kernel_linux linguas_en linguas_sv userland_GNU video_cards_fglrx video_cards_radeon video_cards_vesa" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_RSYNC_EXTRA_OPTS
Created attachment 89627 [details] Error messages while emerging
I think this is actually an issue with xerces... which version do you have installed?
I have version 2.8.0 and 1.3.1-r1. Which should I have?
Try with emerging xerces-2.7.x and see how that goes. I'm pretty sure I'm going to have to more finely slot xerces at some point though.
That would maybe explain this comment in the ebuild :) # uh, apparently this doesn't like newer xerces.
I had luck with version 2.6.2-r2.
Created attachment 93691 [details, diff] jboss-module-common-4.0.2-xerces-2.7+.patch Patch for jboss-module-common to build with >xerces-2.7*, but I dont know if this.fCurrentPSVI.fDeclaration is equal to this.fCurrentElemDecl in http://xerces.apache.org/xerces2-j/javadocs/xerces2/org/apache/xerces/impl/xs/XMLSchemaValidator.html
Created attachment 93692 [details, diff] jboss-module-common-4.0.2.ebuild.patch Ebuild patch for xerces-2.7+.patch
xerces-2.6 now has own slot, so please switch to it
Should be closed as OBSOLETE
Indeed obsolete. Thanks.