Bug#857975: strip-nondeterminism: endless loop while stripping ar files

2017-03-16 Thread Tobias Stoeckmann
Package: strip-nondeterminism
Version: 0.031-1
Severity: important

It is possible to trigger an endless loop while stripping ar files which
contain an illegal file size.

How to reproduce:

echo H4sICHfpylgCA3Rlc3QuYQBTtEksSs6w49JXQAUGGGwIaWZiA\
qZ1zWAqErgAcKtfFkQ= | base64 -d | gzip -d > loop.a
strip-nondeterminism loop.a

See this patch for a possible solution:

diff --git a/lib/File/StripNondeterminism/handlers/ar.pm 
b/lib/File/StripNondeterminism/handlers/ar.pm
index 660fa8f..a71307a 100644
--- a/lib/File/StripNondeterminism/handlers/ar.pm
+++ b/lib/File/StripNondeterminism/handlers/ar.pm
@@ -67,6 +67,8 @@ sub normalize {
my $file_size = substr($buf, 48, 10);
seek $fh, $file_header_start + 16, SEEK_SET;
 
+   die "Incorrect file size" if $file_size < 1;
+
# mtime
syswrite $fh,
  sprintf("%-12d", $File::StripNondeterminism::canonical_time 
// 0);

___
Reproducible-builds mailing list
Reproducible-builds@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds


Bug#857940: marked as done (diffoscope: FTBFS: test errors)

2017-03-16 Thread Debian Bug Tracking System
Your message dated Thu, 16 Mar 2017 16:33:40 +
with message-id 
and subject line Bug#857940: fixed in diffoscope 80
has caused the Debian Bug report #857940,
regarding diffoscope: FTBFS: test errors
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 ow...@bugs.debian.org
immediately.)


-- 
857940: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=857940
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: diffoscope
Version: 79
Severity: serious

=== FAILURES ===
 test_diff_meta 

differences_meta = []

@skip_unless_tools_exist('img2txt', 'identify')
@skip_unless_tool_is_at_least('identify', identify_version, '6.9.6')
def test_diff_meta(differences_meta):
expected_diff = get_data('ico_image_meta_expected_diff')
>   assert differences_meta[-1].unified_diff == expected_diff
E   assert '@@ -1,9 +1,9... Channels: \n' == '@@ -1,17 +1,1...a: 0.454545\n'
E - @@ -1,9 +1,9 @@
E ?   ^^
E + @@ -1,17 +1,17 @@
E ?   ^^^^
EImage format: ICO
E - -File size: 6.8Ki
E ?   ^ ^
E + -File size: 6.93KB
E ?   ^^ ^
E - +File size: 3.2Ki
E ? ^
E + +File size: 3.27KB
E ?+ ^
E -  Height: 
E +  Height: 100
E ?  +++
E -  Width: 
E +  Width: 100
E ? +++
E -  Orientation: 
E +  Orientation: Undefined
E ?   +
E -  Compression type: 
E +  Compression type: Undefined
E ?+
E -  Compression quality: 
E +  Compression quality: 0
E ?   +
E -  Colorspace: 
E +  Colorspace: sRGB
E ?  
E -  Channels: 
E +  Channels: srgba
E ?+
E + -Depth: 4
E + +Depth: 1
E +  Interlace mode: None
E +  Rendering intent: Perceptual
E +  X resolution: 0
E +  Y resolution: 0
E +  Resolution units: Undefined
E +  Transparency channel enabled: True
E +  Gamma: 0.454545

differences_meta = []
expected_diff = '@@ -1,17 +1,17 @@\n Image format: ICO\n-File size: 
6.93KB\n+File size: 3.27KB\n Height: 100\n Width: 100\n 
Orientatio...resolution: 0\n Y resolution: 0\n Resolution units: Undefined\n 
Transparency channel enabled: True\n Gamma: 0.454545\n'

tests/comparators/test_ico_image.py:58: AssertionError
 test_diff_meta 

differences_meta = []

@skip_unless_tools_exist('img2txt', 'identify')
@skip_unless_tool_is_at_least('identify', identify_version, '6.9.6')
def test_diff_meta(differences_meta):
expected_diff = get_data('jpeg_image_meta_expected_diff')
>   assert differences_meta[-1].unified_diff == expected_diff
E   assert '@@ -1,9 +1,9...EXIF data: \n' == '@@ -1,20 +1,2...EXIF data: \n'
E - @@ -1,9 +1,9 @@
E ?   ^^
E + @@ -1,20 +1,20 @@
E ?   ^^^^
EImage format: JPEG
E - -File size: 662
E + -File size: 662B
E ?+
E - +File size: 627
E + +File size: 627B
E ?+
E -  Height: 
E +  Height: 100
E ?  +++
E -  Width: 
E +  Width: 100
E ? +++
E -  Orientation: 
E +  Orientation: Undefined
E ?   +
E -  Compression type: 
E +  Compression type: JPEG
E ?
E -  Compression quality: 
E ? ^
E + -Compression quality: 90
E ? ^ ++
E + +Compression quality: 95
E -  Colorspace: 
E +  Colorspace: sRGB
E ?  
E -  Channels: 
E +  Channels: srgb
E ?
E - @@ -12,9 +12,9 @@
E +  Depth: 8
E +  Interlace mode: JPEG
E -  Rendering intent: 
E +  Rendering intent: Perceptual
E ?++
E -  X resolution: 
E ? ^
E + -X resolution: 88
E ? ^  ++
E -  Y resolution: 
E ? ^
E + -Y resolution: 88
E ? ^  ++
E + +X resolution: 65
E + +Y resolution: 65
E   

diffoscope_80_amd64.changes ACCEPTED into experimental

2017-03-16 Thread Debian FTP Masters


Accepted:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Format: 1.8
Date: Thu, 16 Mar 2017 17:06:45 +0100
Source: diffoscope
Binary: diffoscope
Architecture: source
Version: 80
Distribution: experimental
Urgency: medium
Maintainer: Reproducible builds folks 

Changed-By: Chris Lamb 
Description:
 diffoscope - in-depth comparison of files, archives, and directories
Closes: 857940
Changes:
 diffoscope (80) experimental; urgency=medium
 .
   * Ensure that we really are using ImageMagick and not, for example, the
 GraphicsMagick compatibility layer installed by
 graphicsmagick-imagemagick-compat. (Closes: #857940)
   * Factor out the unicode decoding of the identify -version output.
   * travis.yml: Don't build tags.
Checksums-Sha1:
 a8a4a56f6667975f4b0a70f33b4b49e889e1a515 2997 diffoscope_80.dsc
 36581c3e2bd013633239339ecfb29655f1fd4f73 355288 diffoscope_80.tar.xz
 2f7d4838f6c895e678496234593ce3c661a96cea 17076 diffoscope_80_amd64.buildinfo
Checksums-Sha256:
 c09b6e35b2b0157f0052f254283dac9f5a3fbc2fe8b97827d94cbe0640521c2b 2997 
diffoscope_80.dsc
 f0f7ff19818f38066c967d61b265dde770fc1c2d2e192e4f2bd401fee999 355288 
diffoscope_80.tar.xz
 8ea3a40a865109f284430b49de4f051ecc5f5c2ec15ef05809f02515dfc1d818 17076 
diffoscope_80_amd64.buildinfo
Files:
 d861e4bda26f4cfe1d4c9154a136526e 2997 devel optional diffoscope_80.dsc
 dcac924507ab8c61790d85b26f46b9ce 355288 devel optional diffoscope_80.tar.xz
 0bfda91dd8c1b44acfe6da050c236cd7 17076 devel optional 
diffoscope_80_amd64.buildinfo

-BEGIN PGP SIGNATURE-

iQIzBAEBCAAdFiEEwv5L0nHBObhsUz5GHpU+J9QxHlgFAljKuZIACgkQHpU+J9Qx
HlihNRAArHqMecPG/q6B56zpaGlZL1cY/UgRml65hVP58UOdgm6xiP/0IlKWm6Yd
azfBdsyX53UaepsUeogpC9sD7zwflzlrdt9eDBCPJZt4UcLatU60Zv1Eo3RjFCxe
8grJInxuQ7TKsZp+ksWzYHQllUPlciKHCv/AmtYGpz/xDhiJsAcau7PfVM3uy2a8
cvHTEjNPhZ5WR6HrGWZLcJ9P0Axzvx28nfFoxiW0+jvoufDGbZ5bf+655g1Y6tID
3g75NfX0sfLa3pwdZX96njlmRhMtaS5tu2JyUj/Lt0SbKAZuJesXMcLV9aUBBl98
HfjZiIxrPt/+j+DLMZQuDZE0pExo4yfz0jgCRERoazg6P5T7B7PQka68RKve0mQQ
wgASz8GfomyyWGO/RBeaphH1b1I9L8WWRZTI6JBZXfJL4E23b6FQrOqycY3rk0Si
1YiXh8is91/PFTBN4xSjArx0cgfRv6YESEaJU0k3PCQJjmfY0OMzp9iuJ5shs5GQ
La4fEe0SPe3ZWptSmGbSmshUON/7N9WnIAHAx5a4SC6Q1II7xHCWeqaZ1zxl4sE0
LamBsissUaQuUHdP0vji3D9OIjnTnYvBN/cSmiFhs2CAdO5/pxBBUZbfGn183CNs
VU3gHf40+h2IzjPu79pCihUETLo0WRWdsabLh+HRkjtJs6vRkkw=
=gqGt
-END PGP SIGNATURE-


Thank you for your contribution to Debian.

___
Reproducible-builds mailing list
Reproducible-builds@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds


Processing of diffoscope_80_amd64.changes

2017-03-16 Thread Debian FTP Masters
diffoscope_80_amd64.changes uploaded successfully to localhost
along with the files:
  diffoscope_80.dsc
  diffoscope_80.tar.xz
  diffoscope_80_amd64.buildinfo

Greetings,

Your Debian queue daemon (running on host usper.debian.org)

___
Reproducible-builds mailing list
Reproducible-builds@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds


Bug#857940: diffoscope: FTBFS: test errors

2017-03-16 Thread Chris Lamb
Mattia Rizzolo wrote:

> The buildds are using the aspcud sbuild resolver for experimental

I'm using mk-build-deps w/--no-install-recommends. It does not get
installed with that (and therefore I did not see the build failures
prior to uploading).

> Anyhow, if a package causes the build to fail it should either be in
> Build-Conflicts{,-Indep,-Arch}, or the package be fixed, imho

I agree, hence d030378 etc.


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-

___
Reproducible-builds mailing list
Reproducible-builds@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds


Processed: Re: diffoscope: FTBFS: test errors

2017-03-16 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

> tags 857940 + pending
Bug #857940 [src:diffoscope] diffoscope: FTBFS: test errors
Added tag(s) pending.
> thanks
Stopping processing here.

Please contact me if you need assistance.
-- 
857940: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=857940
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems

___
Reproducible-builds mailing list
Reproducible-builds@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds


Bug#857940: diffoscope: FTBFS: test errors

2017-03-16 Thread Chris Lamb
tags 857940 + pending
thanks

Fixed in Git:

  
https://anonscm.debian.org/git/reproducible/diffoscope.git/commit/?id=d03037820c34ddd168d6ce5d000e5a5dbcbf4e7f


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-

___
Reproducible-builds mailing list
Reproducible-builds@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds


Bug#857940: diffoscope: FTBFS: test errors

2017-03-16 Thread Mattia Rizzolo
On Thu, Mar 16, 2017 at 03:40:46PM +, Chris Lamb wrote:
> Assuming this is from...
> 
>   
> https://buildd.debian.org/status/fetch.php?pkg=diffoscope&arch=all&ver=79&stamp=1489658432&raw=0

yes.

> ... it appears to be caused by "graphicsmagick-imagemagick-compat"
> package being installed. With this package installed locally I can
> reproduce the test failures.

umh

> (Perhaps the/this experimental:all buildd is installing packages
> with Recommends, or a different APT pinning, or...?)

The buildds are using the aspcud sbuild resolver for experimental, this
might have something to do with that.
Anyhow, if a package causes the build to fail it should either be in
Build-Conflicts{,-Indep,-Arch}, or the package be fixed, imho (besides,
this is the same argument we brought to add those Build-Conflicts with
package failing to build with a buggy locales-all two years ago…).

-- 
regards,
Mattia Rizzolo

GPG Key: 66AE 2B4A FCCF 3F52 DA18  4D18 4B04 3FCD B944 4540  .''`.
more about me:  https://mapreri.org : :'  :
Launchpad user: https://launchpad.net/~mapreri  `. `'`
Debian QA page: https://qa.debian.org/developer.php?login=mattia  `-


signature.asc
Description: PGP signature
___
Reproducible-builds mailing list
Reproducible-builds@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds

Bug#857940: diffoscope: FTBFS: test errors

2017-03-16 Thread Chris Lamb
Hi Mattia,

> […]

Assuming this is from...

  
https://buildd.debian.org/status/fetch.php?pkg=diffoscope&arch=all&ver=79&stamp=1489658432&raw=0

... it appears to be caused by "graphicsmagick-imagemagick-compat"
package being installed. With this package installed locally I can
reproduce the test failures.

I don't yet know why it is being installed at all; it isn't when
installing all the build-dependencies on my machine, even under
experimental.

Nor is it being installed on tests.reproducible.org or we would
naturally have all seen this prior to upload. Indeed, we should
have seen it whenever we first pushed to experimental weeks ago;
there have been no code changes to the ICO or JPEG handler.

(Perhaps the/this experimental:all buildd is installing packages
with Recommends, or a different APT pinning, or...?)


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-

___
Reproducible-builds mailing list
Reproducible-builds@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds

Bug#857944: marked as done (diffoscope: release 79 has a python version of VERSION = "78")

2017-03-16 Thread Debian Bug Tracking System
Your message dated Thu, 16 Mar 2017 14:46:29 +
with message-id <20170316144629.gd31...@layer-acht.org>
and subject line Re: Bug#857944: diffoscope: release 79 has a python version of 
VERSION = "78"
has caused the Debian Bug report #857944,
regarding diffoscope: release 79 has a python version of VERSION = "78"
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 ow...@bugs.debian.org
immediately.)


-- 
857944: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=857944
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: diffoscope
Version: 79
Severity: normal

hi,

 so the current release 79 has a python version of VERSION = "78" :P


-- 
cheers,
Holger


signature.asc
Description: Digital signature
--- End Message ---
--- Begin Message ---
closing because

 | mapreri: h01ger: so as mentioned: the release is indeed 79, i 
checked master instead of experimental


-- 
cheers,
Holger


signature.asc
Description: Digital signature
--- End Message ---
___
Reproducible-builds mailing list
Reproducible-builds@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds

Bug#857944: diffoscope: release 79 has a python version of VERSION = "78"

2017-03-16 Thread Holger Levsen
Package: diffoscope
Version: 79
Severity: normal

hi,

 so the current release 79 has a python version of VERSION = "78" :P


-- 
cheers,
Holger


signature.asc
Description: Digital signature
___
Reproducible-builds mailing list
Reproducible-builds@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds

Bug#857940: diffoscope: FTBFS: test errors

2017-03-16 Thread Mattia Rizzolo
Source: diffoscope
Version: 79
Severity: serious

=== FAILURES ===
 test_diff_meta 

differences_meta = []

@skip_unless_tools_exist('img2txt', 'identify')
@skip_unless_tool_is_at_least('identify', identify_version, '6.9.6')
def test_diff_meta(differences_meta):
expected_diff = get_data('ico_image_meta_expected_diff')
>   assert differences_meta[-1].unified_diff == expected_diff
E   assert '@@ -1,9 +1,9... Channels: \n' == '@@ -1,17 +1,1...a: 0.454545\n'
E - @@ -1,9 +1,9 @@
E ?   ^^
E + @@ -1,17 +1,17 @@
E ?   ^^^^
EImage format: ICO
E - -File size: 6.8Ki
E ?   ^ ^
E + -File size: 6.93KB
E ?   ^^ ^
E - +File size: 3.2Ki
E ? ^
E + +File size: 3.27KB
E ?+ ^
E -  Height: 
E +  Height: 100
E ?  +++
E -  Width: 
E +  Width: 100
E ? +++
E -  Orientation: 
E +  Orientation: Undefined
E ?   +
E -  Compression type: 
E +  Compression type: Undefined
E ?+
E -  Compression quality: 
E +  Compression quality: 0
E ?   +
E -  Colorspace: 
E +  Colorspace: sRGB
E ?  
E -  Channels: 
E +  Channels: srgba
E ?+
E + -Depth: 4
E + +Depth: 1
E +  Interlace mode: None
E +  Rendering intent: Perceptual
E +  X resolution: 0
E +  Y resolution: 0
E +  Resolution units: Undefined
E +  Transparency channel enabled: True
E +  Gamma: 0.454545

differences_meta = []
expected_diff = '@@ -1,17 +1,17 @@\n Image format: ICO\n-File size: 
6.93KB\n+File size: 3.27KB\n Height: 100\n Width: 100\n 
Orientatio...resolution: 0\n Y resolution: 0\n Resolution units: Undefined\n 
Transparency channel enabled: True\n Gamma: 0.454545\n'

tests/comparators/test_ico_image.py:58: AssertionError
 test_diff_meta 

differences_meta = []

@skip_unless_tools_exist('img2txt', 'identify')
@skip_unless_tool_is_at_least('identify', identify_version, '6.9.6')
def test_diff_meta(differences_meta):
expected_diff = get_data('jpeg_image_meta_expected_diff')
>   assert differences_meta[-1].unified_diff == expected_diff
E   assert '@@ -1,9 +1,9...EXIF data: \n' == '@@ -1,20 +1,2...EXIF data: \n'
E - @@ -1,9 +1,9 @@
E ?   ^^
E + @@ -1,20 +1,20 @@
E ?   ^^^^
EImage format: JPEG
E - -File size: 662
E + -File size: 662B
E ?+
E - +File size: 627
E + +File size: 627B
E ?+
E -  Height: 
E +  Height: 100
E ?  +++
E -  Width: 
E +  Width: 100
E ? +++
E -  Orientation: 
E +  Orientation: Undefined
E ?   +
E -  Compression type: 
E +  Compression type: JPEG
E ?
E -  Compression quality: 
E ? ^
E + -Compression quality: 90
E ? ^ ++
E + +Compression quality: 95
E -  Colorspace: 
E +  Colorspace: sRGB
E ?  
E -  Channels: 
E +  Channels: srgb
E ?
E - @@ -12,9 +12,9 @@
E +  Depth: 8
E +  Interlace mode: JPEG
E -  Rendering intent: 
E +  Rendering intent: Perceptual
E ?++
E -  X resolution: 
E ? ^
E + -X resolution: 88
E ? ^  ++
E -  Y resolution: 
E ? ^
E + -Y resolution: 88
E ? ^  ++
E + +X resolution: 65
E + +Y resolution: 65
E -  Resolution units: 
E +  Resolution units: PixelsPerInch
E ?+
E -  Transparency channel enabled: false
E ?^
E +  Transparency channel enabled: False
E ?^
E -  Gamma: 
E +  Gamma: 0.454545
E -  Number of unique colors: 
E +  Number of unique colors: 1
E ?   +
E   -Comment: Comment #1
E   +Comment: Comment #2
EEXIF data:

differences_meta = []
expected_diff = '@@ -1,20 +1,20 @@\n Image format: JPEG\n-File size: 
662B\n+File size: 627B\n Height: 100\n Width: 100\n Orientation: ...bled: 
False\n Gamma: 0.454545\n Number of unique colors: 1\n-Comment:

Bug#857610: marked as done (diffoscope: dump GIF images to text using gifbuild (or giftext))

2017-03-16 Thread Debian Bug Tracking System
Your message dated Thu, 16 Mar 2017 09:18:59 +
with message-id 
and subject line Bug#857610: fixed in diffoscope 79
has caused the Debian Bug report #857610,
regarding diffoscope: dump GIF images to text using gifbuild (or giftext)
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 ow...@bugs.debian.org
immediately.)


