package easy_logging_yojson

  1. Overview
  2. Docs
On This Page
  1. Error log

easy_logging_yojson 0.5

Error log

The package failed to build. The error log from opam follows.

Opam plugin "depext" may require upgrading/reinstalling. Reinstall the plugin on the current switch? [Y/n] y
The following actions will be performed:
  - recompile opam-depext 1.2.1-1

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved opam-depext.1.2.1-1  (cached)
-> removed   opam-depext.1.2.1-1
-> installed opam-depext.1.2.1-1
Done.

<><> opam-depext.1.2.1-1 installed successfully <><><><><><><><><><><><><><><><>
=> opam-depext is unnecessary when used with opam >= 2.1. Please use opam install directly instead
# Run eval $(opam env) to update the current shell environment

<><> Carrying on to "opam depext -viy easy_logging_yojson.0.5 yojson.2.1.2 seq.base result.1.5 ppxfind.1.4 ppx_tools.6.6 ppx_deriving_yojson.3.5.3 ppx_deriving.4.5-1 ppx_derivers.1.2.1 ocamlfind.1.9.6 ocaml-migrate-parsetree.1.8.0 easy_logging.0.5 dune.3.13.0 cppo.1.6.9" 

You are using opam 2.1+, where external dependency handling has been integrated: consider calling opam directly, the 'depext' plugin interface is provided for backwards compatibility only
# Detecting depexts using vars: arch=x86_64, os=linux, os-distribution=debian, os-family=debian
# No extra OS packages requirements found.
[NOTE] Package dune is already installed (current version is 3.13.0).
[NOTE] Package ocamlfind is already installed (current version is 1.9.6).
The following actions will be performed:
  - install cppo                    1.6.9
  - install ppx_derivers            1.2.1
  - install result                  1.5
  - install seq                     base
  - install easy_logging            0.5
  - install ppx_tools               6.6
  - install ocaml-migrate-parsetree 1.8.0
  - install yojson                  2.1.2
  - install ppxfind                 1.4
  - install ppx_deriving            4.5-1
  - install ppx_deriving_yojson     3.5.3
  - install easy_logging_yojson     0.5
