Re: postfix-3.11.4,1 does not work with lmdb-1.0.0,1, requires 0.93.5,1

Michael Grimm <[email protected]> Sat, 4 Jul 2026 11:40:32 +0200
Newsgroups gmane.os.freebsd.devel.ports
Message-ID <[email protected]>
Jordan M <[email protected]> wrote:

> 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.

Now, I found in UPDATING (should have looked earlier):

<snip>
20260702:
  AFFECTS: users of databases/lmdb
  AUTHOR: [email protected]

  LMDB 1.0 introduced an incompatible on-disk file format change.
  Versions 0.9.x and 1.0.x databases are mutually incompatible.

  Before upgrading, export all existing databases using the old v0.9
  mdb_dump utility, then import them with the new v1.0 mdb_load after
  upgrading.  There is no support for opening v0.9 database files
  directly with LMDB 1.0.

  Example migration procedure:
  # mdb_dump -a /path/to/db > /tmp/mydb.dump
  # pkg upgrade databases/lmdb
  # mdb_load -f /tmp/mydb.dump /path/to/newdb
<snip>

That would be a whole lotta work for my numerous knot3 and postfix-current lmdb databases at some servers ...

> Can we get databases/lmdb reverted to 0.93.5, and 1.0.0 added as a separate origin?

+1

Regards,
Michael