Bug#879011: diffoscope: zipinfo diff shows warning differences that are due to temporary file names

Mike Hommey mh at glandium.org
Thu Oct 19 06:57:29 UTC 2017


On Wed, Oct 18, 2017 at 09:27:29PM +0900, Mike Hommey wrote:
> Package: diffoscope
> Version: 87
> Severity: normal
> 
> While diffing firefox, zipinfo is run on omni.ja, and issues warnings
> like:
> warning [/tmp/tmplgigxgm__diffoscope/0/24]:  17283883 extra bytes at beginning or within zipfile
> 
> Now, when both ends have the same warning, as expected, the diff still
> shows a difference because of the /tmp/tmp*__diffoscope/0/fd path.

Note these messages are sent to stderr, and I noticed that for readelf,
stderr is not part of the diff. It seems it would make sense to do the
same for zipinfo.

Mike



More information about the Reproducible-builds mailing list