[Python-modules-team] Bug#919393: python-mysqldb: FTBFS with mariadb-10.3: _mysql.c:1911:41: error: 'MYSQL' {aka 'struct st_mysql'} has no member named 'reconnect'

Andreas Beckmann anbe at debian.org
Tue Jan 15 13:01:41 GMT 2019


Package: python-mysqldb
Version: 1.3.10-1
Severity: serious
Justification: fails to build from source (but built successfully in the past)

Hi,

python-mysqldb FTBFS with mariadb-10.3 in sid:

building '_mysql' extension
creating build
creating build/temp.linux-i386-2.7
i686-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -g -O2 -fdebug-prefix-map=/build/python-mysqldb-1.3.10=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Dversion_info=(1,3,10,'final',0) -D__version__=1.3.10 -I/usr/include/mariadb -I/usr/include/mariadb/mysql -I/usr/include/python2.7 -c _mysql.c -o build/temp.linux-i386-2.7/_mysql.o
In file included from _mysql.c:29:
/usr/include/mariadb/my_config.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>
  ^~~~~~~
In file included from _mysql.c:30:
/usr/include/mariadb/mysql.h:440:3: warning: function declaration isn't a prototype [-Wstrict-prototypes]
   MYSQL_CLIENT_PLUGIN_HEADER
   ^~~~~~~~~~~~~~~~~~~~~~~~~~
_mysql.c: In function '_mysql_ConnectionObject_ping':
_mysql.c:1911:41: error: 'MYSQL' {aka 'struct st_mysql'} has no member named 'reconnect'
  if ( reconnect != -1 ) self->connection.reconnect = reconnect;
                                         ^
error: command 'i686-linux-gnu-gcc' failed with exit status 1
E: pybuild pybuild:338: build: plugin distutils failed with: exit code=1: /usr/bin/python setup.py build 


Cheers,

Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: python-mysqldb_1.3.10-1.log.gz
Type: application/gzip
Size: 7502 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/python-modules-team/attachments/20190115/9819b9fd/attachment.gz>


More information about the Python-modules-team mailing list