Bug#931039: debhelper: something in the dh sequencer changes the tIME chunk of installed PNGs

2019-06-24 Thread Niels Thykier
Control: reassign -1 dh-strip-nondeterminism

Thorsten Glaser:
> Package: debhelper
> Severity: normal
> 

Hi,

The tool you describe is dh_strip-nondeterminism and I have reassigned
the bug accordingly.

> While comparing builds of musescore -6 and -7 I found unexpected
> changes in the PNG files that are installed, they change the tIME
> chunk to, apparently, the changelog time:
> 
> --- home/tg/Misc/Vendor/musescore/share/wallpaper/paper1.sng
> +++ paper1.sng
> @@ -6,13 +6,13 @@ IHDR {
>  bKGD {red: 255;  green: 255;  blue: 255;}
>  pHYs {xpixels: 3779; ypixels: 3779; per: meter;}  # (96 dpi)
>  tIME {
> -# 10 Nov 2001 20:43:56 GMT
> -year:   2001
> -month:  11
> -day:10
> -hour:   20
> -minute: 43
> -second: 56
> +# 24 Jun 2019 16:07:46 GMT
> +year:   2019
> +month:  6
> +day:24
> +hour:   16
> +minute: 7
> +second: 46
>  }
>  IMAGE {
>  pixels hex
> 
> While I’m sure the reproducible builds people appreciate
> limiting the mtime, raising it is not done otherwise.
> 
> This also has potential to break applications (e.g. that
> rely, in tests or otherwise, on the files).
> 
> [...]


Thanks,
~Niels



Bug#931039: debhelper: something in the dh sequencer changes the tIME chunk of installed PNGs

2019-06-24 Thread Thorsten Glaser
Package: debhelper
Severity: normal

While comparing builds of musescore -6 and -7 I found unexpected
changes in the PNG files that are installed, they change the tIME
chunk to, apparently, the changelog time:

--- home/tg/Misc/Vendor/musescore/share/wallpaper/paper1.sng
+++ paper1.sng
@@ -6,13 +6,13 @@ IHDR {
 bKGD {red: 255;  green: 255;  blue: 255;}
 pHYs {xpixels: 3779; ypixels: 3779; per: meter;}  # (96 dpi)
 tIME {
-# 10 Nov 2001 20:43:56 GMT
-year:   2001
-month:  11
-day:10
-hour:   20
-minute: 43
-second: 56
+# 24 Jun 2019 16:07:46 GMT
+year:   2019
+month:  6
+day:24
+hour:   16
+minute: 7
+second: 46
 }
 IMAGE {
 pixels hex

While I’m sure the reproducible builds people appreciate
limiting the mtime, raising it is not done otherwise.

This also has potential to break applications (e.g. that
rely, in tests or otherwise, on the files).

-- System Information:
Debian Release: 10.0
  APT prefers buildd-unstable
  APT policy: (500, 'buildd-unstable'), (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 4.19.0-5-amd64 (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE=C (charmap=UTF-8)
Shell: /bin/sh linked to /bin/lksh
Init: sysvinit (via /sbin/init)

Versions of packages debhelper depends on:
pn  autotools-dev
pn  dh-autoreconf
pn  dh-strip-nondeterminism  
ii  dpkg 1.19.7
pn  dpkg-dev 
pn  dwz  
ii  file 1:5.35-4
pn  libdpkg-perl 
ii  man-db   2.8.5-2
ii  perl 5.28.1-6
pn  po-debconf   

debhelper recommends no packages.

Versions of packages debhelper suggests:
pn  dh-make