Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1494105 - Use mariadb-connector-c-devel instead of mysql-devel or mariadb-devel
Summary: Use mariadb-connector-c-devel instead of mysql-devel or mariadb-devel
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: rubygem-mysql2
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jun Aruga
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 1486480
TreeView+ depends on / blocked
 
Reported: 2017-09-21 12:59 UTC by Michal Schorm
Modified: 2017-12-18 11:22 UTC (History)
3 users (show)

Fixed In Version: rubygem-mysql2-0.4.10-1.fc28
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-12-18 11:22:24 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
patch to spec file (878 bytes, patch)
2017-10-17 16:01 UTC, Augusto Caringi
no flags Details | Diff
Patch to allow compilation of rubygem-mysql2 against MariaDB C/C 3.x (1.04 KB, patch)
2017-10-17 16:03 UTC, Augusto Caringi
no flags Details | Diff

Description Michal Schorm 2017-09-21 12:59:58 UTC
Hello, MariaDB went through big changes and your package will need a patch in order to build and work properly.

I tried to solve the issue, but I wasn't successful yet (at the time of bug creation).
I'll look into it more and post here the patch eventualy.


This change is currently applicable to the Rawhide (f28) only.


You can check builds I tried in COPR:
https://copr.fedorainfracloud.org/coprs/g/db-sig/mariadb-10.2/packages/



For more information check the tracking bugzilla.

Comment 1 Augusto Caringi 2017-10-17 16:01:16 UTC
Hi,

    Upstream is already aware of this problem:

    https://github.com/brianmario/mysql2/issues/878

    I'm attaching a patch to fix the build and also a patch with small changes that must be applied to the spec file (to use mariadb-connector-c-devel, and add openssl-devel as a build time dependency)

    Link to built packages:

    https://copr.fedorainfracloud.org/coprs/g/db-sig/mariadb-10.2/build/639669/

Comment 2 Augusto Caringi 2017-10-17 16:01:57 UTC
Created attachment 1339801 [details]
patch to spec file

Comment 3 Augusto Caringi 2017-10-17 16:03:02 UTC
Created attachment 1339802 [details]
Patch to allow compilation of rubygem-mysql2 against MariaDB C/C 3.x


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