Thread: Further Buildfarm Errors: Missing org.postgresql.util.PGBinaryObject
Hi, The builds are still broken. There is a lot of noise in the ant trace, expecially for 1.4 and 1.5 but I suspect some or all of it is related to the problem that is more visible in the 1.6 trace. There are many references to a class called org.postgresql.util.PGBinaryObject. Once the missing file is committed I'll check the compilation with the three JDKs I have. The status of the JDBC build farm can be seen at http://www.pgbuildfarm.org/cgi-bin/show_status.pl?member=piapiac compile: [javac] /home/ubuntu/buildarea/HEAD/pgjdbc/build.xml:125: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds [javac] Compiling 152 source files to /home/ubuntu/buildarea/HEAD/pgjdbc/build [javac] /home/ubuntu/buildarea/HEAD/pgjdbc/org/postgresql/geometric/PGbox.java:13: cannot resolve symbol [javac] symbol : class PGBinaryObject [javac] location: package util [javac] import org.postgresql.util.PGBinaryObject; [javac] ^ [javac] /home/ubuntu/buildarea/HEAD/pgjdbc/org/postgresql/geometric/PGbox.java:25: cannot resolve symbol [javac] symbol : class PGBinaryObject [javac] location: class org.postgresql.geometric.PGbox [javac] public class PGbox extends PGobject implements PGBinaryObject, Serializable, Cloneable [javac] ^ [javac] /home/ubuntu/buildarea/HEAD/pgjdbc/org/postgresql/geometric/PGpoint.java:14: cannot resolve symbol [javac] symbol : class PGBinaryObject [javac] location: package util [javac] import org.postgresql.util.PGBinaryObject; [javac] ^ [javac] /home/ubuntu/buildarea/HEAD/pgjdbc/org/postgresql/geometric/PGpoint.java:30: cannot resolve symbol [javac] symbol : class PGBinaryObject [javac] location: class org.postgresql.geometric.PGpoint [javac] public class PGpoint extends PGobject implements PGBinaryObject, Serializable, Cloneable [javac] ^ [javac] /home/ubuntu/buildarea/HEAD/pgjdbc/org/postgresql/jdbc2/AbstractJdbc2Array.java:22: cannot resolve symbol [javac] symbol : class SQLFeatureNotSupportedException [javac] location: package sql [javac] import java.sql.SQLFeatureNotSupportedException; [javac] ^ [javac] /home/ubuntu/buildarea/HEAD/pgjdbc/org/postgresql/jdbc2/AbstractJdbc2Array.java:336: cannot resolve symbol [javac] symbol : class SQLFeatureNotSupportedException [javac] location: class org.postgresql.jdbc2.AbstractJdbc2Array [javac] throws SQLFeatureNotSupportedException { [javac] ^ [javac] /home/ubuntu/buildarea/HEAD/pgjdbc/org/postgresql/jdbc2/AbstractJdbc2Connection.java:21: cannot resolve symbol [javac] symbol : class PGBinaryObject [javac] location: package util [javac] import org.postgresql.util.PGBinaryObject; [javac] ^ [javac] /home/ubuntu/buildarea/HEAD/pgjdbc/org/postgresql/jdbc2/AbstractJdbc2Statement.java:29: cannot resolve symbol [javac] symbol : class PGBinaryObject [javac] location: package util [javac] import org.postgresql.util.PGBinaryObject; [javac] ^ [javac] /home/ubuntu/buildarea/HEAD/pgjdbc/org/postgresql/jdbc2/AbstractJdbc2Array.java:216: incompatible types [javac] found : short [javac] required: java.lang.Object [javac] arr[i] = ByteConverter.int2(fieldBytes, pos); [javac] ^ [javac] /home/ubuntu/buildarea/HEAD/pgjdbc/org/postgresql/jdbc2/AbstractJdbc2Array.java:219: incompatible types [javac] found : int [javac] required: java.lang.Object [javac] arr[i] = ByteConverter.int4(fieldBytes, pos); [javac] ^ [javac] /home/ubuntu/buildarea/HEAD/pgjdbc/org/postgresql/jdbc2/AbstractJdbc2Array.java:222: incompatible types [javac] found : long [javac] required: java.lang.Object [javac] arr[i] = ByteConverter.int8(fieldBytes, pos); [javac] ^ [javac] /home/ubuntu/buildarea/HEAD/pgjdbc/org/postgresql/jdbc2/AbstractJdbc2Array.java:225: incompatible types [javac] found : float [javac] required: java.lang.Object [javac] arr[i] = ByteConverter.float4(fieldBytes, pos); [javac] ^ [javac] /home/ubuntu/buildarea/HEAD/pgjdbc/org/postgresql/jdbc2/AbstractJdbc2Array.java:228: incompatible types [javac] found : double [javac] required: java.lang.Object [javac] arr[i] = ByteConverter.float8(fieldBytes, pos); [javac] ^ [javac] /home/ubuntu/buildarea/HEAD/pgjdbc/org/postgresql/jdbc2/AbstractJdbc2Connection.java:546: cannot resolve symbol [javac] symbol : class PGBinaryObject [javac] location: class org.postgresql.jdbc2.AbstractJdbc2Connection [javac] if (byteValue != null && obj instanceof PGBinaryObject) { [javac] ^ [javac] /home/ubuntu/buildarea/HEAD/pgjdbc/org/postgresql/jdbc2/AbstractJdbc2Connection.java:547: cannot resolve symbol [javac] symbol : class PGBinaryObject [javac] location: class org.postgresql.jdbc2.AbstractJdbc2Connection [javac] PGBinaryObject binObj = (PGBinaryObject) obj; [javac] ^ [javac] /home/ubuntu/buildarea/HEAD/pgjdbc/org/postgresql/jdbc2/AbstractJdbc2Connection.java:547: cannot resolve symbol [javac] symbol : class PGBinaryObject [javac] location: class org.postgresql.jdbc2.AbstractJdbc2Connection [javac] PGBinaryObject binObj = (PGBinaryObject) obj; [javac] ^ [javac] /home/ubuntu/buildarea/HEAD/pgjdbc/org/postgresql/jdbc2/AbstractJdbc2Statement.java:1693: cannot resolve symbol [javac] symbol : class PGBinaryObject [javac] location: class org.postgresql.jdbc2.AbstractJdbc2Statement [javac] if ((x instanceof PGBinaryObject) && connection.binaryTransferSend(oid)) { [javac] ^ [javac] /home/ubuntu/buildarea/HEAD/pgjdbc/org/postgresql/jdbc2/AbstractJdbc2Statement.java:1694: cannot resolve symbol [javac] symbol : class PGBinaryObject [javac] location: class org.postgresql.jdbc2.AbstractJdbc2Statement [javac] PGBinaryObject binObj = (PGBinaryObject) x; [javac] ^ [javac] /home/ubuntu/buildarea/HEAD/pgjdbc/org/postgresql/jdbc2/AbstractJdbc2Statement.java:1694: cannot resolve symbol [javac] symbol : class PGBinaryObject [javac] location: class org.postgresql.jdbc2.AbstractJdbc2Statement [javac] PGBinaryObject binObj = (PGBinaryObject) x; [javac] ^ [javac] Note: Some input files use or override a deprecated API. [javac] Note: Recompile with -deprecation for details. [javac] 19 errors Regards, -- Mike Fowler Registered Linux user: 379787 The Call for Papers for is open for FLOSS UK, contact postgresql2012 AT flossuk DOT org for details.
OK, just committed. Dave Cramer dave.cramer(at)credativ(dot)ca http://www.credativ.ca On Tue, Sep 27, 2011 at 4:41 AM, Mike Fowler <mike@mlfowler.com> wrote: > Hi, > > The builds are still broken. There is a lot of noise in the ant trace, > expecially for 1.4 and 1.5 but I suspect some or all of it is related to > the problem that is more visible in the 1.6 trace. There are many > references to a class called org.postgresql.util.PGBinaryObject. Once the > missing file is committed I'll check the compilation with the three JDKs I > have. The status of the JDBC build farm can be seen at > http://www.pgbuildfarm.org/cgi-bin/show_status.pl?member=piapiac > > > compile: > [javac] /home/ubuntu/buildarea/HEAD/pgjdbc/build.xml:125: warning: > 'includeantruntime' was not set, defaulting to > build.sysclasspath=last; set to false for repeatable builds > [javac] Compiling 152 source files to > /home/ubuntu/buildarea/HEAD/pgjdbc/build > [javac] > /home/ubuntu/buildarea/HEAD/pgjdbc/org/postgresql/geometric/PGbox.java:13: > cannot resolve symbol > [javac] symbol : class PGBinaryObject > [javac] location: package util > [javac] import org.postgresql.util.PGBinaryObject; > [javac] ^ > [javac] > /home/ubuntu/buildarea/HEAD/pgjdbc/org/postgresql/geometric/PGbox.java:25: > cannot resolve symbol > [javac] symbol : class PGBinaryObject > [javac] location: class org.postgresql.geometric.PGbox > [javac] public class PGbox extends PGobject implements PGBinaryObject, > Serializable, Cloneable > [javac] ^ > [javac] > /home/ubuntu/buildarea/HEAD/pgjdbc/org/postgresql/geometric/PGpoint.java:14: > cannot resolve symbol > [javac] symbol : class PGBinaryObject > [javac] location: package util > [javac] import org.postgresql.util.PGBinaryObject; > [javac] ^ > [javac] > /home/ubuntu/buildarea/HEAD/pgjdbc/org/postgresql/geometric/PGpoint.java:30: > cannot resolve symbol > [javac] symbol : class PGBinaryObject > [javac] location: class org.postgresql.geometric.PGpoint > [javac] public class PGpoint extends PGobject implements > PGBinaryObject, Serializable, Cloneable > [javac] ^ > [javac] > /home/ubuntu/buildarea/HEAD/pgjdbc/org/postgresql/jdbc2/AbstractJdbc2Array.java:22: > cannot resolve symbol > [javac] symbol : class SQLFeatureNotSupportedException > [javac] location: package sql > [javac] import java.sql.SQLFeatureNotSupportedException; > [javac] ^ > [javac] > /home/ubuntu/buildarea/HEAD/pgjdbc/org/postgresql/jdbc2/AbstractJdbc2Array.java:336: > cannot resolve symbol > [javac] symbol : class SQLFeatureNotSupportedException > [javac] location: class org.postgresql.jdbc2.AbstractJdbc2Array > [javac] throws SQLFeatureNotSupportedException { > [javac] ^ > [javac] > /home/ubuntu/buildarea/HEAD/pgjdbc/org/postgresql/jdbc2/AbstractJdbc2Connection.java:21: > cannot resolve symbol > [javac] symbol : class PGBinaryObject > [javac] location: package util > [javac] import org.postgresql.util.PGBinaryObject; > [javac] ^ > [javac] > /home/ubuntu/buildarea/HEAD/pgjdbc/org/postgresql/jdbc2/AbstractJdbc2Statement.java:29: > cannot resolve symbol > [javac] symbol : class PGBinaryObject > [javac] location: package util > [javac] import org.postgresql.util.PGBinaryObject; > [javac] ^ > [javac] > /home/ubuntu/buildarea/HEAD/pgjdbc/org/postgresql/jdbc2/AbstractJdbc2Array.java:216: > incompatible types > [javac] found : short > [javac] required: java.lang.Object > [javac] arr[i] = ByteConverter.int2(fieldBytes, pos); > [javac] ^ > [javac] > /home/ubuntu/buildarea/HEAD/pgjdbc/org/postgresql/jdbc2/AbstractJdbc2Array.java:219: > incompatible types > [javac] found : int > [javac] required: java.lang.Object > [javac] arr[i] = ByteConverter.int4(fieldBytes, pos); > [javac] ^ > [javac] > /home/ubuntu/buildarea/HEAD/pgjdbc/org/postgresql/jdbc2/AbstractJdbc2Array.java:222: > incompatible types > [javac] found : long > [javac] required: java.lang.Object > [javac] arr[i] = ByteConverter.int8(fieldBytes, pos); > [javac] ^ > [javac] > /home/ubuntu/buildarea/HEAD/pgjdbc/org/postgresql/jdbc2/AbstractJdbc2Array.java:225: > incompatible types > [javac] found : float > [javac] required: java.lang.Object > [javac] arr[i] = ByteConverter.float4(fieldBytes, > pos); > [javac] ^ > [javac] > /home/ubuntu/buildarea/HEAD/pgjdbc/org/postgresql/jdbc2/AbstractJdbc2Array.java:228: > incompatible types > [javac] found : double > [javac] required: java.lang.Object > [javac] arr[i] = ByteConverter.float8(fieldBytes, > pos); > [javac] ^ > [javac] > /home/ubuntu/buildarea/HEAD/pgjdbc/org/postgresql/jdbc2/AbstractJdbc2Connection.java:546: > cannot resolve symbol > [javac] symbol : class PGBinaryObject > [javac] location: class org.postgresql.jdbc2.AbstractJdbc2Connection > [javac] if (byteValue != null && obj instanceof > PGBinaryObject) { > [javac] ^ > [javac] > /home/ubuntu/buildarea/HEAD/pgjdbc/org/postgresql/jdbc2/AbstractJdbc2Connection.java:547: > cannot resolve symbol > [javac] symbol : class PGBinaryObject > [javac] location: class org.postgresql.jdbc2.AbstractJdbc2Connection > [javac] PGBinaryObject binObj = (PGBinaryObject) obj; > [javac] ^ > [javac] > /home/ubuntu/buildarea/HEAD/pgjdbc/org/postgresql/jdbc2/AbstractJdbc2Connection.java:547: > cannot resolve symbol > [javac] symbol : class PGBinaryObject > [javac] location: class org.postgresql.jdbc2.AbstractJdbc2Connection > [javac] PGBinaryObject binObj = (PGBinaryObject) obj; > [javac] ^ > [javac] > /home/ubuntu/buildarea/HEAD/pgjdbc/org/postgresql/jdbc2/AbstractJdbc2Statement.java:1693: > cannot resolve symbol > [javac] symbol : class PGBinaryObject > [javac] location: class org.postgresql.jdbc2.AbstractJdbc2Statement > [javac] if ((x instanceof PGBinaryObject) && > connection.binaryTransferSend(oid)) { > [javac] ^ > [javac] > /home/ubuntu/buildarea/HEAD/pgjdbc/org/postgresql/jdbc2/AbstractJdbc2Statement.java:1694: > cannot resolve symbol > [javac] symbol : class PGBinaryObject > [javac] location: class org.postgresql.jdbc2.AbstractJdbc2Statement > [javac] PGBinaryObject binObj = (PGBinaryObject) x; > [javac] ^ > [javac] > /home/ubuntu/buildarea/HEAD/pgjdbc/org/postgresql/jdbc2/AbstractJdbc2Statement.java:1694: > cannot resolve symbol > [javac] symbol : class PGBinaryObject > [javac] location: class org.postgresql.jdbc2.AbstractJdbc2Statement > [javac] PGBinaryObject binObj = (PGBinaryObject) x; > [javac] ^ > [javac] Note: Some input files use or override a deprecated API. > [javac] Note: Recompile with -deprecation for details. > [javac] 19 errors > > Regards, > > -- > Mike Fowler > Registered Linux user: 379787 > > The Call for Papers for is open for FLOSS UK, contact postgresql2012 AT > flossuk DOT org for details. > > > -- > Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org) > To make changes to your subscription: > http://www.postgresql.org/mailpref/pgsql-jdbc >
> OK, just committed. > Thanks! I've run the three compilers and both 1.5 and 1.6 are now building cleanly. I uncovered a handful of 1.4 compatability problems so I've attached a patch that makes it all compile clean on all three jdks. The full regression tests against 8.4,9.0,9.1 and HEAD will kick off later today. Regards, -- Mike Fowler Registered Linux user: 379787 The Call for Papers for is open for FLOSS UK, contact postgresql2012 AT flossuk DOT org for details.
Attachment
committed... thanks! Dave Cramer dave.cramer(at)credativ(dot)ca http://www.credativ.ca On Tue, Sep 27, 2011 at 7:05 AM, Mike Fowler <mike@mlfowler.com> wrote: >> OK, just committed. >> > > Thanks! I've run the three compilers and both 1.5 and 1.6 are now building > cleanly. I uncovered a handful of 1.4 compatability problems so I've > attached a patch that makes it all compile clean on all three jdks. The > full regression tests against 8.4,9.0,9.1 and HEAD will kick off later > today. > > Regards, > > -- > Mike Fowler > Registered Linux user: 379787 > > The Call for Papers for is open for FLOSS UK, contact postgresql2012 AT > flossuk DOT org for details.
> committed... thanks! Thanks Dave. The last of my build runs completed a short while ago and all 4 have passed. Regards, -- Mike Fowler Registered Linux user: 379787 The Call for Papers for is open for FLOSS UK, contact postgresql2012 AT flossuk DOT org for details.