Re: Unable to install both Samba and Claws-Mail
Daniel Lysfjord <[email protected]>
| Newsgroups | gmane.os.freebsd.questions |
|---|---|
| Message-ID | <[email protected]> |
On 2026-08-13 18:02, Jerry wrote: > I have "default_database_type = lmdb" in my Postfix 'main.cf' file. So > far, it appears to be working; however, I have not tried to rebuild > it. This is a serious mess that someone should have caught before the > changes were released. I would have thought you could build a static > version of 'lmdb', place it in a different folder, and point to it in > the 'makefile'. > > Ciao, > Jerry ----8<----snipping things after top-post------>8------- You can yell at the LMDB project for making an incompatible on disk format with no automatic handling of upgrades when going from 0.9 to 1.0. It was a fun surprise when services failed to read their own databases, with error messages making zero sense (bind comes to mind). Snippet from the commit log message: databases/lmdb0: Add port for LMDB 0.9.x legacy ABI LMDB 1.0 introduced an incompatible on-disk format change and subtle API breakage: applications that compiled cleanly against 1.0 headers could fail silently at run time. Known affected ports include dns/knot3, mail/bogofilter, and mail/postfix; the postfix issue has been confirmed upstream. Linux distributions such as Arch Linux have observed the same breakage. Samba can also be affected in certain configurations. Because the regression is not detectable in an -exp build run -- the postfix failure only manifests at run time, and bogofilter was caught only because post-build self-tests happen to exercise this path -- we cannot rely on package builds to validate the 1.0 upgrade. This commit introduces databases/lmdb0 as a holding port for the 0.9.35