===== 12 to install =====

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/36:
Processing  2/36:
Processing  3/36:
-> retrieved cppo.1.6.9  (cached)
Processing  4/36:
Processing  5/36: [cppo: dune build]
-> retrieved easy_logging.0.5  (cached)
Processing  6/36: [cppo: dune build]
Processing  7/36: [cppo: dune build] [easy_logging: dune build]
-> retrieved easy_logging_yojson.0.5  (cached)
Processing  8/36: [cppo: dune build] [easy_logging: dune build]
-> retrieved ocaml-migrate-parsetree.1.8.0  (cached)
Processing  9/36: [cppo: dune build] [easy_logging: dune build]
-> retrieved ppx_derivers.1.2.1  (cached)
Processing 10/36: [cppo: dune build] [easy_logging: dune build]
Processing 11/36: [cppo: dune build] [easy_logging: dune build] [ppx_derivers: dune build]
-> retrieved ppx_deriving.4.5-1  (cached)
Processing 12/36: [cppo: dune build] [easy_logging: dune build] [ppx_derivers: dune build]
-> retrieved ppx_deriving_yojson.3.5.3  (cached)
Processing 13/36: [cppo: dune build] [easy_logging: dune build] [ppx_derivers: dune build]
-> retrieved ppx_tools.6.6  (cached)
Processing 14/36: [cppo: dune build] [easy_logging: dune build] [ppx_derivers: dune build]
Processing 15/36: [cppo: dune build] [easy_logging: dune build] [ppx_derivers: dune build]
Processing 16/36: [cppo: dune build] [easy_logging: dune build] [ppx_derivers: dune build]
-> installed seq.base
Processing 17/36: [cppo: dune build] [easy_logging: dune build] [ppx_derivers: dune build]
-> retrieved ppxfind.1.4  (cached)
-> retrieved result.1.5  (cached)
Processing 18/36: [cppo: dune build] [easy_logging: dune build] [ppx_derivers: dune build] [result: dune build]
-> retrieved yojson.2.1.2  (cached)
-> compiled  ppx_derivers.1.2.1
Processing 18/36: [cppo: dune build] [easy_logging: dune build] [result: dune build]
-> installed ppx_derivers.1.2.1
Processing 19/36: [cppo: dune build] [easy_logging: dune build] [result: dune build]
-> compiled  result.1.5
Processing 19/36: [cppo: dune build] [easy_logging: dune build]
-> installed result.1.5
Processing 20/36: [cppo: dune build] [easy_logging: dune build]
Processing 21/36: [cppo: dune build] [easy_logging: dune build] [ocaml-migrate-parsetree: dune build]
- File "dune-project", line 1, characters 11-16:
- 1 | (lang dune 1.8.0)
-                ^^^^^
- Warning: The ".0" part is ignored here.
- This version is parsed as just 1.8.
-> compiled  easy_logging.0.5
Processing 21/36: [cppo: dune build] [ocaml-migrate-parsetree: dune build]
-> installed easy_logging.0.5
Processing 22/36: [cppo: dune build] [ocaml-migrate-parsetree: dune build]
-> compiled  cppo.1.6.9
Processing 22/36: [ocaml-migrate-parsetree: dune build]
-> installed cppo.1.6.9
Processing 23/36: [ocaml-migrate-parsetree: dune build]
Processing 24/36: [ocaml-migrate-parsetree: dune build] [ppx_tools: dune build]
Processing 25/36: [ocaml-migrate-parsetree: dune build] [ppx_tools: dune build] [yojson: dune build]
-> compiled  yojson.2.1.2
Processing 25/36: [ocaml-migrate-parsetree: dune build] [ppx_tools: dune build]
-> installed yojson.2.1.2
Processing 26/36: [ocaml-migrate-parsetree: dune build] [ppx_tools: dune build]
-> compiled  ppx_tools.6.6
Processing 26/36: [ocaml-migrate-parsetree: dune build]
-> installed ppx_tools.6.6
Processing 27/36: [ocaml-migrate-parsetree: dune build]
+ /home/opam/.opam/4.12/bin/dune "build" "-p" "ocaml-migrate-parsetree" "-j" "255" (CWD=/home/opam/.opam/4.12/.opam-switch/build/ocaml-migrate-parsetree.1.8.0)
-> compiled  ocaml-migrate-parsetree.1.8.0
-> installed ocaml-migrate-parsetree.1.8.0
Processing 29/36: [ppxfind: dune build]
+ /home/opam/.opam/4.12/bin/dune "build" "-p" "ppxfind" "-j" "255" "@install" (CWD=/home/opam/.opam/4.12/.opam-switch/build/ppxfind.1.4)
-> compiled  ppxfind.1.4
-> installed ppxfind.1.4
[ppx_deriving: patch] applying fix_dune_3.patch
Processing 31/36: [ppx_deriving: patch]
Processing 31/36: [ppx_deriving: dune build]
+ /home/opam/.opam/4.12/bin/dune "build" "-p" "ppx_deriving" "-j" "255" (CWD=/home/opam/.opam/4.12/.opam-switch/build/ppx_deriving.4.5-1)
-> compiled  ppx_deriving.4.5-1
-> installed ppx_deriving.4.5-1
Processing 33/36: [ppx_deriving_yojson: dune build]
+ /home/opam/.opam/4.12/bin/dune "build" "-p" "ppx_deriving_yojson" "-j" "255" (CWD=/home/opam/.opam/4.12/.opam-switch/build/ppx_deriving_yojson.3.5.3)
-> compiled  ppx_deriving_yojson.3.5.3
-> installed ppx_deriving_yojson.3.5.3
Processing 35/36: [easy_logging_yojson: dune build]
+ /home/opam/.opam/4.12/bin/dune "build" "-p" "easy_logging_yojson" "-j" "255" (CWD=/home/opam/.opam/4.12/.opam-switch/build/easy_logging_yojson.0.5)
- File "dune-project", line 1, characters 11-16:
- 1 | (lang dune 1.8.0)
-                ^^^^^
- Warning: The ".0" part is ignored here.
- This version is parsed as just 1.8.
- (cd _build/default && /home/opam/.opam/4.12/bin/ocamlc.opt -w -g -bin-annot -I conf_loader_modules/yojson/.easy_logging_yojson.objs/byte -I /home/opam/.opam/4.12/lib/easy_logging -I /home/opam/.opam/4.12/lib/ocaml-migrate-parsetree -I /home/opam/.opam/4.12/lib/ocaml/compiler-libs -I /home/opam/.opam/4.12/lib/ppx_derivers -I /home/opam/.opam/4.12/lib/ppx_deriving/api -I /home/opam/.opam/4.12/lib/ppx_deriving/runtime -I /home/opam/.opam/4.12/lib/ppx_deriving_yojson -I /home/opam/.opam/4.12/lib/ppx_deriving_yojson/runtime -I /home/opam/.opam/4.12/lib/ppx_tools -I /home/opam/.opam/4.12/lib/result -I /home/opam/.opam/4.12/lib/seq -I /home/opam/.opam/4.12/lib/yojson -no-alias-deps -o conf_loader_modules/yojson/.easy_logging_yojson.objs/byte/easy_logging_yojson.cmo -c -impl conf_loader_modules/yojson/easy_logging_yojson.pp.ml)
- File "conf_loader_modules/yojson/easy_logging_yojson.ml", line 9, characters 30-46:
- 9 | let log_level_to_yojson lvl : Yojson.Safe.json =
-                                   ^^^^^^^^^^^^^^^^
- Error: Unbound type constructor Yojson.Safe.json
[ERROR] The compilation of easy_logging_yojson.0.5 failed at "dune build -p easy_logging_yojson -j 255".

