Bug#713169: jasperreports: FTBFS: [javac] /«BUILDDIR»/jasperreports-4.1.3+dfsg/src/net/sf/jasperreports/engine/query/JRHibernateQueryExecuter.java:465: cannot find symbol

Lucas Nussbaum lucas at lucas-nussbaum.net
Sat Jun 22 11:59:35 UTC 2013


Source: jasperreports
Version: 4.1.3+dfsg-1
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:
>  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/velocity.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/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] /«BUILDDIR»/jasperreports-4.1.3+dfsg/src/net/sf/jasperreports/engine/data/JRHibernateAbstractDataSource.java:36: package org.hibernate.type does not exist
>     [javac] import org.hibernate.type.Type;
>     [javac]                          ^
>     [javac] /«BUILDDIR»/jasperreports-4.1.3+dfsg/src/net/sf/jasperreports/engine/query/JRHibernateQueryExecuter.java:48: package org.hibernate does not exist
>     [javac] import org.hibernate.Hibernate;
>     [javac]                     ^
>     [javac] /«BUILDDIR»/jasperreports-4.1.3+dfsg/src/net/sf/jasperreports/engine/query/JRHibernateQueryExecuter.java:49: package org.hibernate does not exist
>     [javac] import org.hibernate.Query;
>     [javac]                     ^
>     [javac] /«BUILDDIR»/jasperreports-4.1.3+dfsg/src/net/sf/jasperreports/engine/query/JRHibernateQueryExecuter.java:50: package org.hibernate does not exist
>     [javac] import org.hibernate.ScrollMode;
>     [javac]                     ^
>     [javac] /«BUILDDIR»/jasperreports-4.1.3+dfsg/src/net/sf/jasperreports/engine/query/JRHibernateQueryExecuter.java:51: package org.hibernate does not exist
>     [javac] import org.hibernate.ScrollableResults;
>     [javac]                     ^
>     [javac] /«BUILDDIR»/jasperreports-4.1.3+dfsg/src/net/sf/jasperreports/engine/query/JRHibernateQueryExecuter.java:52: package org.hibernate does not exist
>     [javac] import org.hibernate.Session;
>     [javac]                     ^
>     [javac] /«BUILDDIR»/jasperreports-4.1.3+dfsg/src/net/sf/jasperreports/engine/query/JRHibernateQueryExecuter.java:53: package org.hibernate.type does not exist
>     [javac] import org.hibernate.type.Type;
>     [javac]                          ^
>     [javac] /«BUILDDIR»/jasperreports-4.1.3+dfsg/src/net/sf/jasperreports/engine/data/JRHibernateAbstractDataSource.java:173: cannot find symbol
>     [javac] symbol  : class Type
>     [javac] location: class net.sf.jasperreports.engine.data.JRHibernateAbstractDataSource
>     [javac] 	protected FieldReader getFieldReader(Type[] returnTypes, Map<String,Integer> aliasesMap, JRField field)
>     [javac] 	                                     ^
>     [javac] /«BUILDDIR»/jasperreports-4.1.3+dfsg/src/net/sf/jasperreports/engine/query/JRHibernateQueryExecuter.java:65: cannot find symbol
>     [javac] symbol  : class Type
>     [javac] location: class net.sf.jasperreports.engine.query.JRHibernateQueryExecuter
>     [javac] 	private static final Map<Class<?>,Type> hibernateTypeMap;
>     [javac] 	                                  ^
>     [javac] /«BUILDDIR»/jasperreports-4.1.3+dfsg/src/net/sf/jasperreports/engine/query/JRHibernateQueryExecuter.java:88: cannot find symbol
>     [javac] symbol  : class Session
>     [javac] location: class net.sf.jasperreports.engine.query.JRHibernateQueryExecuter
>     [javac] 	private Session session;
>     [javac] 	        ^
>     [javac] /«BUILDDIR»/jasperreports-4.1.3+dfsg/src/net/sf/jasperreports/engine/query/JRHibernateQueryExecuter.java:89: cannot find symbol
>     [javac] symbol  : class Query
>     [javac] location: class net.sf.jasperreports.engine.query.JRHibernateQueryExecuter
>     [javac] 	private Query query;
>     [javac] 	        ^
>     [javac] /«BUILDDIR»/jasperreports-4.1.3+dfsg/src/net/sf/jasperreports/engine/query/JRHibernateQueryExecuter.java:91: cannot find symbol
>     [javac] symbol  : class ScrollableResults
>     [javac] location: class net.sf.jasperreports.engine.query.JRHibernateQueryExecuter
>     [javac] 	private ScrollableResults scrollableResults;
>     [javac] 	        ^
>     [javac] /«BUILDDIR»/jasperreports-4.1.3+dfsg/src/net/sf/jasperreports/engine/query/JRHibernateQueryExecuter.java:343: cannot find symbol
>     [javac] symbol  : class Type
>     [javac] location: class net.sf.jasperreports.engine.query.JRHibernateQueryExecuter
>     [javac] 	public Type[] getReturnTypes()
>     [javac] 	       ^
>     [javac] /«BUILDDIR»/jasperreports-4.1.3+dfsg/src/net/sf/jasperreports/engine/query/JRHibernateQueryExecuter.java:458: cannot find symbol
>     [javac] symbol  : class ScrollableResults
>     [javac] location: class net.sf.jasperreports.engine.query.JRHibernateQueryExecuter
>     [javac] 	public ScrollableResults scroll()
>     [javac] 	       ^
>     [javac] /«BUILDDIR»/jasperreports-4.1.3+dfsg/src/net/sf/jasperreports/engine/data/JRHibernateScrollDataSource.java:30: package org.hibernate does not exist
>     [javac] import org.hibernate.ScrollableResults;
>     [javac]                     ^
>     [javac] /«BUILDDIR»/jasperreports-4.1.3+dfsg/src/net/sf/jasperreports/engine/data/JRHibernateScrollDataSource.java:40: cannot find symbol
>     [javac] symbol  : class ScrollableResults
>     [javac] location: class net.sf.jasperreports.engine.data.JRHibernateScrollDataSource
>     [javac] 	private ScrollableResults scrollableResults;
>     [javac] 	        ^
>     [javac] /«BUILDDIR»/jasperreports-4.1.3+dfsg/src/net/sf/jasperreports/engine/data/JRHibernateAbstractDataSource.java:80: cannot find symbol
>     [javac] symbol  : class Type
>     [javac] location: class net.sf.jasperreports.engine.data.JRHibernateAbstractDataSource
>     [javac] 		Type[] returnTypes = queryExecuter.getReturnTypes();
>     [javac] 		^
>     [javac] /«BUILDDIR»/jasperreports-4.1.3+dfsg/src/net/sf/jasperreports/engine/data/JRHibernateAbstractDataSource.java:197: cannot find symbol
>     [javac] symbol  : class Type
>     [javac] location: class net.sf.jasperreports.engine.data.JRHibernateAbstractDataSource
>     [javac] 			Type type = returnTypes[fieldIdx.intValue()];
>     [javac] 			^
>     [javac] /«BUILDDIR»/jasperreports-4.1.3+dfsg/src/net/sf/jasperreports/engine/query/JRHibernateQueryExecuter.java:69: cannot find symbol
>     [javac] symbol  : class Type
>     [javac] location: class net.sf.jasperreports.engine.query.JRHibernateQueryExecuter
>     [javac] 		hibernateTypeMap = new HashMap<Class<?>,Type>();
>     [javac] 		                                        ^
>     [javac] /«BUILDDIR»/jasperreports-4.1.3+dfsg/src/net/sf/jasperreports/engine/query/JRHibernateQueryExecuter.java:70: cannot find symbol
>     [javac] symbol  : variable Hibernate
>     [javac] location: class net.sf.jasperreports.engine.query.JRHibernateQueryExecuter
>     [javac] 		hibernateTypeMap.put(Boolean.class, Hibernate.BOOLEAN);
>     [javac] 		                                    ^
>     [javac] /«BUILDDIR»/jasperreports-4.1.3+dfsg/src/net/sf/jasperreports/engine/query/JRHibernateQueryExecuter.java:71: cannot find symbol
>     [javac] symbol  : variable Hibernate
>     [javac] location: class net.sf.jasperreports.engine.query.JRHibernateQueryExecuter
>     [javac] 		hibernateTypeMap.put(Byte.class, Hibernate.BYTE);
>     [javac] 		                                 ^
>     [javac] /«BUILDDIR»/jasperreports-4.1.3+dfsg/src/net/sf/jasperreports/engine/query/JRHibernateQueryExecuter.java:72: cannot find symbol
>     [javac] symbol  : variable Hibernate
>     [javac] location: class net.sf.jasperreports.engine.query.JRHibernateQueryExecuter
>     [javac] 		hibernateTypeMap.put(Double.class, Hibernate.DOUBLE);
>     [javac] 		                                   ^
>     [javac] /«BUILDDIR»/jasperreports-4.1.3+dfsg/src/net/sf/jasperreports/engine/query/JRHibernateQueryExecuter.java:73: cannot find symbol
>     [javac] symbol  : variable Hibernate
>     [javac] location: class net.sf.jasperreports.engine.query.JRHibernateQueryExecuter
>     [javac] 		hibernateTypeMap.put(Float.class, Hibernate.FLOAT);
>     [javac] 		                                  ^
>     [javac] /«BUILDDIR»/jasperreports-4.1.3+dfsg/src/net/sf/jasperreports/engine/query/JRHibernateQueryExecuter.java:74: cannot find symbol
>     [javac] symbol  : variable Hibernate
>     [javac] location: class net.sf.jasperreports.engine.query.JRHibernateQueryExecuter
>     [javac] 		hibernateTypeMap.put(Integer.class, Hibernate.INTEGER);
>     [javac] 		                                    ^
>     [javac] /«BUILDDIR»/jasperreports-4.1.3+dfsg/src/net/sf/jasperreports/engine/query/JRHibernateQueryExecuter.java:75: cannot find symbol
>     [javac] symbol  : variable Hibernate
>     [javac] location: class net.sf.jasperreports.engine.query.JRHibernateQueryExecuter
>     [javac] 		hibernateTypeMap.put(Long.class, Hibernate.LONG);
>     [javac] 		                                 ^
>     [javac] /«BUILDDIR»/jasperreports-4.1.3+dfsg/src/net/sf/jasperreports/engine/query/JRHibernateQueryExecuter.java:76: cannot find symbol
>     [javac] symbol  : variable Hibernate
>     [javac] location: class net.sf.jasperreports.engine.query.JRHibernateQueryExecuter
>     [javac] 		hibernateTypeMap.put(Short.class, Hibernate.SHORT);
>     [javac] 		                                  ^
>     [javac] /«BUILDDIR»/jasperreports-4.1.3+dfsg/src/net/sf/jasperreports/engine/query/JRHibernateQueryExecuter.java:77: cannot find symbol
>     [javac] symbol  : variable Hibernate
>     [javac] location: class net.sf.jasperreports.engine.query.JRHibernateQueryExecuter
>     [javac] 		hibernateTypeMap.put(java.math.BigDecimal.class, Hibernate.BIG_DECIMAL);
>     [javac] 		                                                 ^
>     [javac] /«BUILDDIR»/jasperreports-4.1.3+dfsg/src/net/sf/jasperreports/engine/query/JRHibernateQueryExecuter.java:78: cannot find symbol
>     [javac] symbol  : variable Hibernate
>     [javac] location: class net.sf.jasperreports.engine.query.JRHibernateQueryExecuter
>     [javac] 		hibernateTypeMap.put(java.math.BigInteger.class, Hibernate.BIG_INTEGER);
>     [javac] 		                                                 ^
>     [javac] /«BUILDDIR»/jasperreports-4.1.3+dfsg/src/net/sf/jasperreports/engine/query/JRHibernateQueryExecuter.java:79: cannot find symbol
>     [javac] symbol  : variable Hibernate
>     [javac] location: class net.sf.jasperreports.engine.query.JRHibernateQueryExecuter
>     [javac] 		hibernateTypeMap.put(Character.class, Hibernate.CHARACTER);
>     [javac] 		                                      ^
>     [javac] /«BUILDDIR»/jasperreports-4.1.3+dfsg/src/net/sf/jasperreports/engine/query/JRHibernateQueryExecuter.java:80: cannot find symbol
>     [javac] symbol  : variable Hibernate
>     [javac] location: class net.sf.jasperreports.engine.query.JRHibernateQueryExecuter
>     [javac] 		hibernateTypeMap.put(String.class, Hibernate.STRING);
>     [javac] 		                                   ^
>     [javac] /«BUILDDIR»/jasperreports-4.1.3+dfsg/src/net/sf/jasperreports/engine/query/JRHibernateQueryExecuter.java:81: cannot find symbol
>     [javac] symbol  : variable Hibernate
>     [javac] location: class net.sf.jasperreports.engine.query.JRHibernateQueryExecuter
>     [javac] 		hibernateTypeMap.put(java.util.Date.class, Hibernate.DATE);
>     [javac] 		                                           ^
>     [javac] /«BUILDDIR»/jasperreports-4.1.3+dfsg/src/net/sf/jasperreports/engine/query/JRHibernateQueryExecuter.java:82: cannot find symbol
>     [javac] symbol  : variable Hibernate
>     [javac] location: class net.sf.jasperreports.engine.query.JRHibernateQueryExecuter
>     [javac] 		hibernateTypeMap.put(java.sql.Timestamp.class, Hibernate.TIMESTAMP);
>     [javac] 		                                               ^
>     [javac] /«BUILDDIR»/jasperreports-4.1.3+dfsg/src/net/sf/jasperreports/engine/query/JRHibernateQueryExecuter.java:83: cannot find symbol
>     [javac] symbol  : variable Hibernate
>     [javac] location: class net.sf.jasperreports.engine.query.JRHibernateQueryExecuter
>     [javac] 		hibernateTypeMap.put(java.sql.Time.class, Hibernate.TIME);
>     [javac] 		                                          ^
>     [javac] /«BUILDDIR»/jasperreports-4.1.3+dfsg/src/net/sf/jasperreports/engine/query/JRHibernateQueryExecuter.java:99: cannot find symbol
>     [javac] symbol  : class Session
>     [javac] location: class net.sf.jasperreports.engine.query.JRHibernateQueryExecuter
>     [javac] 		session = (Session) getParameterValue(JRHibernateQueryExecuterFactory.PARAMETER_HIBERNATE_SESSION);
>     [javac] 		           ^
>     [javac] /«BUILDDIR»/jasperreports-4.1.3+dfsg/src/net/sf/jasperreports/engine/query/JRHibernateQueryExecuter.java:262: cannot find symbol
>     [javac] symbol  : class Type
>     [javac] location: class net.sf.jasperreports.engine.query.JRHibernateQueryExecuter
>     [javac] 		Type type = hibernateTypeMap.get(clazz);
>     [javac] 		^
>     [javac] /«BUILDDIR»/jasperreports-4.1.3+dfsg/src/net/sf/jasperreports/engine/query/JRHibernateQueryExecuter.java:465: cannot find symbol
>     [javac] symbol  : variable ScrollMode
>     [javac] location: class net.sf.jasperreports.engine.query.JRHibernateQueryExecuter
>     [javac] 			scrollableResults = query.scroll(ScrollMode.FORWARD_ONLY);
>     [javac] 			                                 ^
>     [javac] /«BUILDDIR»/jasperreports-4.1.3+dfsg/src/net/sf/jasperreports/engine/design/JRJdtCompiler.java:127: net.sf.jasperreports.engine.design.JRJdtCompiler.CompilationUnit is not abstract and does not override abstract method ignoreOptionalProblems() in org.eclipse.jdt.internal.compiler.env.ICompilationUnit
>     [javac] 	class CompilationUnit implements ICompilationUnit 
>     [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] 37 errors
> 
> BUILD FAILED
> /«BUILDDIR»/jasperreports-4.1.3+dfsg/build.xml:9: Compile failed; see the compiler error output for details.
> 
> Total time: 24 seconds
> make: *** [debian/stamp-ant-build] Error 1

The full build log is available from:
   http://aws-logs.debian.net/ftbfs-logs/2013/06/20/jasperreports_4.1.3+dfsg-1_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