[Pkg-rust-maintainers] Bug#1107091: Bug#1107091: rust-blake3: please also build libblake3-dev
Fabian Grünbichler
debian at fabian.gruenbichler.email
Mon Jun 2 19:25:06 BST 2025
On Sun, Jun 1, 2025, at 4:29 PM, наб wrote:
> Source: rust-blake3
> Severity: wishlist
>
> Dear Maintainer,
>
> Upstream distributes libblake3 in c/,
> this should be easily buildable with dh_auto_build --sourcedir c &c.
>
> Please distribute this. A quick DCS query
>
> http://codesearch.debian.net/search?q=%5Cbblake3_hasher_init%5Cb&literal=0&perpkg=1
> says src:wasmedge src:librecast src:litecoin src:mesa src:cryptokit
> all embed copies of libblake3 in violation of policy 4.13.
this seems to be the exception of the usual "C-lib bundled with Rust crate",
the C sources are actually part of the same upstream, developed and released
together and hopefully intentionally published on crates.io
if that last part is confirmed with upstream, I see no reason not to build
a proper C shared library as part of the package build. it might make sense
to package it in a more custom fashion from upstream git then (as most of
the debcargo generated packaging files will need to be overridden), and
combine it with (rust-)b3sum as well.
More information about the Pkg-rust-maintainers
mailing list