package key-parsers

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

key-parsers 0.9.2

Error log

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

[NOTE] Package dune is already installed (current version is 3.17.2).
[NOTE] Package ocamlfind is already installed (current version is 1.9.8).
The following actions will be performed:
=== install 40 packages
  - install asn1-combinators        0.2.5
  - install base                    v0.14.3
  - install bigarray-compat         1.1.0
  - install bin_prot                v0.14.1
  - install conf-gmp                4
  - install conf-pkg-config         4
  - install cppo                    1.8.0
  - install csexp                   1.5.2
  - install cstruct                 5.2.0
  - install dune-configurator       3.17.2
  - install fieldslib               v0.14.0
  - install hex                     1.5.0
  - install key-parsers             0.9.2
  - install ocaml-compiler-libs     v0.12.4
  - install ocaml-migrate-parsetree 1.8.0 (deprecated)
  - install ocamlbuild              0.15.0
  - install ppx_bin_prot            v0.14.0
  - install ppx_compare             v0.14.0
  - install ppx_custom_printf       v0.14.0
  - install ppx_derivers            1.2.1
  - install ppx_deriving            4.5-1
  - install ppx_deriving_yojson     3.5.3
  - install ppx_fields_conv         v0.14.1
  - install ppx_here                v0.14.0
  - install ppx_optcomp             v0.14.0
  - install ppx_sexp_conv           v0.14.1
  - install ppx_tools               6.6
  - install ppx_variants_conv       v0.14.1
  - install ppxfind                 1.4
  - install ppxlib                  0.15.0
  - install ptime                   0.8.5
  - install result                  1.5
  - install seq                     base
  - install sexplib0                v0.14.0
  - install stdio                   v0.14.0
  - install stdlib-shims            0.3.0
  - install topkg                   1.0.7
  - install variantslib             v0.14.0
  - install yojson                  2.2.2
  - install zarith                  1.14

The following system packages will first need to be installed:
    libgmp-dev pkg-config

<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>

opam believes some required external dependencies are missing. opam can:
> 1. Run apt-get to install them (may need root/sudo access)
  2. Display the recommended apt-get command and wait while you run it manually (e.g. in another terminal)
  3. Continue anyway, and, upon success, permanently register that this external dependency is present, but not detectable
  4. Abort the installation

[1/2/3/4] 1

