mysql.c: In function 'mysql_version_report': mysql.c:437:9: error: 'MYSQL_SERVER_VERSION' undeclared (first use in this function) MYSQL_SERVER_VERSION, MYSQL_COMPILATION_COMMENT, ^ 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) MYSQL_SERVER_VERSION, MYSQL_COMPILATION_COMMENT, ^ Not sure if this is MariaDB specific, or what the right fix is, I've used the below: orig src/lookups/mysql.c --- src/lookups/mysql.c.orig 2017-10-03 14:12:44.759308749 +0200 +++ src/lookups/mysql.c 2017-10-03 14:31:03.450160256 +0200 @@ -429,6 +429,13 @@ #include "../version.h" +#ifndef MYSQL_SERVER_VERSION +#define MYSQL_SERVER_VERSION MARIADB_CLIENT_VERSION +#endif +#ifndef MYSQL_COMPILATION_COMMENT +#define MYSQL_COMPILATION_COMMENT "Unknown" +#endif + void mysql_version_report(FILE *f) { Please advise what I can do to assist.
*** Bug 634256 has been marked as a duplicate of this bug. ***
Can you try this with 4.89.1? It includes a commit on this topic.
greyscale ~ # equery list mariadb * Searching for mariadb ... [IP-] [ ] dev-db/mariadb-10.2.11:0/18 greyscale ~ # emerge -1av =mail-mta/exim-4.89.1 ... [ebuild UD ] mail-mta/exim-4.89.1::gentoo [4.90::gentoo] USE="X dkim dnsdb ipv6 mysql pam prdr ssl -dane -dcc -dlfunc -dmarc -doc -dovecot-sasl -dsn -exiscan-acl -gnutls -ldap -libressl -lmtp -maildir -mbx -nis -perl -pkcs11 -postgres -proxy -radius -redis -sasl (-selinux) -spf -sqlite -srs -syslog -tcpd -tpda*" 0 KiB ... >>> Verifying ebuild manifests >>> Emerging (1 of 1) mail-mta/exim-4.89.1::gentoo >>> Installing (1 of 1) mail-mta/exim-4.89.1::gentoo >>> Jobs: 1 of 1 complete Load avg: 2.54, 1.33, 0.87 So yes, that sorts it out. As far as I'm concerned this can be closed, but perhaps you do want to add a blocker on the unfixed version against the non-working mariadb ... your call.