Bug#781603: libssh2-1: changelog.gz is different between i386 and amd64 packages

2015-04-01 Thread Mikhail Gusarov
On Thu, 2 Apr 2015, at 00:50, Frédéric Brière wrote:

 $ wc -c */usr/share/doc/libssh2-1/changelog.gz
  59923 amd64/usr/share/doc/libssh2-1/changelog.gz
  60425 i386/usr/share/doc/libssh2-1/changelog.gz
 
 The amd64 version is the correct one.
 
 I'm actually unable to reproduce your i386 version; it's almost the same
 size as the one obtained by -6N (gzip defaults), but not exactly.
 
 Is gzip behaving normally in your build environment?
 
   $ zcat changelog.gz | gzip -9nc | wc -c
   59923

Stranger and stranger.

I have checked on

testing, amd64
  gzip 1.6, /bin/gzip sha1sum ccfc0684ed71a9da6058472761871463a654e026
  libc6 2.19-15 /lib/x86_64-linux-gnu/libc.so.6 sha1sum
  5f7486d69105283da3d455ab8c8610f17b89c48a

sid, i386
  gzip 1.6 /bin/gzip sha1sum 94f779845b70364159730a8e028bda69ab449e2c
  libc6 2.19-17 /lib/i386-linux-gnu/i686/cmov/libc6.so.6 sha1sum
  0ae8ce6fe9e2db486ad11401d9523238e274165a

Both give me

% zcat changelog.gz | gzip -9nc | wc -c
60425

For the completeness, changelog.gz sha1sum
ee576d537cdf4e9ba47c31f9036a4240ddf4869b

Could you check whether checksums match your environment?


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#781603: libssh2-1: changelog.gz is different between i386 and amd64 packages

2015-04-01 Thread Mikhail Gusarov
 Could you check whether checksums match your environment?

No need to:

% echo $GZIP
--rsyncable
%

Whew. For a while I thought I was compromised. Turns out it's envvar
leaked in build environment.
Time to fix it.


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#781603: libssh2-1: changelog.gz is different between i386 and amd64 packages

2015-04-01 Thread Mikhail Gusarov
Hi.

Indeed it is. Is there a existing solution for such problem?

On Tue, 31 Mar 2015, at 15:59, Frédéric Brière wrote:
 Package: libssh2-1
 Version: 1.5.0-2
 Severity: important
 User: multiarch-de...@lists.alioth.debian.org
 Usertags: multiarch
 
 Apparently, the different-gz-across-architectures bug strikes again:
 
   Preparing to unpack libssh2-1_1.5.0-2_i386.deb ...
   Unpacking libssh2-1:i386 (1.5.0-2) over (1.5.0-2) ...
   Preparing to unpack libssh2-1_1.5.0-2_amd64.deb ...
   Unpacking libssh2-1:amd64 (1.5.0-2) over (1.4.3-4.1) ...
   dpkg: error processing archive libssh2-1_1.5.0-2_amd64.deb (--install):
trying to overwrite shared '/usr/share/doc/libssh2-1/changelog.gz',
which is different from other instances of package libssh2-1:amd64
   dpkg: error processing package libssh2-1:i386 (--install):
package libssh2-1:i386 1.5.0-2 cannot be configured because
libssh2-1:amd64 is at a different version (1.4.3-4.1)
   Errors were encountered while processing:
libssh2-1_1.5.0-2_amd64.deb
libssh2-1:i386
 
 Indeed:
 
   $ zdiff */usr/share/doc/libssh2-1/changelog.gz
   $ wc -c */usr/share/doc/libssh2-1/changelog.gz
59923 amd64/usr/share/doc/libssh2-1/changelog.gz
60425 i386/usr/share/doc/libssh2-1/changelog.gz
 
 
 -- System Information:
 Debian Release: 8.0
   APT prefers unstable
   APT policy: (500, 'unstable')
 Architecture: i386 (x86_64)
 Foreign Architectures: amd64
 
 Kernel: Linux 3.16.0-4-amd64 (SMP w/3 CPU cores)
 Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)
 Shell: /bin/sh linked to /bin/dash
 Init: sysvinit (via /sbin/init)


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#781603: libssh2-1: changelog.gz is different between i386 and amd64 packages

2015-04-01 Thread Frédéric Brière
On Wed, Apr 01, 2015 at 10:41:51PM +0200, Mikhail Gusarov wrote:
$ wc -c */usr/share/doc/libssh2-1/changelog.gz
 59923 amd64/usr/share/doc/libssh2-1/changelog.gz
 60425 i386/usr/share/doc/libssh2-1/changelog.gz

The amd64 version is the correct one.

I'm actually unable to reproduce your i386 version; it's almost the same
size as the one obtained by -6N (gzip defaults), but not exactly.

Is gzip behaving normally in your build environment?

  $ zcat changelog.gz | gzip -9nc | wc -c
  59923

In the affirmative, as silly as it sounds, you might want to give the
build another try, and see what happens.  Maybe it's one of those
rebooting makes it okay kinda things.  :)


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#781603: libssh2-1: changelog.gz is different between i386 and amd64 packages

2015-03-31 Thread Frédéric Brière
Package: libssh2-1
Version: 1.5.0-2
Severity: important
User: multiarch-de...@lists.alioth.debian.org
Usertags: multiarch

Apparently, the different-gz-across-architectures bug strikes again:

  Preparing to unpack libssh2-1_1.5.0-2_i386.deb ...
  Unpacking libssh2-1:i386 (1.5.0-2) over (1.5.0-2) ...
  Preparing to unpack libssh2-1_1.5.0-2_amd64.deb ...
  Unpacking libssh2-1:amd64 (1.5.0-2) over (1.4.3-4.1) ...
  dpkg: error processing archive libssh2-1_1.5.0-2_amd64.deb (--install):
   trying to overwrite shared '/usr/share/doc/libssh2-1/changelog.gz', which is 
different from other instances of package libssh2-1:amd64
  dpkg: error processing package libssh2-1:i386 (--install):
   package libssh2-1:i386 1.5.0-2 cannot be configured because libssh2-1:amd64 
is at a different version (1.4.3-4.1)
  Errors were encountered while processing:
   libssh2-1_1.5.0-2_amd64.deb
   libssh2-1:i386

Indeed:

  $ zdiff */usr/share/doc/libssh2-1/changelog.gz
  $ wc -c */usr/share/doc/libssh2-1/changelog.gz
   59923 amd64/usr/share/doc/libssh2-1/changelog.gz
   60425 i386/usr/share/doc/libssh2-1/changelog.gz


-- System Information:
Debian Release: 8.0
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (x86_64)
Foreign Architectures: amd64

Kernel: Linux 3.16.0-4-amd64 (SMP w/3 CPU cores)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org