First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 149098
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Java team <java@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Mark Deepwell <exien.ow@gmail.com>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 149098 depends on: Show dependency tree
Show dependency graph
Bug 149098 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2006-09-25 11:20 0000
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]

------- Comment #1 From Vlastimil Babka (Caster) 2006-09-25 14:16:59 0000 -------
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?

------- Comment #2 From Mark Deepwell 2006-09-25 20:41:48 0000 -------
Unfortunately I do not know how to tell portage to use a gen-2 compiler.

------- Comment #3 From Vlastimil Babka (Caster) 2006-09-26 03:31:13 0000 -------
(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

------- Comment #4 From Mark Deepwell 2006-09-26 11:10:21 0000 -------
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

------- Comment #5 From Josh Nichols 2006-09-27 19:48:44 0000 -------
Disabled jikes support in 2.7.1. Newer versions should be working. Thanks for
reporting!

First Last Prev Next    No search results available      Search page      Enter new bug