Created attachment 1293846 [details] Patch to allow compilation of exim with MariaDB 10.2 Trying to build exim with the new version of MariaDB 10.2 causes an error: mysql.c: In function 'mysql_version_report': mysql.c:437:9: error: 'MYSQL_SERVER_VERSION' undeclared (first use in this function); did you mean 'MYSQL_PS_CONVERSION'? MYSQL_SERVER_VERSION, MYSQL_COMPILATION_COMMENT, ^~~~~~~~~~~~~~~~~~~~ MYSQL_PS_CONVERSION mysql.c:437:9: note: each undeclared identifier is reported only once for each function it appears in mysql.c:437:31: error: 'MYSQL_COMPILATION_COMMENT' undeclared (first use in this function); did you mean 'MYSQL_INIT_COMMAND'? MYSQL_SERVER_VERSION, MYSQL_COMPILATION_COMMENT, ^~~~~~~~~~~~~~~~~~~~~~~~~ MYSQL_INIT_COMMAND In this new version of MariaDB they introduced a new mariadb_version.h header and mysql.h includes this header instead of mysql_version.h. But the mysql_version.h is still present. Analyzing how this problem was fixed in another project (https://github.com/brianmario/mysql2/issues/851), I'm attaching a patch proposal to fix the problem. We are tracking all the possible problems regarding this MariaDB upgrade in the bug 1467297. Copr build: https://copr.fedorainfracloud.org/coprs/g/db-sig/mariadb-10.2/package/exim/
exim-4.89-2.fc27 is affected.
This bug appears to have been reported against 'rawhide' during the Fedora 27 development cycle. Changing version to '27'.
Thanks for the patch, I also proposed it to exim upstream: https://github.com/Exim/exim/pull/56
exim-4.89-5.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-f5177f3a16
exim-4.89-2.el7 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2017-a8c25bd6d7
exim-4.89-2.el6 has been submitted as an update to Fedora EPEL 6. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2017-01dbc69547
exim-4.89-2.el6 has been pushed to the Fedora EPEL 6 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2017-01dbc69547
exim-4.89-2.el7 has been pushed to the Fedora EPEL 7 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2017-a8c25bd6d7
exim-4.89-5.fc26 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-f5177f3a16
exim-4.89-5.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report.
exim-4.89-2.el6 has been pushed to the Fedora EPEL 6 stable repository. If problems still persist, please make note of it in this bug report.
exim-4.89-2.el7 has been pushed to the Fedora EPEL 7 stable repository. If problems still persist, please make note of it in this bug report.