-- 
857610: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=857610
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: diffoscope
Severity: wishlist

I noticed that gifbuild can dump GIF images to text.
It might be interesting to use gifbuild in a similar
way to how sng is used to dump PNG images to text.
The giftext tool can also dump GIFs images to text.
Both of these tools are from the giflib-tools package.

Here is an example of a small gif image:

$ gifbuild -d dep.gif 
#
# GIF information from dep.gif
screen width 16
screen height 16
screen colors 128
screen background 0
pixel aspect byte 0

screen map
sort flag off
rgb 006 002 004
rgb 154 142 132
rgb 118 006 004
rgb 098 086 084
rgb 066 002 004
rgb 122 114 108
rgb 214 210 196
rgb 166 006 004
rgb 050 038 036
rgb 202 046 044
rgb 058 002 004
rgb 194 022 020
rgb 026 014 012
rgb 238 238 220
rgb 182 010 004
rgb 018 002 004
rgb 234 178 180
rgb 098 006 004
rgb 082 002 004
rgb 206 074 076
rgb 226 146 148
rgb 242 210 212
rgb 250 250 236
rgb 190 010 004
rgb 014 002 004
rgb 170 014 012
rgb 018 010 012
rgb 174 166 156
rgb 106 098 092
rgb 074 002 004
rgb 134 122 116
rgb 230 226 212
rgb 178 006 004
rgb 190 030 028
rgb 026 002 004
rgb 206 198 188
rgb 090 002 004
rgb 222 122 124
rgb 254 250 252
rgb 194 014 012
rgb 010 002 004
rgb 158 146 140
rgb 070 002 004
rgb 126 114 108
rgb 222 218 204
rgb 170 006 004
rgb 054 042 044
rgb 206 062 060
rgb 034 022 020
rgb 194 026 028
rgb 026 018 012
rgb 246 246 228
rgb 186 010 004
rgb 022 002 004
rgb 234 182 180
rgb 114 006 004
rgb 086 002 004
rgb 210 090 092
rgb 230 166 164
rgb 246 222 220
rgb 254 254 236
rgb 190 010 012
rgb 014 006 004
rgb 110 098 092
rgb 000 000 000
rgb 000 000 000
rgb 000 000 000
rgb 000 000 000
rgb 000 000 000
rgb 000 000 000
rgb 000 000 000
rgb 000 000 000
rgb 000 000 000
rgb 000 000 000
rgb 000 000 000
rgb 000 000 000
rgb 000 000 000
rgb 000 000 000
rgb 000 000 000
rgb 000 000 000
rgb 000 000 000
rgb 000 000 000
rgb 000 000 000
rgb 000 000 000
rgb 000 000 000
rgb 000 000 000
rgb 000 000 000
rgb 000 000 000
rgb 000 000 000
rgb 000 000 000
rgb 000 000 000
rgb 000 000 000
rgb 000 000 000
rgb 000 000 000
rgb 000 000 000
rgb 000 000 000
rgb 000 000 000
rgb 000 000 000
rgb 000 000 000
rgb 000 000 000
rgb 000 000 000
rgb 000 000 000
rgb 000 000 000
rgb 000 000 000
rgb 000 000 000
rgb 000 000 000
rgb 000 000 000
rgb 000 000 000
rgb 000 000 000
rgb 000 000 000
rgb 000 000 000
rgb 000 000 000
rgb 000 000 000
rgb 000 000 000
rgb 000 000 000
rgb 000 000 000
rgb 000 000 000
rgb 000 000 000
rgb 000 000 000
rgb 000 000 000
rgb 000 000 000
rgb 000 000 000
rgb 000 000 000
rgb 000 000 000
rgb 000 000 000
rgb 000 000 000
rgb 000 000 000
rgb 000 000 000
rgb 000 000 000
rgb 000 000 000
rgb 000 000 000
rgb 000 000 000
rgb 000 000 000
rgb 000 000 000
rgb 000 000 000
rgb 000 000 000
rgb 000 000 000
rgb 000 000 000
rgb 000 000 000
rgb 000 000 000
rgb 000 000 000
rgb 000 000 000
rgb 000 000 000
rgb 000 000 000
rgb 000 000 000
rgb 000 000 000
rgb 000 000 000
rgb 000 000 000
rgb 000 000 000
rgb 000 000 000
rgb 000 000 000
rgb 000 000 00

