Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
mattall opened this issue Apr 8, 2021 · 4 comments

Comments

@mattall
Copy link

mattall commented Apr 8, 2021

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
@jnfoster
Copy link
Member

Which version of OCaml are you on? That is, what does opam list show?

@mattall
Copy link
Author

mattall commented Apr 13, 2021

4.06.0

@jnfoster
Copy link
Member

Ahh. We need to update the OPAM package. Sorry about that.

In the meantime, I can help you if you want to install from source...

@mattall
Copy link
Author

mattall commented Apr 14, 2021

Thanks but that is okay! I have it installed on another machine that I can use for now. Appreciate it though :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants