Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Aug 2008 17:25:08 +0100 (BST)
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/126687: [maintainer] databases/mysql-connector-java50 not buildable with jdk-1.6.x
Message-ID:  <200808201625.m7KGP8C3021625@happy-idiot-talk.infracaninophile.co.uk>
Resent-Message-ID: <200808201630.m7KGU19t065111@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         126687
>Category:       ports
>Synopsis:       [maintainer] databases/mysql-connector-java50 not buildable with jdk-1.6.x
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Aug 20 16:30:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Matthew Seaman
>Release:        FreeBSD 7.0-STABLE i386
>Organization:
Infracaninophile
>Environment:
System: FreeBSD happy-idiot-talk.infracaninophile.co.uk 7.0-STABLE FreeBSD 7.0-STABLE #42: Sun Aug 3 21:10:15 BST 2008 root@happy-idiot-talk.infracaninophile.co.uk:/usr/obj/usr/src/sys/HAPPY-IDIOT-TALK i386


	
>Description:

Problem pointed out by pointyhat: 

http://pointyhat.freebsd.org/errorlogs/i386-errorlogs/a.8.20080819154558/mysql-connector-java-5.0.8_1.log

Use either jdk-1.4 or jdk-1.5 to build this version of mysql-connector-java.


>How-To-Repeat:
	
>Fix:

	

--- mysql-connector-java50.diff begins here ---
diff -Nur /usr/ports/databases/mysql-connector-java50/Makefile mysql-connector-java50/Makefile
--- /usr/ports/databases/mysql-connector-java50/Makefile	2008-06-07 08:02:35.000000000 +0100
+++ mysql-connector-java50/Makefile	2008-08-20 17:16:23.000000000 +0100
@@ -24,7 +24,7 @@
 
 USE_JAVA=	yes
 USE_ANT=	yes
-JAVA_VERSION=	1.4+
+JAVA_VERSION=	1.4 1.5
 ALL_TARGET=	clean dist
 MAKE_ARGS=	-Djavalibdir=${JAVALIBDIR}
 BUILDDIR=	${WRKDIR}/${DISTNAME}/build/${DISTNAME}
@@ -61,7 +61,7 @@
 	@${ECHO_MSG} ""
 	@${ECHO_MSG} "    WITHOUT_COMPILE=yes    Install the pre-compiled .jar file"
 	@${ECHO_MSG} ""
-	@${ECHO_MSG} "This port requires JDK 1.4.x or better to compile, but the"
+	@${ECHO_MSG} "This port requires JDK 1.4.x or JDK 1.5.x to compile, but the"
 	@${ECHO_MSG} "JDBC driver can be made to operate with JVM 1.2.x or better"
 	@${ECHO_MSG} ""
 
--- mysql-connector-java50.diff ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200808201625.m7KGP8C3021625>