Skip to content

Problem to install frenetic 5.0.3 from opam - Warning 3: Depricated Yojson.Basic.json #649

@mattall

Description

@mattall

Hello,

I'm trying to install frenetic v5.0.3 and I'm running into this issue.
The build fails and I get some warning messages about Yojason.Basic.json.

Is there a simple fix?

m@DESKTOP-IK3SUI2:~/src/yates$ opam install frenetic
The following actions will be performed:
  ∗ install frenetic 5.0.3

<><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
[frenetic.5.0.3] found in cache

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
[ERROR] The compilation of frenetic failed at "/home/m/.opam/opam-init/hooks/sandbox.sh build jbuilder build
        -p frenetic -j 5".

#=== ERROR while compiling frenetic.5.0.3 =====================================#
# context     2.0.5 | linux/x86_64 | ocaml-base-compiler.4.06.0 | https://opam.ocaml.org#ea001ff9
# path        ~/.opam/4.06.0/.opam-switch/build/frenetic.5.0.3
# command     ~/.opam/opam-init/hooks/sandbox.sh build jbuilder build -p frenetic -j 5
# exit-code   1
# env-file    ~/.opam/log/frenetic-4770-d2c37b.env
# output-file ~/.opam/log/frenetic-4770-d2c37b.out
### output ###
# [...]
# File "src/lib/netkat/Json.ml", line 334, characters 40-44:
# Warning 3: deprecated: Yojson.Basic.json
# json types are being renamed and will be removed in the next Yojson major version. Use type t instead
# File "src/lib/netkat/Json.ml", line 344, characters 42-46:
# Warning 3: deprecated: Yojson.Basic.json
# json types are being renamed and will be removed in the next Yojson major version. Use type t instead
# File "src/lib/netkat/Json.ml", line 348, characters 71-75:
# Warning 3: deprecated: Yojson.Basic.json
# json types are being renamed and will be removed in the next Yojson major version. Use type t instead
# File "src/lib/netkat/Json.ml", line 366, characters 36-40:
# Warning 3: deprecated: Yojson.Basic.json
# json types are being renamed and will be removed in the next Yojson major version. Use type t instead



<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
┌─ The following actions failed
│ λ build frenetic 5.0.3
└─
╶─ No changes have been performed

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions