Public bug reported:

During a rebuild test with default-jdk switched to openjdk-7 (as it is
in quantal), a build failure was detected for ha-jdbc version
2.0.16+rc1-1build1.

See attached log for full build failure details.

https://wiki.ubuntu.com/JavaTeam/Java7Default contains more details of
how to diagnose and resolve these types of issues.

This log snippet might also be of interest:

   dh_testdir
   dh_auto_configure
   debian/rules override_dh_auto_build
make[1]: Entering directory `/«BUILDDIR»/ha-jdbc-2.0.16+rc1'
ant -Djar.version=2.0.16+rc1
Buildfile: /«BUILDDIR»/ha-jdbc-2.0.16+rc1/build.xml

compile-1.6:

clean:

init:
    [mkdir] Created dir: /«BUILDDIR»/ha-jdbc-2.0.16+rc1/build

compile:
    [javac] /«BUILDDIR»/ha-jdbc-2.0.16+rc1/build.xml:101: warning: 
'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to 
false for repeatable builds
    [javac] Compiling 201 source files to /«BUILDDIR»/ha-jdbc-2.0.16+rc1/build
    [javac] warning: [options] bootstrap class path not set in conjunction with 
-source 1.6
    [javac] 
/«BUILDDIR»/ha-jdbc-2.0.16+rc1/src/net/sf/hajdbc/sql/DataSource.java:33: error: 
DataSource is not abstract and does not override abstract method 
getParentLogger() in CommonDataSource
    [javac] public class DataSource extends 
CommonDataSourceProxy<javax.sql.DataSource> implements javax.sql.DataSource
    [javac]        ^
    [javac] 
/«BUILDDIR»/ha-jdbc-2.0.16+rc1/src/net/sf/hajdbc/sql/Driver.java:46: error: 
net.sf.hajdbc.sql.Driver is not abstract and does not override abstract method 
getParentLogger() in java.sql.Driver
    [javac] public final class Driver implements java.sql.Driver
    [javac]              ^
    [javac] 
/«BUILDDIR»/ha-jdbc-2.0.16+rc1/src/net/sf/hajdbc/sql/pool/ConnectionPoolDataSource.java:36:
 error: ConnectionPoolDataSource is not abstract and does not override abstract 
method getParentLogger() in CommonDataSource
    [javac] public class ConnectionPoolDataSource extends 
CommonDataSourceProxy<javax.sql.ConnectionPoolDataSource> implements 
javax.sql.ConnectionPoolDataSource
    [javac]        ^
    [javac] 
/«BUILDDIR»/ha-jdbc-2.0.16+rc1/src/net/sf/hajdbc/sql/xa/XADataSource.java:35: 
error: XADataSource is not abstract and does not override abstract method 
getParentLogger() in CommonDataSource
    [javac] public class XADataSource extends 
CommonDataSourceProxy<javax.sql.XADataSource> implements javax.sql.XADataSource
    [javac]        ^
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] 4 errors
    [javac] 1 warning

BUILD FAILED
/«BUILDDIR»/ha-jdbc-2.0.16+rc1/build.xml:95: The following error occurred while 
executing this line:
/«BUILDDIR»/ha-jdbc-2.0.16+rc1/build.xml:101: Compile failed; see the compiler 
error output for details.

Total time: 4 seconds
make[1]: *** [override_dh_auto_build] Error 1
make[1]: Leaving directory `/«BUILDDIR»/ha-jdbc-2.0.16+rc1'
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
────────────────────────────────────────────────────────────────────────────────
Build finished at 20120606-1040

Finished
────────

E: Build failure (dpkg-buildpackage died)

** Affects: ha-jdbc (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 auto ftbfs java7-ftbfs

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1009487

Title:
  ha-jdbc version 2.0.16+rc1-1build1 failed to build with openjdk-7 as
  default-jdk

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ha-jdbc/+bug/1009487/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to