Package: fish
Version: 4.7.1-2
Severity: important
User: [email protected]
Usertags: rust-lru-transition

I am upgrading rust-lru here:
https://salsa.debian.org/rust-team/debcargo-conf/-/merge_requests/1139

And while running ratt, discovered that fish's d/control has `Build-Depends: 
librust-lru-dev` (unversioned), but upstream Cargo.toml pins `lru = "^0.12"`.

With the pending rust-lru 0.16.4 upload, apt will install 
librust-lru-dev=0.16.4 and Cargo fails with ratt.

error: failed to select a version for the requirement `lru = "^0.12"`

Confirmed by ratt --direct-rdeps + --recheck: fish builds fine today,
FTBFS the moment rust-lru 0.16.x lands.

The Fix can be:
Build-Depends: librust-lru-0.12+default-dev (probably the easiest)
or
Update fish to lru 0.16 (small API changes only)

Thanks,
Juan

Reply via email to