[Bug 871083] Re: gzip -9n sometimes generates a different output file on different architectures

Zygmunt Krynicki zygmunt.krynicki at canonical.com
Tue Aug 20 11:05:36 UTC 2013


I have a feeling that the very same bug affects python3.2 on Ubuntu
12.04. I have looked at the source code of the zlib module shipped with
python and while it's not exactly the same as gzip it seems to lack the
relevant memset to clear uninitialized garbage.

** Also affects: python
   Importance: Undecided
       Status: New

** Also affects: python3.2 (Ubuntu)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to gzip in Ubuntu.
https://bugs.launchpad.net/bugs/871083

Title:
  gzip -9n sometimes generates a different output file on different
  architectures

Status in Python:
  New
Status in “clutter-1.0” package in Ubuntu:
  Fix Released
Status in “gtk+2.0” package in Ubuntu:
  Fix Released
Status in “gzip” package in Ubuntu:
  Fix Released
Status in “libtasn1-3” package in Ubuntu:
  Triaged
Status in “pam” package in Ubuntu:
  Fix Released
Status in “python3.2” package in Ubuntu:
  New
Status in “gzip” source package in Oneiric:
  Fix Released
Status in “pam” source package in Oneiric:
  Fix Released
Status in “clutter-1.0” source package in Precise:
  Fix Released
Status in “gtk+2.0” source package in Precise:
  Fix Released
Status in “gzip” source package in Precise:
  Fix Released
Status in “libtasn1-3” source package in Precise:
  Triaged
Status in “pam” source package in Precise:
  Fix Released
Status in “gzip” package in Debian:
  Fix Released

Bug description:
  SRU justification:
  libpam-modules is not multiarch-coinstallable because of unexplained misgeneration of compressed manpages on the buildds in a previous run.  This makes it impossible to use pam authentication for foreign-arch software due to the uninstallable modules, and also causes unpleasant upgrade issues.

  Test case:
  1) on amd64, enable armel in addition to i386 as a foreign architecture by running:
    echo 'foreign-architecture armel' >> /etc/dpkg/dpkg.cfg.d/multiarch-armel
    echo 'deb [arch=armel] http://ports.ubuntu.com/ubuntu-ports/ oneiric main' >> /etc/apt/sources.list
    apt-get update
  2) try to install libpam-modules for the other two architectures by running 'apt-get install libpam-modules:i386 libpam-modules:armel'
  3) confirm that both packages fail to install.
  4) enable oneiric-proposed (including for armel above).
  5) try to install libpam-modules for all three architectures by running 'apt-get install libpam-modules libpam-modules:i386 libpam-modules:armel'
  6) confirm that the packages install successfully.

  error while updating

  ProblemType: Package
  DistroRelease: Ubuntu 11.10
  Package: libpam-modules 1.1.3-2ubuntu1
  ProcVersionSignature: Ubuntu 2.6.38-11.50-generic 2.6.38.8
  Uname: Linux 2.6.38-11-generic x86_64
  NonfreeKernelModules: wl
  ApportVersion: 1.23-0ubuntu2
  Architecture: amd64
  Date: Sat Oct  8 18:57:52 2011
  ErrorMessage: ErrorMessage: './usr/share/man/man8/pam_shells.8.gz' is different from the same file on the system
  InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release amd64 (20110427.1)
  SourcePackage: pam
  Title: package libpam-modules 1.1.3-2ubuntu1 failed to install/upgrade: ErrorMessage: './usr/share/man/man8/pam_shells.8.gz' is different from the same file on the system
  UpgradeStatus: Upgraded to oneiric on 2011-10-09 (0 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/python/+bug/871083/+subscriptions




More information about the foundations-bugs mailing list