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