Your message dated Wed, 09 Jan 2013 17:00:09 +0000
with message-id <[email protected]>
and subject line Bug#632514: fixed in zsh 5.0.2-2
has caused the Debian Bug report #632514,
regarding zsh: architecture-dependent files in /usr/share
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.)


-- 
632514: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=632514
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: zsh
Version: 4.3.12-1
Severity: serious

Since the bug fix for http://bugs.debian.org/430472 zsh ships so called
"zsh word code" (.zwc) files in the binary package and installs them
under /usr/share.

Unfortunately this kind of byte code is not identical on all
architectures. It seems to differ between big endian and little endian
architectures. An example:

sparc:    abb2a53ddac4e191e7a0aef3f7c7c01d  
/usr/share/zsh/functions/VCS_Info/Backends.zwc
powerpc:  abb2a53ddac4e191e7a0aef3f7c7c01d  
/usr/share/zsh/functions/VCS_Info/Backends.zwc
mips:     abb2a53ddac4e191e7a0aef3f7c7c01d  
/usr/share/zsh/functions/VCS_Info/Backends.zwc
i386:     02d39ad457fd9eb51d8070be584d0e4b  
/usr/share/zsh/functions/VCS_Info/Backends.zwc
amd64:    02d39ad457fd9eb51d8070be584d0e4b  
/usr/share/zsh/functions/VCS_Info/Backends.zwc
armel:    02d39ad457fd9eb51d8070be584d0e4b  
/usr/share/zsh/functions/VCS_Info/Backends.zwc
kf-i386:  02d39ad457fd9eb51d8070be584d0e4b  
/usr/share/zsh/functions/VCS_Info/Backends.zwc
kf-amd64: 02d39ad457fd9eb51d8070be584d0e4b  
/usr/share/zsh/functions/VCS_Info/Backends.zwc

Looking at the difference between the two file variants with vbindiff
shows that the difference indeed seems to be in byte ordering:

i386:  0000 0000: 07 06 05 04 01 04 78 00  34 2E 33 2E 31 32 00 00  ......x. 
4.3.12..
sparc: 0000 0000: 04 05 06 07 01 04 78 00  34 2E 33 2E 31 32 00 00  ......x. 
4.3.12..
                  ^^^^^^^^^^^

I'm not yet sure what's the best way to fix this. Many ideas come to my
mind:

a) Putting them in /usr/lib and make zsh search there

b) Putting them in /usr/lib and make symlinks to them in /usr/share

c) Generating them in postinst again, putting them in /var/lib and make
   zsh search there

d) Generating them in postinst again, putting them in /var/lib and make
   symlinks to them in /usr/share

e) Make two arch-independent packages, one called zsh-zwc-le and only to
   be built on little endian architectures and one called zsh-zwc-be and
   only to be built on big endian architectures. (This hack is probably
   only policy-conforming if the files are installed in different
   directories afterwards, i.e. if zsh-zwc-le and zsh-zwc-be could be
   installed in parallel.)

f) Let upstream make the .zwc file format endianess-independent.

Solution e) would be the most disk space saving one and solution b) the
least intrusive one. So I currently prefer one of these two solutions,
although a) is also appealing. But I have not yet an idea how intrusive
solution a) would be.

I'm also not yet sure if this is an issue for upstream, too.

Lintian argued: I: zsh: arch-dep-package-has-big-usr-share 9122kB 84%

Out of these 9 MB, approximately 5 MB come from those .zwc files(*). So
solution e) is not so far-fetched as it may have seemed initially.

