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.
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/
Created attachment 1339801 [details] patch to spec file
Created attachment 1339802 [details] Patch to allow compilation of rubygem-mysql2 against MariaDB C/C 3.x