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

Attachment: signature.asc
Description: PGP signature

Reply via email to