Package: elan
Version: 3.0.0-1
Severity: serious

I just updated the rust-term package, from 0.5 to 0.7
as a result elan needs to stop patching it's cargo
dependency on term and update it's Debian
build-dependency.

While doing test builds I noticed a couple of other
dependency issues.

The Debian build-dependency for the toml crate
was not strict enough, debian currently ships two
versions of the toml crate and only the wrong one
was installed in my test environment resulting in
a build failure. So I tightened the dependency to
only allow the correct one.

The package has a cargo dependency on the
"dirs" crate, but there was no corresponding
Debian build-dependency. I presume it was
missed because it was previously pulled in
indirectly but this was no longer the case in
my tests. So I added a Debian build-dependency.

A debdiff is attached. If I get no response I'll
probablly NMU this in a week or so.
diff -Nru elan-3.0.0/debian/changelog elan-3.0.0/debian/changelog
--- elan-3.0.0/debian/changelog 2023-09-26 19:22:31.000000000 +0000
+++ elan-3.0.0/debian/changelog 2024-01-01 18:34:48.000000000 +0000
@@ -1,3 +1,17 @@
+elan (3.0.0-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Dependency updates/fixes:
+    + Stop patching Cargo dependency on "term" crate and update Debian
+      dependency accordingly. Debian has now updated to term 0.7
+    + Be more specific in Debian dependency for "toml" crate, Debian currently
+      has multiple versions of toml and the previous dependency could be
+      satisfied by the wrong one.
+    + Add a Debian dependency on "dirs" crate (which appeard to simply be
+      missing before.
+
+ -- Peter Michael Green <plugw...@debian.org>  Mon, 01 Jan 2024 18:34:48 +0000
+
 elan (3.0.0-1) unstable; urgency=medium
 
   * Fix "FTBFS: dh_auto_test: error: /usr/share/cargo/bin/cargo build
diff -Nru elan-3.0.0/debian/control elan-3.0.0/debian/control
--- elan-3.0.0/debian/control   2023-09-26 19:19:14.000000000 +0000
+++ elan-3.0.0/debian/control   2024-01-01 18:34:48.000000000 +0000
@@ -19,9 +19,9 @@
  librust-sha2-dev,
  librust-tar-dev,
  librust-tempfile-dev,
- librust-term-dev,
+ librust-term-0.7+default-dev,
  librust-time-dev,
- librust-toml-dev,
+ librust-toml-0.7+default-dev (>= 0.7.6),
  librust-url-dev,
  librust-wait-timeout-dev,
  librust-zip-dev,
@@ -30,6 +30,7 @@
  librust-clap-2+vec-map-dev (>= 2.33.3),
  librust-clap-2+ansi-term-dev (>= 2.33.3),
  librust-curl-dev,
+ librust-dirs-5+default-dev,
  librust-walkdir-dev,
  librust-openssl-dev,
  librust-semver-0.9-dev,
diff -Nru elan-3.0.0/debian/patches/0002-dependencies.patch 
elan-3.0.0/debian/patches/0002-dependencies.patch
--- elan-3.0.0/debian/patches/0002-dependencies.patch   2023-09-26 
19:19:14.000000000 +0000
+++ elan-3.0.0/debian/patches/0002-dependencies.patch   2024-01-01 
18:33:54.000000000 +0000
@@ -27,8 +27,7 @@
 -sha2 = "0.9.2"
 +sha2 = "0.10.5"
  tempfile = "3.2.0"
--term = "0.7.0"
-+term = "0.5.2"
+ term = "0.7.0"
  time = "0.3.4"
 -toml = "0.5.8"
 +toml = "0.7.6"

Reply via email to