Proper handling of ocaml_captures_build_path

Stéphane Glondu glondu at debian.org
Mon Feb 3 09:37:25 GMT 2020


Hi Chris,

Le 31/01/2020 à 23:57, Chris Lamb a écrit :
>> Indeed, most of OCaml packages depend on dh-ocaml and include a snippet
>> from there. I've added an export of BUILD_PATH_PREFIX_MAP to this
>> snippet (as of 1.1.1), which seems to fix the ocaml_captures_build_path
>> issue.
> 
> Unfortunately, at quick glance I can't seem to be able to reproduce
> this. Take, for example, the 2020-01-29 14:02:00 build of belenios in
> unstable/amd64:
> 
>   https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/diffoscope-results/belenios.html
> 
> I you review the .buildinfo file we can see that it was built with the
> aforementioned new version of dh-ocaml, ie.:
> 
>   dh-ocaml (= 1.1.1),
> 
> … but we still see build-path related changes between the two builds:
> 
>     camlTool_cmdline__stream_to_list_317():
>    -/build/1st/belenios-1.10+dfsg/_build/src/tool/tool_cmdline.ml:28 
>    +/build/2/belenios-1.10+dfsg/2nd/_build/src/tool/tool_cmdline.ml:28

That's because belenios doesn't include the snippet (one of the few...).
But laby, for example, became reproducible in unstable after the change.


Cheers,

-- 
Stéphane



More information about the Reproducible-builds mailing list