Re: Proper handling of ocaml_captures_build_path

2020-02-12 Thread Chris Lamb
Hi Stéphane, > > Whilst obviously not strictly identical (eg. the use of the `minimal` > > build target), I remain unclear on what the material difference is. > > The "snippet" is: > > export BUILD_PATH_PREFIX_MAP ?= .=$(CURDIR) > > which is located in /usr/share/ocaml/ocamlvars.mk, which is

Re: Proper handling of ocaml_captures_build_path

2020-02-09 Thread Stéphane Glondu
Hi Chris, Le 09/02/2020 à 09:57, Chris Lamb a écrit : >>> 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/am

Re: Proper handling of ocaml_captures_build_path

2020-02-09 Thread Chris Lamb
Hi Stéphane, > > 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 > >

Re: Proper handling of ocaml_captures_build_path

2020-02-03 Thread Stéphane Glondu
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. > > Unfortunat

Re: Proper handling of ocaml_captures_build_path

2020-01-31 Thread Chris Lamb
Hi Stéphane, > 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 r

Re: Proper handling of ocaml_captures_build_path

2020-01-29 Thread Stéphane Glondu
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-ocam

Re: Proper handling of ocaml_captures_build_path

2020-01-05 Thread Chris Lamb
[ Keeping you in CC; you are likely not subscribed to this "old" Alioth list but let me know if you are and I will drop the explicit copy in future ] Hi Stéphane, > But to what value should the build path prefix be set to? Two > possibilities comes to my mind: either some absolute path like >

Proper handling of ocaml_captures_build_path

2019-12-02 Thread Stéphane Glondu
Hello, I am wondering how to handle ocaml_captures_build_path properly. OCaml now understands the environment variable BUILD_PATH_PREFIX_MAP, and by setting it, the Lintian tag file-references-package-build-path disappears (hence I assume this cause of unreproducibility disappears too). But to w