Bug#856446: marked as done (diffoscope: test_cbfs::test_listing fails due to unexpected header in output)

2017-03-16 Thread Debian Bug Tracking System
Your message dated Thu, 16 Mar 2017 09:18:59 +
with message-id 
and subject line Bug#856446: fixed in diffoscope 79
has caused the Debian Bug report #856446,
regarding diffoscope: test_cbfs::test_listing fails due to unexpected header in 
output
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 ow...@bugs.debian.org
immediately.)


-- 
856446: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=856446
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: diffoscope
Version: 48

Hi,

I'm trying to package diffoscope for Fedora and the tests listed
in $subject are failing. Seems to be some timezone issue:

= FAILURES 
==
_ test_differences 
__

differences = [, ]>]>]

@pytest.mark.skipif(not guestfs_working(), reason='guestfs not working on 
the system')
@pytest.mark.skipif(tool_missing('qemu-img'), reason='missing qemu-img')
@pytest.mark.skipif(miss_guestfs, reason='guestfs is missing')
def test_differences(differences):
assert differences[0].source1 == 'test1.ext4.tar'
tarinfo = differences[0].details[0]
tardiff = differences[0].details[1]
encodingdiff = tardiff.details[0]
assert tarinfo.source1 == 'file list'
assert tarinfo.source2 == 'file list'
assert tardiff.source1 == './date.txt'
assert tardiff.source2 == './date.txt'
assert encodingdiff.source1 == 'encoding'
assert encodingdiff.source2 == 'encoding'
expected_diff = open(os.path.join(os.path.dirname(__file__), 
'../data/ext4_expected_diffs'), encoding='utf-8').read()
found_diff = tarinfo.unified_diff + tardiff.unified_diff + 
encodingdiff.unified_diff
>   assert expected_diff == found_diff
E   assert '@@ -1,3 +1,3...cii\n+utf-8\n' == '@@ -1,3 +1,3 ...cii\n+utf-8\n'
E   @@ -1,3 +1,3 @@
E - -drwxr-xr-x   0000 2015-12-02 
16:01:40.00 ./
E - +drwxr-xr-x   0000 2015-12-02 
16:03:11.00 ./
E -  drwx--   0000 2015-12-02 
16:00:55.00 ./lost+found/
E + -drwxr-xr-x   0 root (0) root (0)0 
2015-12-02 16:01:40.00 ./
E + +drwxr-xr-x   0 root (0) root (0)0 
2015-12-02 16:03:11.00 ./
E +  drwx--   0 root (0) root (0)0 
2015-12-02 16:00:55.00 ./lost+found/
E   --rw-rw-rw-   0 1234 1234   28 2015-12-02 
16:01:40.00 ./date.txt
E   +-r--r--r--   0 4321 4321   44 2015-12-02 
16:03:11.00 ./date.txt
E   @@ -1 +1 @@
E   -Wed Dec 2 17:01:40 CET 2015
E   +jeudi 3 décembre 2015, 06:03:11 (UTC+1400)
E   @@ -1 +1 @@
E   -us-ascii
E   +utf-8

tests/comparators/test_fsimage.py:85: AssertionError
___ test_metadata 
___

differences = [, ]

def test_metadata(differences):
assert differences[0].source1 == 'metadata'
assert differences[0].source2 == 'metadata'
expected_diff = open(os.path.join(os.path.dirname(__file__), 
'../data/gzip_metadata_expected_diff')).read()
>   assert differences[0].unified_diff == expected_diff
E   assert '@@ -1 +1 @@\..., from Unix\n' == '@@ -1 +1 @@\n..., from Unix\n'
E   @@ -1 +1 @@
E - -gzip compressed data, last modified: Tue Jun 23 06:12:28 2015, max 
compression, from Unix
E ?   -
E + -gzip compressed data, last modified: Tue Jun 23 10:12:28 2015, max 
compression, from Unix
E ?  +
E - +gzip compressed data, last modified: Tue Jun 23 06:12:28 2015, 
from Unix
E ?   -
E + +gzip compressed data, last modified: Tue Jun 23 10:12:28 2015, 
from Unix
E ?  +

tests/comparators/test_gzip.py:54: AssertionError
___ test_metadata 
___

differences = [, , ]>]>]>]

