[pkg-eucalyptus-maintainers] new version available GWT2

Charles Plessy plessy at debian.org
Wed Aug 24 07:09:07 UTC 2011


Le Tue, Apr 26, 2011 at 02:13:49PM +0200, Olivier Sallou a écrit :
> 
> GWT2 is available for quite a long time now, but GWT debian package is still at version 1.6
> Version 2 adds new features and most of GWT based apps are based now on this version.
> Could you please update the package.

Dear Olivier, pkg-eucalyptus team and everybody,

I am giving a try to the update of GWT but have problems to build.  As many
other Java packcages, the build.xml files are patched, and despite my effort to
port the patch to version 2.4.0, something may have gone wrong.  But my
konowledge of Java is very low, so if you have some spare time, I would
appreciate if somebody could have a look to the package.

You can inspect at the following URL the commit where I changed the build patch.

http://anonscm.debian.org/viewvc/pkg-eucalyptus/gwt/trunk/debian/patches/build.patch?r1=5&r2=147 

I have also removed three patches that I think are applied in (or cherry picked
from) versions later than 1.6.4.

http://anonscm.debian.org/viewvc/pkg-eucalyptus?view=revision&revision=143
http://anonscm.debian.org/viewvc/pkg-eucalyptus?view=revision&revision=144
http://anonscm.debian.org/viewvc/pkg-eucalyptus?view=revision&revision=146

Currently, the package fails to build with the following error:

build:
  [taskdef] Could not load definitions from resource net/sf/antcontrib/antlib.xml. It could not be found.
  [taskdef] Could not load definitions from resource net/sf/antcount/antlib.xml. It could not be found.
  [taskdef] Could not load definitions from resource emma_ant.properties. It could not be found.

compiler.standalone:
    [mkdir] Created dir: /home/charles/debian/med/pkg-eucalyptus/build-area/gwt-2.4.0/build/out/dev/bin
