[Pkg-rust-maintainers] Bug#1024806: debcargo: crates should Build-Depend: on dh-sequence-cargo

Niels Thykier niels at thykier.net
Fri Nov 25 16:09:02 GMT 2022


On Fri, 25 Nov 2022 09:43:22 -0500 Daniel Kahn Gillmor 
<dkg at fifthhorseman.net> wrote:
> Package: debcargo
> Control: affects -1 + dh-cargo src:rust-document-features debhelper
> 
> [...]
> 
> Maybe it's possible that adding a Build-Depends on dh-sequence-cargo
> would let us drop the --buildsystem flag as well -- i believe the B-D on
> dh-sequence-cargo acts as an implicit "--with cargo" but i don't
> understand how dh's --buildsystem arguments differ from its --with
> arguments.
> 
>           --dkg

In short. The "--buildsystem" argument is not a "dh" argument, so it is 
just forwarded to the relevant helpers that understand it.  Where as 
"--with" is something that dh deals with directly.


As for avoiding the --buildsystem flag, then that is not possibly right 
now (though you can "force" it via the sequence like you do with 
dh_clean).  You are probably interested in #1003056, which is currently 
unsolved though.

Thanks,
~Niels



More information about the Pkg-rust-maintainers mailing list