(*) Determined using "dpkg -L zsh | fgrep .zwc | xargs ls -l | awk
    '{printf $5"+"}; END {print "0"}' | bc -l"

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (600, 'testing'), (400, 'stable'), (110, 
'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-2-xen-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.ISO-8859-15, LC_CTYPE=en_US.ISO-8859-15 (charmap=ISO-8859-15)
Shell: /bin/sh linked to /bin/dash

Versions of packages zsh depends on:
ii  libc6                         2.13-8     Embedded GNU C Library: Shared lib
ii  libcap2                       1:2.21-1   support for getting/setting POSIX.
ii  libncursesw5                  5.9-1      shared libraries for terminal hand

Versions of packages zsh recommends:
ii  libc6                         2.13-8     Embedded GNU C Library: Shared lib
ii  libpcre3                      8.12-3     Perl 5 Compatible Regular Expressi

Versions of packages zsh suggests:
ii  zsh-doc                       4.3.12-1   zsh documentation - info/HTML form

-- no debconf information



--- End Message ---
--- Begin Message ---
Source: zsh
Source-Version: 5.0.2-2

We believe that the bug you reported is fixed in the latest version of
zsh, 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.
Axel Beckert <[email protected]> (supplier of updated zsh 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, 28 Dec 2012 14:18:21 +0100
Source: zsh
Binary: zsh zsh-common zsh-doc zsh-static zsh-dev zsh-dbg
Architecture: source all amd64
Version: 5.0.2-2
Distribution: experimental
Urgency: low
Maintainer: Debian Zsh Maintainers <[email protected]>
Changed-By: Axel Beckert <[email protected]>
Description: 
 zsh        - shell with lots of features
 zsh-common - architecture independent files for Zsh
 zsh-dbg    - shell with lots of features (debugging symbols)
 zsh-dev    - shell with lots of features (development files)
 zsh-doc    - zsh documentation - info/HTML format
 zsh-static - shell with lots of features (static link)
Closes: 632514 656898
Changes: 
 zsh (5.0.2-2) experimental; urgency=low
 .
   * [37c73049] Convert package to debhelper
   * [be35418d] Split off arch-independent files into zsh-common (Fixes
     lintian warning arch-dep-package-has-big-usr-share 9873kB 84%; closes:
     #632514, #656898)
   * [d4d59f27] Use xz compression for the bigger binary packages
     - Add "Pre-Depends: dpkg (>= 1.15.6~)" to the according packages
   * [0033e9e8] Replace at2quilt with dh-autoreconf
   * [a7986a4a] Don't ignore potential failures of the test suite
   * Fixes the following lintian-warnings:
     - [a0227ee9] debian-news-entry-has-unknown-version
     - [6860acf8] package-file-is-executable
     - [cd2dd67f] debian-rules-missing-recommended-target
     - [cd2dd67f] package-would-benefit-from-build-arch-targets
   * Fixes the following dpkg-gencontrol warnings:
     - [d4e0e0af] unknown substitution variable ${shlibs:Depends}
   * Override the following lintian warning due to false positives:
     - [c2511a18] hardening-no-fortify-functions …/zleparameter.so
Checksums-Sha1: 
 5633f9c353307909867c5e94f9cd42ebabb6eb55 1742 zsh_5.0.2-2.dsc
 e76f1c9094f7563d9880ab8627bb9a865c10d83c 67160 zsh_5.0.2-2.debian.tar.gz
 7260efa88e2d6503abb00a189502828c88f5455c 2440618 zsh-doc_5.0.2-2_all.deb
 784fd0cc3810b47affb187f6aa330ebf5014f25e 612382 zsh_5.0.2-2_amd64.deb
 a7f5aa8203b5235cfa14a73c31a64f290c4f8546 2954862 zsh-common_5.0.2-2_all.deb
 5b0510ed6207229ca6e6915f4e2d2f66c62aba49 1153602 zsh-dbg_5.0.2-2_amd64.deb
 3cc6fe800d7794a7952b283f4e836a67283c1b36 1027690 zsh-static_5.0.2-2_amd64.deb
 a955b2c691c6c680535b828b00d207cd34f2c78e 91990 zsh-dev_5.0.2-2_amd64.deb
Checksums-Sha256: 
 ba109a479009ee5056273ee8f22ea1ba82619b2c34cf3c1758dd186c14d7a864 1742 
zsh_5.0.2-2.dsc
 a8fa2e92f5aa949121e8828d8f7b096a2e323e8150adcc51dc5dceae4cc5ad63 67160 
zsh_5.0.2-2.debian.tar.gz
 b28bd3c296896be801b7ee6ce1c6991cfbcbb89c6fac30832fc0874de0865a38 2440618 
zsh-doc_5.0.2-2_all.deb
 40cd0f1317ca6a2c7bc270bb3f7721ac15db77237f355fd4e26e39c8996d9753 612382 
zsh_5.0.2-2_amd64.deb
 28f7e7e465fdd78f83ccdcade23a01ccec1efcc46763d889c08897ec5ff8cabb 2954862 
zsh-common_5.0.2-2_all.deb
 4167210e3f952a0719b7b2dbf3d9fea398fc2353b65c6aadd71f665b61f5e791 1153602 
zsh-dbg_5.0.2-2_amd64.deb
 4b3baabfb9f340517b71abab80df4ac779523f3d302e6bd2c568d39b56afc080 1027690 
zsh-static_5.0.2-2_amd64.deb
 b42e8083abaff8cab854b8a88883cb355d31157e1d67cd261634b9d2980e2621 91990 
zsh-dev_5.0.2-2_amd64.deb
Files: 
 3e757549b8ab3c45c18bcedfbd325da3 1742 shells optional zsh_5.0.2-2.dsc
 51bbb6e1210658d8b071d66a90566d74 67160 shells optional 
zsh_5.0.2-2.debian.tar.gz
 952b05c66f5ac42c81fb6cd34384f0c1 2440618 doc optional zsh-doc_5.0.2-2_all.deb
 35a502e3cfb6e889cd09b7af17aec9de 612382 shells optional zsh_5.0.2-2_amd64.deb
 12c9f73707b570740b1339c5748dedb4 2954862 shells optional 
zsh-common_5.0.2-2_all.deb
 2c332aac376eff9df67ea95f50c8ea88 1153602 debug extra zsh-dbg_5.0.2-2_amd64.deb
 3d5257c0c73222b14016a9e676f7136b 1027690 shells optional 
zsh-static_5.0.2-2_amd64.deb
 f0e99409b617aaa9e8666e2b3db82d78 91990 libdevel optional 
zsh-dev_5.0.2-2_amd64.deb

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

iEYEARECAAYFAlDdoZ4ACgkQwJ4diZWTDt7MygCggeYBPEvIstICL9udrUO8ltHu
rvEAn2vteaCKJfpyW55DHoVsCSunrlOi
=wdWu
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to