Bug#825086: Package links against libmysqlclient_r

2016-11-18 Thread Michael Prokop
* Robie Basak [Mon May 23, 2016 at 02:16:52PM +0100]:

> 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 quilt patch, which I
> believe is also applicable to Debian.

Any news on this one? Is there anything prevent the package
maintainer to upload a new package version with the patch applied?
libmysql++-dev isn't in testing because of this and the freeze for
stretch is coming closer.

regards,
-mika-


signature.asc
Description: Digital signature


Bug#825086: Package links against libmysqlclient_r

2016-05-23 Thread Robie Basak
Package: libmysql++3v5
Version: 3.2.2+pristine-1
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
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 quilt patch, which I
believe is also applicable to Debian.

Thanks,

Robie Basak
Debian MySQL maintainers team
Ubuntu developer
Author: Robie Basak 
Bug-Ubuntu: https://launchpad.net/bugs/1564871
Forwarded: no
Last-Update: 2016-04-01
Description: use libmysqlclient instead of libmysqlclient_r
 The former supersedes the latter which no longer exists in MySQL 5.7. Patch
 both the m4 macro and the configure script directly since autoreconf fails
 (some m4 macros missing from the source tree?)

--- a/config/mysql_loc.m4
+++ b/config/mysql_loc.m4
@@ -35,7 +35,7 @@
#
if test "x$acx_pthread_ok" = xyes
then
-   MYSQL_C_LIB_NAME=mysqlclient_r
+   MYSQL_C_LIB_NAME=mysqlclient
else
MYSQL_C_LIB_NAME=mysqlclient
fi
--- a/configure
+++ b/configure
@@ -12195,7 +12195,7 @@
#
if test "x$acx_pthread_ok" = xyes
then
-   MYSQL_C_LIB_NAME=mysqlclient_r
+   MYSQL_C_LIB_NAME=mysqlclient
else
MYSQL_C_LIB_NAME=mysqlclient
fi