su 14. huhtik. 2019 klo 14.06 peter green (plugw...@p10link.net) kirjoitti:
>
> Could you please check if it is still valid and happening in Debian
> unstable there has had several updates MariaDB client libraries /
> connector C libraries recently?
>
> According to 
> https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/opensips.html
>  it is still failing in the same way.

For the records, failing lines from
https://tests.reproducible-builds.org/debian/rbuild/unstable/amd64/opensips_2.2.2-3.rbuild.log.gz
*******
In file included from my_con.c:25:
/usr/include/mysql/mysql_version.h:3:2: warning: #warning This file
should not be included by clients, include only <mysql.h> [-Wcpp]
 #warning This file should not be included by clients, include only <mysql.h>
  ^~~~~~~
my_con.c: In function 'db_mysql_connect':
my_con.c:68:10: error: 'MYSQL' {aka 'struct st_mysql'} has no member
named 'reconnect'
  ptr->con->reconnect = 0;
*******

>From https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=919395#36 :
*******

error: 'MYSQL' {aka 'struct st_mysql'} has no member named 'reconnect'

   This is not a bug. MYSQL.reconnect was not part of the API, even in 5.5
   https://dev.mysql.com/doc/refman/5.5/en/c-api-auto-reconnect.html
*******


Forwarded at https://github.com/OpenSIPS/opensips/issues/1589 and
following it one can find
https://github.com/farcepest/MySQLdb1/issues/146 stating that OpenSIPS
depends on an Python MySQL connector that is not maintained anymore...

Reply via email to