Bug#1078389: tomcat9: FTBFS: [javac] /<<PKGBUILDDIR>>/java/org/apache/jasper/compiler/JDTCompiler.java:40: error: cannot find symbol

Lucas Nussbaum lucas at debian.org
Sat Aug 10 06:55:20 BST 2024


Source: tomcat9
Version: 9.0.70-2
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20240809 ftbfs-trixie

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> dh_auto_build -- -Ddistribution.name=Debian embed-jars deploy
> 	ant -propertyfile ./debian/ant.properties -Duser.name debian -Ddistribution.name=Debian embed-jars deploy
> Buildfile: /<<PKGBUILDDIR>>/build.xml
>    [tstamp] Honouring environment variable SOURCE_DATE_EPOCH which has been set to 1685202692
> 
> build-prepare:
>     [mkdir] Created dir: /<<PKGBUILDDIR>>/output/classes
>     [mkdir] Created dir: /<<PKGBUILDDIR>>/output/build
>     [mkdir] Created dir: /<<PKGBUILDDIR>>/output/build/bin
>     [mkdir] Created dir: /<<PKGBUILDDIR>>/output/build/conf
>     [mkdir] Created dir: /<<PKGBUILDDIR>>/output/build/lib
>     [mkdir] Created dir: /<<PKGBUILDDIR>>/output/build/logs
>     [mkdir] Created dir: /<<PKGBUILDDIR>>/output/build/temp
>     [mkdir] Created dir: /<<PKGBUILDDIR>>/output/build/webapps
> 
> build-manifests:
>     [mkdir] Created dir: /<<PKGBUILDDIR>>/output/manifests
>      [copy] Copying 21 files to /<<PKGBUILDDIR>>/output/manifests
> 
> download-bnd:
>    [tstamp] Honouring environment variable SOURCE_DATE_EPOCH which has been set to 1685202692
> 
> testexist:
>      [echo] Testing  for /usr/share/java/bnd.jar
> 
> setproxy:
> 
> downloadfile:
> 
> setup-bnd:
> 
> compile-prepare:
>      [copy] Copying 1 file to /<<PKGBUILDDIR>>/java/org/apache/catalina/startup
>      [copy] Copying 1 file to /<<PKGBUILDDIR>>/webapps/docs
> 
> download-validate:
> 
> validate:
> 
> compile:
>     [javac] Compiling 1786 source files to /<<PKGBUILDDIR>>/output/classes
>     [javac] warning: [options] source value 8 is obsolete and will be removed in a future release
>     [javac] warning: [options] target value 8 is obsolete and will be removed in a future release
>     [javac] warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.
>     [javac] /<<PKGBUILDDIR>>/java/org/apache/jasper/compiler/JDTCompiler.java:40: error: cannot find symbol
>     [javac] import org.eclipse.jdt.core.compiler.IProblem;
>     [javac]                                     ^
>     [javac]   symbol:   class IProblem
>     [javac]   location: package org.eclipse.jdt.core.compiler
>     [javac] /<<PKGBUILDDIR>>/java/org/apache/jasper/compiler/JDTCompiler.java:41: error: cannot find symbol
>     [javac] import org.eclipse.jdt.internal.compiler.ClassFile;
>     [javac]                                         ^
>     [javac]   symbol:   class ClassFile
>     [javac]   location: package org.eclipse.jdt.internal.compiler
>     [javac] /<<PKGBUILDDIR>>/java/org/apache/jasper/compiler/JDTCompiler.java:42: error: cannot find symbol
>     [javac] import org.eclipse.jdt.internal.compiler.CompilationResult;
>     [javac]                                         ^
>     [javac]   symbol:   class CompilationResult
>     [javac]   location: package org.eclipse.jdt.internal.compiler
>     [javac] /<<PKGBUILDDIR>>/java/org/apache/jasper/compiler/JDTCompiler.java:43: error: cannot find symbol
>     [javac] import org.eclipse.jdt.internal.compiler.Compiler;
>     [javac]                                         ^
>     [javac]   symbol:   class Compiler
>     [javac]   location: package org.eclipse.jdt.internal.compiler
>     [javac] /<<PKGBUILDDIR>>/java/org/apache/jasper/compiler/JDTCompiler.java:44: error: cannot find symbol
>     [javac] import org.eclipse.jdt.internal.compiler.DefaultErrorHandlingPolicies;
>     [javac]                                         ^
>     [javac]   symbol:   class DefaultErrorHandlingPolicies
>     [javac]   location: package org.eclipse.jdt.internal.compiler
>     [javac] /<<PKGBUILDDIR>>/java/org/apache/jasper/compiler/JDTCompiler.java:45: error: cannot find symbol
>     [javac] import org.eclipse.jdt.internal.compiler.ICompilerRequestor;
>     [javac]                                         ^
>     [javac]   symbol:   class ICompilerRequestor
>     [javac]   location: package org.eclipse.jdt.internal.compiler
>     [javac] /<<PKGBUILDDIR>>/java/org/apache/jasper/compiler/JDTCompiler.java:46: error: cannot find symbol
>     [javac] import org.eclipse.jdt.internal.compiler.IErrorHandlingPolicy;
>     [javac]                                         ^
>     [javac]   symbol:   class IErrorHandlingPolicy
>     [javac]   location: package org.eclipse.jdt.internal.compiler
>     [javac] /<<PKGBUILDDIR>>/java/org/apache/jasper/compiler/JDTCompiler.java:47: error: cannot find symbol
>     [javac] import org.eclipse.jdt.internal.compiler.IProblemFactory;
>     [javac]                                         ^
>     [javac]   symbol:   class IProblemFactory
>     [javac]   location: package org.eclipse.jdt.internal.compiler
>     [javac] /<<PKGBUILDDIR>>/java/org/apache/jasper/compiler/JDTCompiler.java:48: error: package org.eclipse.jdt.internal.compiler.classfmt does not exist
>     [javac] import org.eclipse.jdt.internal.compiler.classfmt.ClassFileReader;
>     [javac]                                                  ^
>     [javac] /<<PKGBUILDDIR>>/java/org/apache/jasper/compiler/JDTCompiler.java:49: error: package org.eclipse.jdt.internal.compiler.classfmt does not exist
>     [javac] import org.eclipse.jdt.internal.compiler.classfmt.ClassFormatException;
>     [javac]                                                  ^
>     [javac] /<<PKGBUILDDIR>>/java/org/apache/jasper/compiler/JDTCompiler.java:50: error: package org.eclipse.jdt.internal.compiler.env does not exist
>     [javac] import org.eclipse.jdt.internal.compiler.env.ICompilationUnit;
>     [javac]                                             ^
>     [javac] /<<PKGBUILDDIR>>/java/org/apache/jasper/compiler/JDTCompiler.java:51: error: package org.eclipse.jdt.internal.compiler.env does not exist
>     [javac] import org.eclipse.jdt.internal.compiler.env.INameEnvironment;
>     [javac]                                             ^
>     [javac] /<<PKGBUILDDIR>>/java/org/apache/jasper/compiler/JDTCompiler.java:52: error: package org.eclipse.jdt.internal.compiler.env does not exist
>     [javac] import org.eclipse.jdt.internal.compiler.env.NameEnvironmentAnswer;
>     [javac]                                             ^
>     [javac] /<<PKGBUILDDIR>>/java/org/apache/jasper/compiler/JDTCompiler.java:53: error: package org.eclipse.jdt.internal.compiler.impl does not exist
>     [javac] import org.eclipse.jdt.internal.compiler.impl.CompilerOptions;
>     [javac]                                              ^
>     [javac] /<<PKGBUILDDIR>>/java/org/apache/jasper/compiler/JDTCompiler.java:54: error: package org.eclipse.jdt.internal.compiler.problem does not exist
>     [javac] import org.eclipse.jdt.internal.compiler.problem.DefaultProblemFactory;
>     [javac]                                                 ^
>     [javac] /<<PKGBUILDDIR>>/java/org/apache/jasper/compiler/JDTCompiler.java:91: error: cannot find symbol
>     [javac]         class CompilationUnit implements ICompilationUnit {
>     [javac]                                          ^
>     [javac]   symbol:   class ICompilationUnit
>     [javac]   location: class JDTCompiler
>     [javac] /<<PKGBUILDDIR>>/java/org/apache/jasper/compiler/JDTCompiler.java:101: error: method does not override or implement a method from a supertype
>     [javac]             @Override
>     [javac]             ^
>     [javac] /<<PKGBUILDDIR>>/java/org/apache/jasper/compiler/JDTCompiler.java:106: error: method does not override or implement a method from a supertype
>     [javac]             @Override
>     [javac]             ^
>     [javac] /<<PKGBUILDDIR>>/java/org/apache/jasper/compiler/JDTCompiler.java:126: error: method does not override or implement a method from a supertype
>     [javac]             @Override
>     [javac]             ^
>     [javac] /<<PKGBUILDDIR>>/java/org/apache/jasper/compiler/JDTCompiler.java:135: error: method does not override or implement a method from a supertype
>     [javac]             @Override
>     [javac]             ^
>     [javac] /<<PKGBUILDDIR>>/java/org/apache/jasper/compiler/JDTCompiler.java:146: error: method does not override or implement a method from a supertype
>     [javac]             @Override
>     [javac]             ^
>     [javac] /<<PKGBUILDDIR>>/java/org/apache/jasper/compiler/JDTCompiler.java:152: error: cannot find symbol
>     [javac]         final INameEnvironment env = new INameEnvironment() {
>     [javac]               ^
>     [javac]   symbol:   class INameEnvironment
>     [javac]   location: class JDTCompiler
>     [javac] /<<PKGBUILDDIR>>/java/org/apache/jasper/compiler/JDTCompiler.java:152: error: cannot find symbol
>     [javac]         final INameEnvironment env = new INameEnvironment() {
>     [javac]                                          ^
>     [javac]   symbol:   class INameEnvironment
>     [javac]   location: class JDTCompiler
>     [javac] /<<PKGBUILDDIR>>/java/org/apache/jasper/compiler/JDTCompiler.java:155: error: cannot find symbol
>     [javac]                 public NameEnvironmentAnswer findType(char[][] compoundTypeName) {
>     [javac]                        ^
>     [javac]   symbol: class NameEnvironmentAnswer
>     [javac] /<<PKGBUILDDIR>>/java/org/apache/jasper/compiler/JDTCompiler.java:167: error: cannot find symbol
>     [javac]                 public NameEnvironmentAnswer findType(char[] typeName, char[][] packageName) {
>     [javac]                        ^
>     [javac]   symbol: class NameEnvironmentAnswer
>     [javac] /<<PKGBUILDDIR>>/java/org/apache/jasper/compiler/JDTCompiler.java:183: error: cannot find symbol
>     [javac]                 private NameEnvironmentAnswer findType(String className) {
>     [javac]                         ^
>     [javac]   symbol: class NameEnvironmentAnswer
>     [javac] /<<PKGBUILDDIR>>/java/org/apache/jasper/compiler/JDTCompiler.java:154: error: method does not override or implement a method from a supertype
>     [javac]                 @Override
>     [javac]                 ^
>     [javac] /<<PKGBUILDDIR>>/java/org/apache/jasper/compiler/JDTCompiler.java:166: error: method does not override or implement a method from a supertype
>     [javac]                 @Override
>     [javac]                 ^
>     [javac] /<<PKGBUILDDIR>>/java/org/apache/jasper/compiler/JDTCompiler.java:186: error: cannot find symbol
>     [javac]                         ICompilationUnit compilationUnit = new CompilationUnit(sourceFile, className);
>     [javac]                         ^
>     [javac]   symbol: class ICompilationUnit
>     [javac] /<<PKGBUILDDIR>>/java/org/apache/jasper/compiler/JDTCompiler.java:187: error: cannot find symbol
>     [javac]                         return new NameEnvironmentAnswer(compilationUnit, null);
>     [javac]                                    ^
>     [javac]   symbol: class NameEnvironmentAnswer
>     [javac] /<<PKGBUILDDIR>>/java/org/apache/jasper/compiler/JDTCompiler.java:204: error: cannot find symbol
>     [javac]                             ClassFileReader classFileReader = new ClassFileReader(classBytes, fileName, true);
>     [javac]                             ^
>     [javac]   symbol: class ClassFileReader
>     [javac] /<<PKGBUILDDIR>>/java/org/apache/jasper/compiler/JDTCompiler.java:204: error: cannot find symbol
>     [javac]                             ClassFileReader classFileReader = new ClassFileReader(classBytes, fileName, true);
>     [javac]                                                                   ^
>     [javac]   symbol: class ClassFileReader
>     [javac] /<<PKGBUILDDIR>>/java/org/apache/jasper/compiler/JDTCompiler.java:205: error: cannot find symbol
>     [javac]                             return new NameEnvironmentAnswer(classFileReader, null);
>     [javac]                                        ^
>     [javac]   symbol: class NameEnvironmentAnswer
>     [javac] /<<PKGBUILDDIR>>/java/org/apache/jasper/compiler/JDTCompiler.java:207: error: cannot find symbol
>     [javac]                     } catch (IOException | ClassFormatException exc) {
>     [javac]                                            ^
>     [javac]   symbol: class ClassFormatException
>     [javac] /<<PKGBUILDDIR>>/java/org/apache/jasper/compiler/JDTCompiler.java:227: error: method does not override or implement a method from a supertype
>     [javac]                 @Override
>     [javac]                 ^
>     [javac] /<<PKGBUILDDIR>>/java/org/apache/jasper/compiler/JDTCompiler.java:253: error: method does not override or implement a method from a supertype
>     [javac]                 @Override
>     [javac]                 ^
>     [javac] /<<PKGBUILDDIR>>/java/org/apache/jasper/compiler/JDTCompiler.java:259: error: cannot find symbol
>     [javac]         final IErrorHandlingPolicy policy = DefaultErrorHandlingPolicies.proceedWithAllProblems();
>     [javac]               ^
>     [javac]   symbol:   class IErrorHandlingPolicy
>     [javac]   location: class JDTCompiler
>     [javac] /<<PKGBUILDDIR>>/java/org/apache/jasper/compiler/JDTCompiler.java:259: error: cannot find symbol
>     [javac]         final IErrorHandlingPolicy policy = DefaultErrorHandlingPolicies.proceedWithAllProblems();
>     [javac]                                             ^
>     [javac]   symbol:   variable DefaultErrorHandlingPolicies
>     [javac]   location: class JDTCompiler
>     [javac] /<<PKGBUILDDIR>>/java/org/apache/jasper/compiler/JDTCompiler.java:262: error: cannot find symbol
>     [javac]         settings.put(CompilerOptions.OPTION_LineNumberAttribute,
>     [javac]                      ^
>     [javac]   symbol:   variable CompilerOptions
>     [javac]   location: class JDTCompiler
>     [javac] /<<PKGBUILDDIR>>/java/org/apache/jasper/compiler/JDTCompiler.java:263: error: cannot find symbol
>     [javac]                      CompilerOptions.GENERATE);
>     [javac]                      ^
>     [javac]   symbol:   variable CompilerOptions
>     [javac]   location: class JDTCompiler
>     [javac] /<<PKGBUILDDIR>>/java/org/apache/jasper/compiler/JDTCompiler.java:264: error: cannot find symbol
>     [javac]         settings.put(CompilerOptions.OPTION_SourceFileAttribute,
>     [javac]                      ^
>     [javac]   symbol:   variable CompilerOptions
>     [javac]   location: class JDTCompiler
>     [javac] /<<PKGBUILDDIR>>/java/org/apache/jasper/compiler/JDTCompiler.java:265: error: cannot find symbol
>     [javac]                      CompilerOptions.GENERATE);
>     [javac]                      ^
>     [javac]   symbol:   variable CompilerOptions
>     [javac]   location: class JDTCompiler
>     [javac] /<<PKGBUILDDIR>>/java/org/apache/jasper/compiler/JDTCompiler.java:266: error: cannot find symbol
>     [javac]         settings.put(CompilerOptions.OPTION_ReportDeprecation,
>     [javac]                      ^
>     [javac]   symbol:   variable CompilerOptions
>     [javac]   location: class JDTCompiler
>     [javac] /<<PKGBUILDDIR>>/java/org/apache/jasper/compiler/JDTCompiler.java:267: error: cannot find symbol
>     [javac]                      CompilerOptions.IGNORE);
>     [javac]                      ^
>     [javac]   symbol:   variable CompilerOptions
>     [javac]   location: class JDTCompiler
>     [javac] /<<PKGBUILDDIR>>/java/org/apache/jasper/compiler/JDTCompiler.java:269: error: cannot find symbol
>     [javac]             settings.put(CompilerOptions.OPTION_Encoding,
>     [javac]                          ^
>     [javac]   symbol:   variable CompilerOptions
>     [javac]   location: class JDTCompiler
>     [javac] /<<PKGBUILDDIR>>/java/org/apache/jasper/compiler/JDTCompiler.java:273: error: cannot find symbol
>     [javac]             settings.put(CompilerOptions.OPTION_LocalVariableAttribute,
>     [javac]                          ^
>     [javac]   symbol:   variable CompilerOptions
>     [javac]   location: class JDTCompiler
>     [javac] /<<PKGBUILDDIR>>/java/org/apache/jasper/compiler/JDTCompiler.java:274: error: cannot find symbol
>     [javac]                          CompilerOptions.GENERATE);
>     [javac]                          ^
>     [javac]   symbol:   variable CompilerOptions
>     [javac]   location: class JDTCompiler
>     [javac] /<<PKGBUILDDIR>>/java/org/apache/jasper/compiler/JDTCompiler.java:281: error: cannot find symbol
>     [javac]                 settings.put(CompilerOptions.OPTION_Source, CompilerOptions.VERSION_1_1);
>     [javac]                              ^
>     [javac]   symbol:   variable CompilerOptions
>     [javac]   location: class JDTCompiler
>     [javac] /<<PKGBUILDDIR>>/java/org/apache/jasper/compiler/JDTCompiler.java:281: error: cannot find symbol
>     [javac]                 settings.put(CompilerOptions.OPTION_Source, CompilerOptions.VERSION_1_1);
>     [javac]                                                             ^
>     [javac]   symbol:   variable CompilerOptions
>     [javac]   location: class JDTCompiler
>     [javac] /<<PKGBUILDDIR>>/java/org/apache/jasper/compiler/JDTCompiler.java:283: error: cannot find symbol
>     [javac]                 settings.put(CompilerOptions.OPTION_Source, CompilerOptions.VERSION_1_2);
>     [javac]                              ^
>     [javac]   symbol:   variable CompilerOptions
>     [javac]   location: class JDTCompiler
>     [javac] /<<PKGBUILDDIR>>/java/org/apache/jasper/compiler/JDTCompiler.java:283: error: cannot find symbol
>     [javac]                 settings.put(CompilerOptions.OPTION_Source, CompilerOptions.VERSION_1_2);
>     [javac]                                                             ^
>     [javac]   symbol:   variable CompilerOptions
>     [javac]   location: class JDTCompiler
>     [javac] /<<PKGBUILDDIR>>/java/org/apache/jasper/compiler/JDTCompiler.java:285: error: cannot find symbol
>     [javac]                 settings.put(CompilerOptions.OPTION_Source, CompilerOptions.VERSION_1_3);
>     [javac]                              ^
>     [javac]   symbol:   variable CompilerOptions
>     [javac]   location: class JDTCompiler
>     [javac] /<<PKGBUILDDIR>>/java/org/apache/jasper/compiler/JDTCompiler.java:285: error: cannot find symbol
>     [javac]                 settings.put(CompilerOptions.OPTION_Source, CompilerOptions.VERSION_1_3);
>     [javac]                                                             ^
>     [javac]   symbol:   variable CompilerOptions
>     [javac]   location: class JDTCompiler
>     [javac] /<<PKGBUILDDIR>>/java/org/apache/jasper/compiler/JDTCompiler.java:287: error: cannot find symbol
>     [javac]                 settings.put(CompilerOptions.OPTION_Source, CompilerOptions.VERSION_1_4);
>     [javac]                              ^
>     [javac]   symbol:   variable CompilerOptions
>     [javac]   location: class JDTCompiler
>     [javac] /<<PKGBUILDDIR>>/java/org/apache/jasper/compiler/JDTCompiler.java:287: error: cannot find symbol
>     [javac]                 settings.put(CompilerOptions.OPTION_Source, CompilerOptions.VERSION_1_4);
>     [javac]                                                             ^
>     [javac]   symbol:   variable CompilerOptions
>     [javac]   location: class JDTCompiler
>     [javac] /<<PKGBUILDDIR>>/java/org/apache/jasper/compiler/JDTCompiler.java:289: error: cannot find symbol
>     [javac]                 settings.put(CompilerOptions.OPTION_Source, CompilerOptions.VERSION_1_5);
>     [javac]                              ^
>     [javac]   symbol:   variable CompilerOptions
>     [javac]   location: class JDTCompiler
>     [javac] /<<PKGBUILDDIR>>/java/org/apache/jasper/compiler/JDTCompiler.java:289: error: cannot find symbol
>     [javac]                 settings.put(CompilerOptions.OPTION_Source, CompilerOptions.VERSION_1_5);
>     [javac]                                                             ^
>     [javac]   symbol:   variable CompilerOptions
>     [javac]   location: class JDTCompiler
>     [javac] /<<PKGBUILDDIR>>/java/org/apache/jasper/compiler/JDTCompiler.java:291: error: cannot find symbol
>     [javac]                 settings.put(CompilerOptions.OPTION_Source, CompilerOptions.VERSION_1_6);
>     [javac]                              ^
>     [javac]   symbol:   variable CompilerOptions
>     [javac]   location: class JDTCompiler
>     [javac] /<<PKGBUILDDIR>>/java/org/apache/jasper/compiler/JDTCompiler.java:291: error: cannot find symbol
>     [javac]                 settings.put(CompilerOptions.OPTION_Source, CompilerOptions.VERSION_1_6);
>     [javac]                                                             ^
>     [javac]   symbol:   variable CompilerOptions
>     [javac]   location: class JDTCompiler
>     [javac] /<<PKGBUILDDIR>>/java/org/apache/jasper/compiler/JDTCompiler.java:293: error: cannot find symbol
>     [javac]                 settings.put(CompilerOptions.OPTION_Source, CompilerOptions.VERSION_1_7);
>     [javac]                              ^
>     [javac]   symbol:   variable CompilerOptions
>     [javac]   location: class JDTCompiler
>     [javac] /<<PKGBUILDDIR>>/java/org/apache/jasper/compiler/JDTCompiler.java:293: error: cannot find symbol
>     [javac]                 settings.put(CompilerOptions.OPTION_Source, CompilerOptions.VERSION_1_7);
>     [javac]                                                             ^
>     [javac]   symbol:   variable CompilerOptions
>     [javac]   location: class JDTCompiler
>     [javac] /<<PKGBUILDDIR>>/java/org/apache/jasper/compiler/JDTCompiler.java:295: error: cannot find symbol
>     [javac]                 settings.put(CompilerOptions.OPTION_Source, CompilerOptions.VERSION_1_8);
>     [javac]                              ^
>     [javac]   symbol:   variable CompilerOptions
>     [javac]   location: class JDTCompiler
>     [javac] /<<PKGBUILDDIR>>/java/org/apache/jasper/compiler/JDTCompiler.java:295: error: cannot find symbol
>     [javac]                 settings.put(CompilerOptions.OPTION_Source, CompilerOptions.VERSION_1_8);
>     [javac]                                                             ^
>     [javac]   symbol:   variable CompilerOptions
>     [javac]   location: class JDTCompiler
>     [javac] /<<PKGBUILDDIR>>/java/org/apache/jasper/compiler/JDTCompiler.java:299: error: cannot find symbol
>     [javac]                 settings.put(CompilerOptions.OPTION_Source, CompilerOptions.VERSION_9);
>     [javac]                              ^
>     [javac]   symbol:   variable CompilerOptions
>     [javac]   location: class JDTCompiler
>     [javac] /<<PKGBUILDDIR>>/java/org/apache/jasper/compiler/JDTCompiler.java:299: error: cannot find symbol
>     [javac]                 settings.put(CompilerOptions.OPTION_Source, CompilerOptions.VERSION_9);
>     [javac]                                                             ^
>     [javac]   symbol:   variable CompilerOptions
>     [javac]   location: class JDTCompiler
>     [javac] /<<PKGBUILDDIR>>/java/org/apache/jasper/compiler/JDTCompiler.java:301: error: cannot find symbol
>     [javac]                 settings.put(CompilerOptions.OPTION_Source, CompilerOptions.VERSION_10);
>     [javac]                              ^
>     [javac]   symbol:   variable CompilerOptions
>     [javac]   location: class JDTCompiler
>     [javac] /<<PKGBUILDDIR>>/java/org/apache/jasper/compiler/JDTCompiler.java:301: error: cannot find symbol
>     [javac]                 settings.put(CompilerOptions.OPTION_Source, CompilerOptions.VERSION_10);
>     [javac]                                                             ^
>     [javac]   symbol:   variable CompilerOptions
>     [javac]   location: class JDTCompiler
>     [javac] /<<PKGBUILDDIR>>/java/org/apache/jasper/compiler/JDTCompiler.java:303: error: cannot find symbol
>     [javac]                 settings.put(CompilerOptions.OPTION_Source, CompilerOptions.VERSION_11);
>     [javac]                              ^
>     [javac]   symbol:   variable CompilerOptions
>     [javac]   location: class JDTCompiler
>     [javac] /<<PKGBUILDDIR>>/java/org/apache/jasper/compiler/JDTCompiler.java:303: error: cannot find symbol
>     [javac]                 settings.put(CompilerOptions.OPTION_Source, CompilerOptions.VERSION_11);
>     [javac]                                                             ^
>     [javac]   symbol:   variable CompilerOptions
>     [javac]   location: class JDTCompiler
>     [javac] /<<PKGBUILDDIR>>/java/org/apache/jasper/compiler/JDTCompiler.java:305: error: cannot find symbol
>     [javac]                 settings.put(CompilerOptions.OPTION_Source, CompilerOptions.VERSION_12);
>     [javac]                              ^
>     [javac]   symbol:   variable CompilerOptions
>     [javac]   location: class JDTCompiler
>     [javac] /<<PKGBUILDDIR>>/java/org/apache/jasper/compiler/JDTCompiler.java:305: error: cannot find symbol
>     [javac]                 settings.put(CompilerOptions.OPTION_Source, CompilerOptions.VERSION_12);
>     [javac]                                                             ^
>     [javac]   symbol:   variable CompilerOptions
>     [javac]   location: class JDTCompiler
>     [javac] /<<PKGBUILDDIR>>/java/org/apache/jasper/compiler/JDTCompiler.java:307: error: cannot find symbol
>     [javac]                 settings.put(CompilerOptions.OPTION_Source, CompilerOptions.VERSION_13);
>     [javac]                              ^
>     [javac]   symbol:   variable CompilerOptions
>     [javac]   location: class JDTCompiler
>     [javac] /<<PKGBUILDDIR>>/java/org/apache/jasper/compiler/JDTCompiler.java:307: error: cannot find symbol
>     [javac]                 settings.put(CompilerOptions.OPTION_Source, CompilerOptions.VERSION_13);
>     [javac]                                                             ^
>     [javac]   symbol:   variable CompilerOptions
>     [javac]   location: class JDTCompiler
>     [javac] /<<PKGBUILDDIR>>/java/org/apache/jasper/compiler/JDTCompiler.java:309: error: cannot find symbol
>     [javac]                 settings.put(CompilerOptions.OPTION_Source, CompilerOptions.VERSION_14);
>     [javac]                              ^
>     [javac]   symbol:   variable CompilerOptions
>     [javac]   location: class JDTCompiler
>     [javac] /<<PKGBUILDDIR>>/java/org/apache/jasper/compiler/JDTCompiler.java:309: error: cannot find symbol
>     [javac]                 settings.put(CompilerOptions.OPTION_Source, CompilerOptions.VERSION_14);
>     [javac]                                                             ^
>     [javac]   symbol:   variable CompilerOptions
>     [javac]   location: class JDTCompiler
>     [javac] /<<PKGBUILDDIR>>/java/org/apache/jasper/compiler/JDTCompiler.java:311: error: cannot find symbol
>     [javac]                 settings.put(CompilerOptions.OPTION_Source, CompilerOptions.VERSION_15);
>     [javac]                              ^
>     [javac]   symbol:   variable CompilerOptions
>     [javac]   location: class JDTCompiler
>     [javac] /<<PKGBUILDDIR>>/java/org/apache/jasper/compiler/JDTCompiler.java:311: error: cannot find symbol
>     [javac]                 settings.put(CompilerOptions.OPTION_Source, CompilerOptions.VERSION_15);
>     [javac]                                                             ^
>     [javac]   symbol:   variable CompilerOptions
>     [javac]   location: class JDTCompiler
>     [javac] /<<PKGBUILDDIR>>/java/org/apache/jasper/compiler/JDTCompiler.java:313: error: cannot find symbol
>     [javac]                 settings.put(CompilerOptions.OPTION_Source, CompilerOptions.VERSION_16);
>     [javac]                              ^
>     [javac]   symbol:   variable CompilerOptions
>     [javac]   location: class JDTCompiler
>     [javac] /<<PKGBUILDDIR>>/java/org/apache/jasper/compiler/JDTCompiler.java:313: error: cannot find symbol
>     [javac]                 settings.put(CompilerOptions.OPTION_Source, CompilerOptions.VERSION_16);
>     [javac]                                                             ^
>     [javac]   symbol:   variable CompilerOptions
>     [javac]   location: class JDTCompiler
>     [javac] /<<PKGBUILDDIR>>/java/org/apache/jasper/compiler/JDTCompiler.java:318: error: cannot find symbol
>     [javac]                 settings.put(CompilerOptions.OPTION_Source, "17");
>     [javac]                              ^
>     [javac]   symbol:   variable CompilerOptions
>     [javac]   location: class JDTCompiler
>     [javac] /<<PKGBUILDDIR>>/java/org/apache/jasper/compiler/JDTCompiler.java:323: error: cannot find symbol
>     [javac]                 settings.put(CompilerOptions.OPTION_Source, "18");
>     [javac]                              ^
>     [javac]   symbol:   variable CompilerOptions
>     [javac]   location: class JDTCompiler
>     [javac] /<<PKGBUILDDIR>>/java/org/apache/jasper/compiler/JDTCompiler.java:328: error: cannot find symbol
>     [javac]                 settings.put(CompilerOptions.OPTION_Source, "19");
>     [javac]                              ^
>     [javac]   symbol:   variable CompilerOptions
>     [javac]   location: class JDTCompiler
>     [javac] /<<PKGBUILDDIR>>/java/org/apache/jasper/compiler/JDTCompiler.java:333: error: cannot find symbol
>     [javac]                 settings.put(CompilerOptions.OPTION_Source, "20");
>     [javac]                              ^
>     [javac]   symbol:   variable CompilerOptions
>     [javac]   location: class JDTCompiler
>     [javac] /<<PKGBUILDDIR>>/java/org/apache/jasper/compiler/JDTCompiler.java:336: error: cannot find symbol
>     [javac]                 settings.put(CompilerOptions.OPTION_Source, CompilerOptions.VERSION_1_8);
>     [javac]                              ^
>     [javac]   symbol:   variable CompilerOptions
>     [javac]   location: class JDTCompiler
>     [javac] /<<PKGBUILDDIR>>/java/org/apache/jasper/compiler/JDTCompiler.java:336: error: cannot find symbol
>     [javac]                 settings.put(CompilerOptions.OPTION_Source, CompilerOptions.VERSION_1_8);
>     [javac]                                                             ^
>     [javac]   symbol:   variable CompilerOptions
>     [javac]   location: class JDTCompiler
>     [javac] /<<PKGBUILDDIR>>/java/org/apache/jasper/compiler/JDTCompiler.java:340: error: cannot find symbol
>     [javac]             settings.put(CompilerOptions.OPTION_Source, CompilerOptions.VERSION_1_8);
>     [javac]                          ^
>     [javac]   symbol:   variable CompilerOptions
>     [javac]   location: class JDTCompiler
>     [javac] /<<PKGBUILDDIR>>/java/org/apache/jasper/compiler/JDTCompiler.java:340: error: cannot find symbol
>     [javac]             settings.put(CompilerOptions.OPTION_Source, CompilerOptions.VERSION_1_8);
>     [javac]                                                         ^
>     [javac]   symbol:   variable CompilerOptions
>     [javac]   location: class JDTCompiler
>     [javac] /<<PKGBUILDDIR>>/java/org/apache/jasper/compiler/JDTCompiler.java:347: error: cannot find symbol
>     [javac]                 settings.put(CompilerOptions.OPTION_TargetPlatform, CompilerOptions.VERSION_1_1);
>     [javac]                              ^
>     [javac]   symbol:   variable CompilerOptions
>     [javac]   location: class JDTCompiler
>     [javac] /<<PKGBUILDDIR>>/java/org/apache/jasper/compiler/JDTCompiler.java:347: error: cannot find symbol
>     [javac]                 settings.put(CompilerOptions.OPTION_TargetPlatform, CompilerOptions.VERSION_1_1);
>     [javac]                                                                     ^
>     [javac]   symbol:   variable CompilerOptions
>     [javac]   location: class JDTCompiler
>     [javac] /<<PKGBUILDDIR>>/java/org/apache/jasper/compiler/JDTCompiler.java:349: error: cannot find symbol
>     [javac]                 settings.put(CompilerOptions.OPTION_TargetPlatform, CompilerOptions.VERSION_1_2);
>     [javac]                              ^
>     [javac]   symbol:   variable CompilerOptions
>     [javac]   location: class JDTCompiler
>     [javac] /<<PKGBUILDDIR>>/java/org/apache/jasper/compiler/JDTCompiler.java:349: error: cannot find symbol
>     [javac]                 settings.put(CompilerOptions.OPTION_TargetPlatform, CompilerOptions.VERSION_1_2);
>     [javac]                                                                     ^
>     [javac]   symbol:   variable CompilerOptions
>     [javac]   location: class JDTCompiler
>     [javac] /<<PKGBUILDDIR>>/java/org/apache/jasper/compiler/JDTCompiler.java:351: error: cannot find symbol
>     [javac]                 settings.put(CompilerOptions.OPTION_TargetPlatform, CompilerOptions.VERSION_1_3);
>     [javac]                              ^
>     [javac]   symbol:   variable CompilerOptions
>     [javac]   location: class JDTCompiler
>     [javac] /<<PKGBUILDDIR>>/java/org/apache/jasper/compiler/JDTCompiler.java:351: error: cannot find symbol
>     [javac]                 settings.put(CompilerOptions.OPTION_TargetPlatform, CompilerOptions.VERSION_1_3);
>     [javac]                                                                     ^
>     [javac]   symbol:   variable CompilerOptions
>     [javac]   location: class JDTCompiler
>     [javac] /<<PKGBUILDDIR>>/java/org/apache/jasper/compiler/JDTCompiler.java:353: error: cannot find symbol
>     [javac]                 settings.put(CompilerOptions.OPTION_TargetPlatform, CompilerOptions.VERSION_1_4);
>     [javac]                              ^
>     [javac]   symbol:   variable CompilerOptions
>     [javac]   location: class JDTCompiler
>     [javac] /<<PKGBUILDDIR>>/java/org/apache/jasper/compiler/JDTCompiler.java:353: error: cannot find symbol
>     [javac]                 settings.put(CompilerOptions.OPTION_TargetPlatform, CompilerOptions.VERSION_1_4);
>     [javac]                                                                     ^
>     [javac]   symbol:   variable CompilerOptions
>     [javac]   location: class JDTCompiler
>     [javac] /<<PKGBUILDDIR>>/java/org/apache/jasper/compiler/JDTCompiler.java:355: error: cannot find symbol
>     [javac]                 settings.put(CompilerOptions.OPTION_TargetPlatform, CompilerOptions.VERSION_1_5);
>     [javac]                              ^
>     [javac]   symbol:   variable CompilerOptions
>     [javac]   location: class JDTCompiler
>     [javac] /<<PKGBUILDDIR>>/java/org/apache/jasper/compiler/JDTCompiler.java:355: error: cannot find symbol
>     [javac]                 settings.put(CompilerOptions.OPTION_TargetPlatform, CompilerOptions.VERSION_1_5);
>     [javac]                                                                     ^
>     [javac]   symbol:   variable CompilerOptions
>     [javac]   location: class JDTCompiler
>     [javac] /<<PKGBUILDDIR>>/java/org/apache/jasper/compiler/JDTCompiler.java:356: error: cannot find symbol
>     [javac]                 settings.put(CompilerOptions.OPTION_Compliance, CompilerOptions.VERSION_1_5);
>     [javac]                              ^
>     [javac]   symbol:   variable CompilerOptions
>     [javac]   location: class JDTCompiler
>     [javac] /<<PKGBUILDDIR>>/java/org/apache/jasper/compiler/JDTCompiler.java:356: error: cannot find symbol
>     [javac]                 settings.put(CompilerOptions.OPTION_Compliance, CompilerOptions.VERSION_1_5);
>     [javac]                                                                 ^
>     [javac]   symbol:   variable CompilerOptions
>     [javac]   location: class JDTCompiler
>     [javac] /<<PKGBUILDDIR>>/java/org/apache/jasper/compiler/JDTCompiler.java:358: error: cannot find symbol
>     [javac]                 settings.put(CompilerOptions.OPTION_TargetPlatform, CompilerOptions.VERSION_1_6);
>     [javac]                              ^
>     [javac]   symbol:   variable CompilerOptions
>     [javac]   location: class JDTCompiler
>     [javac] Note: Some input files use or override a deprecated API.
>     [javac] Note: Recompile with -Xlint:deprecation for details.
>     [javac] 100 errors
>     [javac] 3 warnings
>     [javac] only showing the first 100 errors, of 174 total; use -Xmaxerrs if you would like to see more
> 
> BUILD FAILED
> /<<PKGBUILDDIR>>/build.xml:958: Compile failed; see the compiler error output for details.
> 
> Total time: 13 seconds
> dh_auto_build: error: ant -propertyfile ./debian/ant.properties -Duser.name debian -Ddistribution.name=Debian embed-jars deploy returned exit code 1
> make[1]: *** [debian/rules:11: override_dh_auto_build] Error 25


The full build log is available from:
http://qa-logs.debian.net/2024/08/09/tomcat9_9.0.70-2_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20240809;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20240809&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

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!

If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.



More information about the pkg-java-maintainers mailing list