From owner-freebsd-python@freebsd.org Mon Jun 5 08:33:14 2017 Return-Path: Delivered-To: freebsd-python@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B4161BF9755 for ; Mon, 5 Jun 2017 08:33:14 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 9B5AB75AF1 for ; Mon, 5 Jun 2017 08:33:14 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 9A897BF9754; Mon, 5 Jun 2017 08:33:14 +0000 (UTC) Delivered-To: python@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 98714BF9753 for ; Mon, 5 Jun 2017 08:33:14 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 80A7175AF0 for ; Mon, 5 Jun 2017 08:33:14 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v558XEM8058713 for ; Mon, 5 Jun 2017 08:33:14 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: python@FreeBSD.org Subject: [Bug 219797] databases/py-MySQLdb with mariadb 10.2.6 Date: Mon, 05 Jun 2017 08:33:14 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: needs-qa X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: sirl33tname@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: python@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? merge-quarterly? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Jun 2017 08:33:14 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D219797 --- Comment #2 from Sir l33tname --- 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=3D(1,2,5,'final',1) -D__version__=3D1.2.5 -I/usr/local/inclu= de/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 >=3D 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 !=3D -1 ) self->connection.reconnect =3D reconnect; ~~~~~~~~~~~~~~~~ ^ _mysql.c:2089:3: error: too few arguments to function call, expected 2, hav= e 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 --=20 You are receiving this mail because: You are the assignee for the bug.=