Bug 1470540 - 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: sysbench
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Xavier Bachelot
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 1467297
TreeView+ depends on / blocked
 
Reported: 2017-07-13 07:11 UTC by Honza Horak
Modified: 2017-07-13 12:41 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2017-07-13 12:41:34 UTC
Type: Bug
Embargoed:


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

Description Honza Horak 2017-07-13 07:11:39 UTC
Created attachment 1297439 [details]
Proposed patch

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

drv_mysql.c:52:39: warning: "MYSQL_VERSION_ID" is not defined, evaluates to 0 [-Wundef]
 #if !defined(MARIADB_BASE_VERSION) && MYSQL_VERSION_ID >= 80001
                                       ^~~~~~~~~~~~~~~~

Comment 1 Xavier Bachelot 2017-07-13 12:41:34 UTC
Thanks for the patch, sysbench has been rebuilt.
I also submitted the patch to upstream, and it's already been pushed.

https://koji.fedoraproject.org/koji/taskinfo?taskID=20496105
https://github.com/akopytov/sysbench/issues/160
https://github.com/akopytov/sysbench/commit/0c127582221e829f518e284fefcffa2d9f6d7ae9


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