[MacPorts] #21549: mysql-connector-java build fails in snow leopard

MacPorts noreply at macports.org
Tue Sep 22 05:51:42 PDT 2009


#21549: mysql-connector-java build fails in snow leopard
--------------------------------------------+-------------------------------
 Reporter:  macport-snhhome@…               |       Owner:  macports-tickets@…                   
     Type:  defect                          |      Status:  new                                  
 Priority:  Normal                          |   Milestone:                                       
Component:  ports                           |     Version:  1.8.0                                
 Keywords:  java, mysql                     |        Port:  mysql-connector-java                 
--------------------------------------------+-------------------------------
 Compiling mysql-connector-java @5.0.7_0 fails in snow leopard.


 {{{
 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_mysql-connector-java/work/mysql-connector-
 java-5.0.7" && ant dist -Djunit.jar=/opt/local/share/java/junit.jar
 -Dlog4j.jar=/opt/local/share/java/jakarta-log4j.jar " returned error 1
 Command output:     [javac]        ^
     [javac]
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_java_mysql-connector-java/work/mysql-connector-
 java-5.0.7/build/mysql-connector-
 java-5.0.7/com/mysql/jdbc/jdbc2/optional/CallableStatementWrapper.java:52:
 com.mysql.jdbc.jdbc2.optional.CallableStatementWrapper is not abstract and
 does not override abstract method
 setNClob(java.lang.String,java.io.Reader) in java.sql.CallableStatement
     [javac] public class CallableStatementWrapper extends
 PreparedStatementWrapper
     [javac]        ^
     [javac]
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_java_mysql-connector-java/work/mysql-connector-
 java-5.0.7/build/mysql-connector-
 java-5.0.7/com/mysql/jdbc/jdbc2/optional/ConnectionWrapper.java:57:
 com.mysql.jdbc.jdbc2.optional.ConnectionWrapper is not abstract and does
 not override abstract method
 createStruct(java.lang.String,java.lang.Object[]) in java.sql.Connection
     [javac] public class ConnectionWrapper extends WrapperBase implements
 Connection {
     [javac]        ^
     [javac]
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_java_mysql-connector-java/work/mysql-connector-
 java-5.0.7/build/mysql-connector-
 java-5.0.7/com/mysql/jdbc/jdbc2/optional/MysqlPooledConnection.java:48:
 com.mysql.jdbc.jdbc2.optional.MysqlPooledConnection is not abstract and
 does not override abstract method
 removeStatementEventListener(javax.sql.StatementEventListener) in
 javax.sql.PooledConnection
     [javac] public class MysqlPooledConnection implements PooledConnection
 {
     [javac]        ^
     [javac]
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_java_mysql-connector-java/work/mysql-connector-
 java-5.0.7/build/mysql-connector-
 java-5.0.7/com/mysql/jdbc/jdbc2/optional/MysqlDataSource.java:49:
 com.mysql.jdbc.jdbc2.optional.MysqlDataSource is not abstract and does not
 override abstract method isWrapperFor(java.lang.Class<?>) in
 java.sql.Wrapper
     [javac] public class MysqlDataSource extends ConnectionProperties
 implements
     [javac]        ^
     [javac]
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_java_mysql-connector-java/work/mysql-connector-
 java-5.0.7/build/mysql-connector-
 java-5.0.7/com/mysql/jdbc/jdbc2/optional/MysqlXAConnection.java:61:
 com.mysql.jdbc.jdbc2.optional.MysqlXAConnection is not abstract and does
 not override abstract method
 removeStatementEventListener(javax.sql.StatementEventListener) in
 javax.sql.PooledConnection
     [javac] public class MysqlXAConnection extends MysqlPooledConnection
 implements
     [javac]        ^
     [javac]
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_java_mysql-connector-java/work/mysql-connector-
 java-5.0.7/build/mysql-connector-
 java-5.0.7/com/mysql/jdbc/jdbc2/optional/SuspendableXAConnection.java:15:
 com.mysql.jdbc.jdbc2.optional.SuspendableXAConnection is not abstract and
 does not override abstract method
 removeStatementEventListener(javax.sql.StatementEventListener) in
 javax.sql.PooledConnection
     [javac] public class SuspendableXAConnection extends
 MysqlPooledConnection implements
     [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] 22 errors
     [javac] 5 warnings
 }}}

-- 
Ticket URL: <http://trac.macports.org/ticket/21549>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list