Source: elan
Version: 1.4.1-1
Severity: serious
Tags: ftbfs, patch
Justification: fails to build from source (but built successfully in the past)

I've uploaded rust-dirs 4.0.0, which will cause elan to FTBFS.  Attached
is an updated dependencies patch which built successfully locally.


-- System Information:
Debian Release: bookworm/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unstable'), (500, 'testing'), (1, 
'experimental-debug'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 5.18.0-4-amd64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
From: Christopher Hoskin <mans0...@debian.org>
Date: Mon, 27 Jun 2022 01:31:31 +0100
Subject: dependencies

Forwarded: not-needed
---
 Cargo.toml                | 11 +++--------
 src/elan-dist/Cargo.toml  |  7 +------
 src/elan-utils/Cargo.toml | 10 +++-------
 3 files changed, 7 insertions(+), 21 deletions(-)

diff --git a/Cargo.toml b/Cargo.toml
index 5b85302..122e8a7 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -34,15 +34,15 @@ libc = "0.2.82"
 markdown = "0.3.0"
 rand = "0.8.2"
 regex = "1.4.3"
-remove_dir_all = "0.6.1"
+remove_dir_all = "0.7.0"
 same-file = "1.0.6"
 scopeguard = "1.1.0"
 serde = "1.0.119"
 serde_derive = "1.0.119"
 serde_json = "1.0.61"
-sha2 = "0.9.2"
+sha2 = "0.10.2"
 tempfile = "3.2.0"
-term = "0.7.0"
+term = "0.5.2"
 time = "0.3.4"
 toml = "0.5.8"
 url = "2.2.0"
@@ -52,11 +52,6 @@ tar = ">=0.4.36"
 flate2 = "1.0.14"
 json = "0.12.4"
 
-[target."cfg(windows)".dependencies]
-winapi = { version = "0.3.9", features = ["jobapi", "jobapi2", 
"processthreadsapi", "psapi", "synchapi", "winuser"] }
-winreg = "0.8.0"
-gcc = "0.3.55"
-
 [workspace]
 members = ["src/download", "src/elan-dist", "src/elan-utils"]
 
diff --git a/src/elan-dist/Cargo.toml b/src/elan-dist/Cargo.toml
index fb58e02..727946b 100644
--- a/src/elan-dist/Cargo.toml
+++ b/src/elan-dist/Cargo.toml
@@ -11,13 +11,12 @@ license = "MIT OR Apache-2.0"
 [dependencies]
 regex = "1.4.3"
 itertools = "0.10.0"
-ole32-sys = "0.2.0"
 url = "2.2.1"
 tar = "0.4.33"
 flate2 = "1.0.14"
 walkdir = "2.3.1"
 toml = "0.5.8"
-sha2 = "0.9.3"
+sha2 = "0.10.2"
 remove_dir_all = "0.7.0"
 elan-utils = { path = "../elan-utils" }
 error-chain = "0.12.4"
@@ -25,10 +24,6 @@ json = "0.12.4"
 zip = "0.5.13"
 filetime = "0.2.14"
 
-[target."cfg(windows)".dependencies]
-winapi = { version = "0.3.9", features = ["handleapi", "sysinfoapi", 
"tlhelp32", "winnt"] }
-winreg = "0.8.0"
-
 [target."cfg(not(windows))".dependencies]
 libc = "0.2.88"
 
diff --git a/src/elan-utils/Cargo.toml b/src/elan-utils/Cargo.toml
index 19ed717..790d8f4 100644
--- a/src/elan-utils/Cargo.toml
+++ b/src/elan-utils/Cargo.toml
@@ -14,16 +14,12 @@ libc = "0.2.88"
 rand = "0.8.3"
 remove_dir_all = "0.7.0"
 scopeguard = "1.1.0"
-semver = "0.11.0"
-sha2 = "0.9.3"
+semver = "0.9.0"
+sha2 = "0.10.2"
 toml = "0.5.8"
 url = "2.2.1"
 curl = "0.4.34"
-openssl = { version = "0.10", features = ["vendored"] }
+openssl = { version = "0.10" }
 regex = "1.4.3"
-dirs = "3.0.1"
+dirs = ">= 3.0.1, < 5.0"
 
-[target."cfg(windows)".dependencies]
-winapi = { version = "0.3.9", features = ["combaseapi", "errhandlingapi", 
"fileapi", "handleapi", 
-    "ioapiset", "minwindef", "processthreadsapi", "shlobj", "shtypes", 
"userenv", "winbase", "winerror", "winnt", "winioctl"] }
-winreg = "0.8.0"

Reply via email to