Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 26758 - xerces-2.3.0-r1 won't compile with sun-jdk 1.4.2
Summary: xerces-2.3.0-r1 won't compile with sun-jdk 1.4.2
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-08-16 16:36 UTC by Chris Black
Modified: 2003-08-23 20:21 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Black 2003-08-16 16:36:45 UTC
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
Comment 1 Adrian Almenar 2003-08-23 20:21:30 UTC
I have updated xerces to version 2.5.0, try with that version, that should fix 
the problem.