From owner-freebsd-ports@FreeBSD.ORG Mon Apr 6 14:50:42 2015 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 25068C42; Mon, 6 Apr 2015 14:50:42 +0000 (UTC) Received: from vms173011pub.verizon.net (vms173011pub.verizon.net [206.46.173.11]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id F0545240; Mon, 6 Apr 2015 14:50:41 +0000 (UTC) Received: from [192.168.1.8] ([108.53.86.243]) by vms173011.mailsrvcs.net (Oracle Communications Messaging Server 7.0.5.32.0 64bit (built Jul 16 2014)) with ESMTPA id <0NME00HJD134VP30@vms173011.mailsrvcs.net>; Mon, 06 Apr 2015 08:49:57 -0500 (CDT) X-CMAE-Score: 0 X-CMAE-Analysis: v=2.1 cv=e7Wxkht6 c=1 sm=1 tr=0 a=OxtTj1AvBIaAxO256ZN+aQ==:117 a=3WGNbyozUhgA:10 a=LaogzpLLAAAA:8 a=oR5dmqMzAAAA:8 a=-9mUelKeXuEA:10 a=e9J7MTPGsLIA:10 a=r77TgQKjGQsHNAKrUKIA:9 a=9iDbn-4jx3cA:10 a=cKsnjEOsciEA:10 a=gZbpxnkM3yUA:10 a=UitB9n-fQ2xmJgRMcMIA:9 a=pILNOxqGKmIA:10 a=6I5d2MoRAAAA:8 a=SOa5ClQLlVI4H-CA37YA:9 a=QmWrDH08wY_l8ac5:21 a=_W_S_7VecoQA:10 Message-id: <55228EFF.6090904@aldan.algebra.com> Date: Mon, 06 Apr 2015 09:49:51 -0400 From: "Mikhail T." User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 MIME-version: 1.0 To: freebsd-ports@freebsd.org Subject: Re: Re: databases/mysql-connector-java: Looks broken to me References: <20150401173142.1b36d256@rsbsd.rsb> <551C2260.5050904@freebsd.org> <55226070.1060909@FreeBSD.org> In-reply-to: <55226070.1060909@FreeBSD.org> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: matthew@FreeBSD.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Apr 2015 14:50:42 -0000 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