Subject: diffoscope: wrongly reports "No differences found inside, yet data 
differs"
Package: diffoscope
Version: 51
Severity: normal

Dear Maintainer,

when comparing two initramfs images [1,2], diffoscope reports:
[1] http://in.waw.pl/~zbyszek/diffoscope/initramfs-4.5.0-302.fc24.x86_64.img
[2] http://in.waw.pl/~zbyszek/diffoscope/initrd

$ diffoscope initrd initramfs-4.5.0-302.fc24.x86_64.img
--- initrd
+++ initramfs-4.5.0-302.fc24.x86_64.img
│┄ No differences found inside, yet data differs
│ @@ -99993,8 +99993,8 @@
│  00186980: 9f3b 9832 2c2d 928f 22a1 0518 4c44 9e04  .;.2,-.."...LD..
│  00186990: 6e15 ca38 8218 fbd3 f8ed 1150 021f 3d72  n..8.......P..=r
│  001869a0: 8043 a230 7d49 a55f a840 40d7 9242 4da1  .C.0}I._.@@..BM.
│  001869b0: dc08 8470 3e05 bdcc a6c4 980d d084 cf2e  ...p>...........
│  001869c0: e951 5086 f574 94c6 74c6 b2c8 5ffa 31d2  .QP..t..t..._.1.
│  001869d0: 941e 42e6 81a7 a945 aae3 e639 ac96 a81e  ..B....E...9....
│  001869e0: 8335 0705 238e cc20 11a0 219b 4300 d00a  .5..#.. ..!.C...
│ -[ Too much input for diff (SHA1: 3df03b52054657ed2022f06be8d8e0eedac8a4fa) ]
│ +[ Too much input for diff (SHA1: e691a25646c1427ec8471a0e73584399ac69e929) ]

but in fact there's a difference and it can be found manually:
$ cat initramfs-4.5.0-302.fc24.x86_64.img| (mkdir a; cd a; cpio -i; zcat|cpio 
-i)
$ cat initrd | (mkdir b; cd b; cpio -i; zcat|cpio -i)
$ diff -u -r a b
diff -u -r a/lib/dracut/build-parameter.txt b/lib/dracut/build-parameter.txt
--- a/lib/dracut/build-parameter.txt    2016-04-10 15:52:12.243191083 -0400
+++ b/lib/dracut/build-parameter.txt    2016-04-10 15:52:22.350662307 -0400
@@ -1 +1 @@
--f
+
diff -u -r a/usr/lib/dracut/build-parameter.txt 
b/usr/lib/dracut/build-parameter.txt
--- a/usr/lib/dracut/build-parameter.txt        2016-04-10 15:52:12.243191083 
-0400
+++ b/usr/lib/dracut/build-parameter.txt        2016-04-10 15:52:22.350662307 
-0400
@@ -1 +1 @@
--f
+

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable'), (500, 'oldstable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.3.3-303.fc23.x86_64 (SMP w/12 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages diffoscope depends on:
ii  python3-libarchive-c   2.1-3
ii  python3-magic          1:5.25-2
ii  python3-pkg-resources  20.3.1-1
pn  python3:any            <none>

Versions of packages diffoscope recommends:
ii  acl                        2.2.52-3
ii  binutils-multiarch         2.26-8
ii  bzip2                      1.0.6-8
ii  caca-utils                 0.99.beta19-2+b1
ii  colord                     1.2.12-1
ii  cpio                       2.11+dfsg-5
ii  default-jdk [java-sdk]     2:1.8-57
ii  enjarify                   20151118-1
ii  fontforge-extras           0.3-4
ii  fp-utils                   3.0.0+dfsg-4
ii  fp-utils-3.0.0 [fp-utils]  3.0.0+dfsg-4
ii  genisoimage                9:1.1.11-3
ii  gettext                    0.19.7-2
ii  ghc                        7.10.3-7
ii  ghostscript                9.19~dfsg-1+b1
ii  gnupg                      1.4.20-5
ii  mono-utils                 4.2.1.102+dfsg2-6
ii  openjdk-8-jdk [java-sdk]   8u77-b03-3+b1
ii  pdftk                      2.02-3
ii  poppler-utils              0.38.0-2+b1
ii  python3-debian             0.1.27
ii  python3-guestfs            1:1.32.2-4+b1
ii  python3-rpm                4.12.0.1+dfsg1-3+b2
ii  python3-tlsh               3.4.4+20151206-1+b1
ii  rpm2cpio                   4.12.0.1+dfsg1-3+b2
ii  sng                        1.1.0-1+b1
ii  sqlite3                    3.12.1-1
ii  squashfs-tools             1:4.3-3
ii  unzip                      6.0-20
ii  vim-common                 2:7.4.1689-3
ii  xz-utils                   5.1.1alpha+20120614-2.1

Versions of packages diffoscope suggests:
ii  libjs-jquery  1.12.3-1

-- no debconf information

_______________________________________________
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