[gwt.javac] /home/charles/debian/med/pkg-eucalyptus/build-area/gwt-2.4.0/dev/build.xml:133: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
[gwt.javac] Compiling 6 source files to /home/charles/debian/med/pkg-eucalyptus/build-area/gwt-2.4.0/build/out/dev/bin
[gwt.javac] /home/charles/debian/med/pkg-eucalyptus/build-area/gwt-2.4.0/dev/build.xml:134: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
[gwt.javac] Compiling 925 source files to /home/charles/debian/med/pkg-eucalyptus/build-area/gwt-2.4.0/build/out/dev/bin
[gwt.javac] /home/charles/debian/med/pkg-eucalyptus/build-area/gwt-2.4.0/dev/core/src/com/google/gwt/dev/javac/CompilationUnitArchive.java:18: package com.google.gwt.thirdparty.guava.common.collect does not exist
[gwt.javac] import com.google.gwt.thirdparty.guava.common.collect.ImmutableMap;
[gwt.javac]                                                      ^
[gwt.javac] /home/charles/debian/med/pkg-eucalyptus/build-area/gwt-2.4.0/dev/core/src/com/google/gwt/dev/javac/JavaSourceParser.java:32: package org.eclipse.jdt.internal.core.util does not exist
[gwt.javac] import org.eclipse.jdt.internal.core.util.CodeSnippetParsingUtil;
[gwt.javac]                                          ^
[gwt.javac] /home/charles/debian/med/pkg-eucalyptus/build-area/gwt-2.4.0/dev/core/src/com/google/gwt/dev/util/StringInterner.java:19: package com.google.gwt.thirdparty.guava.common.collect does not exist
[gwt.javac] import com.google.gwt.thirdparty.guava.common.collect.Interner;
[gwt.javac]                                                      ^
[gwt.javac] /home/charles/debian/med/pkg-eucalyptus/build-area/gwt-2.4.0/dev/core/src/com/google/gwt/dev/util/StringInterner.java:20: package com.google.gwt.thirdparty.guava.common.collect does not exist
[gwt.javac] import com.google.gwt.thirdparty.guava.common.collect.Interners;
[gwt.javac]                                                      ^
[gwt.javac] /home/charles/debian/med/pkg-eucalyptus/build-area/gwt-2.4.0/dev/core/src/com/google/gwt/dev/util/StringInterner.java:34: cannot find symbol
[gwt.javac] symbol  : class Interner
[gwt.javac] location: class com.google.gwt.dev.util.StringInterner
[gwt.javac]   private final Interner<String> stringPool = Interners.newWeakInterner();
[gwt.javac]                 ^
[gwt.javac] /home/charles/debian/med/pkg-eucalyptus/build-area/gwt-2.4.0/dev/core/src/com/google/gwt/dev/util/Strings.java:18: package com.google.gwt.thirdparty.guava.common.collect does not exist
[gwt.javac] import com.google.gwt.thirdparty.guava.common.collect.Lists;
[gwt.javac]                                                      ^
[gwt.javac] /home/charles/debian/med/pkg-eucalyptus/build-area/gwt-2.4.0/dev/core/src/com/google/gwt/dev/javac/JdtCompiler.java:413: warningThreshold has protected access in org.eclipse.jdt.internal.compiler.impl.CompilerOptions
[gwt.javac]     options.warningThreshold = 0;
[gwt.javac]            ^
[gwt.javac] /home/charles/debian/med/pkg-eucalyptus/build-area/gwt-2.4.0/dev/core/src/com/google/gwt/dev/javac/JdtCompiler.java:413: incompatible types
[gwt.javac] found   : int
[gwt.javac] required: org.eclipse.jdt.internal.compiler.impl.IrritantSet
[gwt.javac]     options.warningThreshold = 0;
[gwt.javac]                                ^
[gwt.javac] /home/charles/debian/med/pkg-eucalyptus/build-area/gwt-2.4.0/dev/core/src/com/google/gwt/dev/javac/CompilationUnitArchive.java:106: cannot find symbol
[gwt.javac] symbol  : variable ImmutableMap
[gwt.javac] location: class com.google.gwt.dev.javac.CompilationUnitArchive
[gwt.javac]     return ImmutableMap.copyOf(units);
[gwt.javac]            ^
[gwt.javac] /home/charles/debian/med/pkg-eucalyptus/build-area/gwt-2.4.0/dev/core/src/com/google/gwt/dev/javac/JavaSourceParser.java:179: cannot find symbol
[gwt.javac] symbol  : class CodeSnippetParsingUtil
[gwt.javac] location: class com.google.gwt.dev.javac.JavaSourceParser
[gwt.javac]     CodeSnippetParsingUtil parsingUtil = new CodeSnippetParsingUtil();
[gwt.javac]     ^
[gwt.javac] /home/charles/debian/med/pkg-eucalyptus/build-area/gwt-2.4.0/dev/core/src/com/google/gwt/dev/javac/JavaSourceParser.java:179: cannot find symbol
[gwt.javac] symbol  : class CodeSnippetParsingUtil
[gwt.javac] location: class com.google.gwt.dev.javac.JavaSourceParser
[gwt.javac]     CodeSnippetParsingUtil parsingUtil = new CodeSnippetParsingUtil();
[gwt.javac]                                              ^
[gwt.javac] /home/charles/debian/med/pkg-eucalyptus/build-area/gwt-2.4.0/dev/core/src/com/google/gwt/dev/util/StringInterner.java:34: cannot find symbol
[gwt.javac] symbol  : variable Interners
[gwt.javac] location: class com.google.gwt.dev.util.StringInterner
[gwt.javac]   private final Interner<String> stringPool = Interners.newWeakInterner();
[gwt.javac]                                               ^
[gwt.javac] /home/charles/debian/med/pkg-eucalyptus/build-area/gwt-2.4.0/dev/core/src/org/eclipse/jdt/internal/compiler/lookup/MethodBinding.java:739: storeAnnotations(org.eclipse.jdt.internal.compiler.lookup.AnnotationBinding[],org.eclipse.jdt.internal.compiler.lookup.AnnotationBinding[][],java.lang.Object,org.eclipse.jdt.internal.compiler.lookup.LookupEnvironment) in org.eclipse.jdt.internal.compiler.lookup.AnnotationHolder cannot be applied to (org.eclipse.jdt.internal.compiler.lookup.AnnotationBinding[],org.eclipse.jdt.internal.compiler.lookup.AnnotationBinding[][],java.lang.Object)
[gwt.javac]   this.declaringClass.storeAnnotationHolder(this,  AnnotationHolder.storeAnnotations(annotations, parameterAnnotations, defaultValue));
[gwt.javac]                                                                    ^
[gwt.javac] /home/charles/debian/med/pkg-eucalyptus/build-area/gwt-2.4.0/dev/core/src/org/eclipse/jdt/internal/compiler/lookup/MethodBinding.java:854: cannot find symbol
[gwt.javac] symbol  : variable ContainsNestedTypesInSignature
[gwt.javac] location: interface org.eclipse.jdt.internal.compiler.lookup.TagBits
[gwt.javac]     if ((this.tagBits & TagBits.ContainsNestedTypesInSignature) != 0) {
[gwt.javac]                                ^
[gwt.javac] /home/charles/debian/med/pkg-eucalyptus/build-area/gwt-2.4.0/dev/core/src/org/eclipse/jdt/internal/compiler/lookup/MethodBinding.java:921: cannot find symbol
[gwt.javac] symbol  : variable ContainsNestedTypesInSignature
[gwt.javac] location: interface org.eclipse.jdt.internal.compiler.lookup.TagBits
[gwt.javac]           this.tagBits |= TagBits.ContainsNestedTypesInSignature;
[gwt.javac]                                  ^
[gwt.javac] /home/charles/debian/med/pkg-eucalyptus/build-area/gwt-2.4.0/dev/core/src/org/eclipse/jdt/internal/compiler/lookup/MethodBinding.java:938: cannot find symbol
[gwt.javac] symbol  : variable ContainsNestedTypesInSignature
[gwt.javac] location: interface org.eclipse.jdt.internal.compiler.lookup.TagBits
[gwt.javac]         this.tagBits |= TagBits.ContainsNestedTypesInSignature;
[gwt.javac]                                ^
[gwt.javac] /home/charles/debian/med/pkg-eucalyptus/build-area/gwt-2.4.0/dev/core/src/org/eclipse/jdt/internal/compiler/lookup/MethodBinding.java:955: cannot find symbol
[gwt.javac] symbol  : variable ContainsNestedTypesInSignature
[gwt.javac] location: interface org.eclipse.jdt.internal.compiler.lookup.TagBits
[gwt.javac]         this.tagBits |= TagBits.ContainsNestedTypesInSignature;
[gwt.javac]                                ^
[gwt.javac] /home/charles/debian/med/pkg-eucalyptus/build-area/gwt-2.4.0/dev/core/src/org/eclipse/jdt/internal/compiler/lookup/MethodBinding.java:965: cannot find symbol
[gwt.javac] symbol  : variable ContainsNestedTypesInSignature
[gwt.javac] location: interface org.eclipse.jdt.internal.compiler.lookup.TagBits
[gwt.javac]       this.tagBits |= TagBits.ContainsNestedTypesInSignature;
[gwt.javac]                              ^
[gwt.javac] /home/charles/debian/med/pkg-eucalyptus/build-area/gwt-2.4.0/dev/core/src/org/eclipse/jdt/internal/compiler/lookup/SourceTypeBinding.java:369: cannot find symbol
[gwt.javac] symbol  : constructor SyntheticMethodBinding(org.eclipse.jdt.internal.compiler.lookup.FieldBinding,boolean,org.eclipse.jdt.internal.compiler.lookup.SourceTypeBinding)
[gwt.javac] location: class org.eclipse.jdt.internal.compiler.lookup.SyntheticMethodBinding
[gwt.javac]     accessMethod = new SyntheticMethodBinding(targetField, isReadAccess, this);
[gwt.javac]                    ^
[gwt.javac] /home/charles/debian/med/pkg-eucalyptus/build-area/gwt-2.4.0/dev/core/src/org/eclipse/jdt/internal/compiler/lookup/SourceTypeBinding.java:374: cannot find symbol
[gwt.javac] symbol  : constructor SyntheticMethodBinding(org.eclipse.jdt.internal.compiler.lookup.FieldBinding,boolean,org.eclipse.jdt.internal.compiler.lookup.SourceTypeBinding)
[gwt.javac] location: class org.eclipse.jdt.internal.compiler.lookup.SyntheticMethodBinding
[gwt.javac]       accessMethod = new SyntheticMethodBinding(targetField, isReadAccess, this);
[gwt.javac]                      ^
[gwt.javac] /home/charles/debian/med/pkg-eucalyptus/build-area/gwt-2.4.0/dev/core/src/org/eclipse/jdt/internal/compiler/lookup/BinaryTypeBinding.java:129: resolve() in org.eclipse.jdt.internal.compiler.lookup.TypeVariableBinding cannot be applied to (org.eclipse.jdt.internal.compiler.lookup.LookupEnvironment)
[gwt.javac] 			((TypeVariableBinding) type).resolve(environment);
[gwt.javac] 			                            ^
[gwt.javac] /home/charles/debian/med/pkg-eucalyptus/build-area/gwt-2.4.0/dev/core/src/org/eclipse/jdt/internal/compiler/lookup/BinaryTypeBinding.java:598: cannot find symbol
[gwt.javac] symbol  : constructor TypeVariableBinding(char[],org.eclipse.jdt.internal.compiler.lookup.BinaryTypeBinding,int)
[gwt.javac] location: class org.eclipse.jdt.internal.compiler.lookup.TypeVariableBinding
[gwt.javac] 						variables.add(new TypeVariableBinding(variableName, this, rank++));
[gwt.javac] 						              ^
[gwt.javac] /home/charles/debian/med/pkg-eucalyptus/build-area/gwt-2.4.0/dev/core/src/org/eclipse/jdt/internal/compiler/lookup/BinaryTypeBinding.java:796: resolve() in org.eclipse.jdt.internal.compiler.lookup.TypeVariableBinding cannot be applied to (org.eclipse.jdt.internal.compiler.lookup.LookupEnvironment)
[gwt.javac] 	variable.resolve(this.environment);
[gwt.javac] 	        ^
[gwt.javac] /home/charles/debian/med/pkg-eucalyptus/build-area/gwt-2.4.0/dev/core/src/org/eclipse/jdt/internal/compiler/lookup/BinaryTypeBinding.java:935: resolve() in org.eclipse.jdt.internal.compiler.lookup.TypeVariableBinding cannot be applied to (org.eclipse.jdt.internal.compiler.lookup.LookupEnvironment)
[gwt.javac] 		method.typeVariables[i].resolve(this.environment);
[gwt.javac] 		                       ^
[gwt.javac] /home/charles/debian/med/pkg-eucalyptus/build-area/gwt-2.4.0/dev/core/src/org/eclipse/jdt/internal/compiler/lookup/BinaryTypeBinding.java:984: resolve() in org.eclipse.jdt.internal.compiler.lookup.TypeVariableBinding cannot be applied to (org.eclipse.jdt.internal.compiler.lookup.LookupEnvironment)
[gwt.javac] 		this.typeVariables[i].resolve(this.environment);
[gwt.javac] 		                     ^
[gwt.javac] /home/charles/debian/med/pkg-eucalyptus/build-area/gwt-2.4.0/dev/core/src/com/google/gwt/dev/util/Strings.java:47: cannot find symbol
[gwt.javac] symbol  : variable Lists
[gwt.javac] location: class com.google.gwt.dev.util.Strings
[gwt.javac]     ArrayList<String> result = Lists.newArrayList();
[gwt.javac]                                ^
[gwt.javac] Note: Some input files use or override a deprecated API.
[gwt.javac] Note: Recompile with -Xlint:deprecation for details.
[gwt.javac] Note: Some input files use unchecked or unsafe operations.
[gwt.javac] Note: Recompile with -Xlint:unchecked for details.
[gwt.javac] 26 errors

Have a nice day,

-- 
Charles Plessy
Tsurumi, Kanagawa, Japan



More information about the pkg-eucalyptus-maintainers mailing list