+ /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "libgmp-dev" "pkg-config"
- debconf: delaying package configuration, since apt-utils is not installed
- Selecting previously unselected package libgmpxx4ldbl:amd64.
- (Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 18745 files and directories currently installed.)
- Preparing to unpack .../0-libgmpxx4ldbl_2%3a6.2.1+dfsg1-1.1_amd64.deb ...
- Unpacking libgmpxx4ldbl:amd64 (2:6.2.1+dfsg1-1.1) ...
- Selecting previously unselected package libgmp-dev:amd64.
- Preparing to unpack .../1-libgmp-dev_2%3a6.2.1+dfsg1-1.1_amd64.deb ...
- Unpacking libgmp-dev:amd64 (2:6.2.1+dfsg1-1.1) ...
- Selecting previously unselected package libpkgconf3:amd64.
- Preparing to unpack .../2-libpkgconf3_1.8.1-1_amd64.deb ...
- Unpacking libpkgconf3:amd64 (1.8.1-1) ...
- Selecting previously unselected package pkgconf-bin.
- Preparing to unpack .../3-pkgconf-bin_1.8.1-1_amd64.deb ...
- Unpacking pkgconf-bin (1.8.1-1) ...
- Selecting previously unselected package pkgconf:amd64.
- Preparing to unpack .../4-pkgconf_1.8.1-1_amd64.deb ...
- Unpacking pkgconf:amd64 (1.8.1-1) ...
- Selecting previously unselected package pkg-config:amd64.
- Preparing to unpack .../5-pkg-config_1.8.1-1_amd64.deb ...
- Unpacking pkg-config:amd64 (1.8.1-1) ...
- Setting up libpkgconf3:amd64 (1.8.1-1) ...
- Setting up libgmpxx4ldbl:amd64 (2:6.2.1+dfsg1-1.1) ...
- Setting up pkgconf-bin (1.8.1-1) ...
- Setting up libgmp-dev:amd64 (2:6.2.1+dfsg1-1.1) ...
- Setting up pkgconf:amd64 (1.8.1-1) ...
- Setting up pkg-config:amd64 (1.8.1-1) ...
- Processing triggers for libc-bin (2.36-9+deb12u9) ...

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved asn1-combinators.0.2.5  (cached)
-> retrieved bigarray-compat.1.1.0  (cached)
-> retrieved conf-gmp.4  (cached)
-> retrieved base.v0.14.3  (cached)
-> retrieved bin_prot.v0.14.1  (cached)
-> retrieved cppo.1.8.0  (cached)
-> installed conf-gmp.4
-> installed conf-pkg-config.4
-> retrieved csexp.1.5.2  (cached)
-> retrieved cstruct.5.2.0  (cached)
-> retrieved fieldslib.v0.14.0  (cached)
-> retrieved hex.1.5.0  (cached)
-> retrieved key-parsers.0.9.2  (cached)
-> retrieved ocaml-compiler-libs.v0.12.4  (cached)
-> retrieved ocamlbuild.0.15.0  (cached)
-> retrieved ppx_bin_prot.v0.14.0  (cached)
-> installed bigarray-compat.1.1.0
-> retrieved ocaml-migrate-parsetree.1.8.0  (cached)
-> retrieved ppx_compare.v0.14.0  (cached)
-> retrieved ppx_custom_printf.v0.14.0  (cached)
-> retrieved ppx_derivers.1.2.1  (cached)
-> retrieved ppx_deriving.4.5-1  (cached)
-> retrieved ppx_deriving_yojson.3.5.3  (cached)
-> retrieved ppx_fields_conv.v0.14.1  (cached)
-> retrieved ppx_here.v0.14.0  (cached)
-> retrieved ppx_optcomp.v0.14.0  (cached)
-> retrieved ppx_sexp_conv.v0.14.1  (cached)
-> installed csexp.1.5.2
-> retrieved ppx_tools.6.6  (cached)
-> retrieved ppx_variants_conv.v0.14.1  (cached)
-> retrieved ppxfind.1.4  (cached)
-> retrieved ptime.0.8.5  (cached)
-> installed ppx_derivers.1.2.1
-> retrieved ppxlib.0.15.0  (cached)
-> retrieved seq.base  (cached)
-> installed seq.base
-> retrieved result.1.5  (cached)
-> retrieved stdio.v0.14.0  (cached)
-> retrieved sexplib0.v0.14.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved topkg.1.0.7  (cached)
-> retrieved variantslib.v0.14.0  (cached)
-> retrieved dune-configurator.3.17.2  (cached)
-> installed cppo.1.8.0
-> installed ocaml-compiler-libs.v0.12.4
-> installed cstruct.5.2.0
-> installed result.1.5
-> installed sexplib0.v0.14.0
-> installed stdlib-shims.0.3.0
-> retrieved yojson.2.2.2  (cached)
-> retrieved zarith.1.14  (cached)
-> installed hex.1.5.0
-> installed yojson.2.2.2
-> installed dune-configurator.3.17.2
-> installed ppx_tools.6.6
-> installed ocamlbuild.0.15.0
-> installed zarith.1.14
-> installed ocaml-migrate-parsetree.1.8.0
-> installed topkg.1.0.7
-> installed ppxfind.1.4
-> installed base.v0.14.3
-> installed ptime.0.8.5
-> installed fieldslib.v0.14.0
-> installed variantslib.v0.14.0
-> installed stdio.v0.14.0
-> installed asn1-combinators.0.2.5
-> installed ppx_deriving.4.5-1
-> installed ppx_deriving_yojson.3.5.3
-> installed ppxlib.0.15.0
-> installed ppx_optcomp.v0.14.0
-> installed ppx_here.v0.14.0
-> installed ppx_fields_conv.v0.14.1
-> installed ppx_variants_conv.v0.14.1
-> installed ppx_compare.v0.14.0
-> installed ppx_sexp_conv.v0.14.1
-> installed ppx_custom_printf.v0.14.0
-> installed bin_prot.v0.14.1
-> installed ppx_bin_prot.v0.14.0
[ERROR] The compilation of key-parsers.0.9.2 failed at "ocaml pkg/pkg.ml build --pinned false".

