Package: mdevctl
Severity: important

mdevtcl build-depends on librust-clap-derive-dev, librust-clap-complete-dev
and librust-clap+strsim-dev. There are a few issues here, firstly it seems you
are depending on clap-derive when your cargo.toml depends on the clap feature
of the derive crate. Secondly there seems to be no mention of strsim in your
cargo.toml. Finally your debian dependencies allow any version of clap,
but your cargo dependencies only allow clap 3.x.

Right now this works out, but you are likely to run into a FTBFS once
rust-clap-complete-3 passes NEW and rust-clap-complete is upgraded to 4.x
Also librust-clap+strsim-dev is both a virtual package and a cruft physical
package which I would like to see decrufted as I belive these cruft packages
are the cause of spurious puiparts regressions in the testing migration
report for the rust-clap package.

A debdiff is attatched, if I get no response
I will likely NMU this in a week or so.

diff -Nru mdevctl-1.2.0/debian/changelog mdevctl-1.2.0/debian/changelog
--- mdevctl-1.2.0/debian/changelog      2022-09-06 08:25:20.000000000 +0000
+++ mdevctl-1.2.0/debian/changelog      2023-01-14 10:19:34.000000000 +0000
@@ -1,3 +1,11 @@
+mdevctl (1.2.0-2.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Update Debian dependencies on clap related packages to reflrect cargo
+    dependencies.
+
+ -- Peter Michael Green <plugw...@debian.org>  Sat, 14 Jan 2023 10:19:34 +0000
+
 mdevctl (1.2.0-2) unstable; urgency=medium
 
   [ Christian Ehrhardt ]
diff -Nru mdevctl-1.2.0/debian/control mdevctl-1.2.0/debian/control
--- mdevctl-1.2.0/debian/control        2022-09-06 08:19:59.000000000 +0000
+++ mdevctl-1.2.0/debian/control        2023-01-14 10:19:34.000000000 +0000
@@ -10,9 +10,8 @@
                librust-env-logger+default-dev,
                librust-log+serde-dev,
                librust-serde-json+indexmap-dev,
-               librust-clap-derive-dev (>= 3.0.7),
-               librust-clap-complete-dev (>= 3.0.6),
-               librust-clap+strsim-dev,
+               librust-clap-3+derive-dev (>= 3.1.7),
+               librust-clap-complete-3-dev (>= 3.0.6),
                librust-tempfile-dev (>= 3.1.0) <!nocheck>,
                librust-uuid-1+v4-dev,
                pkg-config,

Reply via email to