Debian Bug report logs -
#850850
diffoscope: add file type (magic) information to diff output
Reported by: Emanuel Bronshtein <e3amn2l@gmx.com>
Date: Tue, 10 Jan 2017 18:39:02 UTC
Severity: wishlist
Found in version diffoscope/67
Fixed in version diffoscope/68
Done: Chris Lamb <lamby@debian.org>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, e3amn2l@gmx.com, Reproducible builds folks <reproducible-builds@lists.alioth.debian.org>:
Bug#850850; Package diffoscope.
(Tue, 10 Jan 2017 18:39:04 GMT) (full text, mbox, link).
Acknowledgement sent
to Emanuel Bronshtein <e3amn2l@gmx.com>:
New Bug report received and forwarded. Copy sent to e3amn2l@gmx.com, Reproducible builds folks <reproducible-builds@lists.alioth.debian.org>.
(Tue, 10 Jan 2017 18:39:04 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
Package: diffoscope
Version: 67
Severity: wishlist
Dear Maintainer,
Please add file-type/magic information for files as this information is useful (in order to know the file content type, especially for binary files without extension)
for example:
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/diffoscope-results/buildapp.html
The ./usr/bin/buildapp file show "No file format specific differences found inside, yet data differs" without information about the file format.
│ ├── data.tar.xz
│ │ ├── data.tar
│ │ │ ├── ./usr/bin/buildapp
│ │ │ │┄ No file format specific differences found inside, yet data differs
│ │ │ @@ -29602,15 +29602,15 @@
│ 00073a10: 2faf 1100 1000 0000 030d 3020 0000 0000 /.........0 ....
│ 00073a20: 4505 0006 0000 0000 0000 0000 0000 0000 E...............
│ 00073a30: 2455 d0fd 6eae f32f 6fbb 1500 1000 0000 $U..n../o.......
│ 00073a40: 1fca 1100 1000 0000 030d 3020 0000 0000 ..........0 ....
│ 00073a50: 4505 0006 0000 0000 4f07 0b01 1000 0000 E.......O.......
│ 00073a60: 5290 9b22 8608 743b cf07 0b01 1000 0000 R.."..t;........
│ 00073a70: efac fd00 1000 0000 0306 3020 0000 0000 ..........0 ....
│ -00073a80: 4505 0006 0000 0000 5802 0000 0000 0000 E.......X.......
│ +00073a80: 4505 0006 0000 0000 5001 0000 0000 0000 E.......P.......
│ 00073a90: ea61 b511 6bcf ac33 ef7a 0000 1000 0000 .a..k..3.z......
example where it's available (not diffoscope output)
The "(GNU message catalog (little endian), revision 0.0, 53 messages)" and "(SQLite 3.x database)" in:
https://www.zq1.de/~bernhard/linux/reproducibleopensuse/compare.factory-20170102/acl-compare.out
/usr/share/locale/en@boldquot/LC_MESSAGES/acl.mo differs (GNU message catalog (little endian), revision 0.0, 53 messages)
--- /tmp/tmp.r1ITW1350E/tmp.yUK5LWis29 2016-12-22 16:23:22.050882000 +0000
+++ /tmp/tmp.r1ITW1350E/tmp.aNYlnHr5rm 2016-12-22 16:23:22.050882000 +0000
@@ -293,7 +293,7 @@
00001240 61 74 65 3a 20 31 39 37 30 2d 30 31 2d 30 31 20 |ate: 1970-01-01 |
00001250 30 30 3a 30 30 2b 30 30 30 30 0a 50 4f 2d 52 65 |00:00+0000.PO-Re|
00001260 76 69 73 69 6f 6e 2d 44 61 74 65 3a 20 32 30 31 |vision-Date: 201|
-00001270 37 2d 30 31 2d 30 31 20 30 30 3a 30 30 2b 30 30 |7-01-01 00:00+00|
+00001270 38 2d 30 32 2d 30 33 20 31 31 3a 31 31 2b 30 30 |8-02-03 11:11+00|
00001280 30 30 0a 4c 61 73 74 2d 54 72 61 6e 73 6c 61 74 |00.Last-Translat|
00001290 6f 72 3a 20 41 75 74 6f 6d 61 74 69 63 61 6c 6c |or: Automaticall|
000012a0 79 20 67 65 6e 65 72 61 74 65 64 0a 4c 61 6e 67 |y generated.Lang|
https://www.zq1.de/~bernhard/linux/reproducibleopensuse/compare.factory-20170102/ibus-table-others-compare.out
/usr/share/ibus-table/tables/rusle.db differs (SQLite 3.x database)
--- /tmp/tmp.gVQgyFL8rF/tmp.uMBjPWe4Ik 2016-12-26 07:47:19.060363000 +0000
+++ /tmp/tmp.gVQgyFL8rF/tmp.pgRr4Pg7Ow 2016-12-26 07:47:19.060363000 +0000
@@ -37,11 +37,11 @@
00000fd0 62 6c 65 69 6d 65 69 6d 65 02 43 52 45 41 54 45 |bleimeime.CREATE|
Information forwarded
to debian-bugs-dist@lists.debian.org, Reproducible builds folks <reproducible-builds@lists.alioth.debian.org>:
Bug#850850; Package diffoscope.
(Tue, 10 Jan 2017 20:21:02 GMT) (full text, mbox, link).
Acknowledgement sent
to Chris Lamb <lamby@debian.org>:
Extra info received and forwarded to list. Copy sent to Reproducible builds folks <reproducible-builds@lists.alioth.debian.org>.
(Tue, 10 Jan 2017 20:21:03 GMT) (full text, mbox, link).
Message #10 received at 850850@bugs.debian.org (full text, mbox, reply):
tags 850850 + pending
thanks
Fixed in:
https://anonscm.debian.org/git/reproducible/diffoscope.git/commit/?id=3131f5ee6c1ee10475736d74f8f903fa02263bdb
:)
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` lamby@debian.org / chris-lamb.co.uk
`-
Added tag(s) pending.
Request was from Chris Lamb <lamby@debian.org>
to control@bugs.debian.org.
(Tue, 10 Jan 2017 20:21:04 GMT) (full text, mbox, link).
Information forwarded
to debian-bugs-dist@lists.debian.org, Reproducible builds folks <reproducible-builds@lists.alioth.debian.org>:
Bug#850850; Package diffoscope.
(Tue, 10 Jan 2017 20:51:04 GMT) (full text, mbox, link).
Acknowledgement sent
to Emanuel Bronshtein <e3amn2l@gmx.com>:
Extra info received and forwarded to list. Copy sent to Reproducible builds folks <reproducible-builds@lists.alioth.debian.org>.
(Tue, 10 Jan 2017 20:51:04 GMT) (full text, mbox, link).
Message #17 received at 850850@bugs.debian.org (full text, mbox, reply):
I meant to add the file type information for all files, as there are more useful cases such as /usr/bin/rebar file at
https://tests.reproducible-builds.org/debian/dbdtxt/unstable/amd64/rebar_2.6.4-2.diffoscope.txt
See:
│ │ │ ├── ./usr/bin/rebar │ │ │ │ @@ -1,16 +1,16 @@ │ │ │ │ 00000000: 2321 2f75 7372 2f62 696e 2f65 6e76 2065 #!/usr/bin/env e │ │ │ │ 00000010: 7363 7269 7074 0a25 250a 2525 2120 2d70 script.%%.%%! -p │ │ │ │ 00000020: 6120 7265 6261 722f 7265 6261 722f 6562 a rebar/rebar/eb │ │ │ │ -00000030: 696e 0a50 4b03 0414 0000 0000 0044 2a3e in.PK........D*> │ │ │ │ -00000040: 4c00 0000 0000 0000 0000 0000 0006 0000 L............... │ │ │ │ +00000030: 696e 0a50 4b03 0414 0000 0000 0019 079d in.PK........... │ │ │ │ +00000040: 4900 0000 0000 0000 0000 0000 0006 0000 I...............
Or when the file-content don't match the extension.
On January 10, 2017 10:19:36 PM GMT+02:00, Chris Lamb <lamby@debian.org> wrote:
>tags 850850 + pending
>thanks
>
>Fixed in:
>
>https://anonscm.debian.org/git/reproducible/diffoscope.git/commit/?id=3131f5ee6c1ee10475736d74f8f903fa02263bdb
>
>:)
>
>
>Regards,
--
Sent from my Android device with K-9 Mail. Please excuse my brevity.
Reply sent
to Chris Lamb <lamby@debian.org>:
You have taken responsibility.
(Mon, 16 Jan 2017 00:51:18 GMT) (full text, mbox, link).
Notification sent
to Emanuel Bronshtein <e3amn2l@gmx.com>:
Bug acknowledged by developer.
(Mon, 16 Jan 2017 00:51:18 GMT) (full text, mbox, link).
Message #22 received at 850850-close@bugs.debian.org (full text, mbox, reply):
Source: diffoscope
Source-Version: 68
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 850850@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Chris Lamb <lamby@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 ftpmaster@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Mon, 16 Jan 2017 11:24:22 +1100
Source: diffoscope
Binary: diffoscope
Architecture: source
Version: 68
Distribution: unstable
Urgency: medium
Maintainer: Reproducible builds folks <reproducible-builds@lists.alioth.debian.org>
Changed-By: Chris Lamb <lamby@debian.org>
Description:
diffoscope - in-depth comparison of files, archives, and directories
Closes: 849395 850055 850485 850501 850502 850730 850807 850850
Changes:
diffoscope (68) unstable; urgency=medium
.
[ Chris Lamb ]
.
* Don't blow up if directory containing ELF debug symbols already exists.
(Closes: #850807)
* Fix .APK extration when provided with absolute filenames.
(Closes: #850485)
* Support comparing .ico files using img2txt. (Closes: #850730)
* comparators.utils.file: If we don't have an archive-extraction tool (eg.
apktool), don't blow up when attempting to unpack it.
* Include magic file type when we know the file format but can't find
file-specific details. (Closes: #850850)
* Ensure fake "APK metadata" file appears first, fixing non-deterministic
tests/output.
* Correctly escape value of href="" elements (re. #849411)
.
* Optimisations:
- Disable profiling entirely (unless enabled) for a 2%+ optimisation
- Compile APK filename regex instead of generating it each loop.
.
* Logging:
- Log tempfile cleanup process
- Log when we add a progress observer.
- Drop milliseconds from log output
.
* Misc:
- Many unused import removals, indentation changes, etc.
- Fix duplicated word and long line errors in debian/changelog.
- Suggest some promotion in post-release documentation.
.
[ Maria Glukhova ]
* comparators/device: don't crash when comparing a non-device against a
device (Closes: #850055)
* Remove archive name from apktool.yml and rename it. (Closes: #850501)
* Zipinfo included in APK files comparison. (Closes: #850502)
- Add some tests for APK comparator.
* Add image metadata comparison. (Closes: #849395)
* Ensure imagemagick version is new enough for image metadata tests.
.
[ Mattia Rizzolo ]
* Skip the openssh_pub_key test if the version of ssh is < 6.9.
* comparators/icc: rename RE_FILE_EXTENSION to RE_FILE_TYPE, as that's what
the regular expression is looking for.
* Make use of a new mechanism to remove a bunch of recognizes() methods
dealing with simple RE_FILE_TYPE matching.
Checksums-Sha1:
30784a46bd47bd40ea061544dbd8efa80c2f70b9 2940 diffoscope_68.dsc
c2bb3ade5270b5eb1a74f04601a48daa04f6d979 324376 diffoscope_68.tar.xz
Checksums-Sha256:
825057d67e926532df3fd06ea63e2c57a0075f5e0709dccd6bd393f77ac556e1 2940 diffoscope_68.dsc
42db84379df4a6932c09b5674b64828880ab9a64c5426628220c8c127d66f18b 324376 diffoscope_68.tar.xz
Files:
4237325fb0e88b2d2c5571f5fc9f0cac 2940 devel optional diffoscope_68.dsc
aeb6a542b7db5b8d478b55d5a06abfec 324376 devel optional diffoscope_68.tar.xz
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEEwv5L0nHBObhsUz5GHpU+J9QxHlgFAlh8FEkACgkQHpU+J9Qx
Hlj3WBAAtsuSuNT0D0vgccnZq5y+S9byiuwotBQA5V/iDgpnuhmCRJnN4paFJfXn
wHCoFoTyqZZuX548DLC3UooidTJmSf1Bw5uCIBv++EyE4cSNwLaR2kV+7XE+WGnV
JA/WuwdH3QprhVzvGfCmLSDcsW7XHwS96jJlv/f4Qf42GSiRcZn30t9iaZlZAtPm
O9+oSZdWL8HKCgpdluB+YKe5nq7lH/qTtGecAzJvytlR9TqRlaId05jfc4f0dc8w
/znweuf0nWg4mbGRWhOll765XLp27puw4/bSee879990Q+8EBJKmmKpogWN+UiZR
NPMmDKV+caxOWeGT/uHWrr7A4ViMWlPw6jl1Z7jrNUZijYD1zQzYhSZMNOX5O7oT
wih2ynSYLpOSqRBjjx8U8lRhoKXsB9Yz9FHLYDLhtKAEymGld7hcsL7OdM/m9FNk
kQqHCUCpSkrO3RZQLmf+9dDKgwyuzR9z/AtmluYmJMJ7TntENn5+4Fk0sOCUxTah
QMnipPeBpku+lYFRAwwI9aa8CHRzsPb28PfSbRJKRrrvrCxXoyRxB0mZkiQpVm0H
HlIaddchgElL61zWcCXS9oZ9EMb8lQ4Pl7ArxMpyJxGJCap4MnmtrFTxzSQOe7v2
NYI9QHDDJj9eyBQMgvDqtTrEwCO0EhNwc8jmUC8EorvqhZPVhVE=
=1s7L
-----END PGP SIGNATURE-----
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Mon, 20 Feb 2017 07:29:43 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Wed May 17 13:47:50 2023;
Machine Name:
buxtehude
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.