Bug 1470529 - 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: rubygem-mysql2
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Alex Chernyakhovsky
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 1467297
TreeView+ depends on / blocked
 
Reported: 2017-07-13 06:26 UTC by Honza Horak
Modified: 2017-07-14 16:28 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2017-07-14 16:28:21 UTC
Type: Bug
Embargoed:


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

Description Honza Horak 2017-07-13 06:26:27 UTC
Created attachment 1297432 [details]
Proposed patch

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

In file included from /usr/include/ruby/ruby.h:36:0,
                 from /usr/include/ruby.h:33,
                 from ./mysql2_ext.h:10,
                 from client.c:1:
client.c: In function 'rb_mysql_client_info':
client.c:47:30: error: 'MYSQL_SERVER_VERSION' undeclared (first use in this function); did you mean 'MYSQL_LINK_VERSION'?
   #define MYSQL_LINK_VERSION MYSQL_SERVER_VERSION

Comment 1 Adam Williamson 2017-07-14 01:57:17 UTC
This was actually done upstream in 0.4.8:

https://github.com/brianmario/mysql2/commit/8ad9293795a9fce9ef2ccd650b2af62518ada476

I've committed a 0.4.8 bump ready for building (when the current s390 mess is sorted out).

Comment 2 Adam Williamson 2017-07-14 16:28:21 UTC
Build is in progress now: https://koji.fedoraproject.org/koji/taskinfo?taskID=20526251


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