[Pkg-rust-maintainers] Bug#1107091: Bug#1107091: rust-blake3: please also build libblake3-dev
наб
nabijaczleweli at nabijaczleweli.xyz
Tue Jun 3 18:02:20 BST 2025
On Mon, Jun 02, 2025 at 08:25:06PM +0200, Fabian Grünbichler wrote:
> On Sun, Jun 1, 2025, at 4:29 PM, наб wrote:
> > 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
The rust library uses the implementations in c/*.c and c/*.S
so I'd say this is intentional and not just a case of a missing exclude=["c/"].
It's also got its own build system separate from being build.rs fodder
and is explicitly documented as a separate distributable.
I think this (and it actually being used thusly) should be sufficient
to build it out as a binary? I don't really see what else would need to
be confirmed here. I'll see what packaging I can come up with.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-rust-maintainers/attachments/20250603/af913c58/attachment-0001.sig>
More information about the Pkg-rust-maintainers
mailing list