Re: FYI: WITH_REPRODUCIBLE_BUILD= problem for some files?

From: Ed Maste <>
Date: Tue, 4 May 2021 12:55:52 -0400
On Tue, 4 May 2021 at 11:52, Mark Millard <> wrote:
> > As far as the utf-8 issues go, diffoscope requires a utf-8 locale and
> > I suspect that is the issue. If you don't have LANG set already, try
> > setting LANG=C.UTF-8 in your environment.
> That is not the issue for the UnicodeDecodeError:
> # echo $LANG
> C.UTF-8
> # diffoscope /.zfs/snapshot/2021-04-*-01:40:48-0/bin/sh
> [...]
> $<3/>2021-05-04 08:49:21 W: diffoscope.main: Fuzzy-matching is currently disabled as the "tlsh" module is unavailable.
> UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb7 in position 18: invalid start byte

Hmm, interesting - if you don't mind sharing I'd be interested in a
copy of /.zfs/snapshot/2021-04-*-01:40:48-0/bin/sh, in order to track
down what appears to be a diffoscope issue.

To investigate the non-reproducibility though we can just manually run
through the same sort of process that Diffoscope uses. I would suggest
cmp -x <file1> <file2> to find the offsets of the difference(s), then
use readelf -S <file> to determine which section(s) have differences.
Received on Tue May 04 2021 - 14:56:49 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:28 UTC