package irmin-pack

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

irmin-pack 2.0.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).
[NOTE] Package ocamlfind is already installed (current version is 1.9.8).
The following actions will be performed:
=== install 27 packages
  - install angstrom           0.16.1
  - install astring            0.8.5
  - install base-bytes         base
  - install base64             3.5.1
  - install bigstringaf        0.10.0
  - install cppo               1.8.0
  - install csexp              1.5.2
  - install digestif           1.2.0
  - install dune-configurator  3.17.2
  - install eqaf               0.10
  - install fmt                0.9.0
  - install index              1.2.1
  - install irmin              2.1.0
  - install irmin-pack         2.0.0
  - install jsonm              1.0.2
  - install logs               0.7.0
  - install lwt                5.9.0
  - install mtime              2.1.0
  - install ocaml-syntax-shims 1.0.0
  - install ocamlbuild         0.15.0
  - install ocamlgraph         2.1.0
  - install ocplib-endian      1.2
  - install stdlib-shims       0.3.0
  - install stringext          1.6.0
  - install topkg              1.0.7
  - install uri                4.4.0
  - install uutf               1.0.3

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed base-bytes.base
-> retrieved base64.3.5.1  (cached)
-> retrieved angstrom.0.16.1  (cached)
-> retrieved astring.0.8.5  (cached)
-> retrieved bigstringaf.0.10.0  (cached)
-> retrieved cppo.1.8.0  (cached)
-> retrieved csexp.1.5.2  (cached)
-> retrieved eqaf.0.10  (cached)
-> retrieved fmt.0.9.0  (cached)
-> retrieved index.1.2.1  (cached)
-> retrieved irmin.2.1.0  (cached)
-> retrieved irmin-pack.2.0.0  (cached)
-> installed csexp.1.5.2
-> retrieved jsonm.1.0.2  (cached)
-> retrieved logs.0.7.0  (cached)
-> retrieved lwt.5.9.0  (cached)
-> installed base64.3.5.1
-> retrieved mtime.2.1.0  (cached)
-> retrieved ocaml-syntax-shims.1.0.0  (cached)
-> retrieved ocamlbuild.0.15.0  (cached)
-> retrieved digestif.1.2.0  (cached)
-> installed eqaf.0.10
-> retrieved ocamlgraph.2.1.0  (cached)
-> retrieved dune-configurator.3.17.2  (cached)
-> installed cppo.1.8.0
-> installed ocaml-syntax-shims.1.0.0
-> retrieved ocplib-endian.1.2  (cached)
-> installed digestif.1.2.0
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved stringext.1.6.0  (cached)
-> retrieved topkg.1.0.7  (cached)
-> retrieved uutf.1.0.3  (cached)
-> retrieved uri.4.4.0  (cached)
-> installed stringext.1.6.0
-> installed stdlib-shims.0.3.0
-> installed ocplib-endian.1.2
-> installed dune-configurator.3.17.2
-> installed bigstringaf.0.10.0
-> installed ocamlgraph.2.1.0
-> installed angstrom.0.16.1
-> installed uri.4.4.0
-> installed lwt.5.9.0
-> installed ocamlbuild.0.15.0
-> installed topkg.1.0.7
-> installed uutf.1.0.3
-> installed mtime.2.1.0
-> installed fmt.0.9.0
-> installed astring.0.8.5
-> installed jsonm.1.0.2
-> installed logs.0.7.0
[ERROR] The compilation of index.1.2.1 failed at "dune build -p index -j 39".
-> installed irmin.2.1.0

#=== ERROR while compiling index.1.2.1 ========================================#
# context              2.3.0 | linux/x86_64 | ocaml-base-compiler.4.11.2 | file:///src
# path                 ~/.opam/4.11/.opam-switch/build/index.1.2.1
# command              ~/.opam/4.11/bin/dune build -p index -j 39
# exit-code            1
# env-file             ~/.opam/log/index-113-aaee0b.env
# output-file          ~/.opam/log/index-113-aaee0b.out
### output ###
# (cd _build/default && /home/opam/.opam/4.11/bin/ocamlc.opt -w -40 -g -bin-annot -I src/.index.objs/byte -I /home/opam/.opam/4.11/lib/fmt -I /home/opam/.opam/4.11/lib/logs -I /home/opam/.opam/4.11/lib/mtime -I /home/opam/.opam/4.11/lib/mtime/clock -I /home/opam/.opam/4.11/lib/stdlib-shims -intf-suffix .ml -no-alias-deps -open Index__ -o src/.index.objs/byte/index__Stats.cmo -c -impl src/stats.ml)
# File "src/stats.ml", line 66, characters 18-34:
# 66 |     let average = Mtime.Span.to_us span /. float_of_int !nb_replace in
#                        ^^^^^^^^^^^^^^^^
# Error: Unbound value Mtime.Span.to_us
# (cd _build/default && /home/opam/.opam/4.11/bin/ocamlopt.opt -w -40 -g -I src/.index.objs/byte -I src/.index.objs/native -I /home/opam/.opam/4.11/lib/fmt -I /home/opam/.opam/4.11/lib/logs -I /home/opam/.opam/4.11/lib/mtime -I /home/opam/.opam/4.11/lib/mtime/clock -I /home/opam/.opam/4.11/lib/stdlib-shims -intf-suffix .ml -no-alias-deps -open Index__ -o src/.index.objs/native/index__Stats.cmx -c -impl src/stats.ml)
# File "src/stats.ml", line 66, characters 18-34:
# 66 |     let average = Mtime.Span.to_us span /. float_of_int !nb_replace in
#                        ^^^^^^^^^^^^^^^^
# Error: Unbound value Mtime.Span.to_us



<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build index 1.2.1
+- 
+- The following changes have been performed (the rest was aborted)
| - install angstrom           0.16.1
| - install astring            0.8.5
| - install base-bytes         base
| - install base64             3.5.1
| - install bigstringaf        0.10.0
| - install cppo               1.8.0
| - install csexp              1.5.2
| - install digestif           1.2.0
| - install dune-configurator  3.17.2
| - install eqaf               0.10
| - install fmt                0.9.0
| - install irmin              2.1.0
| - install jsonm              1.0.2
| - install logs               0.7.0
| - install lwt                5.9.0
| - install mtime              2.1.0
| - install ocaml-syntax-shims 1.0.0
| - install ocamlbuild         0.15.0
| - install ocamlgraph         2.1.0
| - install ocplib-endian      1.2
| - install stdlib-shims       0.3.0
| - install stringext          1.6.0
| - install topkg              1.0.7
| - install uri                4.4.0
| - install uutf               1.0.3
+- 
# 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/4.11/.opam-switch/backup/state-20250206032008.export"
OCaml

Innovation. Community. Security.