Bug#665053: castor: FTBFS: [javac] TemplateJClassPrinter.java:95: cannot find symbol
Lucas Nussbaum
lucas at lucas-nussbaum.net
Thu Mar 22 12:20:28 UTC 2012
Source: castor
Version: 1.3.2-1
Severity: serious
Tags: wheezy sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20120321 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 `/«PKGBUILDDIR»'
> cd src && ant release
> Buildfile: /«PKGBUILDDIR»/src/build.xml
>
> clean.tests:
>
> clean.tests.core:
>
> clean.xmlctf:
>
> clean.xmlctf:
>
> clean.cpactf:
>
> clean.cpaptf:
>
> clean.tests.codegen:
>
> clean.tests.schema:
>
> clean.tests.diff:
>
> clean.libs:
>
> clean:
>
> clean.core:
>
> clean.ddlgen:
>
> clean.cpa:
>
> clean.codegen:
>
> clean.anttask:
>
> clean.cpactf:
>
> clean.cpaptf:
>
> clean.examples:
>
> clean.schema:
>
> clean.diff:
>
> compile:
>
> prepare:
> [mkdir] Created dir: /«PKGBUILDDIR»/build
> [mkdir] Created dir: /«PKGBUILDDIR»/build/classes
> [mkdir] Created dir: /«PKGBUILDDIR»/build/test
> [mkdir] Created dir: /«PKGBUILDDIR»/dist
> [mkdir] Created dir: /«PKGBUILDDIR»/build/schema
> [copy] Copying 4 files to /«PKGBUILDDIR»/build/schema
> [copy] Copying 4 files to /«PKGBUILDDIR»/build/schema
> [copy] Copying 4 files to /«PKGBUILDDIR»/build/schema
>
> -castor-build.check:
>
> derive.root.libs:
> [mkdir] Created dir: /«PKGBUILDDIR»/newlib
>
> compile.commons:
>
> prepare.core:
> [mkdir] Created dir: /«PKGBUILDDIR»/core/build
> [mkdir] Created dir: /«PKGBUILDDIR»/core/build/classes
>
> derive.core.libs:
> [mkdir] Created dir: /«PKGBUILDDIR»/core/lib
>
> compile.core:
> [javac] /«PKGBUILDDIR»/core/build.xml:62: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
> [javac] Compiling 36 source files to /«PKGBUILDDIR»/core/build/classes
> [javac] Note: Some input files use unchecked or unsafe operations.
> [javac] Note: Recompile with -Xlint:unchecked for details.
> [copy] Copying 4 files to /«PKGBUILDDIR»/core/build/classes
> [javac] /«PKGBUILDDIR»/src/build.xml:316: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
> [javac] Compiling 10 source files to /«PKGBUILDDIR»/build/classes
> [javac] EnumFieldHandler.java:148: warning: non-varargs call of varargs method with inexact argument type for last parameter;
> [javac] cast to java.lang.Class for a varargs call
> [javac] cast to java.lang.Class[] for a non-varargs call and to suppress this warning
> [javac] method = type.getMethod(METHOD_VALUE, null);
> [javac] ^
> [javac] EnumFieldHandler.java:156: warning: non-varargs call of varargs method with inexact argument type for last parameter;
> [javac] cast to java.lang.Class for a varargs call
> [javac] cast to java.lang.Class[] for a non-varargs call and to suppress this warning
> [javac] method = type.getMethod(METHOD_TOSTRING, null);
> [javac] ^
> [javac] EnumFieldHandler.java:195: warning: non-varargs call of varargs method with inexact argument type for last parameter;
> [javac] cast to java.lang.Object for a varargs call
> [javac] cast to java.lang.Object[] for a non-varargs call and to suppress this warning
> [javac] values[i] = (String) getMarshallMethod(obj.getClass()).invoke(obj, null);
> [javac] ^
> [javac] EnumFieldHandler.java:203: warning: non-varargs call of varargs method with inexact argument type for last parameter;
> [javac] cast to java.lang.Object for a varargs call
> [javac] cast to java.lang.Object[] for a non-varargs call and to suppress this warning
> [javac] result = getMarshallMethod(val.getClass()).invoke(val, null);
> [javac] ^
> [javac] Note: Some input files use or override a deprecated API.
> [javac] Note: Recompile with -Xlint:deprecation for details.
> [javac] Note: Some input files use unchecked or unsafe operations.
> [javac] Note: Recompile with -Xlint:unchecked for details.
> [javac] 4 warnings
>
> compile.all:
>
> prepare.core:
>
> derive.core.libs:
>
> compile.core:
> [javac] /«PKGBUILDDIR»/core/build.xml:62: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
> [javac] /«PKGBUILDDIR»/src/build.xml:341: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
> [javac] Compiling 108 source files to /«PKGBUILDDIR»/build/classes
> [javac] Note: Some input files use or override a deprecated API.
> [javac] Note: Recompile with -Xlint:deprecation for details.
> [javac] Note: Some input files use unchecked or unsafe operations.
> [javac] Note: Recompile with -Xlint:unchecked for details.
> [copy] Copying 19 files to /«PKGBUILDDIR»/build/classes
> [copy] Copying 3 files to /«PKGBUILDDIR»/build/test
> [javac] /«PKGBUILDDIR»/src/build.xml:383: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
> [javac] Compiling 16 source files to /«PKGBUILDDIR»/build/classes
> [javac] Note: Some input files use or override a deprecated API.
> [javac] Note: Recompile with -Xlint:deprecation for details.
> [javac] Note: Some input files use unchecked or unsafe operations.
> [javac] Note: Recompile with -Xlint:unchecked for details.
>
> prepare.diff:
> [mkdir] Created dir: /«PKGBUILDDIR»/diff/build
> [mkdir] Created dir: /«PKGBUILDDIR»/diff/build/classes
>
> derive.diff.libs:
> [mkdir] Created dir: /«PKGBUILDDIR»/diff/lib
>
> compile.diff:
> [javac] /«PKGBUILDDIR»/diff/build.xml:59: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
> [javac] Compiling 12 source files to /«PKGBUILDDIR»/diff/build/classes
> [javac] Note: XMLFileReader.java uses or overrides a deprecated API.
> [javac] Note: Recompile with -Xlint:deprecation for details.
> [javac] Note: Some input files use unchecked or unsafe operations.
> [javac] Note: Recompile with -Xlint:unchecked for details.
> [copy] Copying 3 files to /«PKGBUILDDIR»/diff/build/classes
>
> derive.libs:
> [mkdir] Created dir: /«PKGBUILDDIR»/schema/lib
>
> prepare.schema:
> [mkdir] Created dir: /«PKGBUILDDIR»/schema/build
> [mkdir] Created dir: /«PKGBUILDDIR»/schema/build/classes
>
> compile.schema:
> [javac] /«PKGBUILDDIR»/schema/build.xml:67: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
> [javac] Compiling 130 source files to /«PKGBUILDDIR»/schema/build/classes
> [javac] Note: Some input files use or override a deprecated API.
> [javac] Note: Recompile with -Xlint:deprecation for details.
> [javac] Note: Some input files use unchecked or unsafe operations.
> [javac] Note: Recompile with -Xlint:unchecked for details.
> [javac] /«PKGBUILDDIR»/schema/build.xml:75: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
> [javac] Compiling 18 source files to /«PKGBUILDDIR»/schema/build/classes
> [javac] Note: Some input files use unchecked or unsafe operations.
> [javac] Note: Recompile with -Xlint:unchecked for details.
> [copy] Copying 6 files to /«PKGBUILDDIR»/schema/build/classes
>
> prepare.codegen:
> [mkdir] Created dir: /«PKGBUILDDIR»/codegen/build
> [mkdir] Created dir: /«PKGBUILDDIR»/codegen/build/classes
>
> derive.codegen.libs:
> [mkdir] Created dir: /«PKGBUILDDIR»/codegen/lib
>
> compile.codegen:
> [javac] /«PKGBUILDDIR»/codegen/build.xml:85: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
> [javac] Compiling 46 source files to /«PKGBUILDDIR»/codegen/build/classes
> [javac] Note: Some input files use unchecked or unsafe operations.
> [javac] Note: Recompile with -Xlint:unchecked for details.
> [javac] /«PKGBUILDDIR»/codegen/build.xml:93: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
> [javac] Compiling 156 source files to /«PKGBUILDDIR»/codegen/build/classes
> [javac] TemplateJClassPrinter.java:23: package org.apache.velocity does not exist
> [javac] import org.apache.velocity.Template;
> [javac] ^
> [javac] TemplateJClassPrinter.java:24: package org.apache.velocity does not exist
> [javac] import org.apache.velocity.VelocityContext;
> [javac] ^
> [javac] TemplateJClassPrinter.java:25: package org.apache.velocity.app does not exist
> [javac] import org.apache.velocity.app.Velocity;
> [javac] ^
> [javac] TemplateJClassPrinter.java:53: cannot find symbol
> [javac] symbol : variable Velocity
> [javac] location: class org.exolab.castor.builder.printing.TemplateJClassPrinter
> [javac] Velocity.setProperty("velocimacro.permissions.allowInline", "true");
> [javac] ^
> [javac] TemplateJClassPrinter.java:54: cannot find symbol
> [javac] symbol : variable Velocity
> [javac] location: class org.exolab.castor.builder.printing.TemplateJClassPrinter
> [javac] Velocity.setProperty("velocimacro.library",
> [javac] ^
> [javac] TemplateJClassPrinter.java:56: cannot find symbol
> [javac] symbol : variable Velocity
> [javac] location: class org.exolab.castor.builder.printing.TemplateJClassPrinter
> [javac] Velocity.setProperty("resource.loader", "classPathResource");
> [javac] ^
> [javac] TemplateJClassPrinter.java:57: cannot find symbol
> [javac] symbol : variable Velocity
> [javac] location: class org.exolab.castor.builder.printing.TemplateJClassPrinter
> [javac] Velocity
> [javac] ^
> [javac] TemplateJClassPrinter.java:61: cannot find symbol
> [javac] symbol : variable Velocity
> [javac] location: class org.exolab.castor.builder.printing.TemplateJClassPrinter
> [javac] Velocity.init();
> [javac] ^
> [javac] TemplateJClassPrinter.java:88: cannot find symbol
> [javac] symbol : class VelocityContext
> [javac] location: class org.exolab.castor.builder.printing.TemplateJClassPrinter
> [javac] VelocityContext context = new VelocityContext();
> [javac] ^
> [javac] TemplateJClassPrinter.java:88: cannot find symbol
> [javac] symbol : class VelocityContext
> [javac] location: class org.exolab.castor.builder.printing.TemplateJClassPrinter
> [javac] VelocityContext context = new VelocityContext();
> [javac] ^
> [javac] TemplateJClassPrinter.java:94: cannot find symbol
> [javac] symbol : class Template
> [javac] location: class org.exolab.castor.builder.printing.TemplateJClassPrinter
> [javac] Template template =
> [javac] ^
> [javac] TemplateJClassPrinter.java:95: cannot find symbol
> [javac] symbol : variable Velocity
> [javac] location: class org.exolab.castor.builder.printing.TemplateJClassPrinter
> [javac] Velocity.getTemplate(TEMPLATE_PACKAGE + "main.vm");
> [javac] ^
> [javac] Note: Some input files use or override a deprecated API.
> [javac] Note: Recompile with -Xlint:deprecation for details.
> [javac] Note: Some input files use unchecked or unsafe operations.
> [javac] Note: Recompile with -Xlint:unchecked for details.
> [javac] 12 errors
>
> BUILD FAILED
> /«PKGBUILDDIR»/src/build.xml:304: The following error occurred while executing this line:
> /«PKGBUILDDIR»/src/build.xml:422: The following error occurred while executing this line:
> /«PKGBUILDDIR»/codegen/build.xml:93: Compile failed; see the compiler error output for details.
>
> Total time: 33 seconds
> make[1]: *** [override_dh_auto_build] Error 1
The full build log is available from:
http://people.debian.org/~lucas/logs/2012/03/21/castor_1.3.2-1.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 about 50 AMD64 nodes
of the Grid'5000 platform, using a clean chroot. Internet was not
accessible from the build systems.
More information about the pkg-java-maintainers
mailing list