package ocamlformat

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

ocamlformat 0.2

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 ocamlformat.0.2 stdio.v0.9.1 sexplib.v0.9.3 result.1.5 ppx_derivers.1.2.1 ocamlformat_support.0.1 ocaml-migrate-parsetree.1.8.0 num.1.5-1 jbuilder.transition dune.1.11.4 cmdliner.1.0.4 base.v0.9.4" 

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 1.11.4).
The following actions will be performed:
  - install ppx_derivers            1.2.1
  - install result                  1.5
  - install cmdliner                1.0.4
  - install num                     1.5-1
  - install jbuilder                transition
  - install ocaml-migrate-parsetree 1.8.0
  - install sexplib                 v0.9.3
  - install ocamlformat_support     0.1
  - install base                    v0.9.4
  - install stdio                   v0.9.1
  - install ocamlformat             0.2
===== 11 to install =====

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/33:
Processing  2/33:
Processing  3/33:
Processing  4/33:
Processing  5/33:
-> installed jbuilder.transition
Processing  6/33:
-> retrieved base.v0.9.4  (cached)
Processing  7/33:
-> retrieved cmdliner.1.0.4  (cached)
Processing  8/33: [ocamlformat.0.2: http]
Processing  9/33: [ocamlformat.0.2: http] [cmdliner: make all]
-> retrieved num.1.5-1  (cached)
Processing 10/33: [ocamlformat.0.2: http] [ocamlformat_support.0.1: http] [cmdliner: make all]
[num: patch] applying num-in-findlib-dir.patch
Processing 11/33: [ocamlformat.0.2: http] [ocamlformat_support.0.1: http] [cmdliner: make all] [num: patch]
Processing 11/33: [ocamlformat.0.2: http] [ocamlformat_support.0.1: http] [cmdliner: make all] [num: make opam-legacy]
-> retrieved ocaml-migrate-parsetree.1.8.0  (cached)
Processing 12/33: [ocamlformat.0.2: http] [ocamlformat_support.0.1: http] [cmdliner: make all] [num: make opam-legacy]
-> retrieved ppx_derivers.1.2.1  (cached)
Processing 13/33: [ocamlformat.0.2: http] [ocamlformat_support.0.1: http] [cmdliner: make all] [num: make opam-legacy]
Processing 14/33: [ocamlformat.0.2: http] [ocamlformat_support.0.1: http] [cmdliner: make all] [num: make opam-legacy] [ppx_derivers: dune build]
-> retrieved result.1.5  (cached)
Processing 15/33: [ocamlformat.0.2: http] [ocamlformat_support.0.1: http] [cmdliner: make all] [num: make opam-legacy] [ppx_derivers: dune build]
Processing 16/33: [ocamlformat.0.2: http] [ocamlformat_support.0.1: http] [cmdliner: make all] [num: make opam-legacy] [ppx_derivers: dune build] [result: dune build]
-> retrieved sexplib.v0.9.3  (cached)
Processing 17/33: [ocamlformat.0.2: http] [ocamlformat_support.0.1: http] [cmdliner: make all] [num: make opam-legacy] [ppx_derivers: dune build] [result: dune build]
-> retrieved stdio.v0.9.1  (cached)
[ERROR] Failed to get sources of ocamlformat.0.2: Bad checksum
Processing 17/33: [ocamlformat_support.0.1: http] [cmdliner: make all] [num: make opam-legacy] [ppx_derivers: dune build] [result: dune build]
-> compiled  ppx_derivers.1.2.1
Processing 17/33: [ocamlformat_support.0.1: http] [cmdliner: make all] [num: make opam-legacy] [result: dune build]
-> installed ppx_derivers.1.2.1
Processing 18/33: [ocamlformat_support.0.1: http] [cmdliner: make all] [num: make opam-legacy] [result: dune build]
-> compiled  result.1.5
Processing 18/33: [ocamlformat_support.0.1: http] [cmdliner: make all] [num: make opam-legacy]
-> installed result.1.5
Processing 19/33: [ocamlformat_support.0.1: http] [cmdliner: make all] [num: make opam-legacy]
Processing 20/33: [ocamlformat_support.0.1: http] [cmdliner: make all] [num: make opam-legacy] [ocaml-migrate-parsetree: dune build]
Processing 20/33: [cmdliner: make all] [num: make opam-legacy] [ocaml-migrate-parsetree: dune build]
-> retrieved ocamlformat_support.0.1  (https://github.com/ocaml-ppx/ocamlformat/archive/support.0.1.tar.gz)
Processing 21/33: [cmdliner: make all] [num: make opam-legacy] [ocaml-migrate-parsetree: dune build] [ocamlformat_support: make]
- patch -s -i format.ml.patch -o format_.ml
- patch -s -i format.mli.patch -o format_.mli
- jbuilder build
- The jbuilder binary is deprecated and will cease to be maintained in July 2019.
- Please switch to dune instead.
- File "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.
-> compiled  ocamlformat_support.0.1
Processing 21/33: [cmdliner: make all] [num: make opam-legacy] [ocaml-migrate-parsetree: dune build]
-> installed ocamlformat_support.0.1
Processing 22/33: [cmdliner: make all] [num: make opam-legacy] [ocaml-migrate-parsetree: dune build]
- /usr/bin/make -C src all
- make[1]: Entering directory '/home/opam/.opam/4.06/.opam-switch/build/num.1.5-1/src'
- ocamlc -ccopt -DBNG_ARCH_amd64 -c bng.c
- ocamlc -ccopt -DBNG_ARCH_amd64 -c nat_stubs.c
- ocamlmklib -oc nums bng.o nat_stubs.o
- ocamlc -w +a-4-9-41-42-44-45-48  -bin-annot -g -safe-string -strict-sequence -strict-formats -I +compiler-libs -c int_misc.mli
- ocamlc -w +a-4-9-41-42-44-45-48  -bin-annot -g -safe-string -strict-sequence -strict-formats -I +compiler-libs -c int_misc.ml
- ocamlc -w +a-4-9-41-42-44-45-48  -bin-annot -g -safe-string -strict-sequence -strict-formats -I +compiler-libs -c nat.mli
- ocamlc -w +a-4-9-41-42-44-45-48  -bin-annot -g -safe-string -strict-sequence -strict-formats -I +compiler-libs -c nat.ml
- ocamlc -w +a-4-9-41-42-44-45-48  -bin-annot -g -safe-string -strict-sequence -strict-formats -I +compiler-libs -c big_int.mli
- ocamlc -w +a-4-9-41-42-44-45-48  -bin-annot -g -safe-string -strict-sequence -strict-formats -I +compiler-libs -c big_int.ml
- ocamlc -w +a-4-9-41-42-44-45-48  -bin-annot -g -safe-string -strict-sequence -strict-formats -I +compiler-libs -c arith_flags.mli
- ocamlc -w +a-4-9-41-42-44-45-48  -bin-annot -g -safe-string -strict-sequence -strict-formats -I +compiler-libs -c arith_flags.ml
- ocamlc -w +a-4-9-41-42-44-45-48  -bin-annot -g -safe-string -strict-sequence -strict-formats -I +compiler-libs -c ratio.mli
- ocamlc -w +a-4-9-41-42-44-45-48  -bin-annot -g -safe-string -strict-sequence -strict-formats -I +compiler-libs -c ratio.ml
- ocamlc -w +a-4-9-41-42-44-45-48  -bin-annot -g -safe-string -strict-sequence -strict-formats -I +compiler-libs -c num.mli
- ocamlc -w +a-4-9-41-42-44-45-48  -bin-annot -g -safe-string -strict-sequence -strict-formats -I +compiler-libs -c num.ml
- ocamlc -w +a-4-9-41-42-44-45-48  -bin-annot -g -safe-string -strict-sequence -strict-formats -I +compiler-libs -c arith_status.mli
- ocamlc -w +a-4-9-41-42-44-45-48  -bin-annot -g -safe-string -strict-sequence -strict-formats -I +compiler-libs -c arith_status.ml
- ocamlmklib -o nums -oc nums -linkall int_misc.cmo nat.cmo big_int.cmo arith_flags.cmo ratio.cmo num.cmo arith_status.cmo
- cp ../toplevel/num_top_printers.mli ../toplevel/num_top.mli ../toplevel/num_top_printers.ml ../toplevel/num_top.ml .
- ocamlc -w +a-4-9-41-42-44-45-48  -bin-annot -g -safe-string -strict-sequence -strict-formats -I +compiler-libs -c num_top_printers.mli
- ocamlc -w +a-4-9-41-42-44-45-48  -bin-annot -g -safe-string -strict-sequence -strict-formats -I +compiler-libs -c num_top_printers.ml
- ocamlc -w +a-4-9-41-42-44-45-48  -bin-annot -g -safe-string -strict-sequence -strict-formats -I +compiler-libs -c num_top.mli
- ocamlc -w +a-4-9-41-42-44-45-48  -bin-annot -g -safe-string -strict-sequence -strict-formats -I +compiler-libs -c num_top.ml
- ocamlc -w +a-4-9-41-42-44-45-48  -bin-annot -g -safe-string -strict-sequence -strict-formats -I +compiler-libs -a -o num_top.cma num_top_printers.cmo num_top.cmo
- echo 'version = "1.6~dev"' > META.top
- cat META.num-top.in >> META.top
- ocamlopt -w +a-4-9-41-42-44-45-48  -bin-annot -g -safe-string -strict-sequence -strict-formats -I +compiler-libs -c int_misc.ml
- ocamlopt -w +a-4-9-41-42-44-45-48  -bin-annot -g -safe-string -strict-sequence -strict-formats -I +compiler-libs -c nat.ml
- ocamlopt -w +a-4-9-41-42-44-45-48  -bin-annot -g -safe-string -strict-sequence -strict-formats -I +compiler-libs -c big_int.ml
- ocamlopt -w +a-4-9-41-42-44-45-48  -bin-annot -g -safe-string -strict-sequence -strict-formats -I +compiler-libs -c arith_flags.ml
- ocamlopt -w +a-4-9-41-42-44-45-48  -bin-annot -g -safe-string -strict-sequence -strict-formats -I +compiler-libs -c ratio.ml
- ocamlopt -w +a-4-9-41-42-44-45-48  -bin-annot -g -safe-string -strict-sequence -strict-formats -I +compiler-libs -c num.ml
- ocamlopt -w +a-4-9-41-42-44-45-48  -bin-annot -g -safe-string -strict-sequence -strict-formats -I +compiler-libs -c arith_status.ml
- ocamlmklib -o nums -oc nums -linkall int_misc.cmx nat.cmx big_int.cmx arith_flags.cmx ratio.cmx num.cmx arith_status.cmx
- ocamlopt -w +a-4-9-41-42-44-45-48  -bin-annot -g -safe-string -strict-sequence -strict-formats -I +compiler-libs -I . -shared -o nums.cmxs nums.cmxa
- make[1]: Leaving directory '/home/opam/.opam/4.06/.opam-switch/build/num.1.5-1/src'
- cp src/num-legacy.install num.install
-> compiled  num.1.5-1
Processing 22/33: [cmdliner: make all] [ocaml-migrate-parsetree: dune build]
-> installed num.1.5-1
Processing 23/33: [cmdliner: make all] [ocaml-migrate-parsetree: dune build]
Processing 24/33: [cmdliner: make all] [ocaml-migrate-parsetree: dune build] [sexplib: jbuilder build]
- ocaml build.ml cma
- ocaml build.ml cmxa
- ocaml build.ml cmxs
-> compiled  cmdliner.1.0.4
Processing 24/33: [ocaml-migrate-parsetree: dune build] [sexplib: jbuilder build]
Processing 25/33: [ocaml-migrate-parsetree: dune build] [sexplib: jbuilder build] [cmdliner: make install]
- The jbuilder binary is deprecated and will cease to be maintained in July 2019.
- Please switch to dune instead.
- File "num/lib/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.
- File "src/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.
- File "src0/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.
- File "test/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.
- File "unix/lib/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 src/.sexplib.objs/byte/sexplib__Pre_sexp.{cmi,cmo,cmt}
- File "src/pre_sexp.ml", line 1082, characters 44-57:
- Warning 3: deprecated: String.create
- Use Bytes.create instead.
- File "src/pre_sexp.ml", line 1096, characters 28-41:
- Warning 3: deprecated: String.create
- Use Bytes.create instead.
- File "src/pre_sexp.ml", line 1108, characters 32-45:
- Warning 3: deprecated: String.create
- Use Bytes.create instead.
-     ocamlopt src/.sexplib.objs/native/sexplib__Pre_sexp.{cmx,o}
- File "src/pre_sexp.ml", line 1082, characters 44-57:
- Warning 3: deprecated: String.create
- Use Bytes.create instead.
- File "src/pre_sexp.ml", line 1096, characters 28-41:
- Warning 3: deprecated: String.create
- Use Bytes.create instead.
- File "src/pre_sexp.ml", line 1108, characters 32-45:
- Warning 3: deprecated: String.create
- Use Bytes.create instead.
-> compiled  sexplib.v0.9.3
Processing 25/33: [ocaml-migrate-parsetree: dune build] [cmdliner: make install]
- install -d /home/opam/.opam/4.06/lib/cmdliner
- install pkg/META _build/cmdliner.mli _build/cmdliner.cmi _build/cmdliner.cmti /home/opam/.opam/4.06/lib/cmdliner
- install cmdliner.opam /home/opam/.opam/4.06/lib/cmdliner/opam
- install _build/cmdliner.cma /home/opam/.opam/4.06/lib/cmdliner
- install _build/cmdliner.cmxa _build/cmdliner.a _build/cmdliner.cmx _build/cmdliner_arg.cmx _build/cmdliner_base.cmx _build/cmdliner_cline.cmx _build/cmdliner_docgen.cmx _build/cmdliner_info.cmx _build/cmdliner_manpage.cmx _build/cmdliner_msg.cmx _build/cmdliner_suggest.cmx _build/cmdliner_term.cmx _build/cmdliner_trie.cmx \
-   /home/opam/.opam/4.06/lib/cmdliner
- install _build/cmdliner.cmxs /home/opam/.opam/4.06/lib/cmdliner
Processing 25/33: [ocaml-migrate-parsetree: dune build] [cmdliner: make install-doc]
- install -d /home/opam/.opam/4.06/doc/cmdliner
- install CHANGES.md LICENSE.md README.md /home/opam/.opam/4.06/doc/cmdliner
-> installed cmdliner.1.0.4
Processing 25/33: [ocaml-migrate-parsetree: dune build]
-> installed sexplib.v0.9.3
Processing 26/33: [ocaml-migrate-parsetree: dune build]
Processing 27/33: [base: jbuilder build] [ocaml-migrate-parsetree: dune build]
-> compiled  ocaml-migrate-parsetree.1.8.0
Processing 27/33: [base: jbuilder build]
-> installed ocaml-migrate-parsetree.1.8.0
Processing 28/33: [base: jbuilder build]
+ /home/opam/.opam/4.06/bin/jbuilder "build" "-p" "base" "-j" "39" (CWD=/home/opam/.opam/4.06/.opam-switch/build/base.v0.9.4)
- The jbuilder binary is deprecated and will cease to be maintained in July 2019.
- Please switch to dune instead.
- File "compiler-stdlib/gen/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.
- File "compiler-stdlib/src/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.
- File "generate/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.
- File "lint/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.
- File "shadow-stdlib/gen/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.
- File "shadow-stdlib/src/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.
- File "src/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.
- File "test/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.
- File "src/jbuild", line 18, characters 0-142:
- 18 | (rule
- 19 |  ((targets (pow_overflow_bounds.ml))
- 20 |   (deps    (../generate/generate_pow_overflow_bounds.exe))
- 21 |   (action  (run ${<} -atomic -o ${@}))))
- Warning: The following files are both generated by a rule and are present in
- the source tree:
- - src/pow_overflow_bounds.ml
- Because you are using the jbuilder binary, I am closing my eyes on this and I
- am acting as if the rule didn't exist. However, you should really delete
- these files from your source tree. I will no longer accept this once you
- upgrade your project to dune >= 1.10.
-> compiled  base.v0.9.4
-> installed base.v0.9.4
Processing 30/33: [stdio: jbuilder build]
+ /home/opam/.opam/4.06/bin/jbuilder "build" "--only-packages" "stdio" "--root" "." "-j" "39" "--no-config" "@install" (CWD=/home/opam/.opam/4.06/.opam-switch/build/stdio.v0.9.1)
- The jbuilder binary is deprecated and will cease to be maintained in July 2019.
- Please switch to dune instead.
- File "src/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.
-> compiled  stdio.v0.9.1
-> installed stdio.v0.9.1

#=== ERROR while fetching sources for ocamlformat.0.2 =========================#
OpamSolution.Fetch_fail("https://github.com/ocaml-ppx/ocamlformat/archive/v0.2.tar.gz (Bad checksum, expected md5=0da94dc86b60ade10c2d3c1824ffabc4)")


<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - fetch ocamlformat 0.2
+- 
+- The following changes have been performed
| - install base                    v0.9.4
| - install cmdliner                1.0.4
| - install jbuilder                transition
| - install num                     1.5-1
| - install ocaml-migrate-parsetree 1.8.0
| - install ocamlformat_support     0.1
| - install ppx_derivers            1.2.1
| - install result                  1.5
| - install sexplib                 v0.9.3
| - install stdio                   v0.9.1
+- 

<><> jbuilder.transition installed successfully <><><><><><><><><><><><><><><><>
=> Jbuilder has been renamed and the jbuilder package is now a transition package. Use the dune package instead.
# 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/4.06/.opam-switch/backup/state-20240912202438.export"
'opam --cli=2.1 install ocamlformat.0.2 stdio.v0.9.1 sexplib.v0.9.3 result.1.5 ppx_derivers.1.2.1 ocamlformat_support.0.1 ocaml-migrate-parsetree.1.8.0 num.1.5-1 jbuilder.transition dune.1.11.4 cmdliner.1.0.4 base.v0.9.4 --verbose --yes --confirm-level=unsafe-yes' failed.
OCaml

Innovation. Community. Security.