Bug#912266: tomcat7 FTBFS with OpenJDK 11

Adrian Bunk bunk at debian.org
Mon Oct 29 18:18:56 GMT 2018


Source: tomcat7
Version: 7.0.78-1
Severity: serious
Tags: ftbfs

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/tomcat7.html

...
compile-java6:
    [javac] Compiling 1307 source files to /build/1st/tomcat7-7.0.78/output/classes
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 6
    [javac] warning: [options] source value 6 is obsolete and will be removed in a future release
    [javac] warning: [options] target value 1.6 is obsolete and will be removed in a future release
    [javac] warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.
    [javac] /build/1st/tomcat7-7.0.78/java/org/apache/catalina/util/Base64.java:20: error: package javax.xml.bind does not exist
    [javac] import javax.xml.bind.DatatypeConverter;
    [javac]                      ^
    [javac] /build/1st/tomcat7-7.0.78/java/javax/el/ResourceBundleELResolver.java:109: warning: [unchecked] getFeatureDescriptors(ELContext,Object) in ResourceBundleELResolver overrides getFeatureDescriptors(ELContext,Object) in ELResolver
    [javac]     public Iterator getFeatureDescriptors(
    [javac]                     ^
    [javac]   return type requires unchecked conversion from Iterator to Iterator<FeatureDescriptor>
    [javac] /build/1st/tomcat7-7.0.78/java/org/apache/catalina/util/Base64.java:93: error: cannot find symbol
    [javac]         return DatatypeConverter.printBase64Binary(binaryData);
    [javac]                ^
    [javac]   symbol:   variable DatatypeConverter
    [javac]   location: class Base64
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] 2 errors
    [javac] 5 warnings

BUILD FAILED
/build/1st/tomcat7-7.0.78/build.xml:652: Compile failed; see the compiler error output for details.

Total time: 13 seconds
make[1]: *** [debian/rules:21: override_dh_auto_build] Error 1



More information about the pkg-java-maintainers mailing list