Created attachment 1294295 [details] Patch to allow compilation of dspam with MariaDB 10.2 Trying to build dspam with the new version of MariaDB 10.2 causes an error in the configure script: configure: error: in `/builddir/build/BUILD/dspam-3.10.2': configure: error: Unsupported version of MySQL (no PROTOCOL_VERSION or ER_LOCK_DEADLOCK or ER_LOCK_WAIT_TIMEOUT or ER_LOCK_OR_ACTIVE_TRANSACTION or CR_ERROR_FIRST defined) The cause is that CR_ERROR_FIRST is no longer present in this new version of the library. I attached 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/dspam/
I don't mind applying the patch. I don't use this project much anymore so I'm wondering why all the failures are in the configure/m4 files. Why test for this but not use anything in C? Should this really be all there is to it?
(In reply to Nathanael Noblet from comment #1) > I don't mind applying the patch. I don't use this project much anymore so > I'm wondering why all the failures are in the configure/m4 files. Why test > for this but not use anything in C? Should this really be all there is to it? Good question... But it seems that the only define that is tested and not used is CR_ERROR_FIRST, and it's exactly with this define the problem. What do the developers say about that?
Unfortunately, upstream development is basically dead. It was a fantastic spam system. No idea why it never got more popular than spam assassin and friends. I've applied the patch and sent a build.
The new build completed successfully.