Your message dated Tue, 07 May 2013 19:34:23 +0000
with message-id <[email protected]>
and subject line Bug#698648: fixed in zlib 1:1.2.8.dfsg-1
has caused the Debian Bug report #698648,
regarding zconf.h is not multiarch-safe
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.)


-- 
698648: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=698648
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: zlib
Version: 1.2.7.dfsg
Severity: normal
User: [email protected]
Usertag: multiarch

A requirement of multiarch is that files in non arch-specific paths in
Multi-Arch: same (i.e library and -dev) packages are identical.

Whilst doing the arm64 port I discovered that zlib1g-dev:amd64 and
zlib1g-dev:arm64 were not coinstallable as they should be, because zconf.h
did not match in both packages, but is installed in /usr/include/zconf.h

The difference  is:
zconf.h:amd64 
  #define Z_U4 unsigned   /* ./configure put the #define Z_U4 here */
zconf.h:arm64 
  /* ./configure may #define Z_U4 here */

This line is replaced by configure if a test built with the
compiler/cross-compiler runs successfully.

The test in my case is run as: 
aarch64-linux-gnu-gcc -g -O2 --param=ssp-buffer-size=4 -Wformat
-Werror=format-security -D_FORTIFY_SOURCE=2 -Wall -D_REENTRANT -O3
-D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN ztest26484.c -o ztest26484
Looking for a four-byte integer type... Not found.

Because the test is built with the cross-compiler when cross-compiling
it will (in general) not be able to run so if this package is
cross-built then that line is not replaced. If it is built natively
then it is replaced. i.e cross and natively built packages have
different zconf.h files This is a problem when bootstrapping a new
architecture when low-level libraries like this must be cross-built
until the arch is self-hosting. 

It also seems to be the case that is likely to have different results
on different architectures even when natively built. Although it must
be the same on i386, amd64, armel, and armhf (and powerpc?) at least otherwise
someone would have noticed this issue before.  

So I think the right answer is for this file to be
architecture-qualified because it can not be assumed to be
arch-invariant across debian - i.e moved to
/usr/include/$(DEB_HOST_MULTIARCH)/zconf.h

But perhaps it makes sense to change it so that it won't be different
when crossbuilding and won't be different across multiple
architectures. This could be fixed with respect to crossbuilding by simply 
removing that
configure test and relying on limits.h in debian (and/or adding c99
types). I'm not sure about the different architectures. This may
simply not be practical or desirable. Hence copying upstream. 

