From mboxrd@z Thu Jan 1 00:00:00 1970 From: Julien Lepiller Subject: bug#35549: dune failure Date: Fri, 3 May 2019 22:17:03 +0200 Message-ID: <20190503221654.0cebd609@sybil.lepiller.eu> References: <87y33nxrxb.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([209.51.188.92]:42600) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hMed9-0005F9-RB for bug-guix@gnu.org; Fri, 03 May 2019 16:18:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hMed9-000211-38 for bug-guix@gnu.org; Fri, 03 May 2019 16:18:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:36187) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hMed8-00020E-Vz for bug-guix@gnu.org; Fri, 03 May 2019 16:18:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hMed8-00040P-DS for bug-guix@gnu.org; Fri, 03 May 2019 16:18:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87y33nxrxb.fsf@gmail.com> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Gabriel Hondet Cc: 35549@debbugs.gnu.org Le Fri, 03 May 2019 21:24:16 +0200, Gabriel Hondet a =C3=A9crit : > Good evening, >=20 > I tried to build a project with dune, and it failed while trying to > access '/usr/lib/ocaml/METAS': >=20 > [...] >=20 > I'll probably have a look at it tomorrow. If someone has an idea > though, let me know. >=20 > 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=3D and OCAMLFIND_LDCONF=3Dignore that's what we do in the dune-build-system.