[Tts-project] Migration from Berkeley DB

Igor B. Poretsky poretsky at mlbox.ru
Sat Jul 18 17:54:44 BST 2026


Hello,

>>>>> "Samuel" == Samuel Thibault <sthibault at debian.org> writes:

    Samuel> Sure, but we don't have the choice if we keep just one place
    Samuel> for the arch-dependent database: we then cannot co-install
    Samuel> several architectural variants of librulexdb2, since the
    Samuel> last postinst call would create the database, and only that
    Samuel> variant of librulexdb2 will be able to use it and others
    Samuel> won't.

But rulex-data is a separate package and librulexdb2 doesn't strictly
depend on it, though recommends.

    >> And making rulex-data package architecture dependent would
    >> complicate cross-building.

    Samuel> Which cross-building?

    Samuel> By "making it architecture dependent", do you mean putting
    Samuel> the database in arch-dependent paths? This can be encoded in
    Samuel> the compiled binaries, that's a very common thing with
    Samuel> multiarch support.

But in any case it would be necessary to run foreign executable to
generate the database file during package building, that in turn would
require additional foreign architecture emulation means, like qemu, for
instance, thus, build dependencies complication. Or I miss something?

Best regards,
Igor.



More information about the Tts-project mailing list