>>> Emerging (1 of 3) dev-java/commons-dbcp-1.2.2-r1 * commons-dbcp-1.2.2-src.tar.gz RMD160 SHA1 SHA256 size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] * CPV: dev-java/commons-dbcp-1.2.2-r1 * REPO: gentoo_prefix * USE: elibc_SunOS kernel_SunOS prefix userland_GNU x86-solaris * Using: sun-jdk-1.6 >>> Unpacking source... >>> Unpacking commons-dbcp-1.2.2-src.tar.gz to /sys_tools/var/tmp/portage/dev-java/commons-dbcp-1.2.2-r1/work tar: A lone zero block at 2903 >>> Source unpacked in /sys_tools/var/tmp/portage/dev-java/commons-dbcp-1.2.2-r1/work >>> Preparing source in /sys_tools/var/tmp/portage/dev-java/commons-dbcp-1.2.2-r1/work/commons-dbcp-1.2.2-src ... removed `commons-dbcp-1.2.2.jar' Rewriting build.xml >>> Source prepared. >>> Configuring source in /sys_tools/var/tmp/portage/dev-java/commons-dbcp-1.2.2-r1/work/commons-dbcp-1.2.2-src ... Rewriting attributes Rewriting ./build.xml >>> Source configured. >>> Compiling source in /sys_tools/var/tmp/portage/dev-java/commons-dbcp-1.2.2-r1/work/commons-dbcp-1.2.2-src ... * Disabling all optional ANT_TASKS Buildfile: /sys_tools/var/tmp/portage/dev-java/commons-dbcp-1.2.2-r1/work/commons-dbcp-1.2.2-src/build.xml init: prepare-nojdbc3: prepare-jdbc3: [echo] JDBC 3 was detected. prepare: compile: [mkdir] Created dir: /sys_tools/var/tmp/portage/dev-java/commons-dbcp-1.2.2-r1/work/commons-dbcp-1.2.2-src/build/classes [javac] Compiling 41 source files to /sys_tools/var/tmp/portage/dev-java/commons-dbcp-1.2.2-r1/work/commons-dbcp-1.2.2-src/build/classes [javac] /sys_tools/var/tmp/portage/dev-java/commons-dbcp-1.2.2-r1/work/commons-dbcp-1.2.2-src/src/java/org/apache/commons/dbcp/BasicDataSource.java:44: org.apache.commons.dbcp.BasicDataSource is not abstract and does not override abstract method isWrapperFor(java.lang.Class<?>) in java.sql.Wrapper [javac] public class BasicDataSource implements DataSource { [javac] ^ [javac] /sys_tools/var/tmp/portage/dev-java/commons-dbcp-1.2.2-r1/work/commons-dbcp-1.2.2-src/src/java/org/apache/commons/dbcp/DelegatingStatement.java:46: org.apache.commons.dbcp.DelegatingStatement is not abstract and does not override abstract method isPoolable() in java.sql.Statement [javac] public class DelegatingStatement extends AbandonedTrace implements Statement { [javac] ^ [javac] /sys_tools/var/tmp/portage/dev-java/commons-dbcp-1.2.2-r1/work/commons-dbcp-1.2.2-src/src/java/org/apache/commons/dbcp/DelegatingStatement.java:131: isClosed() in org.apache.commons.dbcp.DelegatingStatement cannot implement isClosed() in java.sql.Statement; attempting to assign weaker access privileges; was public [javac] protected boolean isClosed() { [javac] ^ [javac] /sys_tools/var/tmp/portage/dev-java/commons-dbcp-1.2.2-r1/work/commons-dbcp-1.2.2-src/src/java/org/apache/commons/dbcp/DelegatingPreparedStatement.java:50: org.apache.commons.dbcp.DelegatingPreparedStatement is not abstract and does not override abstract method setNClob(int,java.io.Reader) in java.sql.PreparedStatement [javac] public class DelegatingPreparedStatement extends DelegatingStatement [javac] ^ [javac] /sys_tools/var/tmp/portage/dev-java/commons-dbcp-1.2.2-r1/work/commons-dbcp-1.2.2-src/src/java/org/apache/commons/dbcp/DelegatingCallableStatement.java:53: org.apache.commons.dbcp.DelegatingCallableStatement is not abstract and does not override abstract method setNClob(java.lang.String,java.io.Reader) in java.sql.CallableStatement [javac] public class DelegatingCallableStatement extends DelegatingPreparedStatement [javac] ^ [javac] /sys_tools/var/tmp/portage/dev-java/commons-dbcp-1.2.2-r1/work/commons-dbcp-1.2.2-src/src/java/org/apache/commons/dbcp/DelegatingConnection.java:51: org.apache.commons.dbcp.DelegatingConnection is not abstract and does not override abstract method createStruct(java.lang.String,java.lang.Object[]) in java.sql.Connection [javac] public class DelegatingConnection extends AbandonedTrace [javac] ^ [javac] /sys_tools/var/tmp/portage/dev-java/commons-dbcp-1.2.2-r1/work/commons-dbcp-1.2.2-src/src/java/org/apache/commons/dbcp/DelegatingResultSet.java:55: org.apache.commons.dbcp.DelegatingResultSet is not abstract and does not override abstract method updateNClob(java.lang.String,java.io.Reader) in java.sql.ResultSet [javac] public class DelegatingResultSet extends AbandonedTrace implements ResultSet { [javac] ^ [javac] /sys_tools/var/tmp/portage/dev-java/commons-dbcp-1.2.2-r1/work/commons-dbcp-1.2.2-src/src/java/org/apache/commons/dbcp/PoolablePreparedStatement.java:41: org.apache.commons.dbcp.PoolablePreparedStatement is not abstract and does not override abstract method setNClob(int,java.io.Reader) in java.sql.PreparedStatement [javac] public class PoolablePreparedStatement extends DelegatingPreparedStatement implements PreparedStatement { [javac] ^ [javac] /sys_tools/var/tmp/portage/dev-java/commons-dbcp-1.2.2-r1/work/commons-dbcp-1.2.2-src/src/java/org/apache/commons/dbcp/PoolingConnection.java:42: org.apache.commons.dbcp.PoolingConnection is not abstract and does not override abstract method createStruct(java.lang.String,java.lang.Object[]) in java.sql.Connection [javac] public class PoolingConnection extends DelegatingConnection implements Connection, KeyedPoolableObjectFactory { [javac] ^ [javac] /sys_tools/var/tmp/portage/dev-java/commons-dbcp-1.2.2-r1/work/commons-dbcp-1.2.2-src/src/java/org/apache/commons/dbcp/PoolingDataSource.java:45: org.apache.commons.dbcp.PoolingDataSource is not abstract and does not override abstract method isWrapperFor(java.lang.Class<?>) in java.sql.Wrapper [javac] public class PoolingDataSource implements DataSource { [javac] ^ [javac] /sys_tools/var/tmp/portage/dev-java/commons-dbcp-1.2.2-r1/work/commons-dbcp-1.2.2-src/src/java/org/apache/commons/dbcp/cpdsadapter/ConnectionImpl.java:41: org.apache.commons.dbcp.cpdsadapter.ConnectionImpl is not abstract and does not override abstract method createStruct(java.lang.String,java.lang.Object[]) in java.sql.Connection [javac] class ConnectionImpl implements Connection { [javac] ^ [javac] /sys_tools/var/tmp/portage/dev-java/commons-dbcp-1.2.2-r1/work/commons-dbcp-1.2.2-src/src/java/org/apache/commons/dbcp/cpdsadapter/PooledConnectionImpl.java:43: org.apache.commons.dbcp.cpdsadapter.PooledConnectionImpl is not abstract and does not override abstract method removeStatementEventListener(javax.sql.StatementEventListener) in javax.sql.PooledConnection [javac] class PooledConnectionImpl [javac] ^ [javac] /sys_tools/var/tmp/portage/dev-java/commons-dbcp-1.2.2-r1/work/commons-dbcp-1.2.2-src/src/java/org/apache/commons/dbcp/cpdsadapter/PoolablePreparedStatementStub.java:34: isClosed() in org.apache.commons.dbcp.DelegatingStatement cannot implement isClosed() in java.sql.Statement; attempting to assign weaker access privileges; was public [javac] class PoolablePreparedStatementStub extends PoolablePreparedStatement { [javac] ^ [javac] /sys_tools/var/tmp/portage/dev-java/commons-dbcp-1.2.2-r1/work/commons-dbcp-1.2.2-src/src/java/org/apache/commons/dbcp/datasources/PerUserPoolDataSource.java:52: org.apache.commons.dbcp.datasources.PerUserPoolDataSource is not abstract and does not override abstract method isWrapperFor(java.lang.Class<?>) in java.sql.Wrapper [javac] public class PerUserPoolDataSource [javac] ^ [javac] /sys_tools/var/tmp/portage/dev-java/commons-dbcp-1.2.2-r1/work/commons-dbcp-1.2.2-src/src/java/org/apache/commons/dbcp/datasources/SharedPoolDataSource.java:45: org.apache.commons.dbcp.datasources.SharedPoolDataSource is not abstract and does not override abstract method isWrapperFor(java.lang.Class<?>) in java.sql.Wrapper [javac] public class SharedPoolDataSource [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] 15 errors BUILD FAILED /sys_tools/var/tmp/portage/dev-java/commons-dbcp-1.2.2-r1/work/commons-dbcp-1.2.2-src/build.xml:103: Compile failed; see the compiler error output for details. Total time: 2 seconds * ERROR: dev-java/commons-dbcp-1.2.2-r1 failed: * eant failed * * Call stack:
what platform is this? feels like the wrong java version is selected
jdbc3 should not have been detected with jdk6 and above, weird.
I've had this problem on Solaris x86/sparc and Centos 32/64 bits.
is this still the case?