[Debian-med-packaging] Bug#1115342: sourmash: FTBFS: error: failed to select a version for the requirement `needletail = "^0.5"`
Aurelien Jarno
aurel32 at debian.org
Mon Sep 15 20:33:38 BST 2025
Source: sourmash
Version: 4.9.4-1
Severity: serious
Tags: ftbfs
Justification: fails to build from source (but built successfully in the past)
Dear maintainer,
sourmash fails to build from source. From my build log on amd64:
| # needed because we patch Cargo.toml
| cargo generate-lockfile --manifest-path src/core/Cargo.toml --offline
| debian cargo wrapper: options = ['parallel=12'], profiles = [], parallel = ['-j12'], lto =
| debian cargo wrapper: rust_type = x86_64-unknown-linux-gnu, gnu_type = x86_64-linux-gnu
| debian cargo wrapper: running subprocess (['env', 'RUST_BACKTRACE=1', '/usr/bin/cargo', 'generate-lockfile', '--manifest-path', 'src/core/Cargo.toml', '--offline'],) {}
| error: failed to select a version for the requirement `needletail = "^0.5"`
| candidate versions found which didn't match: 0.6.3
| location searched: directory source `/build/reproducible-path/sourmash-4.9.4/debian/cargo_registry` (which is replacing registry `crates-io`)
| required by package `sourmash v0.21.0 (/build/reproducible-path/sourmash-4.9.4/src/core)`
| perhaps a crate was updated and forgotten to be re-vendored?
| As a reminder, you're using offline mode (--offline) which can sometimes cause surprising resolution failures, if this error is too confusing you may wish to retry without the offline flag.
| make[1]: *** [debian/rules:37: execute_before_dh_auto_configure] Error 101
| make[1]: Leaving directory '/build/reproducible-path/sourmash-4.9.4'
| make: *** [debian/rules:25: binary] Error 2
| dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
A full build log on riscv64 is also available there:
https://buildd.debian.org/status/fetch.php?pkg=sourmash&arch=riscv64&ver=4.9.4-1&stamp=1757851548&raw=0
Regards
Aurelien
More information about the Debian-med-packaging
mailing list