#=== ERROR while compiling key-parsers.0.9.2 ==================================#
# context              2.3.0 | linux/x86_64 | ocaml-base-compiler.4.12.1 | file:///src
# path                 ~/.opam/4.12/.opam-switch/build/key-parsers.0.9.2
# command              ~/.opam/4.12/bin/ocaml pkg/pkg.ml build --pinned false
# exit-code            1
# env-file             ~/.opam/log/key-parsers-112-30ee07.env
# output-file          ~/.opam/log/key-parsers-112-30ee07.out
### output ###
# + ocamlfind ocamldep -package ppx_deriving_yojson -package ppx_bin_prot -package zarith -package str -package result -package ppx_deriving -package ppx_deriving.std -package ppx_deriving_yojson.runtime -package hex -package bin_prot -package asn1-combinators -modules src/kp_asn1.ml > src/kp_asn1.ml.depends
# + ocamlfind ocamldep -package ppx_deriving_yojson -package ppx_bin_prot -package zarith -package str -package result -package ppx_deriving -package ppx_deriving.std -package ppx_deriving_yojson.runtime -package hex -package bin_prot -package asn1-combinators -modules src/kp_derivable.mli > src/kp_derivable.mli.depends
# + ocamlfind ocamlc -c -g -bin-annot -safe-string -package ppx_deriving_yojson -package ppx_bin_prot -package zarith -package str -package result -package ppx_deriving -package ppx_deriving.std -package ppx_deriving_yojson.runtime -package hex -package bin_prot -package asn1-combinators -I src -o src/kp_derivable.cmi src/kp_derivable.mli
# + ocamlfind ocamlc -c -g -bin-annot -safe-string -package ppx_deriving_yojson -package ppx_bin_prot -package zarith -package str -package result -package ppx_deriving -package ppx_deriving.std -package ppx_deriving_yojson.runtime -package hex -package bin_prot -package asn1-combinators -I src -o src/kp_derivable.cmi src/kp_derivable.mli
# File "src/kp_derivable.mli", line 15, characters 23-39:
# 15 |   val to_yojson : t -> Yojson.Safe.json
#                             ^^^^^^^^^^^^^^^^
# Error: Unbound type constructor Yojson.Safe.json
# Command exited with code 2.
# pkg.ml: [ERROR] cmd ['ocamlbuild' '-use-ocamlfind' '-classic-display' '-j' '4' '-tag' 'debug'
#      '-build-dir' '_build' 'opam' 'pkg/META' 'CHANGES.md' 'LICENSE.md'
#      'README.md' 'src/key_parsers.a' 'src/key_parsers.cmxs'
#      'src/key_parsers.cmxa' 'src/key_parsers.cma' 'src/key_parsers.cmx'
#      'src/key_parsers.cmi' 'src/key_parsers.mli' 'src/kp_derivable.cmx'
#      'src/kp_cvc.cmx' 'src/kp_ltpa.cmx' 'src/kp_asn1.cmx']: exited with 10



<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build key-parsers 0.9.2
+- 
+- The following changes have been performed
| - install asn1-combinators        0.2.5
| - install base                    v0.14.3
| - install bigarray-compat         1.1.0
| - install bin_prot                v0.14.1
| - install conf-gmp                4
| - install conf-pkg-config         4
| - install cppo                    1.8.0
| - install csexp                   1.5.2
| - install cstruct                 5.2.0
| - install dune-configurator       3.17.2
| - install fieldslib               v0.14.0
| - install hex                     1.5.0
| - install ocaml-compiler-libs     v0.12.4
| - install ocaml-migrate-parsetree 1.8.0
| - install ocamlbuild              0.15.0
| - install ppx_bin_prot            v0.14.0
| - install ppx_compare             v0.14.0
| - install ppx_custom_printf       v0.14.0
| - install ppx_derivers            1.2.1
| - install ppx_deriving            4.5-1
| - install ppx_deriving_yojson     3.5.3
| - install ppx_fields_conv         v0.14.1
| - install ppx_here                v0.14.0
| - install ppx_optcomp             v0.14.0
| - install ppx_sexp_conv           v0.14.1
| - install ppx_tools               6.6
| - install ppx_variants_conv       v0.14.1
| - install ppxfind                 1.4
| - install ppxlib                  0.15.0
| - install ptime                   0.8.5
| - install result                  1.5
| - install seq                     base
| - install sexplib0                v0.14.0
| - install stdio                   v0.14.0
| - install stdlib-shims            0.3.0
| - install topkg                   1.0.7
| - install variantslib             v0.14.0
| - install yojson                  2.2.2
| - install zarith                  1.14
+- 

<><> ocaml-migrate-parsetree.1.8.0 installed successfully <><><><><><><><><><><>
=> Note: This package is deprecated.
# To update the current shell environment, run: eval $(opam env)

The former state can be restored with:
    /usr/bin/opam switch import "/home/opam/.opam/4.12/.opam-switch/backup/state-20250206025114.export"
OCaml

Innovation. Community. Security.