Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 11130

Summary: postgresql-7.2.3-r1 build fails in java phase
Product: Gentoo Linux Reporter: Jeremy Wohl <jeremyw-gentoo-bugzilla1>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: major CC: esigra
Priority: High    
Version: 1.4_rc1   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Jeremy Wohl 2002-11-23 14:04:01 UTC
Postgresql-7.2.3-r1 build fails in the java compile phase.  I have both 1.4.1 
and 1.3.1 sun-jdk's installed.  I assume the API conflicts below are related 
to JDK version differences.

Relevant build log follows.

compile:
    [javac] Compiling 53 source files to /var/tmp/portage/postgresql-7.2.3-
r1/work/postgresql-7.2.3/src/interfaces/jdbc/build
    [javac] /var/tmp/portage/postgresql-7.2.3-r1/work/postgresql-
7.2.3/src/interfaces/jdbc/org/postgresql/xa/XAConnectionImpl.java:57: cannot 
resolve symbol
    [javac] symbol  : class RollbackException 
    [javac] location: package transaction
    [javac] import javax.transaction.RollbackException;
    [javac]                          ^
    [javac] /var/tmp/portage/postgresql-7.2.3-r1/work/postgresql-
7.2.3/src/interfaces/jdbc/org/postgresql/jdbc2/ResultSet.java:60: 
org.postgresql.jdbc2.ResultSet should be declared abstract; it does not define 
getURL(int) in org.postgresql.jdbc2.ResultSet
    [javac] public class ResultSet extends org.postgresql.ResultSet implements 
java.sql.ResultSet
    [javac]        ^
    [javac] /var/tmp/portage/postgresql-7.2.3-r1/work/postgresql-
7.2.3/src/interfaces/jdbc/org/postgresql/jdbc2/Statement.java:25: 
org.postgresql.jdbc2.Statement should be declared abstract; it does not define 
getMoreResults(int) in org.postgresql.jdbc2.Statement
    [javac] public class Statement extends org.postgresql.Statement implements 
java.sql.Statement
    [javac]        ^
    [javac] /var/tmp/portage/postgresql-7.2.3-r1/work/postgresql-
7.2.3/src/interfaces/jdbc/org/postgresql/jdbc2/Connection.java:37: 
org.postgresql.jdbc2.Connection should be declared abstract; it does not 
define setHoldability(int) in org.postgresql.jdbc2.Connection
    [javac] public class Connection extends org.postgresql.Connection 
implements java.sql.Connection
    [javac]        ^
    [javac] /var/tmp/portage/postgresql-7.2.3-r1/work/postgresql-
7.2.3/src/interfaces/jdbc/org/postgresql/jdbc2/DatabaseMetaData.java:40: 
org.postgresql.jdbc2.DatabaseMetaData should be declared abstract; it does not 
define supportsSavepoints() in org.postgresql.jdbc2.DatabaseMetaData
    [javac] public class DatabaseMetaData implements java.sql.DatabaseMetaData
    [javac]        ^
    [javac] /var/tmp/portage/postgresql-7.2.3-r1/work/postgresql-
7.2.3/src/interfaces/jdbc/org/postgresql/jdbc2/PreparedStatement.java:32: 
org.postgresql.jdbc2.PreparedStatement should be declared abstract; it does 
not define setURL(int,java.net.URL) in org.postgresql.jdbc2.PreparedStatement
    [javac] public class PreparedStatement extends Statement implements 
java.sql.PreparedStatement
    [javac]        ^
    [javac] /var/tmp/portage/postgresql-7.2.3-r1/work/postgresql-
7.2.3/src/interfaces/jdbc/org/postgresql/jdbc2/CallableStatement.java:42: 
org.postgresql.jdbc2.CallableStatement should be declared abstract; it does 
not define registerOutParameter(java.lang.String,int) in 
org.postgresql.jdbc2.CallableStatement
    [javac] public class CallableStatement extends 
org.postgresql.jdbc2.PreparedStatement implements java.sql.CallableStatement
    [javac]        ^
    [javac] /var/tmp/portage/postgresql-7.2.3-r1/work/postgresql-
7.2.3/src/interfaces/jdbc/org/postgresql/largeobject/PGblob.java:26: 
org.postgresql.largeobject.PGblob should be declared abstract; it does not 
define setBytes(long,byte[]) in org.postgresql.largeobject.PGblob
    [javac] public class PGblob implements java.sql.Blob
    [javac]        ^
    [javac] /var/tmp/portage/postgresql-7.2.3-r1/work/postgresql-
7.2.3/src/interfaces/jdbc/org/postgresql/largeobject/PGclob.java:26: 
org.postgresql.largeobject.PGclob should be declared abstract; it does not 
define setString(long,java.lang.String) in org.postgresql.largeobject.PGclob
    [javac] public class PGclob implements java.sql.Clob
    [javac]        ^
    [javac] /var/tmp/portage/postgresql-7.2.3-r1/work/postgresql-
7.2.3/src/interfaces/jdbc/org/postgresql/xa/ClientConnection.java:70: 
org.postgresql.xa.ClientConnection should be declared abstract; it does not 
define setHoldability(int) in org.postgresql.xa.ClientConnection
    [javac] final class ClientConnection
    [javac]       ^
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -deprecation for details.
    [javac] 10 errors

BUILD FAILED
file:/var/tmp/portage/postgresql-7.2.3-r1/work/postgresql-
7.2.3/src/interfaces/jdbc/build.xml:72: Compile failed; see the compiler error 
output for details.
Comment 1 Jeremy Wohl 2002-11-23 14:08:57 UTC

*** This bug has been marked as a duplicate of 10551 ***