Bug#913402: tomcat8 FTBFS: error: incompatible types: Object cannot be converted

Adrian Bunk bunk at debian.org
Sat Nov 10 15:02:29 GMT 2018


Source: tomcat8
Version: 8.5.34-1
Severity: serious
Tags: ftbfs

Some recent change in unstable makes tomcat8 FTBFS:

https://tests.reproducible-builds.org/debian/history/tomcat8.html
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/tomcat8.html
https://buildd.debian.org/status/fetch.php?pkg=tomcat8&arch=all&ver=8.5.35-1&stamp=1541722000&raw=0

...
test-compile:
    [mkdir] Created dir: /<<PKGBUILDDIR>>/output/testclasses
    [javac] Compiling 499 source files to /<<PKGBUILDDIR>>/output/testclasses
    [javac] Ignoring source, target and bootclasspath as release has been set
    [javac] /<<PKGBUILDDIR>>/test/org/apache/catalina/valves/TestCrawlerSessionManagerValve.java:43: error: incompatible types: Object cannot be converted to Valve
    [javac]         valve.setNext(EasyMock.createMock(Valve.class));
    [javac]                                          ^
    [javac] /<<PKGBUILDDIR>>/test/org/apache/catalina/valves/TestCrawlerSessionManagerValve.java:49: error: incompatible types: Object cannot be converted to Response
    [javac]         valve.invoke(request, EasyMock.createMock(Response.class));
    [javac]                                                  ^
    [javac] /<<PKGBUILDDIR>>/test/org/apache/catalina/valves/TestCrawlerSessionManagerValve.java:59: error: incompatible types: Object cannot be converted to Valve
    [javac]         valve.setNext(EasyMock.createMock(Valve.class));
    [javac]                                          ^
    [javac] /<<PKGBUILDDIR>>/test/org/apache/catalina/valves/TestCrawlerSessionManagerValve.java:65: error: incompatible types: Object cannot be converted to Response
    [javac]         valve.invoke(request, EasyMock.createMock(Response.class));
    [javac]                                                  ^
    [javac] /<<PKGBUILDDIR>>/test/org/apache/catalina/valves/TestCrawlerSessionManagerValve.java:76: error: incompatible types: Object cannot be converted to Valve
    [javac]         valve.setNext(EasyMock.createMock(Valve.class));
    [javac]                                          ^
    [javac] /<<PKGBUILDDIR>>/test/org/apache/catalina/valves/TestCrawlerSessionManagerValve.java:90: error: incompatible types: Object cannot be converted to Response
    [javac]         valve.invoke(request, EasyMock.createMock(Response.class));
    [javac]                                                  ^
    [javac] /<<PKGBUILDDIR>>/test/org/apache/catalina/valves/TestSSLValve.java:39: error: incompatible types: Object cannot be converted to Connector
    [javac]             setConnector(EasyMock.createMock(Connector.class));
    [javac]                                             ^
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] Note: Some messages have been simplified; recompile with -Xdiags:verbose to get full output
    [javac] 7 errors

BUILD FAILED
/<<PKGBUILDDIR>>/build.xml:1350: Compile failed; see the compiler error output for details.

Total time: 9 seconds
make[1]: *** [debian/rules:36: override_dh_auto_test] Error 1



More information about the pkg-java-maintainers mailing list