package clarity

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

clarity 0.2.0

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

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

<><> opam-depext.1.2.3 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 clarity.0.2.0 ocamlfind.1.9.6 jbuilder.transition dune.1.11.4" 

Since version 2.1, opam now handles external dependencies alongside OCaml ones, and the `depext` plugin interface is provided for backwards compatibility only. Consider using your usual `opam install` command to install both OCaml and system dependencies, or `opam install <pkg> --depext-only` if you want to only install external dependencies.
# 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 1.11.4).
[NOTE] Package ocamlfind is already installed (current version is 1.9.6).
The following actions will be performed:
  - install jbuilder transition
  - install clarity  0.2.0
===== 2 to install =====

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/6: [clarity.0.2.0: http]
Processing  2/6: [clarity.0.2.0: http]
Processing  3/6: [clarity.0.2.0: http]
-> installed jbuilder.transition
Processing  4/6: [clarity.0.2.0: http]
Processing  4/6:
-> retrieved clarity.0.2.0  (https://github.com/IndiscriminateCoding/clarity/archive/0.2.0.zip)
Processing  5/6: [clarity: jbuilder build]
+ /home/opam/.opam/4.07/bin/jbuilder "build" "-p" "clarity" (CWD=/home/opam/.opam/4.07/.opam-switch/build/clarity.0.2.0)
- The jbuilder binary is deprecated and will cease to be maintained in July 2019.
- Please switch to dune instead.
- File "lib/jbuild", line 1, characters 0-0:
- Warning: jbuild files are deprecated, please convert this file to a dune file
- instead.
- Note: You can use "dune upgrade" to convert your project to dune.
- File "tests/jbuild", line 1, characters 0-0:
- Warning: jbuild files are deprecated, please convert this file to a dune file
- instead.
- Note: You can use "dune upgrade" to convert your project to dune.
-       ocamlc lib/.clarity.objs/byte/clarity.{cmi,cmo,cmt} (exit 2)
- (cd _build/default && /home/opam/.opam/4.07/bin/ocamlc.opt -w +44+45 -strict-sequence -principal -g -bin-annot -I lib/.clarity.objs/byte -no-alias-deps -open Clarity__ -o lib/.clarity.objs/byte/clarity.cmo -c -impl lib/clarity.ml)
- File "lib/clarity.ml", line 8, characters 17-24:
- Error: Unbound module Clarity
- Hint: Did you mean Clarity__?
[ERROR] The compilation of clarity.0.2.0 failed at "jbuilder build -p clarity".

#=== ERROR while compiling clarity.0.2.0 ======================================#
# context              2.1.6 | linux/x86_64 | ocaml-base-compiler.4.07.1 | file:///src
# path                 ~/.opam/4.07/.opam-switch/build/clarity.0.2.0
# command              ~/.opam/4.07/bin/jbuilder build -p clarity
# exit-code            1
# env-file             ~/.opam/log/clarity-116-5b22f2.env
# output-file          ~/.opam/log/clarity-116-5b22f2.out
### output ###
# The jbuilder binary is deprecated and will cease to be maintained in July 2019.
# Please switch to dune instead.
# File "lib/jbuild", line 1, characters 0-0:
# Warning: jbuild files are deprecated, please convert this file to a dune file
# instead.
# Note: You can use "dune upgrade" to convert your project to dune.
# File "tests/jbuild", line 1, characters 0-0:
# Warning: jbuild files are deprecated, please convert this file to a dune file
# instead.
# Note: You can use "dune upgrade" to convert your project to dune.
#       ocamlc lib/.clarity.objs/byte/clarity.{cmi,cmo,cmt} (exit 2)
# (cd _build/default && /home/opam/.opam/4.07/bin/ocamlc.opt -w +44+45 -strict-sequence -principal -g -bin-annot -I lib/.clarity.objs/byte -no-alias-deps -open Clarity__ -o lib/.clarity.objs/byte/clarity.cmo -c -impl lib/clarity.ml)
# File "lib/clarity.ml", line 8, characters 17-24:
# Error: Unbound module Clarity
# Hint: Did you mean Clarity__?



<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build clarity 0.2.0
+- 
+- The following changes have been performed
| - install jbuilder transition
+- 

<><> jbuilder.transition installed successfully <><><><><><><><><><><><><><><><>
=> Jbuilder has been renamed and the jbuilder package is now a transition package. Use the dune package instead.
# 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.07/.opam-switch/backup/state-20240912211038.export"
'opam --cli=2.1 install clarity.0.2.0 ocamlfind.1.9.6 jbuilder.transition dune.1.11.4 --verbose --yes --confirm-level=unsafe-yes' failed.
OCaml

Innovation. Community. Security.