sectionYPositions = computeSectionYPositions($el), 10)" x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)">
On This Page
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 5 packages - install ocamlbuild 0.15.0 - install records 0.6.0 - install result 1.5 - install seq base - install yojson 2.2.2 <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -> retrieved result.1.5 (cached) -> retrieved seq.base (cached) -> installed seq.base -> retrieved ocamlbuild.0.15.0 (cached) -> retrieved yojson.2.2.2 (cached) -> installed result.1.5 -> retrieved records.0.6.0 (https://github.com/cryptosense/records/archive/v0.6.0.tar.gz) -> installed yojson.2.2.2 -> installed ocamlbuild.0.15.0 [ERROR] The compilation of records.0.6.0 failed at "make". #=== ERROR while compiling records.0.6.0 ======================================# # context 2.3.0 | linux/x86_64 | ocaml-base-compiler.4.08.1 | file:///src # path ~/.opam/4.08/.opam-switch/build/records.0.6.0 # command /usr/bin/make # exit-code 2 # env-file ~/.opam/log/records-113-5d9c02.env # output-file ~/.opam/log/records-113-5d9c02.out ### output ### # ocamlbuild -use-ocamlfind record.cmi # + ocamlfind ocamldep -package result -package yojson -modules record.mli > record.mli.depends # + ocamlfind ocamlc -c -g -bin-annot -safe-string -warn-error +8 -package result -package yojson -o record.cmi record.mli # + ocamlfind ocamlc -c -g -bin-annot -safe-string -warn-error +8 -package result -package yojson -o record.cmi record.mli # File "record.mli", line 37, characters 27-43: # 37 | val of_yojson : 'a t -> (Yojson.Safe.json -> ('a, string) result) # ^^^^^^^^^^^^^^^^ # Error: Unbound type constructor Yojson.Safe.json # Command exited with code 2. # make: *** [Makefile:26: _build/record.cmi] Error 10 <><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><> +- The following actions failed | - build records 0.6.0 +- +- The following changes have been performed | - install ocamlbuild 0.15.0 | - install result 1.5 | - install seq base | - install yojson 2.2.2 +- # 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.08/.opam-switch/backup/state-20250206042620.export"