Package: handlersocket-mysql-5.1
Version: 1.0.6-80-g88bf1e0-1
Severity: important

Dear Maintainer,

a plugin can only be loaded into MySQL if the plugin interface verision
matches
the version of MySQL used. This is not the case for the handlersocket
plugin.

mysql> install plugin handlersocket soname 'handlersocket.so';
ERROR 1126 (HY000): Can't open shared library 'handlersocket.so' (errno:
0 API
version for DAEMON plugin is too different)
mysql>

To be exact the following variable of mysql/plugin.h is checked:
/* handlertons of different MySQL releases are incompatible */
#define MYSQL_DAEMON_INTERFACE_VERSION (MYSQL_VERSION_ID << 8)

The debian/control file should be changed to state the exact version of
MySQL
relating to the version of the handlersocket plugin, e.g.

Build-Depends:
mysql-source-5.1 (=5.1.56-1),
libmysqlclient-dev (=5.1.56-1)

Depends: mysql-server-core-5.1 (=5.1.56-1)

Handlerton history:

    * [2011-05-14] handlersocket 1.0.6-80-g88bf1e0-1 MIGRATED to testing
      <http://packages.qa.debian.org/h/handlersocket/news/20110514T163912Z.html>
      (Britney)
    * [2011-05-04] Accepted 1.0.6-80-g88bf1e0-1 in unstable (low)
      <http://packages.qa.debian.org/h/handlersocket/news/20110504T103356Z.html>
      (Clint Byrum)
    * [2011-04-12] handlersocket 1.0.6-71-g159ea6d-1 MIGRATED to testing
      <http://packages.qa.debian.org/h/handlersocket/news/20110412T163912Z.html>
      (Britney)
    * [2011-04-01] Accepted 1.0.6-71-g159ea6d-1 in unstable (low)
      <http://packages.qa.debian.org/h/handlersocket/news/20110401T135250Z.html>
      (Clint Byrum)

MySQL history:

    * [2011-07-29] mysql-5.1 5.1.58-1 MIGRATED to testing
      <http://packages.qa.debian.org/m/mysql-5.1/news/20110729T163914Z.html>
      (Britney)
    * [2011-07-18] Accepted 5.1.58-1 in unstable (low)
      <http://packages.qa.debian.org/m/mysql-5.1/news/20110718T173305Z.html>
      (Norbert Tretkowski)
    * [2011-07-13] Accepted 5.1.57-3.1 in unstable (low)
      <http://packages.qa.debian.org/m/mysql-5.1/news/20110713T150304Z.html>
      (Luk Claes)
    * [2011-07-02] mysql-5.1 5.1.57-3 MIGRATED to testing
      <http://packages.qa.debian.org/m/mysql-5.1/news/20110702T163913Z.html>
      (Britney)
    * [2011-06-21] Accepted 5.1.57-3 in unstable (low)
      <http://packages.qa.debian.org/m/mysql-5.1/news/20110621T153311Z.html>
      (Norbert Tretkowski)
    * [2011-06-20] Accepted 5.1.57-2 in unstable (low)
      <http://packages.qa.debian.org/m/mysql-5.1/news/20110620T091846Z.html>
      (Norbert Tretkowski)
    * [2011-06-17] mysql-5.1 5.1.57-1.3 MIGRATED to testing
      <http://packages.qa.debian.org/m/mysql-5.1/news/20110617T163914Z.html>
      (Britney)
    * [2011-06-13] Accepted 5.1.57-1.3 in unstable (high)
      <http://packages.qa.debian.org/m/mysql-5.1/news/20110613T180336Z.html>
      (Ondřej Surý)
    * [2011-06-13] Accepted 5.1.57-1.2 in unstable (high)
      <http://packages.qa.debian.org/m/mysql-5.1/news/20110613T145047Z.html>
      (Ondřej Surý)
    * [2011-06-13] Accepted 5.1.57-1.1 in unstable (high)
      <http://packages.qa.debian.org/m/mysql-5.1/news/20110613T094808Z.html>
      (Ondřej Surý)
    * [2011-05-14] Accepted 5.1.57-1 in unstable (medium)
      <http://packages.qa.debian.org/m/mysql-5.1/news/20110514T151810Z.html>
      (Norbert Tretkowski)
    * [2011-03-09] Accepted 5.1.56-1 in unstable (low)
      <http://packages.qa.debian.org/m/mysql-5.1/news/20110309T135928Z.html>
      (Norbert Tretkowski)

This also implies that for every new subversion of MySQL a new handlersocket
release is necessary.

I wonder if this is compatible with the Debian package logistics.

Best regards

Xypron



-- System Information:
Debian Release: wheezy/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.0.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages handlersocket-mysql-5.1 depends on:
ii libc6 2.13-21
ii libgcc1 1:4.6.1-15
ii libstdc++6 4.6.1-15
ii mysql-server-core-5.1 5.1.58-1

Versions of packages handlersocket-mysql-5.1 recommends:
ii handlersocket-doc 1.0.6-80-g88bf1e0-1

handlersocket-mysql-5.1 suggests no packages.

-- no debconf information


Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to