databases/mysql-connector-java: Looks broken to me
Mikhail T.
mi+thun at aldan.algebra.com
Mon Apr 6 14:50:42 UTC 2015
On 04/06/15 06:31, Matthew Seaman wrote:
>> lucid-nonsense:/tmp/mysql-connector-java-5.1.35:% ant compile
>> > Buildfile: /tmp/mysql-connector-java-5.1.35/build.xml
>> >
>> > -jdk5-check:
>> > [exec] Execute failed: java.io.IOException: Cannot run program "/usr/lib/jvm/jdk1.5/bin/java": error=2, No such file or directory
>> >
>> > BUILD FAILED
>> > /tmp/mysql-connector-java-5.1.35/build.xml:240: Java 5 is required. Set the full path to this JDK home with the property 'com.mysql.jdbc.jdk5'. Default: '/usr/lib/jvm/jdk1.5'). Java 6 (for JDBC4+ implementation) is also required. Set the full path to this JDK home with the property 'com.mysql.jdbc.jdk6'. Default: '/usr/lib/jvm/jdk1.6'.
>> >
>> > Total time: 1 second
> Given there is no longer any support in the ports for java-1.5 I'm
> afraid we're stuck with using the pre-compiled .jar file.
Can't the build.xml be patched to augment and/or drop the requirement?
We might then see the actual problem in the Java source -- if any -- and
patch that...
-mi
More information about the freebsd-ports
mailing list