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

Attachment: python-mysqldb_1.3.10-1.log.gz
Description: application/gzip

Reply via email to