def test_metadata(differences):
assert differences[0].source1 == 'metadata'
expected_diff = open(os.path.join(os.path.dirname(__file__), 
'../data/ipk_metadata_expected_diff')).read()
>   assert differences[0].unified_diff == expected_diff
E 

Bug#856447: marked as done (diffoscope: test_icc::test_diff fails due to locale difference in output)

2017-03-16 Thread Debian Bug Tracking System
Your message dated Thu, 16 Mar 2017 09:18:59 +
with message-id 
and subject line Bug#856447: fixed in diffoscope 79
has caused the Debian Bug report #856447,
regarding diffoscope: test_icc::test_diff fails due to locale difference in 
output
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 ow...@bugs.debian.org
immediately.)


-- 
856447: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=856447
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: diffoscope
Version: 48

Hi,

I'm trying to package diffoscope for Fedora and the tests listed
in $subject are failing. Seems to be some timezone issue:

= FAILURES 
==
_ test_differences 
__

differences = [, ]>]>]

@pytest.mark.skipif(not guestfs_working(), reason='guestfs not working on 
the system')
@pytest.mark.skipif(tool_missing('qemu-img'), reason='missing qemu-img')
@pytest.mark.skipif(miss_guestfs, reason='guestfs is missing')
def test_differences(differences):
assert differences[0].source1 == 'test1.ext4.tar'
tarinfo = differences[0].details[0]
tardiff = differences[0].details[1]
encodingdiff = tardiff.details[0]
assert tarinfo.source1 == 'file list'
assert tarinfo.source2 == 'file list'
assert tardiff.source1 == './date.txt'
assert tardiff.source2 == './date.txt'
assert encodingdiff.source1 == 'encoding'
assert encodingdiff.source2 == 'encoding'
expected_diff = open(os.path.join(os.path.dirname(__file__), 
'../data/ext4_expected_diffs'), encoding='utf-8').read()
found_diff = tarinfo.unified_diff + tardiff.unified_diff + 
encodingdiff.unified_diff
>   assert expected_diff == found_diff
E   assert '@@ -1,3 +1,3...cii\n+utf-8\n' == '@@ -1,3 +1,3 ...cii\n+utf-8\n'
E   @@ -1,3 +1,3 @@
E - -drwxr-xr-x   0000 2015-12-02 
16:01:40.00 ./
E - +drwxr-xr-x   0000 2015-12-02 
16:03:11.00 ./
E -  drwx--   0000 2015-12-02 
16:00:55.00 ./lost+found/
E + -drwxr-xr-x   0 root (0) root (0)0 
2015-12-02 16:01:40.00 ./
E + +drwxr-xr-x   0 root (0) root (0)0 
2015-12-02 16:03:11.00 ./
E +  drwx--   0 root (0) root (0)0 
2015-12-02 16:00:55.00 ./lost+found/
E   --rw-rw-rw-   0 1234 1234   28 2015-12-02 
16:01:40.00 ./date.txt
E   +-r--r--r--   0 4321 4321   44 2015-12-02 
16:03:11.00 ./date.txt
E   @@ -1 +1 @@
E   -Wed Dec 2 17:01:40 CET 2015
E   +jeudi 3 décembre 2015, 06:03:11 (UTC+1400)
E   @@ -1 +1 @@
E   -us-ascii
E   +utf-8

tests/comparators/test_fsimage.py:85: AssertionError
___ test_metadata 
___

differences = [, ]

def test_metadata(differences):
assert differences[0].source1 == 'metadata'
assert differences[0].source2 == 'metadata'
expected_diff = open(os.path.join(os.path.dirname(__file__), 
'../data/gzip_metadata_expected_diff')).read()
>   assert differences[0].unified_diff == expected_diff
E   assert '@@ -1 +1 @@\..., from Unix\n' == '@@ -1 +1 @@\n..., from Unix\n'
E   @@ -1 +1 @@
E - -gzip compressed data, last modified: Tue Jun 23 06:12:28 2015, max 
compression, from Unix
E ?   -
E + -gzip compressed data, last modified: Tue Jun 23 10:12:28 2015, max 
compression, from Unix
E ?  +
E - +gzip compressed data, last modified: Tue Jun 23 06:12:28 2015, 
from Unix
E ?   -
E + +gzip compressed data, last modified: Tue Jun 23 10:12:28 2015, 
from Unix
E ?  +

tests/comparators/test_gzip.py:54: AssertionError
___ test_metadata 
___

differences = [, , ]>]>]>]

