Bug 1470854 - mariadb library upgrade to 10.2 causes FTBFS
Summary: mariadb library upgrade to 10.2 causes FTBFS
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: python-mysql
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jakub Dorňák
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 1467297
TreeView+ depends on / blocked
 
Reported: 2017-07-13 20:04 UTC by Honza Horak
Modified: 2017-07-14 16:20 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-07-14 16:20:17 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Proposed patch (687 bytes, patch)
2017-07-13 20:04 UTC, Honza Horak
no flags Details | Diff

Description Honza Horak 2017-07-13 20:04:42 UTC
Created attachment 1297847 [details]
Proposed patch

Description of problem:
With new version of MariaDB 10.2 we see basically this build issue:

_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 'gcc' failed with exit status 1

Comment 1 Adam Williamson 2017-07-14 02:08:19 UTC
Approximately the same fix has been committed to upstream master already:

https://github.com/PyMySQL/mysqlclient-python/commit/1693848c9f6ca863868d94d63499830f7f4f3a1f

I will commit a backport to the package, ready for building when the current s390 mess is sorted out.

Comment 2 Adam Williamson 2017-07-14 16:20:17 UTC
Build is done: https://koji.fedoraproject.org/koji/taskinfo?taskID=20525876


Note You need to log in before you can comment on or make changes to this bug.