Bug#358345: libpgjava: FTBFS: compile error

stigge at antcom.de stigge at antcom.de
Wed Mar 22 10:17:08 UTC 2006


Package: libpgjava
Version: 8.1-404-1
Severity: serious

Hi,

building the package libpgjava in a clean sid build environment
(with pbuilder) on i386 results in:

=========================================================================
[...]
    [javac] The local variable nestedCount is never read
    [javac] ----------
    [javac] ----------
    [javac] 45. WARNING in /tmp/buildd/libpgjava-8.1-404/org/postgresql/jdbc2/AbstractJdbc2Statement.java
    [javac]  (at line 3038)
    [javac] 	int localoffset = t.getTimezoneOffset() * 60 * 1000 * -1;
    [javac] 	                  ^^^^^^^^^^^^^^^^^^^^^
    [javac] The method getTimezoneOffset() from the type Date is deprecated
    [javac] ----------
    [javac] ----------
    [javac] 46. ERROR in /tmp/buildd/libpgjava-8.1-404/org/postgresql/jdbc2/Jdbc2Blob.java
    [javac]  (at line 13)
    [javac] 	public class Jdbc2Blob extends AbstractJdbc2Blob implements java.sql.Blob
    [javac] 	             ^^^^^^^^^
    [javac] The type Jdbc2Blob must implement the inherited abstract method Blob.setBytes(long, byte[])
    [javac] ----------
    [javac] 47. ERROR in /tmp/buildd/libpgjava-8.1-404/org/postgresql/jdbc2/Jdbc2Blob.java
    [javac]  (at line 13)
[...]
    [javac] The serializable class PSQLException does not declare a static final serialVersionUID field of type long
    [javac] ----------
    [javac] ----------
    [javac] 163. WARNING in /tmp/buildd/libpgjava-8.1-404/org/postgresql/util/PSQLState.java
    [javac]  (at line 16)
    [javac] 	public class PSQLState implements java.io.Serializable
    [javac] 	             ^^^^^^^^^
    [javac] The serializable class PSQLState does not declare a static final serialVersionUID field of type long
    [javac] ----------
    [javac] ----------
    [javac] 164. WARNING in /tmp/buildd/libpgjava-8.1-404/org/postgresql/util/PSQLWarning.java
    [javac]  (at line 14)
    [javac] 	public class PSQLWarning extends SQLWarning
    [javac] 	             ^^^^^^^^^^^
    [javac] The serializable class PSQLWarning does not declare a static final serialVersionUID field of type long
    [javac] ----------
    [javac] ----------
    [javac] 165. WARNING in /tmp/buildd/libpgjava-8.1-404/org/postgresql/util/ServerErrorMessage.java
    [javac]  (at line 16)
    [javac] 	public class ServerErrorMessage implements Serializable
    [javac] 	             ^^^^^^^^^^^^^^^^^^
    [javac] The serializable class ServerErrorMessage does not declare a static final serialVersionUID field of type long
    [javac] ----------
    [javac] 165 problems (108 errors, 57 warnings)

BUILD FAILED
/tmp/buildd/libpgjava-8.1-404/build.xml:117: Compile failed; see the compiler error output for details.

Total time: 8 seconds
make: *** [build] Error 1
=========================================================================

Thanks for considering.


--
DARTS - Debian Archive Regression Test Suite
http://darts.alioth.debian.org/




More information about the pkg-java-maintainers mailing list