Your message dated Sun, 25 Oct 2026 23:50:23 +0000
with message-id <[email protected]>
and subject line Bug#1141300: fixed in zlib 1:1.3.dfsg+really1.3.2-4
has caused the Debian Bug report #1141300,
regarding zlib: support cross building with multilibs
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1141300: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1141300
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: zlib
Version: 1:1.3.dfsg+really1.3.2-3
Tags: patch
User: [email protected]
Usertags: cross-satisfiability

zlib cannot be cross built from source for multilib-enabled
architectures unless adding the nobiarch build profile, because the
dependency on gcc-multilib is not satisfiable. As we do not have a
-for-host variant for this package, we can depend on
gcc-multilib-TRIPLET instead. This is a bit verbose, but we're not
likely to add more multilib architectures, so that feels like a sane
cost. I'm attaching a suitable patch.

This patch is supposed to establish a baseline of cross build support.
Once it is in, we may consider moving away from gcc-multilib. For
instance in a build for i386, we should be able to call
"x86_64-linux-gnu-gcc" instead of "i686-linux-gnu-gcc -m64" if we depend
on "gcc-x86-64-linux-gnu [i386] <!nobiarch>". It is equally verbose, but
removes one multilib user.

Helmut
diff -Nru zlib-1.3.dfsg+really1.3.2/debian/changelog 
zlib-1.3.dfsg+really1.3.2/debian/changelog
--- zlib-1.3.dfsg+really1.3.2/debian/changelog  2026-04-01 23:50:49.000000000 
+0200
+++ zlib-1.3.dfsg+really1.3.2/debian/changelog  2026-07-01 14:49:22.000000000 
+0200
@@ -1,3 +1,10 @@
+zlib (1:1.3.dfsg+really1.3.2-3.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix cross building for multilib architectures. (Closes: #-1)
+
+ -- Helmut Grohne <[email protected]>  Wed, 01 Jul 2026 14:49:22 +0200
+
 zlib (1:1.3.dfsg+really1.3.2-3) unstable; urgency=low
 
   * Suppress crcvx to fix building of minizip on s390 with patch
diff -Nru zlib-1.3.dfsg+really1.3.2/debian/control 
zlib-1.3.dfsg+really1.3.2/debian/control
--- zlib-1.3.dfsg+really1.3.2/debian/control    2026-03-29 23:52:20.000000000 
+0200
+++ zlib-1.3.dfsg+really1.3.2/debian/control    2026-07-01 14:49:22.000000000 
+0200
@@ -5,7 +5,33 @@
 Standards-Version: 4.6.1
 Homepage: http://zlib.net/
 X-DH-Compat: 14
-Build-Depends: dpkg-dev (>= 1.22.5), debhelper (>= 13), gcc-multilib [amd64 
i386 kfreebsd-amd64 mips mipsel powerpc ppc64 s390 sparc mipsn32 mipsn32el 
mipsr6 mipsr6el mipsn32r6 mipsn32r6el mips64 mips64el mips64r6 mips64r6el x32] 
<!nobiarch>, dpkg-dev (>= 1.16.1), autoconf
+Build-Depends:
+ dpkg-dev (>= 1.22.5),
+ debhelper (>= 13),
+ gcc-multilib [amd64 i386 kfreebsd-amd64 mips mipsel powerpc ppc64 s390 sparc 
mipsn32 mipsn32el mipsr6 mipsr6el mipsn32r6 mipsn32r6el mips64 mips64el 
mips64r6 mips64r6el x32] <!cross !nobiarch>,
+ gcc-multilib-x86-64-linux-gnu [amd64] <cross !nobiarch>,
+ gcc-multilib-x86-64-kfreebsd-gnu [kfreebsd-amd64] <cross !nobiarch>,
+ gcc-multilib-i686-linux-gnu [i386] <cross !nobiarch>,
+ gcc-multilib-mips-linux-gnu [mips] <cross !nobiarch>,
+ gcc-multilib-mipsel-linux-gnu [mipsel] <cross !nobiarch>,
+ gcc-multilib-powerpc-linux-gnu [powerpc] <cross !nobiarch>,
+ gcc-multilib-powerpc64-linux-gnu [powerpc64] <cross !nobiarch>,
+ gcc-multilib-s390-linux-gnu [s390] <cross !nobiarch>,
+ gcc-multilib-sparc-linux-gnu [sparc] <cross !nobiarch>,
+ gcc-multilib-mips64-linux-gnuabin32 [mipsn32] <cross !nobiarch>,
+ gcc-multilib-mips64el-linux-gnuabin32 [mipsn32el] <cross !nobiarch>,
+ gcc-multilib-mips64el-linux-gnuabin32 [mipsn32el] <cross !nobiarch>,
+ gcc-multilib-mipsisa32r6-linux-gnu [mipsr6] <cross !nobiarch>,
+ gcc-multilib-mipsisa32r6el-linux-gnu [mipsr6el] <cross !nobiarch>,
+ gcc-multilib-mipsisa64r6-linux-gnuabin32 [mipsn32r6] <cross !nobiarch>,
+ gcc-multilib-mipsisa64r6el-linux-gnuabin32 [mipsn32r6el] <cross !nobiarch>,
+ gcc-multilib-mips64-linux-gnuabi64 [mips64] <cross !nobiarch>,
+ gcc-multilib-mips64el-linux-gnuabi64 [mips64el] <cross !nobiarch>,
+ gcc-multilib-mipsisa64r6-linux-gnuabi64 [mips64r6] <cross !nobiarch>,
+ gcc-multilib-mipsisa64r6el-linux-gnuabi64 [mips64r6el] <cross !nobiarch>,
+ gcc-multilib-x86-64-linux-gnux32 [x32] <cross !nobiarch>,
+ dpkg-dev (>= 1.16.1),
+ autoconf
 
 Package: zlib1g
 Architecture: any

--- End Message ---
--- Begin Message ---
Source: zlib
Source-Version: 1:1.3.dfsg+really1.3.2-4
Done: Mark Brown <[email protected]>

We believe that the bug you reported is fixed in the latest version of
zlib, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Mark Brown <[email protected]> (supplier of updated zlib package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sun, 25 Oct 2026 22:40:02 +0000
Source: zlib
Architecture: source
Version: 1:1.3.dfsg+really1.3.2-4
Distribution: unstable
Urgency: low
Maintainer: Mark Brown <[email protected]>
Changed-By: Mark Brown <[email protected]>
Closes: 1141300 1146895
Changes:
 zlib (1:1.3.dfsg+really1.3.2-4) unstable; urgency=low
 .
   * Pull in upstream patch to fix void undefined behavior in gzwrite.c.
   * Pull in upstream patch to fix buffer overflow bug in non-blocking
     gzwrite (CVE-2026-85091) (Closes: #1146895).
   * Apply patch from Helmut Grohne <[email protected]> making the
     multilib dependencies massively more verbose to avoid cross build
     issues due to incomplete gcc-multilib not being available on some
     architectures (closes: #1141300).
Checksums-Sha1:
 fe42bb63d416e3716a4fd57454f6117297a74a7e 3931 zlib_1.3.dfsg+really1.3.2-4.dsc
 00655a512f6bee30dc3a8ede9a827f693c5cb33c 18988 
zlib_1.3.dfsg+really1.3.2-4.debian.tar.xz
Checksums-Sha256:
 5735985df9244ebceb03e606342d3d0bf2fd76284f3ccc939a266b43b559a8e1 3931 
zlib_1.3.dfsg+really1.3.2-4.dsc
 ee9db06d87b2d810b9edd8485b8b39433b18eb30d93f9e1d40fe8dbd40eda7a1 18988 
zlib_1.3.dfsg+really1.3.2-4.debian.tar.xz
Files:
 bdd9ce491c9505232be99c1d40fb3f2c 3931 libs optional 
zlib_1.3.dfsg+really1.3.2-4.dsc
 d59fcdbd3ab0221d457793f5e67dfd63 18988 libs optional 
zlib_1.3.dfsg+really1.3.2-4.debian.tar.xz

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmrejvYACgkQJNaLcl1U
h9CliQf7BTF845QsbzBKAVreIHobEUUJHdesKORDo3RI2dCbW75fyJ3lB85f8AJ/
KJ45xsSAFE/AddMijqYTfOPNcFQ07lLxI3FWSkiQiiHKIccA80+Dg5BPdG4zQXEV
ufM6Mwv+nVkCRmJtn5kUixUH1taTimNVZHxXaRhZnQEvHInB8lxujSuvjsnJZkrG
hhIyFNuVkg+W/gQ6X28asytj3uWTwyu+CtfrIoNm8lEARJ/3rhxRVt9nHuyYYWsD
awz2wiv4Lbgglld1A744jSwuXJ4vh17wQKIfnOTZuE4s1ZFFqfQmkRr20JrG/7TH
p3q1yQbdoBeHjW9Rbc0Quakmzc1csQ==
=Q/n+
-----END PGP SIGNATURE-----

Attachment: pgpwi40RMi7T5.pgp
Description: PGP signature


--- End Message ---

Reply via email to