[Pkg-rust-maintainers] Bug#977627: librust-block-buffer-dev: should Provides: librust-block-buffer+block-padding-dev
Daniel Kahn Gillmor
dkg at fifthhorseman.net
Thu Dec 17 21:19:59 GMT 2020
Package: librust-block-buffer-dev
Version: 0.9.0-3
Control: affects -1 debcargo src:rust-sha3
In an attempt to avoid creating an empty "feature" package, the
packaging for rust-block-buffer removed the optionalness of
block-buffer's dependency on block-padding.
The result is that the debcargo-generated .deb doesn't know that it
should add any Provides: entries like
librust-block-buffer+block-padding-dev.
This makes it so a pending update to rust-sha3 can't currently build,
because it depends on block-buffer with the block-padding feature.
I tried patching in a few lines to rust-block-buffer's Cargo.toml:
~~~~
[features]
block-padding = []
~~~~
But the result from that was this error:
~~~~
Something failed: failed to parse manifest at `…/debcargo-conf/build/block-buffer/Cargo.toml`
Caused by: Features and dependencies cannot have the same name: `block-padding`
~~~~
If we can release a version of debcaro with the collapse_features
mechanism, then an update of rust-block-buffer with that enabled should
resolve this.
In the meantime, i'm going to work around it by fiddling with the
dependencies of rust-sha3.
--dkg
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 227 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-rust-maintainers/attachments/20201217/d03d5d32/attachment.sig>
More information about the Pkg-rust-maintainers
mailing list