Bug#881937: diffoscope: Doesn't show differences in .deb's control.tar.xz (regression?)

Axel Beckert abe at debian.org
Tue Nov 28 22:13:31 UTC 2017


Ximin Luo wrote:
> Axel Beckert:
> > Even "--fuzzy-threshold 0" to disable any "fuzzy-matching" (whatever
> > that is in the context of diffoscope) didn't make a difference.
> > 
> 
> Actually, the problem is the other way round - control.tar.{gz,xz}
> have different names and the contents aren't similar enough (I guess
> because they are compressed differently).
> 
> If you give --fuzzy-threshold 400 (i.e. >212, as mentioned in your
> log) then it works.

Argh! Didn't notice that little difference (probably by changes in
dpkg defaults) back then. The package given as first parameter was
build quite a while ago, so that explains the (unexpected) difference
(as well as behaviour) quite well.

> In the meantime, I'll work on a fix that "just works" and doesn't
> require the user to pass that flag manually.

I do now see, why this might be unwanted, but IMHO if you expect
difference in the control file's contents, you'd probably also want to
know what the differences are, too, even if there's a different
compression in use and already that alone would make a difference in
the resulting binary

So yes, I'd be happy if even in that (valid case) of different file
compression methods, the difference of the contents would be shown
anyways, too.

So thanks for considering!

		Regards, Axel
-- 
 ,''`.  |  Axel Beckert <abe at debian.org>, https://people.debian.org/~abe/
: :' :  |  Debian Developer, ftp.ch.debian.org Admin
`. `'   |  4096R: 2517 B724 C5F6 CA99 5329  6E61 2FF9 CD59 6126 16B5
  `-    |  1024D: F067 EA27 26B9 C3FC 1486  202E C09E 1D89 9593 0EDE



More information about the Reproducible-builds mailing list