[Pkg-rust-maintainers] Bug#976978: rust-cargo-outdated: Build dependencies are no longer fulfillable
Lukas Märdian
slyon at ubuntu.com
Thu Mar 4 11:24:05 GMT 2021
Package: rust-cargo-outdated
Version: 0.9.9-1
Followup-For: Bug #976978
User: ubuntu-devel at lists.ubuntu.com
Usertags: origin-ubuntu hirsute ubuntu-patch
Dear Maintainer,
I've updated the Cargo.toml file to make use of rust-git2-curl ^0.14.0,
which is packaged in Debian/Ubuntu and can fulfill the dependency.
With this the build passes.
In Ubuntu, the attached patch was applied to achieve the following:
* Fix FTBFS of rust-cargo-outdated, due to missing rust-git2-curl
0.12.0 dependency
* d/p/update-git2-curl-dependency.patch:
Update Cargo.toml to use rust-git2-curl 0.14.0
Thanks for considering the patch.
-- System Information:
Debian Release: bullseye/sid
APT prefers groovy-updates
APT policy: (500, 'groovy-updates'), (500, 'groovy-security'), (500, 'groovy'), (100, 'groovy-backports')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 5.8.0-44-generic (SMP w/4 CPU threads)
Kernel taint flags: TAINT_WARN, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
-------------- next part --------------
diff -Nru rust-cargo-outdated-0.9.9/debian/control rust-cargo-outdated-0.9.9/debian/control
--- rust-cargo-outdated-0.9.9/debian/control 2020-12-05 10:22:02.000000000 +0100
+++ rust-cargo-outdated-0.9.9/debian/control 2021-03-03 17:02:20.000000000 +0100
@@ -10,7 +10,7 @@
librust-cargo-0.43+default-dev (>= 0.43.1-~~),
librust-docopt-1+default-dev,
librust-env-logger-0.7+default-dev,
- librust-git2-curl-dev (>= 0.12.0),
+ librust-git2-curl-dev,
librust-semver-0.9+default-dev,
librust-serde-1+default-dev (>= 1.0.11-~~),
librust-serde-1+derive-dev (>= 1.0.11-~~),
diff -Nru rust-cargo-outdated-0.9.9/debian/patches/series rust-cargo-outdated-0.9.9/debian/patches/series
--- rust-cargo-outdated-0.9.9/debian/patches/series 1970-01-01 01:00:00.000000000 +0100
+++ rust-cargo-outdated-0.9.9/debian/patches/series 2021-03-03 17:00:54.000000000 +0100
@@ -0,0 +1 @@
+update-git2-curl-dependency.patch
diff -Nru rust-cargo-outdated-0.9.9/debian/patches/update-git2-curl-dependency.patch rust-cargo-outdated-0.9.9/debian/patches/update-git2-curl-dependency.patch
--- rust-cargo-outdated-0.9.9/debian/patches/update-git2-curl-dependency.patch 1970-01-01 01:00:00.000000000 +0100
+++ rust-cargo-outdated-0.9.9/debian/patches/update-git2-curl-dependency.patch 2021-03-03 17:01:52.000000000 +0100
@@ -0,0 +1,14 @@
+Description: Update Cargo.toml to use rust-git2-curl 0.14.0
+Author: Lukas M?rdian <slyon at ubuntu.com>
+---
+--- rust-cargo-outdated-0.9.9.orig/Cargo.toml
++++ rust-cargo-outdated-0.9.9/Cargo.toml
+@@ -40,7 +40,7 @@ version = "1.0.0"
+ version = "0.7.0"
+
+ [dependencies.git2-curl]
+-version = "0.12.0"
++version = "0.14.0"
+
+ [dependencies.semver]
+ version = "0.9.0"
More information about the Pkg-rust-maintainers
mailing list