Subject: Re: bug#35549: dune failure

From: Julien Lepiller <[email-masked]>
Date: Fri, 3 May 2019 22:17:03 +0200

Le Fri, 03 May 2019 21:24:16 +0200,
Gabriel Hondet <[email-masked]> a écrit :

> Good evening,
> 
> I tried to build a project with dune, and it failed while trying to
> access '/usr/lib/ocaml/METAS':
> 
> [...]
> 
> I'll probably have a look at it tomorrow.  If someone has an idea
> though, let me know.
> 
> Cheers,
> Gabriel

Is /usr/lib/ocaml/METAS referenced somewhere in the sources you're
trying to build?

Maybe you could try setting these environment variables:
OCAMLFIND_DESTDIR=<somewhere>
and
OCAMLFIND_LDCONF=ignore

that's what we do in the dune-build-system.