def test_metadata(differences):
assert differences[0].source1 == 'metadata'
expected_diff = open(os.path.join(os.path.dirname(__file__), 
'../data/ipk_metadata_expected_diff')).read()
>   assert differences[0].unified_diff == expected_diff
E 

Bug#850758: marked as done (diffoscope: redundant undecoded AndroidManifest.xml (Binary XML) comparison in APK comparator)

2017-03-16 Thread Debian Bug Tracking System
Your message dated Thu, 16 Mar 2017 09:18:59 +
with message-id 
and subject line Bug#850758: fixed in diffoscope 79
has caused the Debian Bug report #850758,
regarding diffoscope: redundant undecoded AndroidManifest.xml (Binary XML) 
comparison in APK comparator
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 ow...@bugs.debian.org
immediately.)


-- 
850758: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=850758
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: diffoscope
Version: 67
Severity: normal

Dear Maintainer,

The result of comparing AndroidManifest.xml (Binary XML) file from APK file in 
apk.py comparator is shown twice, 
first, as AndroidManifest.xml (XML file decoded from original file by apktool)
second, as original/AndroidManifest.xml (the original undecoded binary file)

fix:
1. if there is a difference in decoded AndroidManifest.xml file, remove 
the original/AndroidManifest.xml.
   if there is no difference in AndroidManifest.xml but 
