Your message dated Mon, 29 Jul 2019 18:49:33 +0000
with message-id <e1hsaid-000aqb...@fasolo.debian.org>
and subject line Bug#931963: fixed in diffoscope 119
has caused the Debian Bug report #931963,
regarding diffoscope: Please include stdout error messages from readelf in
output
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)
--
931963: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=931963
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: diffoscope
Version: 117
Severity: important
Dear Maintainer,
When comparing Debian debug packages, diffoscope ends up showing hexdump
diffs, when it could, in fact, output much nicer diffs.
The two attached files are a small .debug file from two
jenkins.debian.net firefox debug package builds, that differ because of
missing -fdebug-prefix-map flags.
When comparing them, the output looks like:
--- /tmp/41aa9e49143d7d5d4fb5e05623976b644573b2.debug
+++ /tmp/b70f29bd619ba23d3879579b19209fda75ea3b.debug
│┄ Command `readelf --wide --debug-dump=frames
/tmp/41aa9e49143d7d5d4fb5e05623976b644573b2.debug` exited with 1.
Output:
│┄ <none>
@@ -30,161 +30,161 @@
000001d0: 0000 0000 0000 0000 0000 0000 0000 0000 ................
000001e0: 0000 0000 0000 0000 0000 0000 0000 0000 ................
000001f0: 0000 0000 0000 0000 1000 0000 0000 0000 ................
00000200: 52e5 7464 0400 0000 d00d 0000 0000 0000 R.td............
00000210: d03d 0000 0000 0000 d03d 0000 0000 0000 .=.......=......
00000220: 0000 0000 0000 0000 3002 0000 0000 0000 ........0.......
00000230: 0100 0000 0000 0000 0400 0000 1400 0000 ................
-00000240: 0300 0000 474e 5500 3341 aa9e 4914 3d7d ....GNU.3A..I.=}
-00000250: 5d4f b5e0 5623 976b 6445 73b2 4743 433a ]O..V#.kdEs.GCC:
+00000240: 0300 0000 474e 5500 a8b7 0f29 bd61 9ba2 ....GNU....).a..
+00000250: 3d38 7957 9b19 209f da75 ea3b 4743 433a =8yW.. ..u.;GCC:
00000260: 2028 4465 6269 616e 2038 2e33 2e30 2d31 (Debian 8.3.0-1
00000270: 3929 2038 2e33 2e30 0001 0000 0000 0000 9) 8.3.0........
00000280: 00f0 0000 0000 0000 0001 0000 0000 0000 ................
00000290: 0078 9c7b c3c0 c0c0 c400 021c 6032 4000 .x.{........`2@.
000002a0: 4c31 0842 2886 4434 7e11 1abf 198d 3f05 L1.B(.D4~.....?.
etc.
First, there's the problem that diffoscope only displays readelf's
stdout, and its stderr is lost, which it contains the most important
information:
section '.eh_frame' has the NOBITS type - its contents are unreliable.
Second, this skips everything else that diffoscope would normally do,
instead of falling back to a hexdump diff of the concerned section only.
With a readelf wrapper that always exits 0, this is what the output
looks like:
--- /tmp/41aa9e49143d7d5d4fb5e05623976b644573b2.debug
+++ /tmp/b70f29bd619ba23d3879579b19209fda75ea3b.debug
├ readelf --wide --sections {}
│ @@ -23,19 +23,19 @@
│ [18] .dynamic NOBITS 0000000000003de0 000dd0 000200 10
WA 4 0 8
│ [19] .got NOBITS 0000000000003fe0 000dd0 000020 08
WA 0 0 8
│ [20] .got.plt NOBITS 0000000000004000 000dd0 000020 08
WA 0 0 8
│ [21] .data NOBITS 0000000000004020 000dd0 000008 00
WA 0 0 8
│ [22] .bss NOBITS 0000000000004028 000dd0 000008 00
WA 0 0 1
│ [23] .comment PROGBITS 0000000000000000 00025c 00001d 01
MS 0 0 1
│ [24] .debug_aranges PROGBITS 0000000000000000 000279 00005a 00
C 0 0 1
│ - [25] .debug_info PROGBITS 0000000000000000 0002d3 000330 00
C 0 0 1
│ - [26] .debug_abbrev PROGBITS 0000000000000000 000603 0000da 00
C 0 0 1
│ - [27] .debug_line PROGBITS 0000000000000000 0006dd 000176 00
C 0 0 1
│ - [28] .debug_str PROGBITS 0000000000000000 000853 0002c3 01
MSC 0 0 1
│ - [29] .debug_ranges PROGBITS 0000000000000000 000b16 00004e 00
C 0 0 1
│ + [25] .debug_info PROGBITS 0000000000000000 0002d3 00032e 00
C 0 0 1
│ + [26] .debug_abbrev PROGBITS 0000000000000000 000601 0000da 00
C 0 0 1
│ + [27] .debug_line PROGBITS 0000000000000000 0006db 000176 00
C 0 0 1
│ + [28] .debug_str PROGBITS 0000000000000000 000851 0002c4 01
MSC 0 0 1
│ + [29] .debug_ranges PROGBITS 0000000000000000 000b15 00004e 00
C 0 0 1
│ [30] .symtab SYMTAB 0000000000000000 000b68 000690 18
31 49 8
│ [31] .strtab STRTAB 0000000000000000 0011f8 0002ca 00
0 0 1
│ [32] .shstrtab STRTAB 0000000000000000 0014c2 000137 00
0 0 1
│ Key to Flags:
│ W (write), A (alloc), X (execute), M (merge), S (strings), I (info),
│ L (link order), O (extra OS processing required), G (group), T (TLS),
│ C (compressed), x (unknown), o (OS specific), E (exclude),
├ readelf --wide --notes {}
│ @@ -1,4 +1,4 @@
│
│ Displaying notes found in: .note.gnu.build-id
│ Owner Data size Description
│ - GNU 0x00000014 NT_GNU_BUILD_ID (unique build ID
bitstring) Build ID: 3341aa9e9143d7d5d4fb5e05623976b644573b2
│ + GNU 0x00000014 NT_GNU_BUILD_ID (unique build ID
bitstring) Build ID: a8b70f29d619ba23d3879579b19209fda75ea3b
├ readelf --wide --debug-dump=rawline {}
│ @@ -21,19 +21,19 @@
│ Opcode 8 has 0 args
│ Opcode 9 has 1 arg
│ Opcode 10 has 0 args
│ Opcode 11 has 0 args
│ Opcode 12 has 1 arg
│
│ The Directory Table (offset 0x1b):
│ - 1 /build/1st/firefox-68.0/widget/gtk/mozgtk
│ + 1 /build/firefox-68.0/2nd/widget/gtk/mozgtk
│ 2 /usr/lib/gcc/x86_64-linux-gnu/8/include
│ 3 /usr/include/x86_64-linux-gnu/bits
etc.
Chances are this is involved in the firefox diffs timing out
https://tests.reproducible-builds.org/debian/dbd/unstable/amd64/firefox_68.0-1.diffoscope.html
Mike
--- End Message ---
--- Begin Message ---
Source: diffoscope
Source-Version: 119
We believe that the bug you reported is fixed in the latest version of
diffoscope, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 931...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Chris Lamb <la...@debian.org> (supplier of updated diffoscope package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Mon, 29 Jul 2019 15:22:24 -0300
Source: diffoscope
Binary: diffoscope
Built-For-Profiles: nocheck
Architecture: source all
Version: 119
Distribution: unstable
Urgency: medium
Maintainer: Reproducible builds folks
<reproducible-bui...@lists.alioth.debian.org>
Changed-By: Chris Lamb <la...@debian.org>
Description:
diffoscope - in-depth comparison of files, archives, and directories
Closes: 931963 933308
Changes:
diffoscope (119) unstable; urgency=medium
.
[ Chris Lamb ]
* If a command fails to execute but does not print anything to standard
error, try and include the first line of standard output in the message we
include in the diff. This was motivated by readelf(1) returning its error
messages on stdout. (Closes: #931963)
* Add support for Java ".jmod" modules. Not all versions of file(1) support
detection of Jmod files yet, so we perform a manual comparison instead.
(Closes: #933308)
* Re-add "return code" noun to "Command `foo` exited with X" error messages.
* Factor out the ability to ignore the exit codes of "zipinfo" and
"zipinfo -v" in the presence of non-standard headers.
* Only override the exit code from our special-cased calls to zipinfo(1) if
they are 1 or 2 to avoid potentially masking real errors.
* Also add missing textual description entries for ZipFile and
MozillaZipFile file types.
* Skip extra newline in "Output:\n<none>".
* Cease ignoring test failures in stable-backports.
* Bump debhelper compat level to 12.
.
[ Marc Herbert ]
* Catch failures to disassemble and rescue all other differences.
(Closes: reproducible-builds/diffoscope!29)
Checksums-Sha1:
3a4a877ac42abb230ab33c5f56b776f51e12c103 4660 diffoscope_119.dsc
4aa18fe64d3c41bf86b113aa62293b06d0826719 1132340 diffoscope_119.tar.xz
46ec6de312c6bb0885b30bc298cac39c76f23d0a 132264 diffoscope_119_all.deb
169fc28a4543746e815e73c861ee9af04732e1dc 6658 diffoscope_119_amd64.buildinfo
Checksums-Sha256:
52a1f2a25be9034b87cf0fc15e8ae391083b091f06337b23b6d2e5abf4eee18b 4660
diffoscope_119.dsc
81206d8f317019135dea1036097a71824a2216d4d7fb9153c2b85b4696454c80 1132340
diffoscope_119.tar.xz
46dde7d8fa2e96aff17c283d98b412df8db0f33589ea29c45259cd0c58792704 132264
diffoscope_119_all.deb
46e688e6d07d7ef68434d492e60ee08e463042a4a6b5a74c6a416ab1fb85307d 6658
diffoscope_119_amd64.buildinfo
Files:
fb0a4eb736e806c345eca181ea404891 4660 devel optional diffoscope_119.dsc
d0cddf7b171a81100213f3eda3f6021e 1132340 devel optional diffoscope_119.tar.xz
5a858a9e96ae87e280f51f908491a117 132264 devel optional diffoscope_119_all.deb
4df837ed3a0a0d3767977098f13c64f6 6658 devel optional
diffoscope_119_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIyBAEBCAAdFiEEwv5L0nHBObhsUz5GHpU+J9QxHlgFAl0/Oi4ACgkQHpU+J9Qx
HlgEAA/48K3FKjChYaqqPAJPAtDZNf9ET95Z0ioReN28lBN9fx0jp+4T9yIo+3yO
76RA/SZiBXUrJgudWSx7NMn4+qxlMli5HiMTddjMqV7cLqn8cjQtqKHKpOlF/XmB
nZfXpr/16PKP1hIwyDI2jek4DFFBjbRo3d4jV0XzsUvUUl1L2Rln5tt0Tr7ikDBK
fje03SV4j4KGXUnGXjdiSAxRB3tc0CeCmkgaCyEyNgKx9IoNTAujZ2xDoJ0HCNZB
IAWbyQ3ftoH3e7exqIOn5anurqd6bByzFB3wef1xL4PWqaOu7E3zBqii5Dv4N7HT
Dg/eVmgvG4IJhSQchevUpXTacgw0Md8jkMnYHBLdCr68oWhpHsboGrREvu/O+RWV
a9X+m9b9PuCm/Q3SeGhB/dYEbVFyRW4Gbz8nPDonrKfazHFPf+HFUv/lcjvCnsX3
3wApaHLF6RhoUS/cfaz6iOHrRZnbzonEI8d56N/W90s1VTL+WwzStPxCdGW197Tl
r2D/wIadCxu4OXIJM4E81V8eg4n+oElQX2+HeQsgUe+Gri3KwlEzWPV+2kKmVhWJ
bXUqYiYj8bXEmKuOrXp5vtkSNEEox4G4TbPd8X9TPDEql4BRUtw5kX938329OSKE
6y94GO758oeI8cHdXKGj1o0hUtszs5qLjzijSoQaJ4aKxqLaFw==
=7zdF
-----END PGP SIGNATURE-----
--- End Message ---
_______________________________________________
Reproducible-builds mailing list
Reproducible-builds@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/reproducible-builds