Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#30424 closed defect (fixed)

commons-dbcp does not compile on Lion

Reported by: nic@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.0.0
Keywords: lion Cc: ryandesign (Ryan Schmidt)
Port: commons-dbcp


Related to #21037

I have a clean install of MacPorts 2.0 on an upgraded Lion install (that used to have Fink). I still get the errors like:

:info:build     [mkdir] Created dir: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_java_commons-dbcp/commons-dbcp/work/commons-dbcp-1.2.2-src/build/classes
:info:build     [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_java_commons-dbcp/commons-dbcp/work/commons-dbcp-1.2.2-src/build.xml:151: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
:info:build     [javac] Compiling 41 source files to /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_java_commons-dbcp/commons-dbcp/work/commons-dbcp-1.2.2-src/build/classes
:info:build     [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_java_commons-dbcp/commons-dbcp/work/commons-dbcp-1.2.2-src/src/java/org/apache/commons/dbcp/ org.apache.commons.dbcp.BasicDataSource is not abstract and does not override abstract method isWrapperFor(java.lang.Class) in java.sql.Wrapper
:info:build     [javac] public class BasicDataSource implements DataSource {
:info:build     [javac]        ^

I thought this had been patched for JDK1.6 support already?

Attachments (1)

main.log (19.3 KB) - added by nic@… 10 years ago.

Download all attachments as: .zip

Change History (3)

Changed 10 years ago by nic@…

Attachment: main.log added

comment:1 Changed 10 years ago by ryandesign (Ryan Schmidt)

Cc: ryandesign@… added
Port: commons-dbcp added
Resolution: fixed
Status: newclosed

comment:2 Changed 10 years ago by ryandesign (Ryan Schmidt)

Keywords: lion added
Note: See TracTickets for help on using tickets.