Bug#713182: netbeans: FTBFS: [javac] /«BUILDDIR»/netbeans-7.0.1+dfsg1/nbbuild/antsrc/org/netbeans/nbbuild/FixTestDependencies.java:252: cannot find symbol
Lucas Nussbaum
lucas at lucas-nussbaum.net
Sat Jun 22 12:03:06 UTC 2013
Source: netbeans
Version: 7.0.1+dfsg1-5
Severity: serious
Tags: jessie sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20130620 qa-ftbfs
Justification: FTBFS on amd64
Hi,
During a rebuild of all packages in sid, your package failed to build on
amd64.
Relevant part:
> make[1]: Entering directory `/«BUILDDIR»/netbeans-7.0.1+dfsg1'
> rm -f *.cdbs-config_list
> rm -f stamp-build-libnb-platform13-java
> rm -f stamp-build-libnb-platform-devel-java
> rm -f stamp-build-libnb-platform13-java-doc
> mkdir -p javahelp/external/
> ln -sf /usr/share/java/jhall.jar javahelp/external/jhall-2.0_05.jar
> mkdir -p apisupport.harness/external/
> ln -sf /usr/share/java/jsearch.jar apisupport.harness/external/jsearch-2.0_05.jar
> ant -Dpermit.jdk6.builds=true -f nbbuild/build.xml clean
> Buildfile: /«BUILDDIR»/netbeans-7.0.1+dfsg1/nbbuild/build.xml
>
> -jdk-pre-preinit:
>
> -jdk-preinit:
>
> -jdk-warn:
>
> -jdk-presetdef-basic:
>
> -jdk-default:
>
> -jdk-init:
>
> -load-build-properties:
>
> bootstrap:
> [mkdir] Created dir: /«BUILDDIR»/netbeans-7.0.1+dfsg1/nbbuild/build/antclasses
> [javac] Compiling 4 source files to /«BUILDDIR»/netbeans-7.0.1+dfsg1/nbbuild/build/antclasses
> [echo] Bootstrapping NetBeans-specific Ant extensions...
> [javac] Compiling 78 source files to /«BUILDDIR»/netbeans-7.0.1+dfsg1/nbbuild/build/antclasses
> [javac] /«BUILDDIR»/netbeans-7.0.1+dfsg1/nbbuild/antsrc/org/netbeans/nbbuild/CheckModuleConfigs.java:97: incompatible types
> [javac] found : java.util.Hashtable<java.lang.String,java.lang.Object>
> [javac] required: java.util.Map<java.lang.String,java.lang.String>
> [javac] Map<String,String> properties = getProject().getProperties();
> [javac] ^
> [javac] /«BUILDDIR»/netbeans-7.0.1+dfsg1/nbbuild/antsrc/org/netbeans/nbbuild/ExportedAPICondition.java:64: incompatible types
> [javac] found : java.util.Hashtable<java.lang.String,java.lang.Object>
> [javac] required: java.util.Hashtable<java.lang.String,java.lang.String>
> [javac] Hashtable<String,String> props = getProject().getProperties();
> [javac] ^
> [javac] /«BUILDDIR»/netbeans-7.0.1+dfsg1/nbbuild/antsrc/org/netbeans/nbbuild/FixTestDependencies.java:252: cannot find symbol
> [javac] symbol : constructor ModuleListParser(java.util.Hashtable<java.lang.String,java.lang.Object>,org.netbeans.nbbuild.ModuleType,org.apache.tools.ant.Project)
> [javac] location: class org.netbeans.nbbuild.ModuleListParser
> [javac] ModuleListParser listParser = new ModuleListParser(getProject().getProperties(), projectType, getProject());
> [javac] ^
> [javac] /«BUILDDIR»/netbeans-7.0.1+dfsg1/nbbuild/antsrc/org/netbeans/nbbuild/InsertModuleAllTargets.java:100: incompatible types
> [javac] found : java.util.Hashtable<java.lang.String,java.lang.Object>
> [javac] required: java.util.Hashtable<java.lang.String,java.lang.String>
> [javac] Hashtable<String,String> props = prj.getProperties();
> [javac] ^
> [javac] /«BUILDDIR»/netbeans-7.0.1+dfsg1/nbbuild/antsrc/org/netbeans/nbbuild/LayerIndex.java:364: org.netbeans.nbbuild.LayerIndex.ZipArray is not abstract and does not override abstract method iterator() in org.apache.tools.ant.types.ResourceCollection
> [javac] private static final class ZipArray extends ArrayList<ZipResource>
> [javac] ^
> [javac] /«BUILDDIR»/netbeans-7.0.1+dfsg1/nbbuild/antsrc/org/netbeans/nbbuild/ModuleTestDependencies.java:94: incompatible types
> [javac] found : java.util.Hashtable<java.lang.String,java.lang.Object>
> [javac] required: java.util.Hashtable<java.lang.String,java.lang.String>
> [javac] Hashtable<String,String> props = getProject().getProperties();
> [javac] ^
> [javac] /«BUILDDIR»/netbeans-7.0.1+dfsg1/nbbuild/antsrc/org/netbeans/nbbuild/NbMerge.java:208: warning: [unchecked] unchecked conversion
> [javac] found : java.util.Hashtable
> [javac] required: java.util.Hashtable<java.lang.String,org.apache.tools.ant.Target>
> [javac] Vector doneList = getProject().topoSort(getOwningTarget().getName(), targets);
> [javac] ^
> [javac] /«BUILDDIR»/netbeans-7.0.1+dfsg1/nbbuild/antsrc/org/netbeans/nbbuild/ParseProjectXml.java:450: incompatible types
> [javac] found : java.util.Hashtable<java.lang.String,java.lang.Object>
> [javac] required: java.util.Hashtable<java.lang.String,java.lang.String>
> [javac] Hashtable<String,String> properties = getProject().getProperties();
> [javac] ^
> [javac] /«BUILDDIR»/netbeans-7.0.1+dfsg1/nbbuild/antsrc/org/netbeans/nbbuild/PathFileSet.java:226: warning: iterator() in org.netbeans.nbbuild.PathFileSet implements iterator() in org.apache.tools.ant.types.ResourceCollection; return type requires unchecked conversion
> [javac] found : java.util.Iterator
> [javac] required: java.util.Iterator<org.apache.tools.ant.types.Resource>
> [javac] public Iterator iterator() {
> [javac] ^
> [javac] /«BUILDDIR»/netbeans-7.0.1+dfsg1/nbbuild/antsrc/org/netbeans/nbbuild/PathFileSet.java:226: warning: iterator() in org.netbeans.nbbuild.PathFileSet implements iterator() in java.lang.Iterable; return type requires unchecked conversion
> [javac] found : java.util.Iterator
> [javac] required: java.util.Iterator<org.apache.tools.ant.types.Resource>
> [javac] public Iterator iterator() {
> [javac] ^
> [javac] /«BUILDDIR»/netbeans-7.0.1+dfsg1/nbbuild/antsrc/org/netbeans/nbbuild/PathFileSet.java:128: warning: selectorElements() in org.netbeans.nbbuild.PathFileSet implements selectorElements() in org.apache.tools.ant.types.selectors.SelectorContainer; return type requires unchecked conversion
> [javac] found : java.util.Enumeration
> [javac] required: java.util.Enumeration<org.apache.tools.ant.types.selectors.FileSelector>
> [javac] public Enumeration selectorElements() {
> [javac] ^
> [javac] /«BUILDDIR»/netbeans-7.0.1+dfsg1/nbbuild/antsrc/org/netbeans/nbbuild/RefreshDependencyVersions.java:124: incompatible types
> [javac] found : java.util.Hashtable<java.lang.String,java.lang.Object>
> [javac] required: java.util.Map<java.lang.String,java.lang.String>
> [javac] @SuppressWarnings("unchecked") Map<String,String> properties = getProject().getProperties();
> [javac] ^
> [javac] /«BUILDDIR»/netbeans-7.0.1+dfsg1/nbbuild/antsrc/org/netbeans/nbbuild/ShorterPaths.java:186: incompatible types
> [javac] found : java.util.Hashtable<java.lang.String,java.lang.Object>
> [javac] required: java.util.Map<java.lang.String,java.lang.String>
> [javac] Map<String, String> properties = getProject().getProperties();
> [javac] ^
> [javac] /«BUILDDIR»/netbeans-7.0.1+dfsg1/nbbuild/antsrc/org/netbeans/nbbuild/Sigtest.java:300: getInstance(java.lang.Class<? extends org.apache.tools.ant.types.EnumeratedAttribute>,java.lang.String) in org.apache.tools.ant.types.EnumeratedAttribute cannot be applied to (java.lang.Class<capture#293 of ?>,java.lang.String)
> [javac] setM(task, "setAction", EnumeratedAttribute.getInstance(actionType, action.getValue()));
> [javac] ^
> [javac] 10 errors
> [javac] 4 warnings
>
> BUILD FAILED
> /«BUILDDIR»/netbeans-7.0.1+dfsg1/nbbuild/build.xml:104: Compile failed; see the compiler error output for details.
>
> Total time: 11 seconds
> make[1]: *** [override_dh_auto_clean] Error 1
The full build log is available from:
http://aws-logs.debian.net/ftbfs-logs/2013/06/20/netbeans_7.0.1+dfsg1-5_unstable.log
A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.
More information about the pkg-java-maintainers
mailing list