gmake[3]: Leaving directory `/usr/var/local/src/gen/pgsql/CURRENT/pgsql/src/interfaces/python' gmake[3]: Entering directory `/usr/var/local/src/gen/pgsql/CURRENT/pgsql/src/interfaces/jdbc' /usr/local/bin/ant -buildfile ./build.xml all \ -Dmajor=7 -Dminor=3 -Dfullversion=7.3devel -Ddef_pgport=5432 -Denable_debug=no Buildfile: ./build.xml all: prepare: check_versions: driver: [echo] Configured build for the JDBC2 edition driver compile: [javac] Compiling 5 source files to /usr/var/local/src/gen/pgsql/CURRENT/pgsql/src/interfaces/jdbc/build [javac] /usr/var/local/src/gen/pgsql/CURRENT/pgsql/src/interfaces/jdbc/org/postgresql/jdbc2/Jdbc2ResultSet.java:13: The method org.postgresql.jdbc2.Statement getStatement() declared in class org.postgresql.jdbc2.AbstractJdbc2ResultSet cannot override the method of the same signature declared in interface java.sql.ResultSet. They must have the same return type. [javac] public class Jdbc2ResultSet extends org.postgresql.jdbc2.AbstractJdbc2ResultSet implements java.sql.ResultSet [javac] ^ [javac] /usr/var/local/src/gen/pgsql/CURRENT/pgsql/src/interfaces/jdbc/org/postgresql/jdbc2/Array.java:49: Invalid cast from org.postgresql.jdbc2.ResultSet to org.postgresql.jdbc2.AbstractJdbc2ResultSet. [javac] this.rawString = ((AbstractJdbc2ResultSet)rs).getFixedString(idx); [javac] ^ [javac] /usr/var/local/src/gen/pgsql/CURRENT/pgsql/src/interfaces/jdbc/org/postgresql/jdbc2/Jdbc2Connection.java:14: class org.postgresql.jdbc2.Jdbc2Connection must be declared abstract. It does not define java.sql.ResultSet getResultSet(java.sql.Statement, org.postgresql.Field[], java.util.Vector, java.lang.String, int) from class org.postgresql.jdbc1.AbstractJdbc1Connection. [javac] public class Jdbc2Connection extends org.postgresql.jdbc2.AbstractJdbc2Connection implements java.sql.Connection [javac] ^ [javac] /usr/var/local/src/gen/pgsql/CURRENT/pgsql/src/interfaces/jdbc/org/postgresql/jdbc2/Jdbc2Connection.java:14: class org.postgresql.jdbc2.Jdbc2Connection must be declared abstract. It does not define java.sql.ResultSet getResultSet(java.sql.Statement, org.postgresql.Field[], java.util.Vector, java.lang.String, int, long, boolean) from class org.postgresql.jdbc1.AbstractJdbc1Connection. [javac] public class Jdbc2Connection extends org.postgresql.jdbc2.AbstractJdbc2Connection implements java.sql.Connection [javac] ^ [javac] /usr/var/local/src/gen/pgsql/CURRENT/pgsql/src/interfaces/jdbc/org/postgresql/jdbc2/AbstractJdbc2ResultSet.java:221: Incompatible type for constructor. Explicit cast needed to convert java.sql.ResultSet to org.postgresql.jdbc2.ResultSet. [javac] return (java.sql.Array) new org.postgresql.jdbc2.Array( connection, i, fields[i - 1], (java.sql.ResultSet) this ); [javac] ^ [javac] /usr/var/local/src/gen/pgsql/CURRENT/pgsql/src/interfaces/jdbc/org/postgresql/jdbc2/AbstractJdbc2ResultSet.java:382: Incompatible type for return. Explicit cast needed to convert java.sql.Statement to org.postgresql.jdbc2.Statement. [javac] return statement; [javac] ^ [javac] /usr/var/local/src/gen/pgsql/CURRENT/pgsql/src/interfaces/jdbc/org/postgresql/jdbc2/AbstractJdbc2ResultSet.java:499: Incompatible type for =. Explicit cast needed to convert java.sql.PreparedStatement to org.postgresql.jdbc2.PreparedStatement. [javac] deleteStatement = ((java.sql.Connection) connection).prepareStatement(deleteSQL.toString()); [javac] ^ [javac] /usr/var/local/src/gen/pgsql/CURRENT/pgsql/src/interfaces/jdbc/org/postgresql/jdbc2/AbstractJdbc2ResultSet.java:549: Incompatible type for =. Explicit cast needed to convert java.sql.PreparedStatement to org.postgresql.jdbc2.PreparedStatement. [javac] insertStatement = ((java.sql.Connection) connection).prepareStatement(insertSQL.toString()); [javac] ^ [javac] /usr/var/local/src/gen/pgsql/CURRENT/pgsql/src/interfaces/jdbc/org/postgresql/jdbc2/AbstractJdbc2ResultSet.java:563: Invalid cast from org.postgresql.jdbc2.PreparedStatement to org.postgresql.jdbc2.AbstractJdbc2Statement. [javac] long insertedOID = ((AbstractJdbc2Statement) insertStatement).getLastOID(); [javac] ^ [javac] /usr/var/local/src/gen/pgsql/CURRENT/pgsql/src/interfaces/jdbc/org/postgresql/jdbc2/AbstractJdbc2ResultSet.java:915: Incompatible type for =. Explicit cast needed to convert java.sql.PreparedStatement to org.postgresql.jdbc2.PreparedStatement. [javac] selectStatement = ((java.sql.Connection) connection).prepareStatement(selectSQL.toString()); [javac] ^ [javac] /usr/var/local/src/gen/pgsql/CURRENT/pgsql/src/interfaces/jdbc/org/postgresql/jdbc2/AbstractJdbc2ResultSet.java:983: Incompatible type for =. Explicit cast needed to convert java.sql.PreparedStatement to org.postgresql.jdbc2.PreparedStatement. [javac] updateStatement = ((java.sql.Connection) connection).prepareStatement(updateSQL.toString()); [javac] ^ [javac] /usr/var/local/src/gen/pgsql/CURRENT/pgsql/src/interfaces/jdbc/org/postgresql/jdbc2/AbstractJdbc2Statement.java:51: Invalid cast from org.postgresql.jdbc2.AbstractJdbc2Statement to org.postgresql.jdbc2.Statement. [javac] ((AbstractJdbc2ResultSet)result).setStatement((Statement)this); [javac] ^ [javac] 12 errors BUILD FAILED /usr/var/local/src/gen/pgsql/CURRENT/pgsql/src/interfaces/jdbc/./build.xml:85: Compile failed, messages should have been provided. Total time: 9 seconds