package charset

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

charset 0.1.0

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).
The following actions will be performed:
=== install 5 packages
  - install charset                 0.1.0
  - install csexp                   1.5.2
  - install dune-configurator       3.17.2
  - install ocaml_intrinsics        v0.17.0
  - install ocaml_intrinsics_kernel v0.17.1

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved charset.0.1.0  (cached)
-> retrieved csexp.1.5.2  (cached)
-> retrieved ocaml_intrinsics.v0.17.0  (cached)
-> retrieved ocaml_intrinsics_kernel.v0.17.1  (cached)
-> installed csexp.1.5.2
-> installed ocaml_intrinsics_kernel.v0.17.1
-> retrieved dune-configurator.3.17.2  (cached)
-> installed dune-configurator.3.17.2
-> installed ocaml_intrinsics.v0.17.0
[ERROR] The compilation of charset.0.1.0 failed at "dune build -p charset -j 31".

#=== ERROR while compiling charset.0.1.0 ======================================#
# context              2.3.0 | linux/x86_64 | ocaml-base-compiler.5.1.1 | file:///src
# path                 ~/.opam/5.1/.opam-switch/build/charset.0.1.0
# command              ~/.opam/5.1/bin/dune build -p charset -j 31
# exit-code            1
# env-file             ~/.opam/log/charset-113-f632bc.env
# output-file          ~/.opam/log/charset-113-f632bc.out
### output ###
# (cd _build/default && /home/opam/.opam/5.1/bin/ocamlc.opt -w -40 -g -bin-annot -I lib/.charset.objs/byte -I /home/opam/.opam/5.1/lib/ocaml_intrinsics -I /home/opam/.opam/5.1/lib/ocaml_intrinsics_kernel -intf-suffix .ml -no-alias-deps -o lib/.charset.objs/byte/charset_bitops.cmo -c -impl lib/charset_bitops.ml)
# File "lib/charset_bitops.intrinsics.ml", line 31, characters 6-26:
# Error: Signature mismatch:
#        ...
#        Values do not match:
#          val count_leading_zeros : int -> int
#        is not included in
#          external count_leading_zeros : int -> (int [@untagged])
#            = "caml_int_clz" "caml_int_clz_tagged_to_untagged" [@@noalloc]
#        The implementation is not a primitive.
#        File "lib/charset_bitops.intrinsics.ml", lines 21-22, characters 2-49:
#          Expected declaration
#        File "src/int.mli", line 13, characters 0-36: Actual declaration
# (cd _build/default && /home/opam/.opam/5.1/bin/ocamlopt.opt -w -40 -g -I lib/.charset.objs/byte -I lib/.charset.objs/native -I /home/opam/.opam/5.1/lib/ocaml_intrinsics -I /home/opam/.opam/5.1/lib/ocaml_intrinsics_kernel -intf-suffix .ml -no-alias-deps -o lib/.charset.objs/native/charset_bitops.cmx -c -impl lib/charset_bitops.ml)
# File "lib/charset_bitops.intrinsics.ml", line 31, characters 6-26:
# Error: Signature mismatch:
#        ...
#        Values do not match:
#          val count_leading_zeros : int -> int
#        is not included in
#          external count_leading_zeros : int -> (int [@untagged])
#            = "caml_int_clz" "caml_int_clz_tagged_to_untagged" [@@noalloc]
#        The implementation is not a primitive.
#        File "lib/charset_bitops.intrinsics.ml", lines 21-22, characters 2-49:
#          Expected declaration
#        File "src/int.mli", line 13, characters 0-36: Actual declaration
# (cd _build/default && /home/opam/.opam/5.1/bin/ocamlc.opt -w -40 -g -bin-annot -I lib/.charset.objs/byte -I /home/opam/.opam/5.1/lib/ocaml_intrinsics -I /home/opam/.opam/5.1/lib/ocaml_intrinsics_kernel -intf-suffix .ml -no-alias-deps -o lib/.charset.objs/byte/charset.cmo -c -impl lib/charset.ml)
# File "lib/charset.ml", line 1:
# Error: The implementation lib/charset.ml
#        does not match the interface lib/.charset.objs/byte/charset.cmi: 
#        The value `to_list' is required but not provided
#        File "set.mli", line 288, characters 4-31: Expected declaration



<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build charset 0.1.0
+- 
+- The following changes have been performed
| - install csexp                   1.5.2
| - install dune-configurator       3.17.2
| - install ocaml_intrinsics        v0.17.0
| - install ocaml_intrinsics_kernel v0.17.1
+- 
# 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/5.1/.opam-switch/backup/state-20250206043158.export"
OCaml

Innovation. Community. Security.