package rosetta

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

rosetta 0.1.0

Error log

The package failed to build. The error log from opam follows.

[NOTE] Package dune is already installed (current version is 1.11.4).
[NOTE] Package ocamlfind is already installed (current version is 1.9.8).
The following actions will be performed:
=== install 16 packages
  - install astring    0.8.5
  - install bos        0.2.1
  - install cmdliner   1.3.0
  - install coin       0.1.4
  - install fmt        0.9.0
  - install fpath      0.7.3
  - install logs       0.7.0
  - install ocamlbuild 0.15.0
  - install re         1.9.0
  - install rosetta    0.1.0
  - install rresult    0.7.0
  - install seq        base
  - install topkg      1.0.7
  - install uutf       1.0.3
  - install uuuu       0.3.0
  - install yuscii     0.3.0

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved astring.0.8.5  (cached)
-> retrieved bos.0.2.1  (cached)
-> retrieved cmdliner.1.3.0  (cached)
-> retrieved coin.0.1.4  (cached)
-> retrieved fmt.0.9.0  (cached)
-> retrieved fpath.0.7.3  (cached)
-> retrieved logs.0.7.0  (cached)
-> retrieved rosetta.0.1.0  (cached)
-> retrieved ocamlbuild.0.15.0  (cached)
-> retrieved seq.base  (cached)
-> installed seq.base
-> retrieved re.1.9.0  (cached)
-> retrieved rresult.0.7.0  (cached)
-> retrieved topkg.1.0.7  (cached)
-> retrieved uutf.1.0.3  (cached)
-> retrieved uuuu.0.3.0  (cached)
-> retrieved yuscii.0.3.0  (cached)
-> installed yuscii.0.3.0
-> installed re.1.9.0
-> installed coin.0.1.4
-> installed uuuu.0.3.0
-> installed cmdliner.1.3.0
-> installed ocamlbuild.0.15.0
-> installed topkg.1.0.7
-> installed rresult.0.7.0
-> installed uutf.1.0.3
-> installed fmt.0.9.0
-> installed astring.0.8.5
-> installed fpath.0.7.3
-> installed logs.0.7.0
-> installed bos.0.2.1
[ERROR] The compilation of rosetta.0.1.0 failed at "dune build -p rosetta -j 39".

#=== ERROR while compiling rosetta.0.1.0 ======================================#
# context              2.3.0 | linux/x86_64 | ocaml-base-compiler.4.11.2 | file:///src
# path                 ~/.opam/4.11/.opam-switch/build/rosetta.0.1.0
# command              ~/.opam/4.11/bin/dune build -p rosetta -j 39
# exit-code            1
# env-file             ~/.opam/log/rosetta-113-5db223.env
# output-file          ~/.opam/log/rosetta-113-5db223.out
### output ###
# File "bin/jbuild", line 1, characters 0-0:
# Warning: jbuild files are deprecated, please convert this file to a dune file
# instead.
# Note: You can use "dune upgrade" to convert your project to dune.
#       ocamlc bin/.to_utf8.eobjs/byte/to_utf8.{cmi,cmo,cmt} (exit 2)
# (cd _build/default && /home/opam/.opam/4.11/bin/ocamlc.opt -w -40 -g -bin-annot -I bin/.to_utf8.eobjs/byte -I /home/opam/.opam/4.11/lib/cmdliner -I /home/opam/.opam/4.11/lib/coin -I /home/opam/.opam/4.11/lib/fmt -I /home/opam/.opam/4.11/lib/rresult -I /home/opam/.opam/4.11/lib/uutf -I /home/opam/.opam/4.11/lib/uuuu -I /home/opam/.opam/4.11/lib/yuscii -I src/.rosetta.objs/byte -I src/.rosetta.objs/native -no-alias-deps -o bin/.to_utf8.eobjs/byte/to_utf8.cmo -c -impl bin/to_utf8.ml)
# File "bin/to_utf8.ml", line 79, characters 14-32:
# 79 |   let exits = Term.default_exits in
#                    ^^^^^^^^^^^^^^^^^^
# Alert deprecated: Cmdliner.Term.default_exits
# Use Cmd.Exit.defaults or Cmd.info's defaults ~exits value instead.
# File "bin/to_utf8.ml", line 83, characters 20-24:
# 83 |   Term.(const map $ kind $ input $ output),
#                          ^^^^
# Error: This expression has type Rosetta.encoding Cmdliner.Term.t
#        but an expression was expected of type ('a -> 'b) Cmdliner.Term.t
#        Type
#          Rosetta.encoding =
#            [ `ISO_8859_1
#            | `ISO_8859_10
#            | `ISO_8859_11
#            | `ISO_8859_13
#            | `ISO_8859_14
#            | `ISO_8859_15
#            | `ISO_8859_16
#            | `ISO_8859_2
#            | `ISO_8859_3
#            | `ISO_8859_4
#            | `ISO_8859_5
#            | `ISO_8859_6
#            | `ISO_8859_7
#            | `ISO_8859_8
#            | `ISO_8859_9
#            | `KOI8_R
#            | `KOI8_U
#            | `UTF_7 ]
#        is not compatible with type 'a -> 'b 



<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build rosetta 0.1.0
+- 
+- The following changes have been performed
| - install astring    0.8.5
| - install bos        0.2.1
| - install cmdliner   1.3.0
| - install coin       0.1.4
| - install fmt        0.9.0
| - install fpath      0.7.3
| - install logs       0.7.0
| - install ocamlbuild 0.15.0
| - install re         1.9.0
| - install rresult    0.7.0
| - install seq        base
| - install topkg      1.0.7
| - install uutf       1.0.3
| - install uuuu       0.3.0
| - install yuscii     0.3.0
+- 
# 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-20250206035213.export"
OCaml

Innovation. Community. Security.