#=== ERROR while compiling easy_logging_yojson.0.5 ============================#
# context              2.1.5 | linux/x86_64 | ocaml-base-compiler.4.12.1 | file:///src
# path                 ~/.opam/4.12/.opam-switch/build/easy_logging_yojson.0.5
# command              ~/.opam/4.12/bin/dune build -p easy_logging_yojson -j 255
# exit-code            1
# env-file             ~/.opam/log/easy_logging_yojson-113-61f9e3.env
# output-file          ~/.opam/log/easy_logging_yojson-113-61f9e3.out
### output ###
# File "dune-project", line 1, characters 11-16:
# 1 | (lang dune 1.8.0)
#                ^^^^^
# Warning: The ".0" part is ignored here.
# This version is parsed as just 1.8.
# (cd _build/default && /home/opam/.opam/4.12/bin/ocamlc.opt -w -g -bin-annot -I conf_loader_modules/yojson/.easy_logging_yojson.objs/byte -I /home/opam/.opam/4.12/lib/easy_logging -I /home/opam/.opam/4.12/lib/ocaml-migrate-parsetree -I /home/opam/.opam/4.12/lib/ocaml/compiler-libs -I /home/opam/.opam/4.12/lib/ppx_derivers -I /home/opam/.opam/4.12/lib/ppx_deriving/api -I /home/opam/.opam/4.12/lib/ppx_deriving/runtime -I /home/opam/.opam/4.12/lib/ppx_deriving_yojson -I /home/opam/.opam/4.12/lib/ppx_deriving_yojson/runtime -I /home/opam/.opam/4.12/lib/ppx_tools -I /home/opam/.opam/4.12/lib/result -I /home/opam/.opam/4.12/lib/seq -I /home/opam/.opam/4.12/lib/yojson -no-alias-deps -o conf_loader_modules/yojson/.easy_logging_yojson.objs/byte/easy_logging_yojson.cmo -c -impl conf_loader_modules/yojson/easy_logging_yojson.pp.ml)
# File "conf_loader_modules/yojson/easy_logging_yojson.ml", line 9, characters 30-46:
# 9 | let log_level_to_yojson lvl : Yojson.Safe.json =
#                                   ^^^^^^^^^^^^^^^^
# Error: Unbound type constructor Yojson.Safe.json



<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build easy_logging_yojson 0.5
+- 
+- The following changes have been performed
| - install cppo                    1.6.9
| - install easy_logging            0.5
| - install ocaml-migrate-parsetree 1.8.0
| - install ppx_derivers            1.2.1
| - install ppx_deriving            4.5-1
| - install ppx_deriving_yojson     3.5.3
| - install ppx_tools               6.6
| - install ppxfind                 1.4
| - install result                  1.5
| - install seq                     base
| - install yojson                  2.1.2
+- 
# Run eval $(opam env) to update the current shell environment

The former state can be restored with:
    /usr/bin/opam switch import "/home/opam/.opam/4.12/.opam-switch/backup/state-20240129185926.export"
'opam --cli=2.1 install easy_logging_yojson.0.5 yojson.2.1.2 seq.base result.1.5 ppxfind.1.4 ppx_tools.6.6 ppx_deriving_yojson.3.5.3 ppx_deriving.4.5-1 ppx_derivers.1.2.1 ocamlfind.1.9.6 ocaml-migrate-parsetree.1.8.0 easy_logging.0.5 dune.3.13.0 cppo.1.6.9 --verbose --yes --confirm-level=unsafe-yes' failed.