[Debian-med-packaging] Bug#1119017: sourmash: Fails to build with rust-twox-hash 2.1.2

Jeremy Bícha jbicha at debian.org
Sun Oct 26 07:48:48 GMT 2025


Source: sourmash
Version: 4.9.4-4
Severity: serious
Tags: ftbfs forky sid

sourmash fails to build:

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 `twox-hash = "^1.6.0"`
candidate versions found which didn't match: 2.1.2

Your dependencies in debian/control should probably more closely match
what's in your Cargo.toml files. One tool to help is to apply all
patches and then run

debcargo deb-dependencies src/core/Cargo.toml

(The tool does not yet support workspaces so you need to find the
Cargo.toml files yourself.)

That would not have fixed this issue because the generated dependency
still wouldn't be able to be satisfied, but maybe someone might have
not noticed the missing dependency faster.

Thank you,
Jeremy Bícha



More information about the Debian-med-packaging mailing list