2 / 3
Jul 2024

I can compile mogno-c-driver, using the guides:

Or the:

But I need a Debian package to back port release 1.25.4-1 to Debian bookworm.
How can I create a .deb package from the sources?

Thanks in advance, Alex

@Rishabh_Bisht that document, docs/dev/debian.rst, is actually for executing the Debian-specific steps associated with our releases. It is probably not what Alex is looking for.

@Alexandre_Santos1 You don’t state what problem you are trying to solve, or any specific requirements, so I am going to assume that the problem you are trying to solve is “get a more recent version of the C driver than what is currently in bookworm.” With that in mind, I recommend that you simply download the 1.27.4-1 package from testing/unstable and rebuild it for bookworm. Keep in mind that libmongocrypt is a dependency and that you can either build the C driver with the pkg.mongo-c-driver.no-libmongocrypt build profile to omit the dependency (and FLE functionality), or you can build a newer libmongocrypt first and then build the C driver against the newer libmongocrypt.