original/AndroidManifest.xml differ, show "No file format specific differences 
found inside, yet data differs" message (which shown by diffoscope in similar 
scenarios [when tool failed to find differences])

2. it will be better to indicate the AndroidManifest.xml type, such as 
for example:
show AndroidManifest.xml  as "AndroidManifest.xml 
(decoded)"
show original/AndroidManifest.xml as "AndroidManifest.xml 
(original / undecoded)"

examples:

https://verification.f-droid.org/org.opengemara.shiurim_2.apk.diffoscope.html

https://verification.f-droid.org/org.systemcall.scores_2.apk.diffoscope.html

TXT result example:

├── AndroidManifest.xml
@@ -1,9 +1,9 @@
│  
│  End Message ---
--- Begin Message ---
Source: diffoscope
Source-Version: 79

We believe that the bug you reported is fixed in the latest version of
diffoscope, 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 850...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Chris Lamb  (supplier of updated diffoscope 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 ftpmas...@ftp-master.debian.org)


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Format: 1.8
Date: Thu, 16 Mar 2017 09:38:16 +0100
Source: diffoscope
Binary: diffoscope
Architecture: source
Version: 79
Distribution: experimental
Urgency: medium
Maintainer: Reproducible builds folks 

Changed-By: Chris Lamb 
Description:
 diffoscope - in-depth comparison of files, archives, and directories
