libpgjava version 8.4-702-1 failed to build with openjdk-7

Bug #888971 reported by James Page
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libpgjava (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

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

See attached log for full build failure details.

This log snippet might also be of interest:

    [javac] public class PGPoolingDataSource
    [javac] ^
    [javac] /«PKGBUILDDIR»/org/postgresql/ds/PGSimpleDataSource.java:22: error: PGSimpleDataSource is not abstract and does not override abstract method getParentLogger() in CommonDataSource
    [javac] public class PGSimpleDataSource
    [javac] ^
    [javac] /«PKGBUILDDIR»/org/postgresql/jdbc4/Jdbc4Connection.java:21: error: Jdbc4Connection is not abstract and does not override abstract method getNetworkTimeout() in Connection
    [javac] public class Jdbc4Connection extends AbstractJdbc4Connection implements java.sql.Connection
    [javac] ^
    [javac] /«PKGBUILDDIR»/org/postgresql/jdbc4/Jdbc4Statement.java:21: error: Jdbc4Statement is not abstract and does not override abstract method isCloseOnCompletion() in Statement
    [javac] class Jdbc4Statement extends AbstractJdbc4Statement implements Statement
    [javac] ^
    [javac] /«PKGBUILDDIR»/org/postgresql/jdbc4/Jdbc4PreparedStatement.java:14: error: Jdbc4PreparedStatement is not abstract and does not override abstract method isCloseOnCompletion() in Statement
    [javac] class Jdbc4PreparedStatement extends Jdbc4Statement implements PreparedStatement
    [javac] ^
    [javac] /«PKGBUILDDIR»/org/postgresql/jdbc4/Jdbc4CallableStatement.java:15: error: Jdbc4CallableStatement is not abstract and does not override abstract method <T>getObject(String,Class<T>) in CallableStatement
    [javac] class Jdbc4CallableStatement extends Jdbc4PreparedStatement implements CallableStatement
    [javac] ^
    [javac] where T is a type-variable:
    [javac] T extends Object declared in method <T>getObject(String,Class<T>)
    [javac] /«PKGBUILDDIR»/org/postgresql/jdbc4/Jdbc4DatabaseMetaData.java:13: error: Jdbc4DatabaseMetaData is not abstract and does not override abstract method generatedKeyAlwaysReturned() in DatabaseMetaData
    [javac] public class Jdbc4DatabaseMetaData extends AbstractJdbc4DatabaseMetaData implements java.sql.DatabaseMetaData
    [javac] ^
    [javac] /«PKGBUILDDIR»/org/postgresql/jdbc4/Jdbc4ResultSet.java:23: error: Jdbc4ResultSet is not abstract and does not override abstract method <T>getObject(String,Class<T>) in ResultSet
    [javac] public class Jdbc4ResultSet extends AbstractJdbc4ResultSet implements java.sql.ResultSet
    [javac] ^
    [javac] where T is a type-variable:
    [javac] T extends Object declared in method <T>getObject(String,Class<T>)
    [javac] /«PKGBUILDDIR»/org/postgresql/xa/PGXADataSource.java:19: error: PGXADataSource is not abstract and does not override abstract method getParentLogger() in CommonDataSource
    [javac] public class PGXADataSource extends BaseDataSource implements Referenceable, XADataSource
    [javac] ^
    [javac] Note: Some input files use or override 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] 11 errors

BUILD FAILED
/«PKGBUILDDIR»/build.xml:120: Compile failed; see the compiler error output for details.

Total time: 8 seconds
make[1]: *** [override_dh_auto_build] Error 1
make[1]: Leaving directory `/«PKGBUILDDIR»'
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
────────────────────────────────────────────────────────────────────────────────
Build finished at 20111110-1852

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)
tags: added: api
Revision history for this message
Andrew Ross (rockclimb) wrote :

Debian has a new version of this package, so it might be worth trying that out with openjdk-7.

Revision history for this message
James Page (james-page) wrote :

Latest version in quantal builds OK.

Changed in libpgjava (Ubuntu):
status: New → Invalid
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.