Package: libodb-mysql-2.4 Version: 2.4.0-1 Tags: patch User: [email protected] Usertags: origin-ubuntu yakkety ubuntu-patch
Dear Maintainer, Please stop linking against libmysqlclient_r and link directly against libmysqlclient instead. Your package currently links against libmysqlclient_r. libmysqlclient_r was the thread-safe version of libmysqlclient in previous MySQL releases. However, libmysqlclient has been itself been made thread-safe since before the current libmysqlclient18. Thus libmysqlclient_r is currently deprecated and provided as a compatibility symlink only, and will disappear in MySQL 5.7. This change can be made now, in advance of a possible future transition to libmysqlclient20, which does not provide the _r variant. In Ubuntu, we have done this with the attached patch, which I believe is also applicable to Debian. Thanks, Robie Basak Debian MySQL maintainers team Ubuntu developer
diff -Nru libodb-mysql-2.4.0/debian/control libodb-mysql-2.4.0/debian/control --- libodb-mysql-2.4.0/debian/control 2015-05-25 12:35:33.000000000 +0100 +++ libodb-mysql-2.4.0/debian/control 2016-04-01 14:31:50.000000000 +0100 @@ -1,8 +1,9 @@ Source: libodb-mysql Section: devel Priority: optional Maintainer: Laszlo Boszormenyi (GCS) <[email protected]> -Build-Depends: debhelper (>= 9), libodb-dev (>= 2.4.0), libmysqlclient-dev +Build-Depends: debhelper (>= 9), libodb-dev (>= 2.4.0), libmysqlclient-dev, dh-autoreconf Standards-Version: 3.9.6 Homepage: http://www.codesynthesis.com/products/odb diff -Nru libodb-mysql-2.4.0/debian/patches/libmysqlclient_r libodb-mysql-2.4.0/debian/patches/libmysqlclient_r --- libodb-mysql-2.4.0/debian/patches/libmysqlclient_r 1970-01-01 01:00:00.000000000 +0100 +++ libodb-mysql-2.4.0/debian/patches/libmysqlclient_r 2016-04-05 16:11:53.000000000 +0100 @@ -0,0 +1,18 @@ +Author: Robie Basak <[email protected]> +Bug-Ubuntu: https://launchpad.net/bugs/1564871 +Forwarded: no +Last-Update: 2016-04-01 + +Use libmysqlclient whether threads are enabled or not. + +--- a/m4/libmysqlclient.m4 ++++ b/m4/libmysqlclient.m4 +@@ -11,7 +11,7 @@ + libmysqlclient_found=no + + if test x"$1" != xnone; then +- libmysqlclient_name=mysqlclient_r ++ libmysqlclient_name=mysqlclient + else + libmysqlclient_name=mysqlclient + fi diff -Nru libodb-mysql-2.4.0/debian/patches/series libodb-mysql-2.4.0/debian/patches/series --- libodb-mysql-2.4.0/debian/patches/series 1970-01-01 01:00:00.000000000 +0100 +++ libodb-mysql-2.4.0/debian/patches/series 2016-04-01 14:19:33.000000000 +0100 @@ -0,0 +1 @@ +libmysqlclient_r diff -Nru libodb-mysql-2.4.0/debian/rules libodb-mysql-2.4.0/debian/rules --- libodb-mysql-2.4.0/debian/rules 2015-05-24 13:31:05.000000000 +0100 +++ libodb-mysql-2.4.0/debian/rules 2016-04-01 14:31:36.000000000 +0100 @@ -11,4 +11,4 @@ include /usr/share/dpkg/buildflags.mk %: - dh $@ --parallel + dh $@ --parallel --with autoreconf