Closes: 850758 856446 856447 857610
Changes:
 diffoscope (79) experimental; urgency=medium
 .
   [ Chris Lamb ]
   * Extract SquashFS images in one go rather than per-file, speeding up (eg.)
 Tails ISO comparison by ~10x.
   * Support newer versions of cbfstool to avoid test failures.
 (Closes: #856446)
   * Skip icc test that varies on endian if the Debian-specific patch is not
 present. (Closes: #856447)
   * Compare GIF images using gifbuild. (Closes: #857610)
   * Also interpret "DOS/MBR boot sector" files as ISO images as they may have
 been processed by isohybrid.
   * Progress bar:
 - Hide bar if we are running with --debug mode.
 - Update prior to working on an item so the displayed filename is correct.
 .
   [ Maria Glukhova ]
   * Improve AndroidManifest.xml comparison for APK files.
 - Indicate the AndroidManifest.xml type. (Closes: #850758)
Checksums-Sha1:
 496feb215d728030e2fa59f2fac3b208a9a16db8 2997 diffoscope_79.dsc
 d8d840bf0aeda8568a0edf27ac4e3653eb58e7db 355184 diffoscope_79.tar.xz
 fcbd3d8359b293f85c3cd51a23113b5e210a 17076 diffoscope_79_amd64.buildinfo
Checksums-Sha256:
 6d45b881a6769f389a8035cad5f3a7f0b35520661cd9c4b11fc0d7a60d8157cb 2997 
diffoscope_79.dsc
 66f22b45b2186e83532a3271b07b783dcf68d69e4140420935c6925c4a92a11d 355184 
diffoscope_79.tar.xz
 4979216727fd8d538a2b877cbfa6fd5f8df7e3860739a6902492bd3fbbdf6f86 17076 
diffoscope_79_amd64.buildinfo
Files:
 82c74d4cccb1caa650f1666a8c04c3aa 2997 devel optional diffoscope_79.dsc
 88fb8d44784783ea46b115b89a93f162 355184 devel optional diffoscope_79.tar.xz
 0d100c2a8c845473f387ed458795634c 17076 devel optional 
diffoscope_79_amd64.buildinfo

-BEGIN PGP SIGNATURE-

iQIzBAEBCAAdFiEEwv5L

diffoscope_79_amd64.changes ACCEPTED into experimental

2017-03-16 Thread Debian FTP Masters


Accepted:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Format: 1.8
Date: Thu, 16 Mar 2017 09:38:16 +0100
Source: diffoscope
Binary: diffoscope
Architecture: source
Version: 79
Distribution: experimental
Urgency: medium
Maintainer: Reproducible builds folks 

Changed-By: Chris Lamb 
Description:
 diffoscope - in-depth comparison of files, archives, and directories
Closes: 850758 856446 856447 857610
Changes:
 diffoscope (79) experimental; urgency=medium
 .
   [ Chris Lamb ]
   * Extract SquashFS images in one go rather than per-file, speeding up (eg.)
 Tails ISO comparison by ~10x.
   * Support newer versions of cbfstool to avoid test failures.
 (Closes: #856446)
   * Skip icc test that varies on endian if the Debian-specific patch is not
 present. (Closes: #856447)
   * Compare GIF images using gifbuild. (Closes: #857610)
   * Also interpret "DOS/MBR boot sector" files as ISO images as they may have
 been processed by isohybrid.
   * Progress bar:
 - Hide bar if we are running with --debug mode.
 - Update prior to working on an item so the displayed filename is correct.
 .
   [ Maria Glukhova ]
   * Improve AndroidManifest.xml comparison for APK files.
 - Indicate the AndroidManifest.xml type. (Closes: #850758)
Checksums-Sha1:
 496feb215d728030e2fa59f2fac3b208a9a16db8 2997 diffoscope_79.dsc
 d8d840bf0aeda8568a0edf27ac4e3653eb58e7db 355184 diffoscope_79.tar.xz
 fcbd3d8359b293f85c3cd51a23113b5e210a 17076 diffoscope_79_amd64.buildinfo
Checksums-Sha256:
 6d45b881a6769f389a8035cad5f3a7f0b35520661cd9c4b11fc0d7a60d8157cb 2997 
diffoscope_79.dsc
 66f22b45b2186e83532a3271b07b783dcf68d69e4140420935c6925c4a92a11d 355184 
diffoscope_79.tar.xz
 4979216727fd8d538a2b877cbfa6fd5f8df7e3860739a6902492bd3fbbdf6f86 17076 
diffoscope_79_amd64.buildinfo
Files:
 82c74d4cccb1caa650f1666a8c04c3aa 2997 devel optional diffoscope_79.dsc
 88fb8d44784783ea46b115b89a93f162 355184 devel optional diffoscope_79.tar.xz
 0d100c2a8c845473f387ed458795634c 17076 devel optional 
diffoscope_79_amd64.buildinfo

-BEGIN PGP SIGNATURE-

iQIzBAEBCAAdFiEEwv5L0nHBObhsUz5GHpU+J9QxHlgFAljKU3YACgkQHpU+J9Qx
HlgtLRAAkiAY0JtDHAe2YATK7gUfZYGf8TF+iYDAx3rp5TW+pIEZCQRTuNbPoH0k
WyBpd3KA7wpnX3jpl0lp+XgzY7ZVhXhEjE5kDwII1ZZd7bacS1n3E85Rf36pPfD+
5ZVTFx0oVkWN3/GG2lq2kZaiDthnfhh3hEvKWKtn2miWxPoIkWPkbt2mko9eSOUn
/92Ps8rQnBvuhY+0idFQzY1RCz59Q+rQBqySZqA36/0cWruY/Dt2fVR+5HeH157/
YVVxAmpSKwM1mJPEWTR0sCbb79dNSFLW/acK03MqQNTKHrpLPfzD9q9dwfS1HImL
grf3Zm2OPjMRy02nAZgccn7sLTsPba7bt6nbP6T1Og0P7aQdrDrwZgsR2Z1zM9dS
JxSGgkYh6Iadry4zVX3hUdnS8EMdR9dskm4NxQr42IvKJ2ntgZD/nTaEgkNCkj7D
vTJJk/JVTWkYIzVYtvW0AARuGOePZ8Bb3Qadwuj47J7O4L6Zi52sIjZotzkelFSq
q63I8dn6iS3v8zU20XDnJ0lst2jGG8zUi8Iz/2KgQUlgS8+nmCLO+QyNUe4dK/UB
wT/Fm843IksTZvBIms+esXOQ5aIH9dBbXLZH3ea1imKC2Uke2q6hNAMre1oj0iSn
pu0WaXmzlTgKTwc6+1xHAxG+EXFUUcpmJ9if2yKBfifjd1cwYgg=
=Y7Hn
-END PGP SIGNATURE-


Thank you for your contribution to Debian.

___
Reproducible-builds mailing list
Reproducible-builds@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds


Processing of diffoscope_79_amd64.changes

2017-03-16 Thread Debian FTP Masters
diffoscope_79_amd64.changes uploaded successfully to localhost
along with the files:
  diffoscope_79.dsc
  diffoscope_79.tar.xz
  diffoscope_79_amd64.buildinfo

Greetings,

Your Debian queue daemon (running on host usper.debian.org)

___
Reproducible-builds mailing list
Reproducible-builds@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds