Bug#760933: tomcat7: ftbfs with OpenJDK 8

Matthias Klose doko at debian.org
Tue Sep 9 08:52:07 UTC 2014


Package: src:tomcat7
Version: 7.0.55-1
Severity: important
User: debian-java at lists.debian.org
Usertags: openjdk-8-transition

The package fails to build in a test rebuild on at least amd64 with
openjdk-8 as the default java version, but succeeds to build with
openjdk-7.

The full build log can be found at:
http://people.debian.org/~doko/logs/java8-20140908/logs-failed-ref/tomcat7_7.0.55-1_unstable_ref.log
The last lines of the build log are at the end of this report.

To build with openjdk-8 explicitly, install the openjdk-8-jdk package
from experimental,

  apt-get -t experimental install g++ 

and install the default-jdk package from

  deb https://people.debian.org/~doko/tmp/20140820 ./

[...]
    [junit] 	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
    [junit] 	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
    [junit] 	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
    [junit] 	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
    [junit] 	at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
    [junit] 	at junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:38)
    [junit] 	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:532)
    [junit] 	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1179)
    [junit] 	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:1030)
    [junit] 
    [junit] Sep 07, 2014 6:30:41 AM org.apache.coyote.AbstractProtocol start
    [junit] INFO: Starting ProtocolHandler ["http-nio-127.0.0.1-auto-2-51470"]
    [junit] Sep 07, 2014 6:30:41 AM org.apache.coyote.AbstractProtocol pause
    [junit] INFO: Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-2-51470"]
    [junit] Sep 07, 2014 6:30:41 AM org.apache.catalina.core.StandardService stopInternal
    [junit] INFO: Stopping service Tomcat
    [junit] Sep 07, 2014 6:30:41 AM org.apache.catalina.core.ApplicationContext log
    [junit] INFO: SessionListener: contextDestroyed()
    [junit] Sep 07, 2014 6:30:41 AM org.apache.catalina.core.ApplicationContext log
    [junit] INFO: ContextListener: contextDestroyed()
    [junit] Sep 07, 2014 6:30:41 AM org.apache.coyote.AbstractProtocol stop
    [junit] INFO: Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-2-51470"]
    [junit] Sep 07, 2014 6:30:41 AM org.apache.coyote.AbstractProtocol destroy
    [junit] INFO: Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-2-51470"]
    [junit] Running org.apache.tomcat.util.res.TestStringManager
    [junit] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.042 sec
    [junit] Running org.apache.tomcat.util.scan.TestJarScanner
    [junit] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.452 sec
    [junit] Sep 07, 2014 6:30:43 AM org.apache.coyote.AbstractProtocol destroy
    [junit] INFO: Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-1"]
    [junit] Running org.apache.tomcat.util.threads.TestLimitLatch
    [junit] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.506 sec
    [junit] Running util.TestCookieFilter
    [junit] Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.05 sec

test-apr-exists:

test-apr:

cobertura-report:

test:

BUILD FAILED
/«PKGBUILDDIR»/build.xml:1302: Some tests completed with a Failure. See /«PKGBUILDDIR»/output/build/logs for details, search for "FAILED".

Total time: 44 minutes 25 seconds
debian/rules:62: recipe for target 'build-stamp' failed
make: *** [build-stamp] Error 1
dpkg-buildpackage: error: debian/rules build gave error exit status 2



More information about the pkg-java-maintainers mailing list