[Reproducible-builds] Bug#802057: libfile-stripnondeterminism-perl: fails with png file on armhf ("Negative length")

Roland Rosenfeld roland at debian.org
Sat Oct 17 11:37:30 UTC 2015


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)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: stripnondettest.pl
Type: application/x-perl
Size: 251 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/reproducible-builds/attachments/20151017/a12bbc13/attachment.bin>


More information about the Reproducible-builds mailing list