🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: linux.debian.bugs.dist
2 messages
2 total messages Started by Colin Watson Wed, 14 Oct 2026 09:00
Bug#1150879: FTBFS: overly-tight build-dependencies on smallvec and thiserror
#826
Author: Colin Watson
Date: Wed, 14 Oct 2026 09:00
107 lines
5921 bytes
--huAKfTtCej2ipf4o
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

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)                              [cjwatson@debian.org]

--huAKfTtCej2ipf4o
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment;
	filename=rust-saphyr-parser-bw_0.0.611-1.1.debdiff

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 <cjwatson@debian.org>  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 <cjwatson@debian.org>
+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 <cjwatson@debian.org>
+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

--huAKfTtCej2ipf4o--
Bug#1150879: rust-saphyr-parser-bw: diff for NMU version 0.0.611-1.1
#2048
Author: Colin Watson
Date: Sun, 25 Oct 2026 18:10
113 lines
6250 bytes
--kT+lGGz0LzaCMB4p
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Disposition: inline

Control: tags 1150879 + pending

Hi,

Since this is now indirectly blocking fixes that we need for the Python 
3.15 transition, I've gone ahead and NMUed this change.  The diff is the 
same as I already sent aside from the changelog, but I've attached it 
here for the record.

Thanks,

-- 
Colin Watson (he/him)                              [cjwatson@debian.org]

--kT+lGGz0LzaCMB4p
Content-Type: text/x-diff; charset=us-ascii
Content-Disposition: attachment;
	filename=rust-saphyr-parser-bw-0.0.611-1.1-nmu.diff

diffstat for rust-saphyr-parser-bw-0.0.611 rust-saphyr-parser-bw-0.0.611

 changelog                     |    7 +++++++
 control                       |    4 ----
 patches/relax-smallvec.patch  |   15 +++++++++++++++
 patches/relax-thiserror.patch |   15 +++++++++++++++
 patches/series                |    2 ++
 5 files changed, 39 insertions(+), 4 deletions(-)

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-25 12:29:00.000000000 +0000
@@ -1,3 +1,10 @@
+rust-saphyr-parser-bw (0.0.611-1.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Relax smallvec and thiserror (closes: #1150879).
+
+ -- Colin Watson <cjwatson@debian.org>  Sun, 25 Oct 2026 12:29:00 +0000
+
 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-25 12:29:00.000000000 +0000
@@ -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-25 12:29:00.000000000 +0000
@@ -0,0 +1,15 @@
+From: Colin Watson <cjwatson@debian.org>
+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-25 12:29:00.000000000 +0000
@@ -0,0 +1,15 @@
+From: Colin Watson <cjwatson@debian.org>
+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-25 12:29:00.000000000 +0000
@@ -0,0 +1,2 @@
+relax-smallvec.patch
+relax-thiserror.patch

--kT+lGGz0LzaCMB4p--
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads