Article View: linux.debian.bugs.dist
Article #826Bug#1150879: FTBFS: overly-tight build-dependencies on smallvec and thiserror
From: Colin Watson
Date: Wed, 14 Oct 2026 09:00
Date: Wed, 14 Oct 2026 09:00
107 lines
5921 bytes
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--
Technical Details
Message-ID:
<NO305-5qFl-5@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.corradoroberto.it!bofh.it!news.nic.it!robomodShow Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.corradoroberto.it!bofh.it!news.nic.it!robomod From: Colin Watson <cjwatson@debian.org> Newsgroups: linux.debian.bugs.dist Subject: Bug#1150879: FTBFS: overly-tight build-dependencies on smallvec and thiserror Date: Wed, 14 Oct 2026 11:00:01 +0200 Message-ID: <NO305-5qFl-5@gated-at.bofh.it> X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org Wed Oct 14 08:57:09 2026 Old-Return-Path: <debbugs@buxtehude.debian.org> X-Spam-Flag: NO X-Spam-Score: -1.7 Reply-To: Colin Watson <cjwatson@debian.org>, 1150879@bugs.debian.org Resent-To: debian-bugs-dist@lists.debian.org Resent-Cc: daniel@debian.org X-Debian-Pr-Message: report 1150879 X-Debian-Pr-Package: src:rust-saphyr-parser-bw X-Debian-Pr-Keywords: ftbfs patch X-Debian-Pr-Source: rust-saphyr-parser-bw MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="huAKfTtCej2ipf4o" Content-Disposition: inline X-Reportbug-Version: 13.2.0+nmu1 X-Debian-User: cjwatson X-Debian-Message: from BTS X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/1996734 List-ID: <debian-bugs-dist.lists.debian.org> List-URL: <https://lists.debian.org/debian-bugs-dist/> Approved: robomod@news.nic.it Lines: 107 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Wed, 14 Oct 2026 09:55:52 +0100 X-Original-Message-ID: <as9DmJaEg4-G5y-9@camorr.rosewood.vpn.ucam.org>