GNU bug report logs - #35549
dune failure

Previous Next

Package: guix;

Reported by: Gabriel Hondet <gabrielhondet <at> gmail.com>

Date: Fri, 3 May 2019 19:25:02 UTC

Severity: normal

Done: Gabriel Hondet <gabrielhondet <at> gmail.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 35549 in the body.
You can then email your comments to 35549 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#35549; Package guix. (Fri, 03 May 2019 19:25:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Gabriel Hondet <gabrielhondet <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Fri, 03 May 2019 19:25:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Gabriel Hondet <gabrielhondet <at> gmail.com>
To: bug-guix <at> gnu.org
Subject: dune failure
Date: Fri, 03 May 2019 21:24:16 +0200
[Message part 1 (text/plain, inline)]
Good evening,

I tried to build a project with dune, and it failed while trying to
access '/usr/lib/ocaml/METAS':

$ dune build lambdapi.exe

Entering directory '/data0/gabriel/workspace/vcs/lambdapi'
Error: exception Sys_error("/usr/lib/ocaml/METAS: No such file or directory")
Backtrace:
Raised by primitive operation at file "src/stdune/path.ml", line 878, characters 25-50
Called from file "src/findlib.ml", line 441, characters 6-31
Called from file "list.ml", line 99, characters 22-25
Called from file "src/stdune/list.ml" (inlined), line 5, characters 19-33
Called from file "src/stdune/list.ml", line 39, characters 29-39
Called from file "src/findlib.ml", line 440, characters 4-265
Called from file "src/findlib.ml", line 453, characters 20-37
Called from file "src/findlib.ml", line 457, characters 2-21
Called from file "src/lib.ml", line 1334, characters 6-34
Called from file "src/super_context.ml", line 288, characters 4-70
Called from file "src/gen_rules.ml", line 327, characters 6-161
Called from file "src/fiber/fiber.ml", line 99, characters 6-13
                   
I must not segfault.  Uncertainty is the mind-killer.  Exceptions are
the little-death that brings total obliteration.  I will fully express
my cases.  Execution will pass over me and through me.  And when it
has gone past, I will unwind the stack along its path.  Where the
cases are handled there will be nothing.  Only I will remain.

--
I'll probably have a look at it tomorrow.  If someone has an idea
though, let me know.

Cheers,
Gabriel
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#35549; Package guix. (Fri, 03 May 2019 20:18:02 GMT) Full text and rfc822 format available.

Message #8 received at 35549 <at> debbugs.gnu.org (full text, mbox):

From: Julien Lepiller <julien <at> lepiller.eu>
To: Gabriel Hondet <gabrielhondet <at> gmail.com>
Cc: 35549 <at> debbugs.gnu.org
Subject: Re: bug#35549: dune failure
Date: Fri, 3 May 2019 22:17:03 +0200
Le Fri, 03 May 2019 21:24:16 +0200,
Gabriel Hondet <gabrielhondet <at> gmail.com> 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.




Information forwarded to bug-guix <at> gnu.org:
bug#35549; Package guix. (Sat, 04 May 2019 06:49:01 GMT) Full text and rfc822 format available.

Message #11 received at 35549 <at> debbugs.gnu.org (full text, mbox):

From: Gabriel Hondet <gabrielhondet <at> gmail.com>
To: Julien Lepiller <julien <at> lepiller.eu>
Cc: 35549 <at> debbugs.gnu.org
Subject: Re: bug#35549: dune failure
Date: Sat, 04 May 2019 08:48:20 +0200
[Message part 1 (text/plain, inline)]
Hi Julien,

On Fri 03 May 2019 at 22:17 Julien Lepiller wrote:

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

Checking this is indeed a good idea, but no, the path isn't referenced
in the sources.


> 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.

The DESTDIR is used when installing files, isn't it?  Here it seems to
be rather a problem of source directory though.

Gabriel
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#35549; Package guix. (Sat, 04 May 2019 07:37:02 GMT) Full text and rfc822 format available.

Message #14 received at 35549 <at> debbugs.gnu.org (full text, mbox):

From: Gabriel Hondet <gabrielhondet <at> gmail.com>
To: 35549 <at> debbugs.gnu.org
Subject: Re: bug#35549: dune failure
Date: Sat, 04 May 2019 09:36:42 +0200
[Message part 1 (text/plain, inline)]
The error was mine, sorry, ocamlfind was not installed through guix and
thus the paths returned were wrong.  I'm closing this.

Gabriel
[signature.asc (application/pgp-signature, inline)]

bug closed, send any further explanations to 35549 <at> debbugs.gnu.org and Gabriel Hondet <gabrielhondet <at> gmail.com> Request was from Gabriel Hondet <gabrielhondet <at> gmail.com> to control <at> debbugs.gnu.org. (Sat, 04 May 2019 07:43:03 GMT) Full text and rfc822 format available.

Information forwarded to bug-guix <at> gnu.org:
bug#35549; Package guix. (Sat, 04 May 2019 07:53:01 GMT) Full text and rfc822 format available.

Message #19 received at 35549-done <at> debbugs.gnu.org (full text, mbox):

From: Ricardo Wurmus <rekado <at> elephly.net>
To: Gabriel Hondet <gabrielhondet <at> gmail.com>
Cc: 35549-done <at> debbugs.gnu.org
Subject: Re: bug#35549: dune failure
Date: Sat, 04 May 2019 09:51:55 +0200
> I'm closing this.

Closing.

-- 
Ricardo





bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 01 Jun 2019 11:24:06 GMT) Full text and rfc822 format available.

This bug report was last modified 4 years and 302 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.