[php-maint] Bug#794191: Bug#794191: php5-mysql: PHP is compiled with old version of the MySQL headers

Julian Calaby julian.calaby at gmail.com
Mon Aug 3 01:43:33 UTC 2015


Hi Ondřej,

I urge you apply that patch when you can.

Debian already handles the API changes this is warning against through
library versions, so the warning is unnecessary in Debian's packages.

Frustratingly, this harmless little warning means I can't run some of
the software I'm developing with full error messages as I can't filter
out only those warnings.

I'll deal with this by installing mysql-5.6 from Sid, but I'm guessing
this might hurt other developers, so applying that patch is probably a
good idea.

Thanks,

Julian Calaby


On Fri, Jul 31, 2015 at 6:01 PM, Ondřej Surý <ondrej at sury.org> wrote:
> Hi,
>
> this will fix itself after mysql-5.6 migrates to stretch. The error is
> just a slight annoyance and it reality it's not a problem at all.
>
> I have a patch somewhere that gets rid of the warning. Ping me if it's
> not fixed withing a few weeks and I'll apply it.
>
> O.
>
> On Fri, Jul 31, 2015, at 06:58, Julian Calaby wrote:
>> Package: php5-mysql
>> Version: 5.6.11+dfsg-1
>> Severity: minor
>>
>> Dear Maintainer,
>>
>> After updating my Debian Testing (Stretch) box's PHP install from PHP
>> 5.5.12+dfsg-2 to 5.6.11-1, I occasionally get the following warnings:
>>
>> PHP Warning:  mysql_connect(): Headers and client library minor version
>> mismatch. Headers:50625 Library:50543
>>
>> It appears that php5-mysql is compiled against the mysql-5.6 headers from
>> Sid whereas Stretch still only has mysql-5.5.
>>
>> Should the libmysqlclient18 dependency be versioned?
>>
>> Thanks,
>>
>> Julian Calaby
>>
>>
>> -- Package-specific info:
>> ==== Additional PHP 5 information ====
>>
>> ++++ PHP 5 SAPI (php5query -S): ++++
>> cgi
>> cli
>>
>> ++++ PHP 5 Extensions (php5query -M -v): ++++
>> readline (Enabled for cgi by maintainer script)
>> readline (Enabled for cli by maintainer script)
>> sqlite3 (Enabled for cgi by maintainer script)
>> sqlite3 (Enabled for cli by maintainer script)
>> mcrypt (Enabled for cgi by maintainer script)
>> mcrypt (Enabled for cli by maintainer script)
>> pdo (Enabled for cgi by maintainer script)
>> pdo (Enabled for cli by maintainer script)
>> pdo_sqlite (Enabled for cgi by maintainer script)
>> pdo_sqlite (Enabled for cli by maintainer script)
>> opcache (Enabled for cgi by maintainer script)
>> opcache (Enabled for cli by maintainer script)
>> pdo_mysql (Enabled for cgi by maintainer script)
>> pdo_mysql (Enabled for cli by maintainer script)
>> json (Enabled for cgi by maintainer script)
>> json (Enabled for cli by maintainer script)
>> mysql (Enabled for cgi by maintainer script)
>> mysql (Enabled for cli by maintainer script)
>> xdebug (Enabled for cgi by local administrator)
>> No module matches xdebug (Disabled for cli by local administrator)
>> mysqli (Enabled for cgi by maintainer script)
>> mysqli (Enabled for cli by maintainer script)
>> gd (Enabled for cgi by maintainer script)
>> gd (Enabled for cli by maintainer script)
>>
>> ++++ Configuration files: ++++
>> **** /etc/php5/mods-available/mysql.ini ****
>> extension=mysql.so
>>
>> **** /etc/php5/mods-available/mysqli.ini ****
>> extension=mysqli.so
>>
>> **** /etc/php5/mods-available/pdo_mysql.ini ****
>> extension=pdo_mysql.so
>>
>>
>> -- System Information:
>> Debian Release: stretch/sid
>>   APT prefers testing-proposed-updates
>>   APT policy: (500, 'testing-proposed-updates'), (500, 'testing')
>> Architecture: i386 (i686)
>>
>> Kernel: Linux 4.0.0-2-686-pae (SMP w/2 CPU cores)
>> Locale: LANG=en_AU.utf8, LC_CTYPE=en_AU.utf8 (charmap=UTF-8)
>> Shell: /bin/sh linked to /bin/dash
>> Init: systemd (via /run/systemd/system)
>>
>> Versions of packages php5-mysql depends on:
>> ii  libc6                          2.19-19
>> ii  libmysqlclient18               5.5.43-0+deb8u1
>> ii  php5-common [phpapi-20131226]  5.6.11+dfsg-1
>> ii  ucf                            3.0030
>> ii  zlib1g                         1:1.2.8.dfsg-2+b1
>>
>> php5-mysql recommends no packages.
>>
>> php5-mysql suggests no packages.
>>
>> Versions of packages php5-common depends on:
>> ii  libc6   2.19-19
>> ii  lsof    4.86+dfsg-1
>> ii  psmisc  22.21-2
>> ii  sed     4.2.2-6.1
>> ii  ucf     3.0030
>>
>> Versions of packages php5-common suggests:
>> pn  php5-user-cache  <none>
>>
>> Versions of packages php5-cli depends on:
>> ii  libbz2-1.0        1.0.6-8
>> ii  libc6             2.19-19
>> ii  libcomerr2        1.42.13-1
>> ii  libdb5.3          5.3.28-9
>> ii  libedit2          3.1-20150325-1
>> ii  libgssapi-krb5-2  1.12.1+dfsg-20
>> ii  libk5crypto3      1.12.1+dfsg-20
>> ii  libkrb5-3         1.12.1+dfsg-20
>> ii  libmagic1         1:5.22+15-2
>> ii  libonig2          5.9.6-1
>> ii  libpcre3          2:8.35-7
>> ii  libqdbm14         1.8.78-5+b3
>> ii  libssl1.0.0       1.0.2d-1
>> ii  libxml2           2.9.1+dfsg1-5
>> ii  mime-support      3.58
>> ii  php5-common       5.6.11+dfsg-1
>> ii  php5-json         1.3.7-1
>> ii  tzdata            2015e-1
>> ii  ucf               3.0030
>> ii  zlib1g            1:1.2.8.dfsg-2+b1
>>
>> Versions of packages php5-cli recommends:
>> ii  php5-readline  5.6.11+dfsg-1
>>
>> Versions of packages php5-cli suggests:
>> ii  php-pear  5.6.11+dfsg-1
>>
>> Versions of packages php5-cgi depends on:
>> ii  libbz2-1.0        1.0.6-8
>> ii  libc6             2.19-19
>> ii  libcomerr2        1.42.13-1
>> ii  libdb5.3          5.3.28-9
>> ii  libgssapi-krb5-2  1.12.1+dfsg-20
>> ii  libk5crypto3      1.12.1+dfsg-20
>> ii  libkrb5-3         1.12.1+dfsg-20
>> ii  libmagic1         1:5.22+15-2
>> ii  libonig2          5.9.6-1
>> ii  libpcre3          2:8.35-7
>> ii  libqdbm14         1.8.78-5+b3
>> ii  libssl1.0.0       1.0.2d-1
>> ii  libxml2           2.9.1+dfsg1-5
>> ii  mime-support      3.58
>> ii  php5-cli          5.6.11+dfsg-1
>> ii  php5-common       5.6.11+dfsg-1
>> ii  php5-json         1.3.7-1
>> ii  tzdata            2015e-1
>> ii  ucf               3.0030
>> ii  zlib1g            1:1.2.8.dfsg-2+b1
>>
>> Versions of packages php5-cgi suggests:
>> ii  php-pear  5.6.11+dfsg-1
>>
>> -- no debconf information
>>
>> _______________________________________________
>> pkg-php-maint mailing list
>> pkg-php-maint at lists.alioth.debian.org
>> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-php-maint
>
>
> --
> Ondřej Surý <ondrej at sury.org>
> Knot DNS (https://www.knot-dns.cz/) – a high-performance DNS server



-- 
Julian Calaby

Email: julian.calaby at gmail.com
Profile: http://www.google.com/profiles/julian.calaby/



More information about the pkg-php-maint mailing list