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.

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

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/15:
Processing  2/15:
Processing  3/15:
-> retrieved charset.0.1.0  (cached)
Processing  4/15:
-> retrieved csexp.1.5.2  (cached)
Processing  5/15:
Processing  6/15: [csexp: dune build]
-> retrieved dune-configurator.3.15.3  (cached)
-> retrieved ocaml_intrinsics.v0.17.0  (cached)
-> retrieved ocaml_intrinsics_kernel.v0.17.0  (cached)
Processing  7/15: [csexp: dune build] [ocaml_intrinsics_kernel: dune build]
-> compiled  csexp.1.5.2
Processing  7/15: [ocaml_intrinsics_kernel: dune build]
-> installed csexp.1.5.2
Processing  8/15: [ocaml_intrinsics_kernel: dune build]
Processing  9/15: [dune-configurator: rm] [ocaml_intrinsics_kernel: dune build]
-> compiled  ocaml_intrinsics_kernel.v0.17.0
Processing  9/15: [dune-configurator: rm]
-> installed ocaml_intrinsics_kernel.v0.17.0
Processing 10/15: [dune-configurator: rm]
+ /usr/bin/rm "-rf" "vendor/csexp" (CWD=/home/opam/.opam/5.1/.opam-switch/build/dune-configurator.3.15.3)
+ /usr/bin/rm "-rf" "vendor/pp" (CWD=/home/opam/.opam/5.1/.opam-switch/build/dune-configurator.3.15.3)
Processing 10/15: [dune-configurator: dune build]
+ /home/opam/.opam/5.1/bin/dune "build" "-p" "dune-configurator" "-j" "39" "@install" (CWD=/home/opam/.opam/5.1/.opam-switch/build/dune-configurator.3.15.3)
-> compiled  dune-configurator.3.15.3
-> installed dune-configurator.3.15.3
Processing 12/15: [ocaml_intrinsics: dune build]
+ /home/opam/.opam/5.1/bin/dune "build" "-p" "ocaml_intrinsics" "-j" "39" (CWD=/home/opam/.opam/5.1/.opam-switch/build/ocaml_intrinsics.v0.17.0)
-> compiled  ocaml_intrinsics.v0.17.0
-> installed ocaml_intrinsics.v0.17.0
Processing 14/15: [charset: dune build]
+ /home/opam/.opam/5.1/bin/dune "build" "-p" "charset" "-j" "39" (CWD=/home/opam/.opam/5.1/.opam-switch/build/charset.0.1.0)
- (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] The compilation of charset.0.1.0 failed at "dune build -p charset -j 39".

#=== ERROR while compiling charset.0.1.0 ======================================#
# context              2.1.6 | 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 39
# exit-code            1
# env-file             ~/.opam/log/charset-113-1f1bcd.env
# output-file          ~/.opam/log/charset-113-1f1bcd.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.15.3
| - install ocaml_intrinsics        v0.17.0
| - install ocaml_intrinsics_kernel v0.17.0
+- 
# 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/5.1/.opam-switch/backup/state-20240529172445.export"
'opam --cli=2.1 install charset.0.1.0 ocaml_intrinsics_kernel.v0.17.0 ocaml_intrinsics.v0.17.0 dune-configurator.3.15.3 dune.3.15.3 csexp.1.5.2 --verbose --yes --confirm-level=unsafe-yes' failed.
OCaml

Innovation. Community. Security.