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, I'm attaching a patch with the needed modifications to build MyDNS against this new version of MariaDB Connector/C 3.x. The main problem is that they dropped the MYSQL_SERVER_VERSION define. In the spec file, we need to replace the BuildRequires: mysql-devel by BuildRequires: mariadb-connector-c-devel and add a BuildRequires: zlib-devel. I've already sent an email to upstream with my fix, asking if it's the best solution. Buildings on copr: https://copr.fedorainfracloud.org/coprs/g/db-sig/mariadb-10.2/build/637457/
Created attachment 1339625 [details] Patch to fix build of MyDNS against MariaDB C/C 3.x
BTW, We can drop this from the spec file: # Fix build with MariaDB 10.2 # https://bugzilla.redhat.com/show_bug.cgi?id=1470175 # http://bugs.mydns-ng.com/view.php?id=78 Patch1: mydns-mariadb102.patch This patch is no longer necessary.
This bug appears to have been reported against 'rawhide' during the Fedora 28 development cycle. Changing version to '28'.
fixed in rawhide