[Pkg-rust-maintainers] Bug#1019491: cargo FTCBFS: missing Build-Depends: zlib1g-dev:native

Helmut Grohne helmut at subdivi.de
Sat Sep 10 10:15:34 BST 2022


Source: cargo
Version: 0.57.0-7
Tags: patch
User: debian-cross at 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
-------------- next part --------------
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 <helmut at 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


More information about the Pkg-rust-maintainers mailing list