tomcat7 version 7.0.22-1 failed to build with openjdk-7

Bug #889002 reported by James Page
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tomcat7 (Ubuntu)
Fix Released
High
Unassigned

Bug Description

During a rebuild test on precise with default-jdk switched to openjdk-7, a build failure was detected for tomcat7 version 7.0.22-1.

See attached log for full build failure details.

This log snippet might also be of interest:

 [txt2html] Converted 4 files to /«PKGBUILDDIR»/output/build/webapps/examples/jsp/jsp2/jspattribute
 [txt2html] Converted 4 files to /«PKGBUILDDIR»/output/build/webapps/examples/jsp/cal
 [txt2html] Converted 1 file to /«PKGBUILDDIR»/output/build/webapps/examples/jsp/jsptoserv
 [txt2html] Converted 1 file to /«PKGBUILDDIR»/output/build/webapps/examples/jsp/jsp2/el
 [txt2html] Converted 2 files to /«PKGBUILDDIR»/output/build/webapps/examples/jsp/jsp2/el
 [txt2html] Converted 3 files to /«PKGBUILDDIR»/output/build/webapps/examples/jsp/jsp2/el
 [txt2html] Converted 1 file to /«PKGBUILDDIR»/output/build/webapps/examples/jsp/jsp2/misc
 [txt2html] Converted 4 files to /«PKGBUILDDIR»/output/build/webapps/examples/jsp/jsp2/tagfiles
 [txt2html] Converted 51 files to /«PKGBUILDDIR»/output/build/webapps/examples
     [copy] Warning: Could not find file /usr/share/java/tomcat-deps/dbcp/tomcat-dbcp.jar to copy.
     [copy] Copying 1 file to /«PKGBUILDDIR»/output/build/lib
     [echo] Building Tomcat JDBC pool libraries

prepare:
    [mkdir] Created dir: /«PKGBUILDDIR»/modules/jdbc-pool/output/build
    [mkdir] Created dir: /«PKGBUILDDIR»/modules/jdbc-pool/output/classes
    [mkdir] Created dir: /«PKGBUILDDIR»/modules/jdbc-pool/output/testclasses
     [copy] Copying 7 files to /«PKGBUILDDIR»/modules/jdbc-pool/output

download:

build:
    [javac] Compiling 28 source files to /«PKGBUILDDIR»/modules/jdbc-pool/output/classes
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.5
    [javac] /«PKGBUILDDIR»/modules/jdbc-pool/src/main/java/org/apache/tomcat/jdbc/pool/DataSource.java:39: error: DataSource is not abstract and does not override abstract method getParentLogger() in CommonDataSource
    [javac] public class DataSource extends DataSourceProxy implements javax.sql.DataSource,MBeanRegistration, org.apache.tomcat.jdbc.pool.jmx.ConnectionPoolMBean, javax.sql.ConnectionPoolDataSource {
    [javac] ^
    [javac] /«PKGBUILDDIR»/modules/jdbc-pool/src/main/java/org/apache/tomcat/jdbc/pool/XADataSource.java:20: error: XADataSource is not abstract and does not override abstract method getParentLogger() in CommonDataSource
    [javac] public class XADataSource extends DataSource implements javax.sql.XADataSource {
    [javac] ^
    [javac] Note: /«PKGBUILDDIR»/modules/jdbc-pool/src/main/java/org/apache/tomcat/jdbc/pool/interceptor/SlowQueryReport.java uses or overrides 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] 2 errors
    [javac] 1 warning

BUILD FAILED
/«PKGBUILDDIR»/build.xml:864: The following error occurred while executing this line:
/«PKGBUILDDIR»/modules/jdbc-pool/build.xml:149: Compile failed; see the compiler error output for details.

Total time: 34 seconds
make: *** [build-stamp] Error 1
dpkg-buildpackage: error: debian/rules build gave error exit status 2
────────────────────────────────────────────────────────────────────────────────
Build finished at 20111110-1704

Finished
────────

E: Build failure (dpkg-buildpackage died)

Revision history for this message
James Page (james-page) wrote : Build log
tags: added: amd64 auto java7-ftbfs
James Page (james-page)
Changed in tomcat7 (Ubuntu):
importance: Undecided → High
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package tomcat7 - 7.0.26-2ubuntu1

---------------
tomcat7 (7.0.26-2ubuntu1) quantal; urgency=low

  * Resync with Debian.
  * d/patches/0012-java7-compat.patch: Added compatibility patch to
    support compilation with openjdk-7 as default-jdk (LP: #889002).
  * d/default_root/index.html: Fixup instructions for enabling
    manager web application access (LP: #910368).

tomcat7 (7.0.26-2) unstable; urgency=low

  [ tony mancill ]
  * Add Turkish debconf translation. (Closes: #664683)
    - Thanks to Atila KOÇ
  * Add patch to tomcat7-instance-create to handle paths with spaces.
    - Thanks to James Page.
  * Remove /etc/authbind/byuid, /etc/authbind in postrm.
    Update md5sum for default webapps root files. (Closes: #670440)

  [ Jakub Adam ]
  * Update OSGi metadata, use jh_manifest for modifying MANIFEST.MF.
 -- James Page <email address hidden> Thu, 03 May 2012 14:51:58 +0100

Changed in tomcat7 (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.