-- System Information:
Debian Release: 6.0.6
  APT prefers stable
  APT policy: (990, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32.33-kvm-i386-20111128-dirty (SMP w/1 CPU core)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

--- End Message ---
--- Begin Message ---
Source: zlib
Source-Version: 1:1.2.8.dfsg-1

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: SHA1

Format: 1.8
Date: Fri, 03 May 2013 16:30:36 +0100
Source: zlib
Binary: zlib1g zlib1g-dev zlib1g-dbg zlib-bin zlib1g-udeb lib64z1 lib64z1-dev 
lib32z1 lib32z1-dev libn32z1 libn32z1-dev
Architecture: source amd64
Version: 1:1.2.8.dfsg-1
Distribution: unstable
Urgency: low
Maintainer: Mark Brown <[email protected]>
Changed-By: Mark Brown <[email protected]>
Description: 
 lib32z1    - compression library - 32 bit runtime
 lib32z1-dev - compression library - 32 bit development
 lib64z1    - compression library - 64 bit runtime
 lib64z1-dev - compression library - 64 bit development
 libn32z1   - compression library - n32 runtime
 libn32z1-dev - compression library - n32 development
 zlib-bin   - compression library - sample programs
 zlib1g     - compression library - runtime
 zlib1g-dbg - compression library - development
 zlib1g-dev - compression library - development
 zlib1g-udeb - compression library - runtime for Debian installer (udeb)
Closes: 687076 698648
Changes: 
 zlib (1:1.2.8.dfsg-1) unstable; urgency=low
 .
   * New upstream release.
   * Policy 3.9.4.
   * Tweak version for gzseek64 and gztell64 (closes: #687076).
   * Install zconf.h in multiarch path (closes: #698648).
Checksums-Sha1: 
 3c18cb7918b3be8401aaa88f1cacdbbee9374814 2290 zlib_1.2.8.dfsg-1.dsc
 c7c723de179c0d1f3c9d59646a398649b16206b7 361943 zlib_1.2.8.dfsg.orig.tar.gz
 c8a5ccc8d2340fabdae55d3f73231b7c43948e4d 16863 zlib_1.2.8.dfsg-1.debian.tar.gz
 8d96ead44c414a342020e72aef6a64769079ced1 90736 zlib1g_1.2.8.dfsg-1_amd64.deb
 076c3f0ca3659912ec5b3c6e4e4167c8f9a4e4aa 217336 
zlib1g-dev_1.2.8.dfsg-1_amd64.deb
 540226a4d8907f7c0d90ba1030f8f0176ef358b3 273770 
zlib1g-dbg_1.2.8.dfsg-1_amd64.deb
 17456d80d8929df932b3687edf1576ee0497ae0c 69926 zlib-bin_1.2.8.dfsg-1_amd64.deb
 7cd1a7c8be4e086de733a0ce76f87d42b8b2173b 45270 
zlib1g-udeb_1.2.8.dfsg-1_amd64.udeb
 2e06b43f0eb9991c8de7791b1c1b13f93d7ad4b2 92576 lib32z1_1.2.8.dfsg-1_amd64.deb
 96014ae28bf5bce3cfeb38346a464b9d7754c4a2 91528 
lib32z1-dev_1.2.8.dfsg-1_amd64.deb
Checksums-Sha256: 
 7ad1085d51247c121cd75902c953da6dbc8fa95060ec334e8d7f4a31dd17a283 2290 
zlib_1.2.8.dfsg-1.dsc
 2caecc2c3f1ef8b87b8f72b128a03e61c307e8c14f5ec9b422ef7914ba75cf9f 361943 
zlib_1.2.8.dfsg.orig.tar.gz
 800c3a7d347e1b78baed7ecff5456d7e1e568180bd49c07ced809714751bff51 16863 
zlib_1.2.8.dfsg-1.debian.tar.gz
 e8e95b5942537e562e9c5355b71bc4d25e232ad81eab60d4acd0cb3dd4e90771 90736 
zlib1g_1.2.8.dfsg-1_amd64.deb
 8e0dd97c3148c984a151e0ae6e56b0e88f09374ad81d94e221e85b0179e8b274 217336 
zlib1g-dev_1.2.8.dfsg-1_amd64.deb
 184329f5b9d13f1aeb7d09e432dd7345afe2d8d2fb60ef0a6fb0cdeb85cd0b64 273770 
zlib1g-dbg_1.2.8.dfsg-1_amd64.deb
 4c98482c04c94311fac121ebd04d0fee16af73ab8f2e7ca32134a54ec3ad7333 69926 
zlib-bin_1.2.8.dfsg-1_amd64.deb
 61641ee2b5e185232108333438b72bec71ef549fe0e0df1b2b3afa37174e53a7 45270 
zlib1g-udeb_1.2.8.dfsg-1_amd64.udeb
 6688cfc71e382748ca1e7036b4a6134357f2d9ad63618d9f3917434003bb036a 92576 
lib32z1_1.2.8.dfsg-1_amd64.deb
 3ac6b8ef62c48cfd8e9181aecb5645ac9b9f38ad01729787c987e51761b361fc 91528 
lib32z1-dev_1.2.8.dfsg-1_amd64.deb
Files: 
 742854a8fa9b0748d75a726463414324 2290 libs optional zlib_1.2.8.dfsg-1.dsc
 b752e88a9717131354bd07aa1e1c505d 361943 libs optional 
zlib_1.2.8.dfsg.orig.tar.gz
 de54d311edc97e0ce716feb8a58726aa 16863 libs optional 
zlib_1.2.8.dfsg-1.debian.tar.gz
 a78da5b86a5eec9385b9d735ece3d458 90736 libs required 
zlib1g_1.2.8.dfsg-1_amd64.deb
 dab56fd919df6a0f44001b9b4849aba6 217336 libdevel optional 
zlib1g-dev_1.2.8.dfsg-1_amd64.deb
 82cdc31a5f9a0166ad866c39d1dd2be0 273770 debug extra 
zlib1g-dbg_1.2.8.dfsg-1_amd64.deb
 262c6cef3e4dd72763524a7e7be55001 69926 utils optional 
zlib-bin_1.2.8.dfsg-1_amd64.deb
 c02884420f79a3ae4569cf67782f3e74 45270 debian-installer optional 
zlib1g-udeb_1.2.8.dfsg-1_amd64.udeb
 08029ecff6c92ab542c8ec247d34a857 92576 libs optional 
lib32z1_1.2.8.dfsg-1_amd64.deb
 c2b83530be154fc2c40d85d668853275 91528 libdevel optional 
lib32z1-dev_1.2.8.dfsg-1_amd64.deb
Package-Type: udeb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iQIcBAEBAgAGBQJRg9/cAAoJELSic+t+oim9M2MP/0hO1l1Hsg54PtuTk9cLh2n2
9V38CMTGC9htl+0EYUlCp57ugqTqDcZqvXkla7ARNfxsMBa0YaApRBxCD806M8pH
82eaXZeBmes4cv3dIjvfCEaaubgONLRQ4Ag6TMpdkiCtQwaAHLBznmNk4imQ50Yk
GkAXU5O2dwhNnIvQF/4bLsEie9xYTu8Rwv3wPE0cLTLwF+efpn0Y2mEphmmy94sZ
lkfbcmpYOcZpPhQCGdvW7rTYhNPhXcd334H5xMZNt3xCk8kw/jg4yPAbn+hhZt2u
E47cEFxG1dtmcjI8a05Q6HFkmKGzPR6cQA5WKoR3Ije6GFFvuLBvYvvUWlmyX361
DPW3ISnSOlQEwaK5vbJ3IM1hfOuVyGKSAdzpx6pWYNA5nfV3O2exhUuB5SeIId2G
nHn36UCU7xgkQDACQ4fQM2XuDiMqpEEM06CRMOlGT/3N9O8/z3KcZOA7Ulwe9oPv
AoxEc3SUSiybo6s6/rYGxd7Hx3yaFs9ficSsW0IZqll1BH9J7ePRwBcAhkZW5T/C
yhgKjSgHQfca9sY1YPLv+CzrzqcvQGp2xcK+YgGnVLi5qRHF2YQIZAiWej9dM6Vg
gcnxkhYmIyNDf78Od5GFHF3gi5ArCe7a4Ih/MPE9iuPJxAIjnIpQtnBMxmHnQClh
gWAQ/0FG3Sw7RgFOkEt9
=nyGA
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to