Bug#706668: mysql-connector-java: FTBFS with openjdk-7
Package: mysql-connector-java Version: 5.1.16-2 Severity: serious Tags: patch Justification: fails to build from source (but built successfully in the past) Fails to build with openjdk-7 due to incompatibility with the newer version of JDBC (abstract methods need to be overridden). Here is the relevant part of the build log. [javac] /home/verica/mysql1/mysql-connector- java-5.1.16/build/mysql-connector-java-5.1.16/com/mysql/jdbc/JDBC4LoadBalancedMySQLConnection.java:44: error: JDBC4LoadBalancedMySQLConnection is not abstract and does not override abstract method getNetworkTimeout() in Connection [javac] public class JDBC4LoadBalancedMySQLConnection extends [javac]^ [javac] Note: Some input files use unchecked or unsafe operations. [javac] Note: Recompile with -Xlint:unchecked for details. [javac] 1 error BUILD FAILED /home/verica/mysql1/mysql-connector-java-5.1.16/build.xml:771: Compile failed; see the compiler error output for details. Total time: 11 seconds make: *** [debian/stamp-ant-build] Error 1 dpkg-buildpackage: error: debian/rules build gave error exit status 2 I propose a patch that fixes this issue as attachment. -- System Information: Debian Release: 7.0 APT prefers unstable APT policy: (500, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 3.2.0-4-amd64 (SMP w/1 CPU core) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash 0002-jdbc-override-abstract-methods.patch Description: Binary data
Bug#706668: mysql-connector-java: FTBFS with openjdk-7
Control: severity -1 important Control: tags -1 pending On 2013-05-03 08:22, Verica_Lazova.str wrote: Package: mysql-connector-java Version: 5.1.16-2 Severity: serious Tags: patch Justification: fails to build from source (but built successfully in the past) Fails to build with openjdk-7 due to incompatibility with the newer version of JDBC (abstract methods need to be overridden). Here is the relevant part of the build log. OpenJDK-7 is not (yet) the default Java, so the package still builds successfully (hench this is not a serious/RC bug at this time). That said it will probably be soon anyway. [...] I propose a patch that fixes this issue as attachment. [...] It appears that a patch has already been committed[1] 10 months ago. Accordingly I tagged this pending. I didn't review either, if you have reason to believe the existing patch is insufficient, please follow up with more information. ~Niels [1] http://anonscm.debian.org/viewvc/pkg-java?view=revisionrevision=16211 -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Processed: Re: Bug#706668: mysql-connector-java: FTBFS with openjdk-7
Processing control commands: severity -1 important Bug #706668 [mysql-connector-java] mysql-connector-java: FTBFS with openjdk-7 Severity set to 'important' from 'serious' tags -1 pending Bug #706668 [mysql-connector-java] mysql-connector-java: FTBFS with openjdk-7 Added tag(s) pending. -- 706668: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=706668 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org