I'll preface this by saying I don't know all that much about Java so I might
just be missing some prerequisite I'm not aware of. I only know the app I'm
trying to build needs the Xerces stuff. Anyway, when trying to emerge
xerces-2.3.0-r1 I get the following errors before it bombs out. I poked around
in /var/tmp/portage/xerces-2.3.0-r1 but didn't see a compile log.
compile:
[copy] Copying 8 files to
/var/tmp/portage/xerces-2.3.0-r1/work/xerces-2_3_0/build/classes
[xjavac] Compiling 603 source files to
/var/tmp/portage/xerces-2.3.0-r1/work/xerces-2_3_0/build/classes
[xjavac]
/var/tmp/portage/xerces-2.3.0-r1/work/xerces-2_3_0/build/src/org/apache/xerces/impl/xpath/regex/RegularExpression.java:138:
illegal unicode escape
[xjavac] * <kbd>\u005cu</kbd><var>c</var>, <kbd>\L</kbd>,
<kbd>\U</kbd>,
[xjavac] ^
[xjavac]
/var/tmp/portage/xerces-2.3.0-r1/work/xerces-2_3_0/build/src/org/apache/xerces/impl/xpath/regex/RegularExpression.java:183:
illegal unicode escape
[xjavac] * <dt class="REGEX"><kbd>\u005cu</kbd><var>HHHH</var>
[xjavac] ^
[xjavac]
/var/tmp/portage/xerces-2.3.0-r1/work/xerces-2_3_0/build/src/org/apache/xerces/impl/xpath/regex/RegularExpression.java:207:
illegal unicode escape
[xjavac] * <li class="REGEX">A character (including <Kbd>\e \f \n \r
\t</kbd> <kbd>\u005cx</kbd><var>HH</var>
<kbd>\u005cx{</kbd><var>HHHH</var><kbd>}</kbd>
<!--kbd>\u005cu</kbd><var>HHHH</var--> <kbd>\u005cv</kbd><var>HHHHHH</var>)
[xjavac]
^
[xjavac]
/var/tmp/portage/xerces-2.3.0-r1/work/xerces-2_3_0/build/src/org/apache/xerces/impl/xpath/regex/RegularExpression.java:500:
illegal unicode escape
[xjavac] * <!-- | '\u005cu' hex-char hex-char hex-char hex-char
[xjavac] ^
[xjavac] 4 errors
BUILD FAILED
file:/var/tmp/portage/xerces-2.3.0-r1/work/xerces-2_3_0/build.xml:233: Compile
failed; see the compiler error output for details.
Total time: 24 seconds
!!! ERROR: dev-java/xerces-2.3.0-r1 failed.
!!! Function src_compile, Line 31, Exitcode 1
!!! Compile failed.
Reproducible: Always
Steps to Reproduce:
1. emerge sun-jdk-1.4.2
2. emerge ant
3. emerge xerces