whent I try to emerge eclipse-cbg-editor it fails even after following the instructions in the bug http://bugs.gentoo.org/show_bug.cgi?id=57047 . My JDK info is as follows: gentoo plugins # java-config -L [blackdown-jdk-1.4.1] "Blackdown JDK 1.4.1" (/etc/env.d/java/20blackdown-jdk-1.4.1) * When I did ebuild /usr/portage/dev-util/eclipse-cbg-editor/eclipse-cbg-editor-0.3.7.ebuild unpack Then read the file /var/tmp/portage/eclipse-cbg-editor-0.3.7/work/cbg.editor_0.3.7/build.properties I realized that the line eclipsedir=/usr/lib/eclipse-3/plugins referenced a non existent directory so I made it a symbolic link to /opt/eclipse-sdk-3.0_rc8/plugins this reduced errors from 100 to 22 as reported in the previous bug (57047). Note all the files in eclipse_classpath exist on my system. See the emerge output after this in additional info Reproducible: Always Steps to Reproduce: 1. ACCEPT_KEYWORDS="~x86" emerge eclipse-cbg-editor 2. 3. Actual Results: error emerging Expected Results: emerge succesfully gentoo src # ACCEPT_KEYWORDS="~x86" emerge eclipse-cbg-editor Calculating dependencies ...done! >>> emerge (1 of 1) dev-util/eclipse-cbg-editor-0.3.7 to / >>> md5 src_uri ;-) cbg-editor-0.3.7-gentoo.tar.bz2 >>> Unpacking source... >>> Unpacking cbg-editor-0.3.7-gentoo.tar.bz2 to /var/tmp/portage/eclipse-cbg-editor-0.3.7/work >>> Source unpacked. Buildfile: build.xml init: build.jars: init: editor.jar: [mkdir] Created dir: /var/tmp/portage/eclipse-cbg-editor-0.3.7/work/cbg.editor_0.3.7/temp/editor.jar.bin [javac] Compiling 38 source files to /var/tmp/portage/eclipse-cbg-editor-0.3.7/work/cbg.editor_0.3.7/temp/editor.jar.bin [javac] /var/tmp/portage/eclipse-cbg-editor-0.3.7/work/cbg.editor_0.3.7/src/cbg/editor/ColoringEditor.java:28: cannot resolve symbol [javac] symbol : class AbstractDecoratedTextEditor [javac] location: package texteditor [javac] import org.eclipse.ui.texteditor.AbstractDecoratedTextEditor; [javac] ^ [javac] /var/tmp/portage/eclipse-cbg-editor-0.3.7/work/cbg.editor_0.3.7/src/cbg/editor/ColoringEditor.java:34: cannot resolve symbol [javac] symbol : class AbstractDecoratedTextEditor [javac] location: class cbg.editor.ColoringEditor [javac] public class ColoringEditor extends AbstractDecoratedTextEditor { [javac] ^ [javac] /var/tmp/portage/eclipse-cbg-editor-0.3.7/work/cbg.editor_0.3.7/src/cbg/editor/ColoringEditor.java:87: cannot resolve symbol [javac] symbol : method getSourceViewerConfiguration () [javac] location: class cbg.editor.ColoringEditor.AdaptedSourceViewer [javac] SourceViewerConfiguration configuration = getSourceViewerConfiguration(); [javac] ^ [javac] /var/tmp/portage/eclipse-cbg-editor-0.3.7/work/cbg.editor_0.3.7/src/cbg/editor/ColoringEditor.java:160: cannot resolve symbol [javac] symbol : method setDocumentProvider (cbg.editor.ColoringDocumentProvider) [javac] location: class cbg.editor.ColoringEditor [javac] setDocumentProvider(new ColoringDocumentProvider()); [javac] ^ [javac] /var/tmp/portage/eclipse-cbg-editor-0.3.7/work/cbg.editor_0.3.7/src/cbg/editor/ColoringEditor.java:163: cannot resolve symbol [javac] symbol : method setSourceViewerConfiguration (cbg.editor.ColoringSourceViewerConfiguration) [javac] location: class cbg.editor.ColoringEditor [javac] setSourceViewerConfiguration(new ColoringSourceViewerConfiguration(colorManager)); [javac] ^ [javac] /var/tmp/portage/eclipse-cbg-editor-0.3.7/work/cbg.editor_0.3.7/src/cbg/editor/ColoringEditor.java:169: cannot resolve symbol [javac] symbol : method setPreferenceStore (org.eclipse.jface.preference.IPreferenceStore) [javac] location: class cbg.editor.ColoringEditor [javac] setPreferenceStore(store); [javac] ^ [javac] /var/tmp/portage/eclipse-cbg-editor-0.3.7/work/cbg.editor_0.3.7/src/cbg/editor/ColoringEditor.java:173: cannot resolve symbol [javac] symbol : variable super [javac] location: class cbg.editor.ColoringEditor [javac] super.doSetInput(input); [javac] ^ [javac] /var/tmp/portage/eclipse-cbg-editor-0.3.7/work/cbg.editor_0.3.7/src/cbg/editor/ColoringEditor.java:176: cannot resolve symbol [javac] symbol : method getSourceViewerConfiguration () [javac] location: class cbg.editor.ColoringEditor [javac] ((ColoringSourceViewerConfiguration) getSourceViewerConfiguration()).setFilename(filename); [javac] ^ [javac] /var/tmp/portage/eclipse-cbg-editor-0.3.7/work/cbg.editor_0.3.7/src/cbg/editor/ColoringEditor.java:180: cannot resolve symbol . . . [javac] symbol : variable super [javac] location: class cbg.editor.ColoringEditor [javac] super.handlePreferenceStoreChanged(event); [javac] ^ [javac] /var/tmp/portage/eclipse-cbg-editor-0.3.7/work/cbg.editor_0.3.7/src/cbg/editor/ColoringEditor.java:268: cannot resolve symbol [javac] symbol : variable super [javac] location: class cbg.editor.ColoringEditor [javac] super.createPartControl(parent); [javac] ^ [javac] /var/tmp/portage/eclipse-cbg-editor-0.3.7/work/cbg.editor_0.3.7/src/cbg/editor/ColoringEditor.java:273: cannot resolve symbol [javac] symbol : method getPreferenceStore () [javac] location: class cbg.editor.ColoringEditor [javac] IPreferenceStore store = getPreferenceStore(); [javac] ^ [javac] /var/tmp/portage/eclipse-cbg-editor-0.3.7/work/cbg.editor_0.3.7/src/cbg/editor/ColoringEditorContribution.java:33: cannot resolve symbol [javac] symbol : method getEditorInput () [javac] location: class cbg.editor.ColoringEditor [javac] IEditorInput input = editor.getEditorInput(); [javac] ^ [javac] Note: /var/tmp/portage/eclipse-cbg-editor-0.3.7/work/cbg.editor_0.3.7/src/cbg/editor/MarkDamagerRepairer.java uses or overrides a deprecated API. [javac] Note: Recompile with -deprecation for details. [javac] 22 errors BUILD FAILED file:/var/tmp/portage/eclipse-cbg-editor-0.3.7/work/cbg.editor_0.3.7/build.xml:43: Compile failed; see the compiler error output for details. Total time: 7 seconds !!! ERROR: dev-util/eclipse-cbg-editor-0.3.7 failed. !!! Function src_compile, Line 25, Exitcode 1 !!! Failed to compile
Aha! _rc8! That was a misnamed release that should have been named _pre8. It is far too old to be used. I have updated the eclipse-cbg-editor to account for this misnamed eclipse-sdk release. In your case, you have to upgrade to eclipse-sdk-3.0.0
I'm affraid it isn't corrected. I got same bug using eclipse-sdk-3.2
(In reply to comment #2) > I'm affraid it isn't corrected. I got same bug using eclipse-sdk-3.2 and sun's jdk 1.5 sry... it's late.... i'm saying.... strange things... don't mind me.