Bug#665080: jasperreports: FTBFS: [javac] VelocityUtil.java:64: cannot find symbol

Lucas Nussbaum lucas at lucas-nussbaum.net
Thu Mar 22 12:20:32 UTC 2012


Source: jasperreports
Version: 4.1.3+dfsg-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:
>  debian/rules build
> test -x debian/rules
> mkdir -p "."
> cd . && /usr/lib/jvm/default-java/bin/java -classpath /usr/share/ant/lib/ant.jar:/usr/share/ant/lib/ant-launcher.jar:/usr/share/java/bsh.jar:/usr/share/java/asm2.jar:/usr/share/java/groovy.jar:/usr/share/java/jcommon.jar:/usr/share/java/spring3-core.jar:/usr/share/java/spring3-beans.jar:/usr/share/java/commons-digester.jar:/usr/share/java/commons-collections3.jar:/usr/share/java/commons-logging.jar:/usr/share/java/commons-beanutils.jar:/usr/share/java/commons-codec.jar:/usr/share/java/commons-javaflow.jar:/usr/share/java/eclipse-ecj.jar:/usr/share/java/xalan2.jar:/usr/share/java/jaxen.jar:/usr/share/java/xml-apis-ext.jar:/usr/share/java/jxl.jar:/usr/share/java/poi.jar:/usr/share/java/itext.jar:/usr/share/java/castor-core.jar:/usr/share/java/castor-xml.jar:/usr/share/java/batik-all.jar:/usr/share/java/jfreechart.jar:/usr/share/java/hibernate3.jar:/usr/share/java/glassfish-javaee.jar:/usr/share/java/mondrian.jar:/usr/share/java/olap4j.jar:/usr/share/java/antlr.jar:/usr/share/java/js.jar:/usr/share/java/jackson-mapper.jar:/usr/share/java/jackson-core.jar:/usr/lib/jvm/default-java/lib/tools.jar  -Dant.home=/usr/share/ant org.apache.tools.ant.Main -Dcompile.debug=true -Dcompile.optimize=true     jar docs
> Buildfile: /«BUILDDIR»/jasperreports-4.1.3+dfsg/build.xml
> 
> compile:
>     [mkdir] Created dir: /«BUILDDIR»/jasperreports-4.1.3+dfsg/build/classes
>     [javac] /«BUILDDIR»/jasperreports-4.1.3+dfsg/build.xml:9: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
>     [javac] Compiling 1576 source files to /«BUILDDIR»/jasperreports-4.1.3+dfsg/build/classes
>     [javac] MapElementHtmlHandler.java:38: package org.apache.velocity does not exist
>     [javac] import org.apache.velocity.VelocityContext;
>     [javac]                           ^
>     [javac] SortElementHtmlHandler.java:60: package org.apache.velocity does not exist
>     [javac] import org.apache.velocity.VelocityContext;
>     [javac]                           ^
>     [javac] DefaultViewer.java:33: package org.apache.velocity does not exist
>     [javac] import org.apache.velocity.VelocityContext;
>     [javac]                           ^
>     [javac] NoDecorationViewer.java:33: package org.apache.velocity does not exist
>     [javac] import org.apache.velocity.VelocityContext;
>     [javac]                           ^
>     [javac] VelocityUtil.java:29: package org.apache.velocity does not exist
>     [javac] import org.apache.velocity.Template;
>     [javac]                           ^
>     [javac] VelocityUtil.java:30: package org.apache.velocity does not exist
>     [javac] import org.apache.velocity.VelocityContext;
>     [javac]                           ^
>     [javac] VelocityUtil.java:31: package org.apache.velocity.app does not exist
>     [javac] import org.apache.velocity.app.VelocityEngine;
>     [javac]                               ^
>     [javac] VelocityUtil.java:46: cannot find symbol
>     [javac] symbol  : class VelocityEngine
>     [javac] location: class net.sf.jasperreports.web.util.VelocityUtil
>     [javac] 	private static final VelocityEngine velocityEngine;
>     [javac] 	                     ^
>     [javac] VelocityUtil.java:59: cannot find symbol
>     [javac] symbol  : class VelocityEngine
>     [javac] location: class net.sf.jasperreports.web.util.VelocityUtil
>     [javac] 	public static VelocityEngine getVelocityEngine() {
>     [javac] 	              ^
>     [javac] VelocityUtil.java:63: cannot find symbol
>     [javac] symbol  : class VelocityContext
>     [javac] location: class net.sf.jasperreports.web.util.VelocityUtil
>     [javac] 	public static String processTemplate(String templateName, VelocityContext vContext) {
>     [javac] 	                                                          ^
>     [javac] MapElementHtmlHandler.java:67: cannot find symbol
>     [javac] symbol  : class VelocityContext
>     [javac] location: class net.sf.jasperreports.components.map.MapElementHtmlHandler
>     [javac] 		VelocityContext velocityContext = new VelocityContext();
>     [javac] 		^
>     [javac] MapElementHtmlHandler.java:67: cannot find symbol
>     [javac] symbol  : class VelocityContext
>     [javac] location: class net.sf.jasperreports.components.map.MapElementHtmlHandler
>     [javac] 		VelocityContext velocityContext = new VelocityContext();
>     [javac] 		                                      ^
>     [javac] SortElementHtmlHandler.java:144: cannot find symbol
>     [javac] symbol  : class VelocityContext
>     [javac] location: class net.sf.jasperreports.components.sort.SortElementHtmlHandler
>     [javac] 			VelocityContext velocityContext = new VelocityContext();
>     [javac] 			^
>     [javac] SortElementHtmlHandler.java:144: cannot find symbol
>     [javac] symbol  : class VelocityContext
>     [javac] location: class net.sf.jasperreports.components.sort.SortElementHtmlHandler
>     [javac] 			VelocityContext velocityContext = new VelocityContext();
>     [javac] 			                                      ^
>     [javac] DefaultViewer.java:60: cannot find symbol
>     [javac] symbol  : class VelocityContext
>     [javac] location: class net.sf.jasperreports.web.servlets.DefaultViewer
>     [javac] 		VelocityContext headerContext = new VelocityContext();
>     [javac] 		^
>     [javac] DefaultViewer.java:60: cannot find symbol
>     [javac] symbol  : class VelocityContext
>     [javac] location: class net.sf.jasperreports.web.servlets.DefaultViewer
>     [javac] 		VelocityContext headerContext = new VelocityContext();
>     [javac] 		                                    ^
>     [javac] DefaultViewer.java:87: cannot find symbol
>     [javac] symbol  : class VelocityContext
>     [javac] location: class net.sf.jasperreports.web.servlets.DefaultViewer
>     [javac] 		VelocityContext betweenPagesContext = new VelocityContext();
>     [javac] 		^
>     [javac] DefaultViewer.java:87: cannot find symbol
>     [javac] symbol  : class VelocityContext
>     [javac] location: class net.sf.jasperreports.web.servlets.DefaultViewer
>     [javac] 		VelocityContext betweenPagesContext = new VelocityContext();
>     [javac] 		                                          ^
>     [javac] DefaultViewer.java:93: cannot find symbol
>     [javac] symbol  : class VelocityContext
>     [javac] location: class net.sf.jasperreports.web.servlets.DefaultViewer
>     [javac] 		VelocityContext footerContext = new VelocityContext();
>     [javac] 		^
>     [javac] DefaultViewer.java:93: cannot find symbol
>     [javac] symbol  : class VelocityContext
>     [javac] location: class net.sf.jasperreports.web.servlets.DefaultViewer
>     [javac] 		VelocityContext footerContext = new VelocityContext();
>     [javac] 		                                    ^
>     [javac] NoDecorationViewer.java:56: cannot find symbol
>     [javac] symbol  : class VelocityContext
>     [javac] location: class net.sf.jasperreports.web.servlets.NoDecorationViewer
>     [javac] 		VelocityContext headerContext = new VelocityContext();
>     [javac] 		^
>     [javac] NoDecorationViewer.java:56: cannot find symbol
>     [javac] symbol  : class VelocityContext
>     [javac] location: class net.sf.jasperreports.web.servlets.NoDecorationViewer
>     [javac] 		VelocityContext headerContext = new VelocityContext();
>     [javac] 		                                    ^
>     [javac] NoDecorationViewer.java:83: cannot find symbol
>     [javac] symbol  : class VelocityContext
>     [javac] location: class net.sf.jasperreports.web.servlets.NoDecorationViewer
>     [javac] 		VelocityContext betweenPagesContext = new VelocityContext();
>     [javac] 		^
>     [javac] NoDecorationViewer.java:83: cannot find symbol
>     [javac] symbol  : class VelocityContext
>     [javac] location: class net.sf.jasperreports.web.servlets.NoDecorationViewer
>     [javac] 		VelocityContext betweenPagesContext = new VelocityContext();
>     [javac] 		                                          ^
>     [javac] NoDecorationViewer.java:89: cannot find symbol
>     [javac] symbol  : class VelocityContext
>     [javac] location: class net.sf.jasperreports.web.servlets.NoDecorationViewer
>     [javac] 		VelocityContext footerContext = new VelocityContext();
>     [javac] 		^
>     [javac] NoDecorationViewer.java:89: cannot find symbol
>     [javac] symbol  : class VelocityContext
>     [javac] location: class net.sf.jasperreports.web.servlets.NoDecorationViewer
>     [javac] 		VelocityContext footerContext = new VelocityContext();
>     [javac] 		                                    ^
>     [javac] VelocityUtil.java:49: cannot find symbol
>     [javac] symbol  : class VelocityEngine
>     [javac] location: class net.sf.jasperreports.web.util.VelocityUtil
>     [javac] 		velocityEngine = new VelocityEngine();
>     [javac] 		                     ^
>     [javac] VelocityUtil.java:64: cannot find symbol
>     [javac] symbol  : class Template
>     [javac] location: class net.sf.jasperreports.web.util.VelocityUtil
>     [javac]         Template template = 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] 28 errors
> 
> BUILD FAILED
> /«BUILDDIR»/jasperreports-4.1.3+dfsg/build.xml:9: Compile failed; see the compiler error output for details.
> 
> Total time: 33 seconds
> make: *** [debian/stamp-ant-build] Error 1

The full build log is available from:
   http://people.debian.org/~lucas/logs/2012/03/21/jasperreports_4.1.3+dfsg-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