Re: Please test gzip -9n - related to dpkg with multiarch support

2012-02-07 Thread Neil Williams
On Tue, 07 Feb 2012 19:11:16 +0100 Michael Biebl bi...@debian.org wrote: On 07.02.2012 18:07, Joey Hess wrote: Neil Williams wrote: I'd like to ask for some help with a bug which is tripping up my tests with the multiarch-aware dpkg from experimental - #647522 - non-deterministic

Re: Please test gzip -9n - related to dpkg with multiarch support

2012-02-07 Thread Russ Allbery
Neil Williams codeh...@debian.org writes: Maybe the way to solve this properly is to remove compression from the uniqueness check - compare the contents of the file in memory after decompression. Yes, it will take longer but it is only needed when the md5sum (which already exists) doesn't

Re: Please test gzip -9n - related to dpkg with multiarch support

2012-02-07 Thread Ben Hutchings
On Tue, Feb 07, 2012 at 10:04:04PM +, Neil Williams wrote: On Tue, 07 Feb 2012 19:11:16 +0100 Michael Biebl bi...@debian.org wrote: On 07.02.2012 18:07, Joey Hess wrote: Neil Williams wrote: I'd like to ask for some help with a bug which is tripping up my tests with the

Re: Please test gzip -9n - related to dpkg with multiarch support

2012-02-07 Thread Henrique de Moraes Holschuh
On Tue, 07 Feb 2012, Ben Hutchings wrote: But it's worse than this: even if dpkg decompresses before comparing, debsums won't (and mustn't, for backward compatibility). So it's Maybe you can switch to sha256 and add the new functionality while at it? Detect which mode (md5sum raw, sha256