Source: rust-saphyr-parser-bw
Version: 0.0.611-1
Severity: serious
Tags: ftbfs patch

rust-smallvec and rust-thiserror have moved on without breaking semver, 
but it turns out that rust-saphyr-parser-bw has strict upper bounds for 
those packages.  Those bounds seem to be unnecessary; I removed them and 
the package built fine with the current versions.  Given that the 
upstream repository seems to be archived, removing them would probably 
be a good idea to prevent future problems.  Patch attached.

Thanks,

-- 
Colin Watson (he/him)                              [[email protected]]
diff -Nru rust-saphyr-parser-bw-0.0.611/debian/changelog 
rust-saphyr-parser-bw-0.0.611/debian/changelog
--- rust-saphyr-parser-bw-0.0.611/debian/changelog      2026-04-26 
19:37:17.000000000 +0100
+++ rust-saphyr-parser-bw-0.0.611/debian/changelog      2026-10-14 
09:48:24.000000000 +0100
@@ -1,3 +1,10 @@
+rust-saphyr-parser-bw (0.0.611-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Relax smallvec and thiserror.
+
+ -- Colin Watson <[email protected]>  Wed, 14 Oct 2026 09:48:24 +0100
+
 rust-saphyr-parser-bw (0.0.611-1) unstable; urgency=medium
 
   * Initial upload to sid, needed for forgejo-cli 0.5.
diff -Nru rust-saphyr-parser-bw-0.0.611/debian/control 
rust-saphyr-parser-bw-0.0.611/debian/control
--- rust-saphyr-parser-bw-0.0.611/debian/control        2026-04-26 
19:37:17.000000000 +0100
+++ rust-saphyr-parser-bw-0.0.611/debian/control        2026-10-14 
09:48:24.000000000 +0100
@@ -9,8 +9,6 @@
  cargo:native,
  librust-arraydeque-0.5-dev (>= 0.5.1),
  librust-smallvec-1+default-dev,
- librust-smallvec-1+default-dev (<< 1.16.0),
- librust-thiserror-2.0-dev (<< 2.0.19),
  librust-thiserror-2.0-dev (>= 2.0.15),
  libstd-rust-dev,
  rustc:native (>= 1.70.0),
@@ -28,8 +26,6 @@
 Depends:
  librust-arraydeque-0.5-dev (>= 0.5.1),
  librust-smallvec-1+default-dev,
- librust-smallvec-1+default-dev (<< 1.16.0),
- librust-thiserror-2.0-dev (<< 2.0.19),
  librust-thiserror-2.0-dev (>= 2.0.15),
  ${misc:Depends},
 Provides:
diff -Nru rust-saphyr-parser-bw-0.0.611/debian/patches/relax-smallvec.patch 
rust-saphyr-parser-bw-0.0.611/debian/patches/relax-smallvec.patch
--- rust-saphyr-parser-bw-0.0.611/debian/patches/relax-smallvec.patch   
1970-01-01 01:00:00.000000000 +0100
+++ rust-saphyr-parser-bw-0.0.611/debian/patches/relax-smallvec.patch   
2026-10-14 09:48:24.000000000 +0100
@@ -0,0 +1,15 @@
+From: Colin Watson <[email protected]>
+Date: Oct, 14 2026 08:47:45 +0100
+Subject: Relax smallvec
+
+--- rust-saphyr-parser-bw-0.0.611.orig/Cargo.toml
++++ rust-saphyr-parser-bw-0.0.611/Cargo.toml
+@@ -161,7 +161,7 @@ version = "0.5.1"
+ default-features = false
+ 
+ [dependencies.smallvec]
+-version = ">= 1.0.0, < 1.16.0"
++version = ">= 1.0.0"
+ 
+ [dependencies.thiserror]
+ version = ">= 2.0.15, <= 2.0.18"
diff -Nru rust-saphyr-parser-bw-0.0.611/debian/patches/relax-thiserror.patch 
rust-saphyr-parser-bw-0.0.611/debian/patches/relax-thiserror.patch
--- rust-saphyr-parser-bw-0.0.611/debian/patches/relax-thiserror.patch  
1970-01-01 01:00:00.000000000 +0100
+++ rust-saphyr-parser-bw-0.0.611/debian/patches/relax-thiserror.patch  
2026-10-14 09:48:24.000000000 +0100
@@ -0,0 +1,15 @@
+From: Colin Watson <[email protected]>
+Date: Oct, 14 2026 08:49:36 +0100
+Subject: Relax thiserror
+
+--- rust-saphyr-parser-bw-0.0.611.orig/Cargo.toml
++++ rust-saphyr-parser-bw-0.0.611/Cargo.toml
+@@ -164,7 +164,7 @@ default-features = false
+ version = ">= 1.0.0"
+ 
+ [dependencies.thiserror]
+-version = ">= 2.0.15, <= 2.0.18"
++version = ">= 2.0.15"
+ default-features = false
+ 
+ [dev-dependencies.libtest-mimic]
diff -Nru rust-saphyr-parser-bw-0.0.611/debian/patches/series 
rust-saphyr-parser-bw-0.0.611/debian/patches/series
--- rust-saphyr-parser-bw-0.0.611/debian/patches/series 1970-01-01 
01:00:00.000000000 +0100
+++ rust-saphyr-parser-bw-0.0.611/debian/patches/series 2026-10-14 
09:48:24.000000000 +0100
@@ -0,0 +1,2 @@
+relax-smallvec.patch
+relax-thiserror.patch

Reply via email to