[MacPorts] #45789: mysql-connector-java 5.1.12_0 command execution failed

MacPorts noreply at macports.org
Wed Nov 5 10:11:56 PST 2014


#45789: mysql-connector-java 5.1.12_0 command execution failed
-----------------------------------+--------------------------------
  Reporter:  david.tay20@…         |      Owner:  macports-tickets@…
      Type:  defect                |     Status:  new
  Priority:  Normal                |  Milestone:
 Component:  ports                 |    Version:  2.3.2
Resolution:                        |   Keywords:
      Port:  mysql-connector-java  |
-----------------------------------+--------------------------------
Changes (by ryandesign@…):

 * port:   => mysql-connector-java


Old description:

> --->  Computing dependencies for mysql-connector-java
> --->  Building mysql-connector-java
> Error: org.macports.build for port mysql-connector-java returned: command
> execution failed
> Please see the log file for port mysql-connector-java for details:
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports
> .org_release_tarballs_ports_java_mysql-connector-java/mysql-connector-
> java/main.log

New description:

 {{{
 --->  Computing dependencies for mysql-connector-java
 --->  Building mysql-connector-java
 Error: org.macports.build for port mysql-connector-java returned: command
 execution failed
 Please see the log file for port mysql-connector-java for details:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports
 .org_release_tarballs_ports_java_mysql-connector-java/mysql-connector-
 java/main.log
 }}}

--

Comment:

 The relevant message in the log seems to be:

 {{{
 :info:build -compiler-check:
 :info:build      [echo] This version of MySQL Connector/J requires a
 compiler from Java-1.4 or Java-1.5 to be used, set your JAVA_HOME property
 to point to one of these versions of the JDK.
 :info:build      [echo]
 :info:build      [echo] Compiling this version also requires Java-6 for
 compiling the JDBC-4.0 implementation, please set the full path to the
 javac executable with the property "com.mysql.jdbc.java6.javac"
 :info:build      [echo] and the full path to the rt.jar from Java-6 with
 the property "com.mysql.jdbc.java6.rtjar".
 :info:build      [echo]
 }}}

 This port has no maintainer, so if you can make a patch to fix the
 problem, let us know.

-- 
Ticket URL: <https://trac.macports.org/ticket/45789#comment:1>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list