Date: Mon, 05 Jun 2017 08:33:14 +0000 From: bugzilla-noreply@freebsd.org To: python@FreeBSD.org Subject: [Bug 219797] databases/py-MySQLdb with mariadb 10.2.6 Message-ID: <bug-219797-21822-4odbz4Bi3M@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-219797-21822@https.bugs.freebsd.org/bugzilla/> References: <bug-219797-21822@https.bugs.freebsd.org/bugzilla/>
index | next in thread | previous in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=219797 --- Comment #2 from Sir l33tname <sirl33tname@gmail.com> --- The symptoms are that you can't build the port (see below) with MariaDB 10.2.6 (the latest release). Run time should be fine. building '_mysql' extension creating build/temp.freebsd-11.0-RELEASE-p10-amd64-2.7 cc -DNDEBUG -O2 -pipe -fstack-protector -fno-strict-aliasing -fPIC -Dversion_info=(1,2,5,'final',1) -D__version__=1.2.5 -I/usr/local/include/mysql -I/usr/local/include/mysql/mysql -I/usr/local/include/python2.7 -c _mysql.c -o build/temp.freebsd-11.0-RELEASE-p10-amd64-2.7/_mysql.o _mysql.c:1593:10: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare] if (how < 0 || how >= sizeof(row_converters)) { ~~~ ^ ~ _mysql.c:1947:47: warning: incompatible pointer types passing 'MYSQL *' (aka 'struct st_mysql *') to parameter of type 'MYSQL_RES *' (aka 'struct st_mysql_res *') [-Wincompatible-pointer-types] return PyInt_FromLong((long)mysql_num_fields(&(self->connection))); ^~~~~~~~~~~~~~~~~~~ /usr/local/include/mysql/mysql.h:470:50: note: passing argument to parameter 'res' here unsigned int STDCALL mysql_num_fields(MYSQL_RES *res); ^ _mysql.c:2009:42: error: no member named 'reconnect' in 'struct st_mysql' if ( reconnect != -1 ) self->connection.reconnect = reconnect; ~~~~~~~~~~~~~~~~ ^ _mysql.c:2089:3: error: too few arguments to function call, expected 2, have 1 ); ^ /usr/local/include/mysql/mysql.h:518:1: note: 'mysql_shutdown' declared here int STDCALL mysql_shutdown(MYSQL *mysql, enum mysql_enum_shutdown_level shutdown_level); ^ 2 warnings and 2 errors generated. error: command 'cc' failed with exit status 1 *** Error code 1 -- You are receiving this mail because: You are the assignee for the bug.help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-219797-21822-4odbz4Bi3M>
