Package: libfile-stripnondeterminism-perl
Version: 0.012-1
Severity: normal

Dear Maintainer,

there seems to be a bug in the png handler of stripnondeterminism,
when run on armhf.
When running dh_strip_nondetermism on a simple PNG file from the xfig
documentation
https://sources.debian.net/data/main/x/xfig/1:3.2.5.c-3/Doc/html/images/symbol-chars-upper.png
I get the following result on armhf:

dh_strip_nondeterminism: ./symbol-chars-upper.png: Negative length at 
/home/roland/perllib/File/StripNondeterminism/handlers/png.pm line 66.

This doesn't happen to all PNG files, but to some of them, I'm not
fully sure, what exactly triggers it.

Since this makes the build of xfig non-reproducible on armhf
https://reproducible.debian.net/rb-pkg/unstable/armhf/xfig.html
I'd be happy if you could fix this.

BTW: This PNG file isn't automatically build, so so there is no need
to strip nondeterminism at all from it...

To test only this problem, I extracted a minimal test code from
dh_strip_nondeterminism, which accepts a PNG file as first parameter.
This test code is attached.

Greetings
Roland

-- System Information:
Debian Release: 8.2
Architecture: armhf (armv7l)

Kernel: Linux 3.16.0-4-armmp (SMP w/1 CPU core)
Locale: LANG=de_DE.utf-8, LC_CTYPE=de_DE.utf-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: systemd (via /run/systemd/system)

Attachment: stripnondettest.pl
Description: Perl program

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

Reply via email to