package bitmasks

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

bitmasks 1.4.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 bitmasks.1.4.0 stdlib-shims.0.3.0 seq.base dune.3.16.0" 

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 seq          base
  - install stdlib-shims 0.3.0
  - install bitmasks     1.4.0
===== 3 to install =====

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/9: [bitmasks.1.4.0: http]
-> retrieved seq.base  (cached)
Processing  2/9: [bitmasks.1.4.0: http]
Processing  3/9: [bitmasks.1.4.0: http]
Processing  4/9: [bitmasks.1.4.0: http]
-> installed seq.base
Processing  5/9: [bitmasks.1.4.0: http]
Processing  5/9:
-> retrieved stdlib-shims.0.3.0  (cached)
Processing  6/9: [stdlib-shims: dune build]
-> retrieved bitmasks.1.4.0  (https://github.com/metastack/bitmasks/archive/v1.4.0.tar.gz)
+ /home/opam/.opam/5.1/bin/dune "build" "-p" "stdlib-shims" "-j" "39" (CWD=/home/opam/.opam/5.1/.opam-switch/build/stdlib-shims.0.3.0)
-> compiled  stdlib-shims.0.3.0
-> installed stdlib-shims.0.3.0
Processing  8/9: [bitmasks: dune build]
+ /home/opam/.opam/5.1/bin/dune "build" "-p" "bitmasks" "-j" "39" "@install" (CWD=/home/opam/.opam/5.1/.opam-switch/build/bitmasks.1.4.0)
- (cd _build/default && /home/opam/.opam/5.1/bin/ocamlopt.opt -w -40 -g -I .bitmasks.objs/byte -I .bitmasks.objs/native -I /home/opam/.opam/5.1/lib/seq -I /home/opam/.opam/5.1/lib/stdlib-shims -intf-suffix .ml -no-alias-deps -o .bitmasks.objs/native/bitMaskSet.cmx -c -impl BitMaskSet.ml)
- File "BitMaskSet.ml", lines 122-659, characters 8-5:
- 122 | ........struct
- 123 |     type storage = Mask.storage
- 124 |     type t = Mask.storage
- 125 | 
- 126 |     (* ****************************************************************************************** *
- ...
- 656 |     let add_seq s set = Seq.fold_left (fun set flag -> add flag set) set s
- 657 | 
- 658 |     let of_seq s = add_seq s empty
- 659 |   end
- Error: Signature mismatch:
-        ...
-        The value `to_list' is required but not provided
-        File "BitMaskSet.ml", lines 116-119, characters 12-29:
-          Expected declaration
- (cd _build/default && /home/opam/.opam/5.1/bin/ocamlc.opt -w -40 -g -bin-annot -I .bitmasks.objs/byte -I /home/opam/.opam/5.1/lib/seq -I /home/opam/.opam/5.1/lib/stdlib-shims -intf-suffix .ml -no-alias-deps -o .bitmasks.objs/byte/bitMaskSet.cmo -c -impl BitMaskSet.ml)
- File "BitMaskSet.ml", lines 122-659, characters 8-5:
- 122 | ........struct
- 123 |     type storage = Mask.storage
- 124 |     type t = Mask.storage
- 125 | 
- 126 |     (* ****************************************************************************************** *
- ...
- 656 |     let add_seq s set = Seq.fold_left (fun set flag -> add flag set) set s
- 657 | 
- 658 |     let of_seq s = add_seq s empty
- 659 |   end
- Error: Signature mismatch:
-        ...
-        The value `to_list' is required but not provided
-        File "BitMaskSet.ml", lines 116-119, characters 12-29:
-          Expected declaration
[ERROR] The compilation of bitmasks.1.4.0 failed at "dune build -p bitmasks -j 39 @install".

#=== ERROR while compiling bitmasks.1.4.0 =====================================#
# context              2.1.6 | linux/x86_64 | ocaml-base-compiler.5.1.1 | file:///src
# path                 ~/.opam/5.1/.opam-switch/build/bitmasks.1.4.0
# command              ~/.opam/5.1/bin/dune build -p bitmasks -j 39 @install
# exit-code            1
# env-file             ~/.opam/log/bitmasks-115-bcab88.env
# output-file          ~/.opam/log/bitmasks-115-bcab88.out
### output ###
# (cd _build/default && /home/opam/.opam/5.1/bin/ocamlopt.opt -w -40 -g -I .bitmasks.objs/byte -I .bitmasks.objs/native -I /home/opam/.opam/5.1/lib/seq -I /home/opam/.opam/5.1/lib/stdlib-shims -intf-suffix .ml -no-alias-deps -o .bitmasks.objs/native/bitMaskSet.cmx -c -impl BitMaskSet.ml)
# File "BitMaskSet.ml", lines 122-659, characters 8-5:
# 122 | ........struct
# 123 |     type storage = Mask.storage
# 124 |     type t = Mask.storage
# 125 | 
# 126 |     (* ****************************************************************************************** *
# ...
# 656 |     let add_seq s set = Seq.fold_left (fun set flag -> add flag set) set s
# 657 | 
# 658 |     let of_seq s = add_seq s empty
# 659 |   end
# Error: Signature mismatch:
#        ...
#        The value `to_list' is required but not provided
#        File "BitMaskSet.ml", lines 116-119, characters 12-29:
#          Expected declaration
# (cd _build/default && /home/opam/.opam/5.1/bin/ocamlc.opt -w -40 -g -bin-annot -I .bitmasks.objs/byte -I /home/opam/.opam/5.1/lib/seq -I /home/opam/.opam/5.1/lib/stdlib-shims -intf-suffix .ml -no-alias-deps -o .bitmasks.objs/byte/bitMaskSet.cmo -c -impl BitMaskSet.ml)
# File "BitMaskSet.ml", lines 122-659, characters 8-5:
# 122 | ........struct
# 123 |     type storage = Mask.storage
# 124 |     type t = Mask.storage
# 125 | 
# 126 |     (* ****************************************************************************************** *
# ...
# 656 |     let add_seq s set = Seq.fold_left (fun set flag -> add flag set) set s
# 657 | 
# 658 |     let of_seq s = add_seq s empty
# 659 |   end
# Error: Signature mismatch:
#        ...
#        The value `to_list' is required but not provided
#        File "BitMaskSet.ml", lines 116-119, characters 12-29:
#          Expected declaration



<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build bitmasks 1.4.0
+- 
+- The following changes have been performed
| - install seq          base
| - install stdlib-shims 0.3.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-20240912095556.export"
'opam --cli=2.1 install bitmasks.1.4.0 stdlib-shims.0.3.0 seq.base dune.3.16.0 --verbose --yes --confirm-level=unsafe-yes' failed.
OCaml

Innovation. Community. Security.