[Tts-project] Migration from Berkeley DB
Igor B. Poretsky
poretsky at mlbox.ru
Fri May 15 11:25:51 BST 2026
Hello,
In the process of the rulex package migration I've noticed that the
rulex-data binary package bearing compiled database is not architecture
independent anymore in its original form. Architecture independence of
data file format is a documented feature of Berkeley DB, but it is not
the case for LMDB. Thus, we should provide data in some other truely
architecture independent format or make this package architecture
dependent.
For the rulex package I've chosen the first way distributing data as a
database dump that is loaded by the postinst script. I've implemented it
in my last commit.
Is this solution absolutely correct?
And, I think, the similar considerations can be applied to some other
packages as well. The freespeech package, for instance, migrated to
GDBM. Unfortunately, I did not find clear explicit declaration
concerning architecture dependency or independency of its data files,
But if architecture independency is not clearly declared, I think, we
should treat these files as architecture dependent.
Best regards,
Igor.
More information about the Tts-project
mailing list