Control: forwarded -1 https://salsa.debian.org/reproducible-builds/diffoscope/issues/67
On Wed, Sep 04, 2019 at 12:56:24PM +0200, Stéphane Glondu wrote: > The failure is due to a test that inspects a .cmi file that is shipped > by the source package, using the "ocamlobjinfo" command. This cannot > work. > > Indeed there is no compatibility guarantee on .cmi (or any other type > of object files) between different versions of OCaml. And this > incompatibility is what hurts here: the .cmi shipped in the source > package was made with OCaml < 4.08.0. The difference in version can be > seen with the "file" command. > > I have two suggestions: > - Handle gracefully the case where ocamlobjinfo rejects an object file > because it was not compiled with the same version of OCaml. We should indeed do this, like we do for haskell. > - Instead of shipping a .cmi file in the source package, generate one > at build time. That's https://salsa.debian.org/reproducible-builds/diffoscope/issues/66 and it's somewhat tricky (as the built files have to have the difference we expect them to). -- regards, Mattia Rizzolo GPG Key: 66AE 2B4A FCCF 3F52 DA18 4D18 4B04 3FCD B944 4540 .''`. more about me: https://mapreri.org : :' : Launchpad user: https://launchpad.net/~mapreri `. `'` Debian QA page: https://qa.debian.org/developer.php?login=mattia `-
signature.asc
Description: PGP signature

