Your message dated Fri, 18 Mar 2022 01:04:24 +0000
with message-id <[email protected]>
and subject line Bug#1006799: fixed in zlib 1:1.2.11.dfsg-3
has caused the Debian Bug report #1006799,
regarding zlib FTBFS on arc: multilib overmatches as sparc
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.)


-- 
1006799: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1006799
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: zlib
Version: 1:1.2.11.dfsg-2
Tags: ftbfs patch
User: [email protected]
Usertags: rebootstrap
X-Debbugs-Cc: Alexey Brodkin <[email protected]>

debian/rules uses findstring to configure its multilib layout. When it
encounters DEB_HOST_ARCH=arc, that happens to be a substring of "sparc"
and thus it attempts to build multilib, but that doesn't work. Please
fix the architecture match to properly tell arc and sparc apart. I'm
attaching a patch for your convenience.

Helmut
diff --minimal -Nru zlib-1.2.11.dfsg/debian/changelog 
zlib-1.2.11.dfsg/debian/changelog
--- zlib-1.2.11.dfsg/debian/changelog   2020-02-24 22:07:12.000000000 +0100
+++ zlib-1.2.11.dfsg/debian/changelog   2022-03-05 06:48:19.000000000 +0100
@@ -1,3 +1,10 @@
+zlib (1:1.2.11.dfsg-2.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTBFS on arc: Fix overmatching of sparc (closes: #-1).
+
+ -- Helmut Grohne <[email protected]>  Sat, 05 Mar 2022 06:48:19 +0100
+
 zlib (1:1.2.11.dfsg-2) unstable; urgency=low
 
   * Acknowledge previous NMUs (closes: #949388).
diff --minimal -Nru zlib-1.2.11.dfsg/debian/rules zlib-1.2.11.dfsg/debian/rules
--- zlib-1.2.11.dfsg/debian/rules       2020-02-24 22:07:12.000000000 +0100
+++ zlib-1.2.11.dfsg/debian/rules       2022-03-05 06:48:18.000000000 +0100
@@ -39,24 +39,24 @@
 32-ARCHS=amd64 ppc64 kfreebsd-amd64 s390x
 64-ARCHS=s390 sparc i386 powerpc mips mipsel mipsn32 mipsn32el mipsr6 mipsr6el 
mipsn32r6 mipsn32r6el x32
 
-ifneq (,$(findstring $(DEB_HOST_ARCH), $(32-ARCHS)))
+ifneq (,$(filter $(DEB_HOST_ARCH), $(32-ARCHS)))
 EXTRA_INSTALL=install32
 EXTRA_BUILD=build32-stamp
 # s390x fails at compatibility.
-ifneq (,$(findstring $(DEB_HOST_ARCH), s390x))
+ifneq (,$(filter $(DEB_HOST_ARCH), s390x))
 m32=-m31
 else
 m32=-m32
 endif
 endif
 
-ifneq (,$(findstring s390x, $(DEB_HOST_ARCH)))
+ifneq (,$(filter s390x, $(DEB_HOST_ARCH)))
 else
-ifneq (,$(findstring $(DEB_HOST_ARCH), $(64-ARCHS)))
+ifneq (,$(filter $(DEB_HOST_ARCH), $(64-ARCHS)))
 EXTRA_INSTALL=install64
 EXTRA_BUILD=build64-stamp
 # MIPS doesn't use -m64
-ifneq (,$(findstring $(DEB_HOST_ARCH), mips mipsel mipsn32 mipsn32el mipsr6 
mipsr6el mipsn32r6 mipsn32r6el))
+ifneq (,$(filter $(DEB_HOST_ARCH), mips mipsel mipsn32 mipsn32el mipsr6 
mipsr6el mipsn32r6 mipsn32r6el))
 m64=-mabi=64
 else
 m64=-m64
@@ -65,7 +65,7 @@
 endif
 
 N32-ARCHS=mips mipsel
-ifneq (,$(findstring $(DEB_HOST_ARCH), $(N32-ARCHS)))
+ifneq (,$(filter $(DEB_HOST_ARCH), $(N32-ARCHS)))
 EXTRA_INSTALL+=installn32
 EXTRA_BUILD+=buildn32-stamp
 mn32=-mabi=n32
@@ -74,7 +74,7 @@
 endif # !nobiarch
 
 UNALIGNED_ARCHS=i386 amd64 kfreebsd-i386 kfreebsd-amd64 hurd-i386 lpia
-ifneq (,$(findstring $(DEB_HOST_ARCH), $(UNALIGNED_ARCHS)))
+ifneq (,$(filter $(DEB_HOST_ARCH), $(UNALIGNED_ARCHS)))
 CFLAGS+=-DUNALIGNED_OK
 endif
 
@@ -199,13 +199,13 @@
        dh_fixperms -a
        dh_makeshlibs -pzlib1g -V"zlib1g (>= 1:1.2.3.3.dfsg-1)" 
--add-udeb=zlib1g-udeb
 ifeq (,$(filter nobiarch,$(DEB_BUILD_PROFILES)))
-ifneq (,$(findstring $(DEB_HOST_ARCH), $(32-ARCHS)))
+ifneq (,$(filter $(DEB_HOST_ARCH), $(32-ARCHS)))
        dh_makeshlibs -plib32z1 -V"lib32z1 (>= 1:1.2.3.3.dfsg-1)"
 endif
-ifneq (,$(findstring $(DEB_HOST_ARCH), $(64-ARCHS)))
+ifneq (,$(filter $(DEB_HOST_ARCH), $(64-ARCHS)))
        dh_makeshlibs -plib64z1 -V"lib64z1 (>= 1:1.2.3.3.dfsg-1)"
 endif
-ifneq (,$(findstring $(DEB_HOST_ARCH), $(N32-ARCHS)))
+ifneq (,$(filter $(DEB_HOST_ARCH), $(N32-ARCHS)))
        dh_makeshlibs -plibn32z1 -V"libn32z1 (>= 1:1.2.3.3.dfsg-1)"
 endif
 endif

--- End Message ---
--- Begin Message ---
Source: zlib
Source-Version: 1:1.2.11.dfsg-3
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: Fri, 18 Mar 2022 00:21:37 +0000
Source: zlib
Architecture: source
Version: 1:1.2.11.dfsg-3
Distribution: unstable
Urgency: low
Maintainer: Mark Brown <[email protected]>
Changed-By: Mark Brown <[email protected]>
Closes: 919598 1006799
Changes:
 zlib (1:1.2.11.dfsg-3) unstable; urgency=low
 .
   * Add build-arch and build-indep (#999292).
   * Bump debhelper requirement to current.
   * Add win32 to the list of files excluded from the DFSG
     tarball (closes: #919598).
   * Tighten matching for 32 bit architectures using patch from
     Helmut Grohne (closes: #1006799).
   * Policy 4.0.0 (no changes).
Checksums-Sha1:
 456e3a468792adbac0f0197c98f2292a4b13573f 2397 zlib_1.2.11.dfsg-3.dsc
 861fef48ca90e88eaddce83ad52f918ead4dcb1d 19380 zlib_1.2.11.dfsg-3.debian.tar.xz
 5f0d1357b6c3be8aecfcdb908c287c5f5d0a6107 7497 
zlib_1.2.11.dfsg-3_source.buildinfo
Checksums-Sha256:
 477f9aab100e0cd9690fbc577911c3d5907ddbbf1e8e89a0c16b1f88708eca32 2397 
zlib_1.2.11.dfsg-3.dsc
 4c1609b975b36712cfefb592f5a29b04c18ef2b46aded1e615772c386daa5bb6 19380 
zlib_1.2.11.dfsg-3.debian.tar.xz
 ae2852667ec8faf955f7dc051bba5a89f2c47289588e78ef4dc548ecf4b9ebd3 7497 
zlib_1.2.11.dfsg-3_source.buildinfo
Files:
 98ccd0f62d4dd58036a6d972259135a8 2397 libs optional zlib_1.2.11.dfsg-3.dsc
 c160f3de263f1abf7e6beeacc962b64a 19380 libs optional 
zlib_1.2.11.dfsg-3.debian.tar.xz
 a2ee5241f58957cb194cb8a8e4bed376 7497 libs optional 
zlib_1.2.11.dfsg-3_source.buildinfo

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

iQFHBAEBCgAxFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmIz2EITHGJyb29uaWVA
ZGViaWFuLm9yZwAKCRAk1otyXVSH0BgYB/9kzoKHTBwwd7h8NmP2jhhsLQOoasFb
jc5/FOPA1ggCFlg1BUrwDLbB9gy83N7Lc3NCtGgnklgflfDrg/Xn+7fWgzPBe5xd
qiLHfYIHWCR/JkDgnIE1hpbupF3Agt9Xy7G27oGMsanV7pBlSQ+qemdw0MWrxmmI
6bjrTtLIQAC1lvmi36HN1qnpdyiwiU5IuEivZe5dRTzWiKo15rlh96K1kZ6X9P71
kL7VxB+PwFZEeRYgKU30F9lyURkU/fHOh0tnd+AaBkxUF9vB+W/VkHtDiR1b/0+M
BRrr7TjzphSkHnaRdPHdGy7UgdJzJc9ztezR1SXDYEYA8mnCuHmxfEv+
=/RMm
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to