DEBUG: Executing shell function do_compile
running build
running build_py
creating build
creating build/lib.linux-x86_64-2.7
copying _mysql_exceptions.py -> build/lib.linux-x86_64-2.7
creating build/lib.linux-x86_64-2.7/MySQLdb
copying MySQLdb/__init__.py -> build/lib.linux-x86_64-2.7/MySQLdb
copying MySQLdb/converters.py -> build/lib.linux-x86_64-2.7/MySQLdb
copying MySQLdb/connections.py -> build/lib.linux-x86_64-2.7/MySQLdb
copying MySQLdb/cursors.py -> build/lib.linux-x86_64-2.7/MySQLdb
copying MySQLdb/release.py -> build/lib.linux-x86_64-2.7/MySQLdb
copying MySQLdb/times.py -> build/lib.linux-x86_64-2.7/MySQLdb
creating build/lib.linux-x86_64-2.7/MySQLdb/constants
copying MySQLdb/constants/__init__.py -> build/lib.linux-x86_64-2.7/MySQLdb/constants
copying MySQLdb/constants/CR.py -> build/lib.linux-x86_64-2.7/MySQLdb/constants
copying MySQLdb/constants/FIELD_TYPE.py -> build/lib.linux-x86_64-2.7/MySQLdb/constants
copying MySQLdb/constants/ER.py -> build/lib.linux-x86_64-2.7/MySQLdb/constants
copying MySQLdb/constants/FLAG.py -> build/lib.linux-x86_64-2.7/MySQLdb/constants
copying MySQLdb/constants/REFRESH.py -> build/lib.linux-x86_64-2.7/MySQLdb/constants
copying MySQLdb/constants/CLIENT.py -> build/lib.linux-x86_64-2.7/MySQLdb/constants
running build_ext
building '_mysql' extension
creating build/temp.linux-x86_64-2.7
x86_64-yoe-linux-gcc -m64 -march=core2 -mtune=core2 -msse3 -mfpmath=sse -fstack-protector-strong -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmpfs/work/core2-64-yoe-linux/mysql-python/1.2.5-r0/recipe-sysroot -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/build/tmpfs/work/core2-64-yoe-linux/mysql-python/1.2.5-r0=/usr/src/debug/mysql-python/1.2.5-r0 -fdebug-prefix-map=TOPDIR/build/tmpfs/work/core2-64-yoe-linux/mysql-python/1.2.5-r0=/usr/src/debug/mysql-python/1.2.5-r0 -fdebug-prefix-map=TOPDIR/build/tmpfs/work/core2-64-yoe-linux/mysql-python/1.2.5-r0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmpfs/work/core2-64-yoe-linux/mysql-python/1.2.5-r0/recipe-sysroot-native= -fPIC -Dversion_info=(1,2,5,'final',1) -D__version__=1.2.5 -ITOPDIR/build/tmpfs/work/core2-64-yoe-linux/mysql-python/1.2.5-r0/recipe-sysroot/usr/include/mysql -ITOPDIR/build/tmpfs/work/core2-64-yoe-linux/mysql-python/1.2.5-r0/recipe-sysroot/usr/include/mysql/.. -ITOPDIR/build/tmpfs/work/core2-64-yoe-linux/mysql-python/1.2.5-r0/recipe-sysroot/usr/include/python2.7 -c _mysql.c -o build/temp.linux-x86_64-2.7/_mysql.o
In file included from _mysql.c:44:
TOPDIR/build/tmpfs/work/core2-64-yoe-linux/mysql-python/1.2.5-r0/recipe-sysroot/usr/include/mysql/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:46:
TOPDIR/build/tmpfs/work/core2-64-yoe-linux/mysql-python/1.2.5-r0/recipe-sysroot/usr/include/mysql/mysql.h:440:3: warning: function declaration isn't a prototype [-Wstrict-prototypes]
MYSQL_CLIENT_PLUGIN_HEADER
^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from TOPDIR/build/tmpfs/work/core2-64-yoe-linux/mysql-python/1.2.5-r0/recipe-sysroot/usr/include/python2.7/Python.h:83,
from _mysql.c:29:
_mysql.c: In function '_mysql_ConnectionObject_get_autocommit':
TOPDIR/build/tmpfs/work/core2-64-yoe-linux/mysql-python/1.2.5-r0/recipe-sysroot/usr/include/python2.7/object.h:769:6: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
((PyObject*)(op))->ob_refcnt++)
~^~~~~~~~~~~~~~~~
TOPDIR/build/tmpfs/work/core2-64-yoe-linux/mysql-python/1.2.5-r0/recipe-sysroot/usr/include/python2.7/boolobject.h:27:31: note: in expansion of macro 'Py_INCREF'
#define Py_RETURN_TRUE return Py_INCREF(Py_True), Py_True
^~~~~~~~~
_mysql.c:913:3: note: in expansion of macro 'Py_RETURN_TRUE'
Py_RETURN_TRUE;
^~~~~~~~~~~~~~
TOPDIR/build/tmpfs/work/core2-64-yoe-linux/mysql-python/1.2.5-r0/recipe-sysroot/usr/include/python2.7/object.h:769:6: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
((PyObject*)(op))->ob_refcnt++)
~^~~~~~~~~~~~~~~~
TOPDIR/build/tmpfs/work/core2-64-yoe-linux/mysql-python/1.2.5-r0/recipe-sysroot/usr/include/python2.7/boolobject.h:28:32: note: in expansion of macro 'Py_INCREF'
#define Py_RETURN_FALSE return Py_INCREF(Py_False), Py_False
^~~~~~~~~
_mysql.c:915:2: note: in expansion of macro 'Py_RETURN_FALSE'
Py_RETURN_FALSE;
^~~~~~~~~~~~~~~
_mysql.c: In function '_mysql_ConnectionObject_ping':
_mysql.c:2005:41: error: 'MYSQL' {aka 'struct st_mysql'} has no member named 'reconnect'
if ( reconnect != -1 ) self->connection.reconnect = reconnect;
^
In file included from TOPDIR/build/tmpfs/work/core2-64-yoe-linux/mysql-python/1.2.5-r0/recipe-sysroot/usr/include/python2.7/Python.h:83,
from _mysql.c:29:
_mysql.c: In function 'init_mysql':
TOPDIR/build/tmpfs/work/core2-64-yoe-linux/mysql-python/1.2.5-r0/recipe-sysroot/usr/include/python2.7/object.h:769:6: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
((PyObject*)(op))->ob_refcnt++)
~^~~~~~~~~~~~~~~~
_mysql.c:3105:2: note: in expansion of macro 'Py_INCREF'
Py_INCREF(&_mysql_ConnectionObject_Type);
^~~~~~~~~
TOPDIR/build/tmpfs/work/core2-64-yoe-linux/mysql-python/1.2.5-r0/recipe-sysroot/usr/include/python2.7/object.h:769:6: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
((PyObject*)(op))->ob_refcnt++)
~^~~~~~~~~~~~~~~~
_mysql.c:3109:2: note: in expansion of macro 'Py_INCREF'
Py_INCREF(&_mysql_ResultObject_Type);
^~~~~~~~~
error: command 'x86_64-yoe-linux-gcc' failed with exit status 1
ERROR: 'python setup.py build ' execution failed.
WARNING: TOPDIR/build/tmpfs/work/core2-64-yoe-linux/mysql-python/1.2.5-r0/temp/run.do_compile.10127:1 exit 1 from 'exit 1'
ERROR: Function failed: do_compile (log file is located at TOPDIR/build/tmpfs/work/core2-64-yoe-linux/mysql-python/1.2.5-r0/temp/log.do_compile.10127)