Summary: | dev-java/tomcat-servlet-api-5.5.26 compilation failure | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | junk_siu |
Component: | [OLD] Development | Assignee: | William L. Thomson Jr. (RETIRED) <wltjr> |
Status: | RESOLVED INVALID | ||
Severity: | normal | CC: | java |
Priority: | High | ||
Version: | 2008.0 | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
junk_siu
2008-08-11 05:44:44 UTC
I do not believe we are supporting building stuff with jikes/kaffe anymore. So this will likely be closed as won't fix. Well, actually all I want is eclipse to play/learn some java. If eclipse can use sun jdk vm, I will be even happier. But the current ebuild/dependency pull in lots of stuff, including kaffe, I don't understand (since I am complete newbi in java). Something is off on your system or in env. Jikes and kaffe should not be pulled in and used at all. I would drop jikes use flag, update world, and see if the problem remains. This is not a direct dependency, so something enabled, emerged, or some change in system settings is causing it to pull in an use kaffe vs another jdk/javac I think I located my problem as follow: (1) I has java-overlay (2) I disabled USE flag java5 A little detail as follow: ------ With java-overlay and "-java5", kaffe is being pulled in: sudo emerge -avt dev-util/eclipse-sdk These are the packages that would be merged, in reverse order: Calculating dependencies... done! [ebuild N ] dev-util/eclipse-sdk-3.4-r3 USE="java6 -doc -source" 0 kB [1] [ebuild NS ] dev-java/junit-4.4-r1 [3.8.2-r1] USE="-doc -examples -source -test" 0 kB [ebuild N ] dev-java/hamcrest-core-1.1 USE="-source" 0 kB [ebuild N ] dev-java/jarjar-0.9 USE="-doc -source -test" 0 kB [ebuild N ] dev-java/gnu-regexp-1.1.4-r2 USE="-doc -source" 0 kB [ebuild N ] dev-java/java-getopt-1.0.13 USE="-doc -source" 0 kB [ebuild N ] dev-java/asm-2.0-r1 USE="-doc -source" 0 kB [ebuild N ] dev-java/qdox-1.6.3 USE="-doc -source" 0 kB [ebuild NS ] dev-java/tomcat-servlet-api-5.5.26 [4.1.36, 6.0.18] USE="-doc -java5 -source" 0 kB [ebuild NS ] virtual/jdk-1.4.2-r1 [1.5.0, 1.6.0-r1] 0 kB [1] [ebuild N ] dev-java/kaffe-1.1.7-r4 USE="gmp gtk nls -alsa -esd" 0 kB [ebuild N ] dev-java/jikes-1.22-r13 0 kB [ebuild N ] dev-java/lucene-analyzers-1.9.1-r1 USE="-source" 0 kB [ebuild N ] dev-java/asm-3.1 USE="-doc -source" 670 kB [ebuild N ] dev-java/sat4j-pseudo-2.0.1 USE="-doc -source" 184 kB [1] [ebuild N ] dev-java/ant-eclipse-ecj-3.4 0 kB [1] [ebuild N ] dev-java/lucene-1.9.1 USE="-doc -source -test" 0 kB [ebuild N ] dev-java/commons-el-1.0-r2 USE="-source" 0 kB [ebuild N ] dev-java/cldc-api-1.1 0 kB [nomerge ] dev-java/asm-2.0-r1 USE="-doc -source" [ebuild N ] dev-java/ant-owanttask-1.1-r12 0 kB [nomerge ] dev-java/sat4j-pseudo-2.0.1 USE="-doc -source" [1] [ebuild N ] dev-java/sat4j-core-2.0.1 USE="-doc -source" 344 kB [1] Total: 21 packages (18 new, 3 in new slots), Size of downloads: 1,197 kB Portage tree and overlays: [0] /mnt/sdb3/x86_64/portage/portage [1] /mnt/sdb3/x86_64/portage/overlay/java-overlay Would you like to merge these packages? [Yes/No] n Quitting. ------ No java-overlay, but with "-java5", kaffe is gone but come in the blackdown-jdk: sudo emerge -avt dev-util/eclipse-sdk These are the packages that would be merged, in reverse order: Calculating dependencies... done! [ebuild N ] dev-util/eclipse-sdk-3.4-r2 USE="java6 -doc" 0 kB [ebuild NS ] dev-java/junit-4.4-r1 [3.8.2-r1] USE="-doc -examples -source -test" 0 kB [ebuild N ] dev-java/hamcrest-core-1.1 USE="-source" 0 kB [ebuild N ] dev-java/jarjar-0.9 USE="-doc -source -test" 0 kB [ebuild N ] dev-java/asm-2.0-r1 USE="-doc -source" 0 kB [ebuild N ] dev-java/ant-owanttask-1.1-r12 0 kB [ebuild N ] dev-java/gnu-regexp-1.1.4-r2 USE="-doc -source" 0 kB [ebuild N ] dev-java/java-getopt-1.0.13 USE="-doc -source" 0 kB [ebuild N ] dev-java/qdox-1.6.3 USE="-doc -source" 0 kB [ebuild NS ] dev-java/tomcat-servlet-api-5.5.26 [4.1.36, 6.0.18] USE="-doc -java5 -source" 0 kB [ebuild NS ] virtual/jdk-1.4.2 [1.5.0, 1.6.0-r1] 0 kB [ebuild N ] dev-java/lucene-analyzers-1.9.1-r1 USE="-source" 0 kB [ebuild N ] dev-java/commons-el-1.0-r2 USE="-source" 0 kB [ebuild N ] dev-java/ant-eclipse-ecj-3.4 0 kB [ebuild N ] dev-java/lucene-1.9.1 USE="-doc -source -test" 0 kB [ebuild N ] dev-java/cldc-api-1.1 0 kB [nomerge ] dev-java/tomcat-servlet-api-5.5.26 [4.1.36, 6.0.18] USE="-doc -java5 -source" [ebuild N ] dev-java/blackdown-jdk-1.4.2.03-r16 USE="X alsa -doc -examples (-nsplugin) -odbc" 33,201 kB Total: 17 packages (14 new, 3 in new slots), Size of downloads: 33,201 kB Would you like to merge these packages? [Yes/No] n Quitting. --- No java-overlay, with "java5" enabled, much cleaner dep-tree: sudo emerge -avt dev-util/eclipse-sdk These are the packages that would be merged, in reverse order: Calculating dependencies... done! [ebuild N ] dev-util/eclipse-sdk-3.4-r2 USE="java6 -doc" 0 kB [ebuild NS ] dev-java/junit-4.4-r1 [3.8.2-r1] USE="-doc -examples -source -test" 0 kB [ebuild N ] dev-java/hamcrest-core-1.1 USE="-source" 0 kB [ebuild N ] dev-java/jarjar-0.9 USE="-doc -source -test" 0 kB [ebuild N ] dev-java/asm-2.0-r1 USE="-doc -source" 0 kB [ebuild N ] dev-java/ant-owanttask-1.1-r12 0 kB [ebuild N ] dev-java/gnu-regexp-1.1.4-r2 USE="-doc -source" 0 kB [ebuild N ] dev-java/java-getopt-1.0.13 USE="-doc -source" 0 kB [ebuild N ] dev-java/qdox-1.6.3 USE="-doc -source" 0 kB [ebuild N ] dev-java/lucene-analyzers-1.9.1-r1 USE="-source" 0 kB [ebuild NS ] dev-java/tomcat-servlet-api-5.5.26 [4.1.36, 6.0.18] USE="java5 -doc -source" 0 kB [ebuild N ] dev-java/commons-el-1.0-r2 USE="-source" 0 kB [ebuild N ] dev-java/ant-eclipse-ecj-3.4 0 kB [ebuild N ] dev-java/lucene-1.9.1 USE="-doc -source -test" 0 kB [ebuild N ] dev-java/cldc-api-1.1 0 kB Total: 15 packages (13 new, 2 in new slots), Size of downloads: 0 kB Would you like to merge these packages? [Yes/No] ------- With the above result, I have to say it is my own fault, and not a bug in the portage repository. I will closed the bug as "INVALID". Also have to thank William L. Thomson Jr. for helping in this case. Looks like the 1.4 virtual in the java-overlay is pulling in and using kaffe. I will see about correcting that. This is still a bug, given that the kaffe jdk is listed as a 1.4 alternative but doesn't actually work when people use it. Kaffe/GNU Classpath is capable of building Eclipse SDK so this is some issue with the Gentoo JDK setup. Maybe my comment#4 is not clear due to the length. - "kaffe" is pulled in only when I use java-overlay, and failed So this seems to do with overlay. - "blackdown" is pulled in when I removed java-overlay, but have USE flag java5 disabled. This one I did not test as I don't want another java vm. - Finally, with "java5" enabled, no java-overlay, eclipse-sdk emerge with dependency correctly and working. So I am not sure if this bug should stay, or re-open with modified title to indicate it is java-overlay related. The problem is not in the overlay, but with kaffe. However changes to a virtual in the java-overlay exposed this problem. That had yet to be run into either out of lack of user interest in kaffe, and/or lack of interest by gentoo java devs :) Bug can stay closed, ideally a new one would be opened on kaffe. But we could change summary on this to be a bug for kaffe. If anyone cares or will do anything about kaffe's issues ;) |