postfix-3.11.4,1 does not work with lmdb-1.0.0,1, requires 0.93.5,1
Jordan M <[email protected]> Fri, 3 Jul 2026 16:47:36 -0700
| Newsgroups | gmane.os.freebsd.devel.ports |
|---|---|
| Message-ID | <[email protected]> |
Following up from an issue raised over with Arch Linux[1] about postfix,
knot, bogofilter, et al not working with lmdb 1.0.0, I tested on FreeBSD
and confirmed lmdb-1.0.0 silently breaks consumers that work with 0.93.5
in a way not fixed by rebuilding after a library version bump.
Can we get databases/lmdb reverted to 0.93.5, and 1.0.0 added as a
separate origin?
Building ports as of commit 368aa8c31354 (earlier today) on amd64
15.1p1, postfix builds successfully, but postmap cannot create lmdb
databases:
# pkg info -d postfix | grep lmdb
lmdb-1.0.0,1
lmdb-1.0.0,1 (liblmdb.so.1)
# postmap lmdb:/tmp/testdb
postmap: fatal: error updating lmdb:/tmp/testdb: MDB_BAD_TXN:
Transaction must abort, has a child, or is invalid
#
MDB_BAD_TXN is the same error as reported on Arch. There are apparently
other incompatible changes as well, but this is the easy one to spot
with postfix.
If I build from before the update, postmap works again:
# git log -1 --oneline databases/lmdb/Makefile
1d1d6afb80a9 databases/lmdb: upgrade to 1.0.0
# git checkout 1d1d6afb80a9^1
HEAD is now at 3c288518d2cf devel/bazel9: upgrade to 9.1.1.
[construction noises]
# pkg info -d postfix | grep lmdb
lmdb-0.9.35,1
lmdb-0.9.35,1 (liblmdb.so.0)
# postmap lmdb:/tmp/testdb
#