frama-c should probably be wrapped

  • Open
  • quality assurance status badge
Details
2 participants
  • Julien Lepiller
  • raingloom
Owner
unassigned
Submitted by
raingloom
Severity
normal
R
R
raingloom wrote on 20 May 2022 13:36
(name . Guix Bugs)(address . bug-guix@gnu.org)
20220520133654.2280f432@riseup.net
Sorry, can't debug this further right now.

```
$(guix build frama-c)/bin/frama-c
[kernel] User Error: [findlib] package 'ocamlgraph' not found (required by `frama-c.kernel')
[kernel] User Error: Deferred error message was emitted during execution. See above messages for more information.
[kernel] Frama-C aborted: invalid user input.
```

Running it with `guix shell frama-c -- frama-c` just makes it exit
without any output.
J
J
Julien Lepiller wrote on 2 Jun 2022 07:57
(name . raingloom)(address . raingloom@riseup.net)(address . 55552@debbugs.gnu.org)
20220602075719.719c454a@sybil.lepiller.eu
Le Fri, 20 May 2022 13:36:54 +0200,
raingloom <raingloom@riseup.net> a écrit :

Toggle quote (15 lines)
> Sorry, can't debug this further right now.
>
> ```
> $(guix build frama-c)/bin/frama-c
> [kernel] User Error: [findlib] package 'ocamlgraph' not found
> (required by `frama-c.kernel') [kernel] User Error: Deferred error
> message was emitted during execution. See above messages for more
> information. [kernel] Frama-C aborted: invalid user input. ```
>
> Running it with `guix shell frama-c -- frama-c` just makes it exit
> without any output.
>
>
>

Hi, I think it's a duplicate of https://issues.guix.gnu.org/54094?
I think it's just a matter of defining OCAMLPATH. Do you think you could
come up with a patch?
R
R
raingloom wrote on 2 Jun 2022 17:28
(name . Julien Lepiller)(address . julien@lepiller.eu)(address . 55552@debbugs.gnu.org)
20220602172807.1843ab03@riseup.net
On Thu, 2 Jun 2022 07:57:19 +0200
Julien Lepiller <julien@lepiller.eu> wrote:

Toggle quote (22 lines)
> Le Fri, 20 May 2022 13:36:54 +0200,
> raingloom <raingloom@riseup.net> a écrit :
>
> > Sorry, can't debug this further right now.
> >
> > ```
> > $(guix build frama-c)/bin/frama-c
> > [kernel] User Error: [findlib] package 'ocamlgraph' not found
> > (required by `frama-c.kernel') [kernel] User Error: Deferred error
> > message was emitted during execution. See above messages for more
> > information. [kernel] Frama-C aborted: invalid user input. ```
> >
> > Running it with `guix shell frama-c -- frama-c` just makes it exit
> > without any output.
> >
> >
> >
>
> Hi, I think it's a duplicate of https://issues.guix.gnu.org/54094 ?
> I think it's just a matter of defining OCAMLPATH. Do you think you
> could come up with a patch?

Oh, I totally forgot about that. Well, I'll try to write something, but
it'll probably have to wait until my exams are over.
?