Bug 1470529 - mariadb library upgrade to 10.2 causes FTBFS
mariadb library upgrade to 10.2 causes FTBFS
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: rubygem-mysql2 (Show other bugs)
rawhide
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Alex Chernyakhovsky
Fedora Extras Quality Assurance
: Patch
Depends On:
Blocks: 1467297
  Show dependency treegraph
 
Reported: 2017-07-13 02:26 EDT by Honza Horak
Modified: 2017-07-14 12:28 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2017-07-14 12:28:21 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


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

  None (edit)
Description Honza Horak 2017-07-13 02:26:27 EDT
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-13 21:57:17 EDT
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 12:28:21 EDT
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.