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

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

<><> opam-depext.1.2.1-1 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.13.0" 

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.13.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:
Processing  2/9:
Processing  3/9:
Processing  4/9:
-> installed seq.base
Processing  5/9:
-> retrieved bitmasks.1.4.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
Processing  6/9: [stdlib-shims: dune build]
+ /home/opam/.opam/5.1/bin/dune "build" "-p" "stdlib-shims" "-j" "255" (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" "255" "@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 255 @install".

#=== ERROR while compiling bitmasks.1.4.0 =====================================#
# context              2.1.5 | 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 255 @install
# exit-code            1
# env-file             ~/.opam/log/bitmasks-113-321dd2.env
# output-file          ~/.opam/log/bitmasks-113-321dd2.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-20240129152703.export"
'opam --cli=2.1 install bitmasks.1.4.0 stdlib-shims.0.3.0 seq.base dune.3.13.0 --verbose --yes --confirm-level=unsafe-yes' failed.