xerces-2.7.1 depends on xml-commons-external which is a new package that is actually a subset of xml-commons and a newer version of it. Please test and read your keywords.
Adding xalan-2.7.0 to list Also, forgot to include sparc.
nichoj: sparc does not test java stuff at this point because they don't have a working and secure jdk.
When I try to emerge xerces-2.7.1, I get this error: >>> md5 files ;-) files/xerces-1.3.1-build.xml >>> md5 files ;-) files/xerces-2.3.0-gentoo.patch >>> md5 files ;-) files/xerces-2.6.2-javadoc.patch >>> md5 files ;-) files/xerces-2.6.2-r2-gentoo.patch >>> md5 files ;-) files/xerces-2.7.1-gentoo.patch >>> md5 files ;-) files/xerces-2.7.1-no_dom3.patch >>> md5 src_uri ;-) Xerces-J-src.2.7.1.tar.gz >>> Unpacking source... >>> Unpacking Xerces-J-src.2.7.1.tar.gz to /var/tmp/portage/xerces-2.7.1/work tar: A lone zero block at 19079 * Applying xerces-2.7.1-gentoo.patch ... [ ok ] * Applying xerces-2.7.1-no_dom3.patch ... [ ok ] >>> Source unpacked. Buildfile: build.xml init: [echo] ---------------- Xerces-J 2.7.1 [1999-2005] --------------- prepare: [mkdir] Created dir: /var/tmp/portage/xerces-2.7.1/work/xerces-2_7_1/build prepare-common: [mkdir] Created dir: /var/tmp/portage/xerces-2.7.1/work/xerces-2_7_1/build/src [mkdir] Created dir: /var/tmp/portage/xerces-2.7.1/work/xerces-2_7_1/build/classes [mkdir] Created dir: /var/tmp/portage/xerces-2.7.1/work/xerces-2_7_1/build/classes/META-INF [mkdir] Created dir: /var/tmp/portage/xerces-2.7.1/work/xerces-2_7_1/build/classes/META-INF/services [copy] Copying 1 file to /var/tmp/portage/xerces-2.7.1/work/xerces-2_7_1/build/classes/META-INF/services [copy] Copying 1 file to /var/tmp/portage/xerces-2.7.1/work/xerces-2_7_1/build/classes/META-INF/services [copy] Copying 1 file to /var/tmp/portage/xerces-2.7.1/work/xerces-2_7_1/build/classes/META-INF/services [copy] Copying 1 file to /var/tmp/portage/xerces-2.7.1/work/xerces-2_7_1/build/classes/META-INF/services [copy] Copying 1 file to /var/tmp/portage/xerces-2.7.1/work/xerces-2_7_1/build/classes/META-INF/services prepare-src: [copy] Copying 1 file to /var/tmp/portage/xerces-2.7.1/work/xerces-2_7_1/build/classes/META-INF/services [copy] Copying 682 files to /var/tmp/portage/xerces-2.7.1/work/xerces-2_7_1/build/src compile: [copy] Copying 13 files to /var/tmp/portage/xerces-2.7.1/work/xerces-2_7_1/build/classes [xjavac] Compiling 657 source files to /var/tmp/portage/xerces-2.7.1/work/xerces-2_7_1/build/classes [xjavac] /var/tmp/portage/xerces-2.7.1/work/xerces-2_7_1/build/src/org/apache/html/dom/HTMLAnchorElementImpl.java:18: cannot access org.w3c.dom.html.HTMLAnchorElement [xjavac] bad class file: /var/tmp/portage/xerces-2.7.1/work/xerces-2_7_1/tools/xml-apis.jar(org/w3c/dom/html/HTMLAnchorElement.class) [xjavac] class file has wrong version 49.0, should be 48.0 [xjavac] Please remove or make sure it appears in the correct subdirectory of the classpath. [xjavac] import org.w3c.dom.html.HTMLAnchorElement; [xjavac] ^ [xjavac] 1 error BUILD FAILED /var/tmp/portage/xerces-2.7.1/work/xerces-2_7_1/build.xml:252: Compile failed; see the compiler error output for details. Total time: 8 seconds And here is my emerge --info: Portage 2.0.53 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r3, 2.6.14-gentoo-r4 i686) ================================================================= System uname: 2.6.14-gentoo-r4 i686 AMD Athlon(tm) Gentoo Base System version 1.12.0_pre11 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.4 [enabled] dev-lang/python: 2.3.5-r2, 2.4.2 sys-apps/sandbox: 1.2.17 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-r1 sys-devel/binutils: 2.16.1-r1 sys-devel/libtool: 1.5.20-r1 virtual/os-headers: 2.6.11-r3 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=athlon-xp -mtune=athlon-xp -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/texmf/web2c /etc/env.d" CXXFLAGS="-O2 -march=athlon-xp -mtune=athlon-xp -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks prelink sandbox sfperms strict" GENTOO_MIRRORS="http://gentoo.mirrors.pair.com/ http://gentoo.cites.uiuc.edu/pub/gentoo/ http://gentoo.mirrored.ca/" MAKEOPTS="-j2" PKGDIR="/usr/local/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow 3dnowext X aac acpi alsa apache2 apm audiofile avi bash-completion bitmap-fonts bonobo bzip2 bzlib ccache cdb cddb cdr crypt cups curl dbus doc dts eds emboss encode esd ethereal examples exif expat fam ffmpeg firefox flac foomaticdb fortran gif glut gnome gpm gstreamer gtk gtk2 gtkhtml guile hal hbci idn imlib innodb ithreads java jpeg jpeg2k junit lcms libg++ libwww mad mikmod mmx mmxext mng motif mp3 mpeg ncurses nls nptl nvidia offensive ofx ogg oggvorbis opengl oss pam pcre pdflib perl pic png pthreads python quicktime quotes readline real ruby sdl snmp source speex spell sse ssl svg svga tcltk tcpd tetex theora tiff truetype truetype-fonts type1-fonts udev usb vim-with-x vorbis win32codecs x86 xine xml xml2 xmms xprint xv xvid zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
(In reply to comment #3) > When I try to emerge xerces-2.7.1, I get this error: -SNIP- /var/tmp/portage/xerces-2.7.1/work/xerces-2_7_1/build/src/org/apache/html/dom/HTMLAnchorElementImpl.java:18: > cannot access org.w3c.dom.html.HTMLAnchorElement > [xjavac] bad class file: > /var/tmp/portage/xerces-2.7.1/work/xerces-2_7_1/tools/xml-apis.jar(org/w3c/dom/html/HTMLAnchorElement.class) > [xjavac] class file has wrong version 49.0, should be 48.0 > [xjavac] Please remove or make sure it appears in the correct subdirectory of > the classpath. > [xjavac] import org.w3c.dom.html.HTMLAnchorElement; > [xjavac] ^ > [xjavac] 1 error This error suggests that you have used a 1.5 JDK to some of the dependencies, probably xml-commons-external, and then emerged xalan with a 1.4 JDK. Also, this bug is not an appropriate place for this. This bug is intended to get these packages keyworded specific archs. For issues on archs that are already keyworded, please file separate bugs.
The class version is caused by the included xml-apis.jar. Btm, the dependency of xerces-2.7 should be >=1.5 not >=1.4
(In reply to comment #5) > The class version is caused by the included xml-apis.jar. As you said xml-apis.jar would be the culprit, which belongs to xml-commons-external. > Btm, the dependency of xerces-2.7 should be >=1.5 not >=1.4 I presume you're refering to the Java version? If so, I disagree, because 2.7 works fine on 1.4.
(In reply to comment #6) > I presume you're refering to the Java version? If so, I disagree, because 2.7 > works fine on 1.4. Apparently I was a bit overhasty. You are completely right, works fine with 1.4 after remerging xml-commons-external.
xerces: Most of the sample code ran. Exceptions were DOM3 examples: build # java-config -f ibm-jdk-bin-1.4.2 build # pwd /var/tmp/portage/xerces-2.7.1/work/xerces-2_7_1/build build # java -classpath xercesSamples.jar:xml-apis.jar dom.DOM3 ../data/personal.xml java.lang.ClassCastException: org.apache.xerces.dom.DOMXSImplementationSourceImpl at org.w3c.dom.bootstrap.DOMImplementationRegistry.newInstance(Unknown Source) at dom.DOM3.main(Unknown Source) xalan: Most of the sample code ran Exceptions were javascript examples: extensions # pwd /var/tmp/portage/xalan-2.7.0-r1/work/xalan-j_2_7_0/samples/extensions extensions # java -classpath /usr/share/rhino-1.5/lib/js.jar org.apache.xalan.xslt.Process -in 2-basicJscript.xml -xsl 2-basicJscript.xsl org.apache.xalan.extensions.ObjectFactory$ConfigurationError: Provider com.ibm.bsf.BSFManager not found at org.apache.xalan.extensions.ObjectFactory.newInstance(ObjectFactory.java:444) at org.apache.xalan.extensions.ExtensionHandlerGeneral.<init>(ExtensionHandlerGeneral.java:193) BLAH, BLAH, BLAH.... Since the problems in both xerces and xalan were in the minority & it could easily be something wrong in how I'm running the test (not a java/xml guru...) I'm going to go ahead and mark both testing for ppc. If either of the above problems looks significant, let me know and I'll fill out a separate bug report.
Josh keyworded ~ppc64 recently, closing.