Package: sccache

I hope to update rust-zip to the latest upstream version soon,
sccache needs some dependency adjustments
(both Debian and Cargo) to build with the new version.

debdiff is attatched, new version of rust-zip is available
in experimental.
diff -Nru sccache-0.10.0/debian/changelog sccache-0.10.0/debian/changelog
--- sccache-0.10.0/debian/changelog     2025-08-28 20:50:28.000000000 +0000
+++ sccache-0.10.0/debian/changelog     2025-09-16 22:46:39.000000000 +0000
@@ -1,3 +1,10 @@
+sccache (0.10.0-8.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Update zip dependencies to allow version 5.
+
+ -- Peter Michael Green <[email protected]>  Tue, 16 Sep 2025 22:46:39 +0000
+
 sccache (0.10.0-8) unstable; urgency=medium
 
   * build-depend on libstd-rust-dev
diff -Nru sccache-0.10.0/debian/control sccache-0.10.0/debian/control
--- sccache-0.10.0/debian/control       2025-08-28 20:32:42.000000000 +0000
+++ sccache-0.10.0/debian/control       2025-09-16 22:46:39.000000000 +0000
@@ -93,7 +93,8 @@
  librust-walkdir-2+default-dev,
  librust-which-8+default-dev,
  librust-which-8+real-sys-dev,
- librust-zip-2-dev,
+ librust-zip-dev (>= 2),
+ librust-zip-dev (<< 6),
  librust-zstd-0.13+default-dev,
  libstd-rust-dev,
 Standards-Version: 4.7.2
diff -Nru sccache-0.10.0/debian/patches/2001_zip.patch 
sccache-0.10.0/debian/patches/2001_zip.patch
--- sccache-0.10.0/debian/patches/2001_zip.patch        2025-08-19 
14:20:06.000000000 +0000
+++ sccache-0.10.0/debian/patches/2001_zip.patch        2025-09-16 
22:46:39.000000000 +0000
@@ -1,23 +1,28 @@
 Description: use newer major version of crate zip
 Author: Blair Noctis <[email protected]>
+Author: Peter Michael Green <[email protected]>
 Forwarded: not-needed
 Last-Update: 2025-08-19
 ---
 This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
---- a/Cargo.toml
-+++ b/Cargo.toml
-@@ -102,7 +102,7 @@
+Index: sccache-0.10.0/Cargo.toml
+===================================================================
+--- sccache-0.10.0.orig/Cargo.toml
++++ sccache-0.10.0/Cargo.toml
+@@ -102,7 +102,7 @@ uuid = { version = "1.9", features = ["v
  walkdir = "2"
  # by default which pulls in an outdated failure version
  which = { version = "8", features = ["real-sys"] }
 -zip = { version = "0.6", default-features = false }
-+zip = { version = "2", default-features = false }
++zip = { version = ">= 2, < 6", default-features = false }
  zstd = "0.13"
  
  # dist-server only
---- a/src/cache/cache.rs
-+++ b/src/cache/cache.rs
-@@ -52,7 +52,7 @@
+Index: sccache-0.10.0/src/cache/cache.rs
+===================================================================
+--- sccache-0.10.0.orig/src/cache/cache.rs
++++ sccache-0.10.0/src/cache/cache.rs
+@@ -52,7 +52,7 @@ use std::path::{Path, PathBuf};
  use std::sync::Arc;
  use std::time::Duration;
  use tempfile::NamedTempFile;
diff -Nru sccache-0.10.0/debian/patches/2003_no_dist-server.patch 
sccache-0.10.0/debian/patches/2003_no_dist-server.patch
--- sccache-0.10.0/debian/patches/2003_no_dist-server.patch     2025-04-06 
06:27:02.000000000 +0000
+++ sccache-0.10.0/debian/patches/2003_no_dist-server.patch     2025-09-16 
22:46:39.000000000 +0000
@@ -24,7 +24,7 @@
  regex = "1.10.3"
  reqsign = { version = "0.16.0", optional = true }
 @@ -103,20 +101,6 @@
- zip = { version = "2", default-features = false }
+ zip = { version = ">= 2, < 6", default-features = false }
  zstd = "0.13"
  
 -# dist-server only

Reply via email to