Source: cargo Version: 0.57.0-7 Tags: patch User: debian-cr...@lists.debian.org Usertags: ftcbfs
cargo fails to cross build from source, because it happens to also build a native cargo and thus needs a native zlib (-lz) library. This is presently missing in Build-Depends. I'm attaching a patch for your convenience. Helmut
diff --minimal -Nru cargo-0.57.0/debian/changelog cargo-0.57.0/debian/changelog --- cargo-0.57.0/debian/changelog 2022-05-02 22:57:46.000000000 +0200 +++ cargo-0.57.0/debian/changelog 2022-09-10 11:07:48.000000000 +0200 @@ -1,3 +1,10 @@ +cargo (0.57.0-7.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix FTCBFS: Missing Build-Depends: zlib1g-dev:native. (Closes: #-1) + + -- Helmut Grohne <hel...@subdivi.de> Sat, 10 Sep 2022 11:07:48 +0200 + cargo (0.57.0-7) unstable; urgency=medium * Team upload. diff --minimal -Nru cargo-0.57.0/debian/control cargo-0.57.0/debian/control --- cargo-0.57.0/debian/control 2022-05-02 22:57:07.000000000 +0200 +++ cargo-0.57.0/debian/control 2022-09-10 11:07:48.000000000 +0200 @@ -23,6 +23,7 @@ libhttp-parser-dev, libssl-dev, zlib1g-dev, + zlib1g-dev:native, git <!nocheck> Homepage: https://crates.io/ Standards-Version: 4.2.1