Problem: I cannot emerge xerces with the jikes use flag enabled. Xerces compiles perfectly with the jikes use flag disabled. # emerge xerces [xjavac] 644. throw new DOMException(DOMException.TYPE_MISMATCH_ERR, msg); [xjavac] ^---------------^ [xjavac] *** Semantic Error: No accessible field named "TYPE_MISMATCH_ERR" was found in type "org.w3c.dom.DOMException". [xjavac] 661. throw new DOMException(DOMException.TYPE_MISMATCH_ERR, msg); [xjavac] ^---------------^ [xjavac] *** Semantic Error: No accessible field named "TYPE_MISMATCH_ERR" was found in type "org.w3c.dom.DOMException". etc. I have migrated to the new java setup. # java-config-1 -L [sun-jdk-1.4.2.12] "Sun JDK 1.4.2.12" (/etc/env.d/java/20sun-jdk-1.4.2.12) * # java-config-2 -L The following VMs are available for generation-2: *) Sun JDK 1.4.2.12 [sun-jdk-1.4] 2) Sun JDK 1.5.0.08 [sun-jdk-1.5]
Can't reproduce it, I blame it on jikes' weirdness. Can you try xerces-2.7.1-r1 using jikes as gen-2 compiler to see if it fails too?
Unfortunately I do not know how to tell portage to use a gen-2 compiler.
(In reply to comment #2) > Unfortunately I do not know how to tell portage to use a gen-2 compiler. > JAVA_PKG_FORCE_COMPILER=jikes emerge =xerces-2.7.1-r1
Since xerces-2.7.1-r1 is no longer in the tree I used xerces-2.7.1-r2. BUILD SUCCESSFUL Total time: 8 seconds # JAVA_PKG_FORCE_COMPILER=jikes emerge =xerces-2.7.1-r2 -va These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild U ] dev-java/xerces-2.7.1-r2 [2.7.1] USE="-doc -examples -source" 0 kB Total size of downloads: 0 kB Would you like to merge these packages? [Yes/No] y >>> Emerging (1 of 1) dev-java/xerces-2.7.1-r2 to / * Xerces-J-src.2.7.1.tar.gz MD5 ;-) ... [ ok ] * Xerces-J-src.2.7.1.tar.gz RMD160 ;-) ... [ ok ] * Xerces-J-src.2.7.1.tar.gz SHA1 ;-) ... [ ok ] * Xerces-J-src.2.7.1.tar.gz SHA256 ;-) ... [ ok ] * Xerces-J-src.2.7.1.tar.gz size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] * checking Xerces-J-src.2.7.1.tar.gz ;-) ... [ ok ] * Using: sun-jdk-1.5
Disabled jikes support in 2.7.1. Newer versions should be working. Thanks for reporting!