Debian Bug report logs -
#910542
better support for OCaml object files via ocamlobjinfo
Reported by: Thomas Gazagnaire <thomas@gazagnaire.org>
Date: Sun, 7 Oct 2018 21:27:02 UTC
Severity: wishlist
Fixed in version diffoscope/104
Done: Mattia Rizzolo <mattia@debian.org>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, Reproducible builds folks <reproducible-builds@lists.alioth.debian.org>:
Bug#910542; Package diffoscope.
(Sun, 07 Oct 2018 21:27:04 GMT) (full text, mbox, link).
Acknowledgement sent
to Thomas Gazagnaire <thomas@gazagnaire.org>:
New Bug report received and forwarded. Copy sent to Reproducible builds folks <reproducible-builds@lists.alioth.debian.org>.
(Sun, 07 Oct 2018 21:27:04 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
Package: diffoscope
The OCaml compiler generates a bunch of binary files (cmi, cmi, cmt, cmti, cmx, cmxa). Currently diffoscope seems to only prints binary diffs:
https://tests.reproducible-builds.org/archlinux/extra/ocaml-result/ocaml-result-1.3-1-x86_64.pkg.tar.xz.html
It would be nice to show more structured information instead; a subset of this information could already be dumped with `ocamlobjinfo` command which might be enough in most cases.
Thomas
Information forwarded
to debian-bugs-dist@lists.debian.org, Reproducible builds folks <reproducible-builds@lists.alioth.debian.org>:
Bug#910542; Package diffoscope.
(Sun, 07 Oct 2018 21:54:07 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>.
(Sun, 07 Oct 2018 21:54:07 GMT) (full text, mbox, link).
Message #10 received at 910542@bugs.debian.org (full text, mbox, reply):
retitle 910542 better support for OCaml object files via ocamlobjinfo
severity 910542 wishlist
thanks
Hi Thomas,
> It would be nice to show more structured information instead; a subset
> of this information could already be dumped with `ocamlobjinfo` command
Ooh, thanks for the pointer; retitling to match.
Best wishes,
--
,''`.
: :' : Chris Lamb
`. `'` lamby@debian.org / chris-lamb.co.uk
`-
Changed Bug title to 'better support for OCaml object files via ocamlobjinfo' from 'better support for OCaml object files'.
Request was from "Chris Lamb " <lamby@debian.org>
to control@bugs.debian.org.
(Sun, 07 Oct 2018 21:54:08 GMT) (full text, mbox, link).
Severity set to 'wishlist' from 'normal'
Request was from "Chris Lamb " <lamby@debian.org>
to control@bugs.debian.org.
(Sun, 07 Oct 2018 21:54:09 GMT) (full text, mbox, link).
Added tag(s) pending.
Request was from Chris Lamb <lamby@debian.org>
to control@bugs.debian.org.
(Tue, 16 Oct 2018 21:03:07 GMT) (full text, mbox, link).
Information forwarded
to debian-bugs-dist@lists.debian.org, Reproducible builds folks <reproducible-builds@lists.alioth.debian.org>:
Bug#910542; Package diffoscope.
(Tue, 16 Oct 2018 21:09: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, 16 Oct 2018 21:09:02 GMT) (full text, mbox, link).
Message #21 received at 910542@bugs.debian.org (full text, mbox, reply):
tags 910542 + pending
thanks
Thanks for the report. I've implemented this in Git, now pending upload:
https://salsa.debian.org/reproducible-builds/diffoscope/commit/bc92ac311960b43abd1067df83ddee1729dc38bd
debian/control | 1 +
diffoscope/comparators/__init__.py | 1 +
diffoscope/comparators/ocaml.py | 51 +++++++++++++++++++++++++++++++++++
diffoscope/external_tools.py | 3 +++
tests/comparators/test_ocaml.py | 54 +++++++++++++++++++++++++++++++++++++
tests/data/ocaml_expected_diff | 15 +++++++++++
tests/data/test1.cmi | Bin 0 -> 1126 bytes
tests/data/test2.cmi | Bin 0 -> 11486 bytes
8 files changed, 125 insertions(+)
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` lamby@debian.org / chris-lamb.co.uk
`-
Information forwarded
to debian-bugs-dist@lists.debian.org, Reproducible builds folks <reproducible-builds@lists.alioth.debian.org>:
Bug#910542; Package diffoscope.
(Wed, 17 Oct 2018 09:54:05 GMT) (full text, mbox, link).
Acknowledgement sent
to Holger Levsen <holger@layer-acht.org>:
Extra info received and forwarded to list. Copy sent to Reproducible builds folks <reproducible-builds@lists.alioth.debian.org>.
(Wed, 17 Oct 2018 09:54:05 GMT) (full text, mbox, link).
Message #26 received at 910542@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
On Tue, Oct 16, 2018 at 05:00:35PM -0400, Chris Lamb wrote:
> Thanks for the report. I've implemented this in Git, now pending upload:
> https://salsa.debian.org/reproducible-builds/diffoscope/commit/bc92ac311960b43abd1067df83ddee1729dc38bd
awesome, thank you!
--
cheers,
Holger
-------------------------------------------------------------------------------
holger@(debian|reproducible-builds|layer-acht).org
PGP fingerprint: B8BF 5413 7B09 D35C F026 FE9D 091A B856 069A AA1C
[signature.asc (application/pgp-signature, inline)]
Reply sent
to Mattia Rizzolo <mattia@debian.org>:
You have taken responsibility.
(Thu, 25 Oct 2018 13:36:09 GMT) (full text, mbox, link).
Notification sent
to Thomas Gazagnaire <thomas@gazagnaire.org>:
Bug acknowledged by developer.
(Thu, 25 Oct 2018 13:36:09 GMT) (full text, mbox, link).
Message #31 received at 910542-close@bugs.debian.org (full text, mbox, reply):
Source: diffoscope
Source-Version: 104
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 910542@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Mattia Rizzolo <mattia@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: SHA512
Format: 1.8
Date: Thu, 25 Oct 2018 14:55:41 +0200
Source: diffoscope
Binary: diffoscope
Architecture: source
Version: 104
Distribution: unstable
Urgency: medium
Maintainer: Reproducible builds folks <reproducible-builds@lists.alioth.debian.org>
Changed-By: Mattia Rizzolo <mattia@debian.org>
Description:
diffoscope - in-depth comparison of files, archives, and directories
Closes: 910540 910542 911446
Changes:
diffoscope (104) unstable; urgency=medium
.
[ Chris Lamb ]
* comparators:
+ macho: Prevent a traceback if the filename cannot be found on the line.
Closes: #910540
+ ocaml New comparator OCaml files using ocamlobjinfo. Closes: #910542
+ pdf: Add support for comparing metadata using PyPDF2. Closes: #911446
* debian/tests/control.in: Add note on how to regenerate this file.
.
[ Mattia Rizzolo ]
* d/control:
+ Build-Depend on linux-image-amd64 [amd64] to allow squashfs tests to run.
+ Add a Build-Conflicts against graphicsmagick-imagemagick-compat.
See: #910652
* Move the list of optional python packages from d/rules into setup.py, and
have dh_python3 check the generated requires.txt.
* Also add the optional python modules to the autopkgtest dependencies.
* Temporarily drop Build-Depends and Test-Depends on apktool and
oggvideotools, as they are not available in buster at the moment.
* comparators:
+ java:
- Rename the tool procyon-decompiler to procyon.
- Properly fall back from procyon to javap also when procyon exists
but doesn't return any output.
* Declare in setup.py that diffoscope is good to go with Python 3.7.
.
[ Marek Marczykowski-Górecki ]
* comparators:
+ fsimage: Handle FAT filesystems. MR: !13
Checksums-Sha1:
2b0e55b21fcaa4627251ae0545cb259b245f4291 4449 diffoscope_104.dsc
5d593513a823bfba8929b162ac1803b99dc488cd 9258804 diffoscope_104.tar.xz
7fc0d0b4d225d76acce50039681c34d6d5885b9c 21083 diffoscope_104_amd64.buildinfo
Checksums-Sha256:
78c86c0f458645acc9fb3e8a37dc8c7e3b090b575b6cefb814f7a93813510ed4 4449 diffoscope_104.dsc
226429bb90cb4440fe469018fda56f1d1c41c17ee2d4b1940d8a5350a6d75028 9258804 diffoscope_104.tar.xz
b395db6cb2718d50e6a434dcdf3c8588933f5e6862047b9415c0fc0cf2bc3f14 21083 diffoscope_104_amd64.buildinfo
Files:
88aadc711427d627bab448b77a24d307 4449 devel optional diffoscope_104.dsc
23bfc90fbd201d915b582e4f47faf4d2 9258804 devel optional diffoscope_104.tar.xz
a91e133604e5c5c1b04681416ee8c997 21083 devel optional diffoscope_104_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEi3hoeGwz5cZMTQpICBa54Yx2K60FAlvRwHgACgkQCBa54Yx2
K62X2A//akxAjjXtmDJWUVkhA9rB/l+hcDfPMB72N3d0ZYXidY9HTZb1wJV5jmNR
B9ZzjouqR5oiS5lQ+ZRDSROQvwv/nCXfUKK9p/ml058dA6ZOAX6+KlGSqnzzTw6N
uTbASXwsE1thB9I4r/UUfH2nAwUP16ZPzUdiJZ6tgzjA4nmaYEVZCS4Zhs6O76yT
zlXcwvTTVe0wR/k8VdTUA7muNnFqJQu1sEo44eTHzmo3emNjrJStWWdp3Rp0kSAz
xBWObWBH4I6o550snTyxroE+4EdEc6PIfTp8JsAsEYltcH38Ymyzlb1ip6bHUwKR
F+bxSLDmWOeJRAxpx5nEyd1w9kI/9LeN0SR8CwlMTQS8Au/skbqwIuZDFmJ+/VBY
YMJUTOMgNWo7Ak8gHDw9UW+rycM2r6ejV3CPliIHZw+dOfwCDSinD1CZscNgQBBj
/qQQchswzqPkcqSykkDZdluAJmw+9KnVSLNuOoSwWTtG7sgJrQBQJWlMduMaM8Jx
FaLC3Mb2NRbyAR4/03ZxMhwhTcFnVYTgrljnEYgytCqvaLW46Gf8GquZinCQLmai
1v2k3LYc91cjq07yFhf5P8Is10G+oP3ALIVa4NMAGcicXzzctmiXsFZ635rRreOI
1QbgUCqfqlzhbdyw64GgNdRceXNfz6czkoKibtYZ9PwY/Gd04BU=
=6lIn
-----END PGP SIGNATURE-----
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Sat, 24 Nov 2018 07:30:08 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:29:30 2023;
Machine Name:
bembo
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.