Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 53726 - Eclipse-3_rc1 EBUILD does not compile...
Summary: Eclipse-3_rc1 EBUILD does not compile...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: PPC Linux
: High major
Assignee: PPC Porters
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-12 10:20 UTC by Detro
Modified: 2004-07-30 06:46 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 Detro 2004-06-12 10:20:52 UTC
Because of ibm-jdk-bin it's the all 1.4.x version of JVM avaible for PPC (blackdown is stopped at 1.3.1 for ppc) I had emerge this: in particular ibm-jdk-bin-1.4.1.

All ebuilds using java works fine... except Eclipse 3.x.
Eclipse 3.x require 1.4.1 JVM (see Eclipse.org website), but Ebuilds talk about 1.4.2 dependecies.
I had eliminated this dependencies and... does not compile: it's normal?


Reproducible: Always
Steps to Reproduce:
1.Eliminate 1.4.2 dependencies
2.ebuild eclipse_3.0-rc1-modified.ebuild
3.

Actual Results:  
[javac]             return new PluginExportJob(fExportType, fExportSource,
    [javac]                            ^
    [javac]
/var/tmp/portage/eclipse-sdk-3.0.0_rc1/work/eclipse-sdk-3.0.0_rc1/plugins/org.eclipse.pde.ui/src_ant/org/eclipse/pde/internal/ui/ant/PluginExportTask.java:27:
cannot resolve symbol
    [javac] symbol  : class PluginModelManager
    [javac] location: class org.eclipse.pde.internal.ui.ant.PluginExportTask
    [javac]             PluginModelManager manager =
PDECore.getDefault().getModelManager();
    [javac]                 ^
    [javac]
/var/tmp/portage/eclipse-sdk-3.0.0_rc1/work/eclipse-sdk-3.0.0_rc1/plugins/org.eclipse.pde.ui/src_ant/org/eclipse/pde/internal/ui/ant/PluginExportTask.java:27:
cannot resolve symbol
    [javac] symbol  : variable PDECore
    [javac] location: class org.eclipse.pde.internal.ui.ant.PluginExportTask
    [javac]             PluginModelManager manager =
PDECore.getDefault().getModelManager();
    [javac]                                              ^
    [javac]
/var/tmp/portage/eclipse-sdk-3.0.0_rc1/work/eclipse-sdk-3.0.0_rc1/plugins/org.eclipse.pde.ui/src_ant/org/eclipse/pde/internal/ui/ant/PluginExportTask.java:31:
cannot resolve symbol
    [javac] symbol  : class IPluginModelBase
    [javac] location: class org.eclipse.pde.internal.ui.ant.PluginExportTask
    [javac]                     IPluginModelBase model = manager.findPlugin(id,
null, IMatchRules.NONE);
    [javac]                         ^
    [javac]
/var/tmp/portage/eclipse-sdk-3.0.0_rc1/work/eclipse-sdk-3.0.0_rc1/plugins/org.eclipse.pde.ui/src_ant/org/eclipse/pde/internal/ui/ant/PluginExportTask.java:31:
cannot resolve symbol
    [javac] symbol  : variable IMatchRules
    [javac] location: class org.eclipse.pde.internal.ui.ant.PluginExportTask
    [javac]                     IPluginModelBase model = manager.findPlugin(id,
null, IMatchRules.NONE);
    [javac]                                                                    
          ^
    [javac]
/var/tmp/portage/eclipse-sdk-3.0.0_rc1/work/eclipse-sdk-3.0.0_rc1/plugins/org.eclipse.pde.ui/src_ant/org/eclipse/pde/internal/ui/ant/PluginExportTask.java:35:
cannot resolve symbol
    [javac] symbol  : class IPluginModelBase
    [javac] location: class org.eclipse.pde.internal.ui.ant.PluginExportTask
    [javac]             fModels = (IPluginModelBase[])models.toArray(new
IPluginModelBase[models.size()]);
    [javac]                            ^
    [javac]
/var/tmp/portage/eclipse-sdk-3.0.0_rc1/work/eclipse-sdk-3.0.0_rc1/plugins/org.eclipse.pde.ui/src_ant/org/eclipse/pde/internal/ui/ant/PluginExportTask.java:35:
cannot resolve symbol
    [javac] symbol  : class IPluginModelBase
    [javac] location: class org.eclipse.pde.internal.ui.ant.PluginExportTask
    [javac]             fModels = (IPluginModelBase[])models.toArray(new
IPluginModelBase[models.size()]);
    [javac]                                                                  ^
    [javac] [total 2580ms]
    [javac] 40 errors
    [javac] Compile failed; see the compiler error output for details.

BUILD FAILED
/var/tmp/portage/eclipse-sdk-3.0.0_rc1/work/eclipse-sdk-3.0.0_rc1/build.xml:40:
taskdef class org.eclipse.pde.internal.build.tasks.IdReplaceTask cannot be found

Total time: 24 minutes 18 seconds

!!! ERROR: dev-util/eclipse-sdk-3.0.0_rc1 failed.
!!! Function src_compile, Line 245, Exitcode 1
!!! Failed to compile java code (gtk+) 

Expected Results:  
Compile!!!

Repeat: Eclipse Web Site talks about 1.4.1 dependencies.
It's possible that 1.4.2 it's necessary only for build?
Comment 1 Carter Smithhart 2004-06-23 15:42:28 UTC
I know this isn't the same problem... let me know if I should create a new bug..

BUILD FAILED
file:/var/tmp/portage/eclipse-sdk-3.0.0_rc3/work/eclipse-sdk-3.0.0_rc3/assemble.org.eclipse.sdk.linux.gtk.x86.xml:311: Execute failed: java.io.IOException: java.io.IOException: zip: not found

Total time: 8 minutes 52 seconds

!!! ERROR: dev-util/eclipse-sdk-3.0.0_rc3 failed.
!!! Function src_compile, Line 239, Exitcode 1
!!! Failed to compile java code (gtk+)
Comment 2 dario 2004-07-12 10:06:18 UTC
AFAIK eclipse-3 require jdk-1.4.2, that is avaible since few days for ppc, I'll try this as soon as possible.
Comment 3 Detro 2004-07-12 12:16:55 UTC
I tried to compile Eclipse 3.0.0 final with this new JVM (ibm-jdk-bin-1.4.2) for 3 days without any result.
Emerging is too (too much) long and, at the end, compilation it's failed.
I had no output because... I don't know??? There is no portage-emerging-log.

It's normal? IBM-JDK-BIN can really compile Eclipse?
Comment 4 Jochen Maes (RETIRED) gentoo-dev 2004-07-28 02:28:13 UTC
IBM-jdk-bin 1.4.2 cannot compile eclipse 3.0, i'm working out a solution, 

sorry for the late reply.

greetings
Comment 5 Detro 2004-07-28 06:09:57 UTC
Ok.
No problems... 
I hope this big, very big problem become solved as soon as possible: I know it's about a "strange done" by IBM-JDK.
This ebuild is ok: problems are in this JDK
;-)
Comment 6 Jochen Maes (RETIRED) gentoo-dev 2004-07-30 06:46:33 UTC
eclipse-3_r3 does work so try that one...
we finally got the bugga