[MacPorts] #21037: commons-dbcp does not compile
MacPorts
noreply at macports.org
Mon Sep 7 12:36:22 PDT 2009
#21037: commons-dbcp does not compile
-------------------------------+--------------------------------------------
Reporter: johan@… | Owner: jberry@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Keywords: | Port: commons-dbcp
-------------------------------+--------------------------------------------
Comment(by idefix@…):
Exactly the same problem here.
Installed Leopard Snow, wiped all installed ports and started a fresh
install from the port.
Error message is:
{{{
Error: Target org.macports.build returned: shell command " cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_release_ports_java_commons-dbcp/work/commons-dbcp-1.2.2-src" && ant
dist -Djunit.jar=/opt/local/share/java/junit.jar -Dcommons-
collections.jar=/opt/local/share/java/commons-collections.jar -Dcommons-
pool.jar=/opt/local/share/java/commons-pool.jar " returned error 1
Command output: [javac] ^
[javac]
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_release_ports_java_commons-dbcp/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]
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_release_ports_java_commons-dbcp/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]
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_release_ports_java_commons-dbcp/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]
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_release_ports_java_commons-dbcp/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]
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_release_ports_java_commons-dbcp/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]
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_release_ports_java_commons-dbcp/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]
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_release_ports_java_commons-dbcp/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] 15 errors
BUILD FAILED
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_release_ports_java_commons-dbcp/work/commons-
dbcp-1.2.2-src/build.xml:151: Compile failed; see the compiler error
output for details.
Total time: 2 seconds
Error: The following dependencies failed to build: commons-dbcp commons-
digester commons-el servlet24-api commons-fileupload commons-httpclient
commons-codec commons-io commons-launcher commons-modeler mx4j jakarta-
bcel jakarta-regexp jakarta-taglibs-standard-11 xalanj xercesj jaxen dom4j
jdom xom saxpath
Error: Status 1 encountered during processing.
}}}
--
Ticket URL: <http://trac.macports.org/ticket/21037#comment:10>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list