https://bz.apache.org/SpamAssassin/show_bug.cgi?id=8252
Bug ID: 8252
Summary: BerkeleyDB incompatible with FreeBSD on ARM64
Product: Spamassassin
Version: SVN Trunk (Latest Devel Version)
Hardware: Other
OS: FreeBSD
Status: NEW
Severity: normal
Priority: P2
Component: Libraries
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: Undefined
t/bayesbdb.t fails on FreeBSD arm64 machines. I tracked it down to a bug I can
reproduce in C code using BerkeleyDB that fails just on that platform, but
works elsewhere including on FreeBSD x64 and Ubuntu arm64 as well as on M1 Mac
(which is BSD based and arm64).
For reference, here is the self-contained C test case which distills what the
perl module BerkeleyDB does, which is what is failing in SpamAssassin:
https://github.com/sidney/BerkeleyDBtest
I can find no workaround. BerkeleyDB is an optional module, and not a good
choice to use anyway compared to the alternative db modules, and the platform
is not a common one. I think we can get away skipping the test on FreeBSD
arm64, but don't have to go as far as have SpamAssassin check the platform and
prevent loading the module. It will fail right away if anyone tries to use it.
--
You are receiving this mail because:
You are the assignee for the bug.