Hi Chris,

Le 06/01/2020 à 00:57, Chris Lamb a écrit :
>> Is there a way that the toolchain automatically sets
>> BUILD_PATH_PREFIX_MAP?
> 
> I would share your reservations about scalability and would append my
> own æsthetic problems with ugly boilerplating.
> 
> However, I notice that a "dh-ocaml" package exists and although this
> might be for a more narrower use-case (alas I am not an OCaml
> developer) this might be both the cleanest solution and moreover the
> most pragmatic one; exporting to the environment via debhelper more
> generally á la SOURCE_DATE_EPOCH or even by dpkg itself would likely
> be more of a difficult ask.

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.


Cheers,

-- 
Stéphane

_______________________________________________
Reproducible-builds mailing list
Reproducible-builds@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/reproducible-builds

Reply via email to