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.

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 charset.0.1.0 ocaml_intrinsics_kernel.v0.17.1 ocaml_intrinsics.v0.17.0 dune-configurator.3.16.0 dune.3.16.0 csexp.1.5.2" 

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

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/15: [charset.0.1.0: http]
Processing  2/15: [charset.0.1.0: http]
Processing  3/15: [charset.0.1.0: http]
-> retrieved csexp.1.5.2  (cached)
Processing  4/15: [charset.0.1.0: http]
Processing  5/15: [charset.0.1.0: http] [csexp: dune build]
Processing  5/15: [csexp: dune build]
-> retrieved dune-configurator.3.16.0  (cached)
Processing  6/15: [csexp: dune build]
-> retrieved ocaml_intrinsics.v0.17.0  (cached)
-> compiled  csexp.1.5.2
Processing  6/15:
-> installed csexp.1.5.2
Processing  7/15:
Processing  8/15: [dune-configurator: rm]
-> retrieved charset.0.1.0  (https://github.com/yallop/ocaml-charset/archive/refs/tags/0.1.0.tar.gz)
-> retrieved ocaml_intrinsics_kernel.v0.17.1  (cached)
Processing  9/15: [dune-configurator: rm] [ocaml_intrinsics_kernel: dune build]
Processing  9/15: [dune-configurator: dune build] [ocaml_intrinsics_kernel: dune build]
-> compiled  ocaml_intrinsics_kernel.v0.17.1
Processing  9/15: [dune-configurator: dune build]
-> installed ocaml_intrinsics_kernel.v0.17.1
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.16.0)
-> compiled  dune-configurator.3.16.0
-> installed dune-configurator.3.16.0
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-115-813d95.env
# output-file          ~/.opam/log/charset-115-813d95.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.16.0
| - install ocaml_intrinsics        v0.17.0
| - install ocaml_intrinsics_kernel v0.17.1
+- 
# 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-20240912101334.export"
'opam --cli=2.1 install charset.0.1.0 ocaml_intrinsics_kernel.v0.17.1 ocaml_intrinsics.v0.17.0 dune-configurator.3.16.0 dune.3.16.0 csexp.1.5.2 --verbose --yes --confirm-level=unsafe-yes' failed.
OCaml

Innovation. Community. Security.