Bug 3786

Summary: Eclipse required by frysk-imports/tests/cdtparserversion/CDTParserTest.java
Product: frysk Reporter: Jan Kratochvil <jan>
Component: generalAssignee: Rick Moseley <rmoseley>
Status: RESOLVED FIXED    
Severity: normal CC: ajocksch
Priority: P2    
Version: unspecified   
Target Milestone: ---   
Host: Target:
Build: Last reconfirmed:

Description Jan Kratochvil 2006-12-22 17:54:37 UTC
Build fails on:
gcj -C -d . \
                -classpath ../cdtparser/cdtparser.jar \
               
../../../frysk/frysk-imports/tests/cdtparserversion/CDTParserTest.java
../../../frysk/frysk-imports/tests/cdtparserversion/CDTParserTest.java:47:
error: Class or interface
‘org.eclipse.cdt.core.parser.ast.IASTVariableReference’ not found in import.

If Eclipse is required for this testcase the test should get SKIPped if Eclipse
is not installed.
Comment 1 Rick Moseley 2006-12-22 19:16:10 UTC
We have imported our own version of Eclipse's CDT parser into frysk under the
frysk-imports section.  We build and create a CDT parser jar in the
frysk-imports directory.  Looks like maybe the classpath is not picking it up
somehow.

How are you getting this error?  Is this on a fresh checkout/build?

I'll try a fresh checkout/build now.
Comment 2 Jan Kratochvil 2006-12-23 13:35:08 UTC
Running on RHEL5 i686 and it is a fresh frysk build.
I found out of all the `*eclipse*' rpm packages I had `eclipse-ecj' installed.
After I `rpm -e eclipse-ecj' it the configure scripts detected HAVE_ECJ->false
and the build now fails later on:
gcj -I../../frysk/frysk-imports -I. -Igetopt.jar -Ijunit.jar -Werror -Wall -fPIC
 -ggdb2 -fjni -c cdtparser.jar
org/eclipse/cdt/core/dom/ast/ASTTypeUtil.java: In class
'org.eclipse.cdt.core.dom.ast.ASTTypeUtil':
org/eclipse/cdt/core/dom/ast/ASTTypeUtil.java: In method
'org.eclipse.cdt.core.dom.ast.ASTTypeUtil.getType(org.eclipse.cdt.core.dom.ast.IType)':
org/eclipse/cdt/core/dom/ast/ASTTypeUtil.java:261: error: cannot find file for
class org.eclipse.cdt.internal.core.dom.parser.ITypeContainer

Please really check the builds without `*eclipse*' packages installed.
Comment 3 Andrew Cagney 2008-06-11 20:19:12 UTC
Rick, fixed!