package ocamlformat

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

ocamlformat 0.3

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 ocamlformat.0.3 stdio.v0.10.0 sexplib.v0.10.0 result.1.3 ocamlformat_support.0.2 ocamlfind.1.9.6 ocaml-migrate-parsetree.1.0.10 num.1.5 jbuilder.1.0+beta20.2 cmdliner.1.0.4 base.v0.10.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 ocamlfind is already installed (current version is 1.9.6).
The following actions will be performed:
  - install jbuilder                1.0+beta20.2
  - install cmdliner                1.0.4
  - install num                     1.5
  - install result                  1.3
  - install ocamlformat_support     0.2
  - install sexplib                 v0.10.0
  - install ocaml-migrate-parsetree 1.0.10
  - install base                    v0.10.0
  - install stdio                   v0.10.0
  - install ocamlformat             0.3
===== 10 to install =====

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/30:
Processing  2/30:
Processing  3/30:
-> retrieved cmdliner.1.0.4  (cached)
Processing  4/30:
Processing  5/30: [cmdliner: make all]
-> retrieved base.v0.10.0  (cached)
Processing  6/30: [cmdliner: make all]
-> retrieved jbuilder.1.0+beta20.2  (cached)
Processing  7/30: [ocamlformat.0.3: http] [cmdliner: make all]
Processing  8/30: [ocamlformat.0.3: http] [cmdliner: make all] [jbuilder: ocaml configure.ml]
-> retrieved num.1.5  (cached)
Processing  9/30: [ocamlformat.0.3: http] [ocamlformat_support.0.2: http] [cmdliner: make all] [jbuilder: ocaml configure.ml]
Processing 10/30: [ocamlformat.0.3: http] [ocamlformat_support.0.2: http] [cmdliner: make all] [jbuilder: ocaml configure.ml] [num: make opam-legacy]
-> retrieved ocaml-migrate-parsetree.1.0.10  (cached)
Processing 11/30: [ocamlformat.0.3: http] [ocamlformat_support.0.2: http] [cmdliner: make all] [jbuilder: ocaml configure.ml] [num: make opam-legacy]
-> retrieved result.1.3  (cached)
Processing 12/30: [ocamlformat.0.3: http] [ocamlformat_support.0.2: http] [cmdliner: make all] [jbuilder: ocaml configure.ml] [num: make opam-legacy]
-> retrieved sexplib.v0.10.0  (cached)
Processing 13/30: [ocamlformat.0.3: http] [ocamlformat_support.0.2: http] [cmdliner: make all] [jbuilder: ocaml configure.ml] [num: make opam-legacy]
-> retrieved stdio.v0.10.0  (cached)
Processing 13/30: [ocamlformat.0.3: http] [ocamlformat_support.0.2: http] [cmdliner: make all] [jbuilder: ocaml bootstrap.ml] [num: make opam-legacy]
[ERROR] Failed to get sources of ocamlformat_support.0.2: Bad checksum
Processing 13/30: [ocamlformat.0.3: http] [cmdliner: make all] [jbuilder: ocaml bootstrap.ml] [num: make opam-legacy]
Processing 13/30: [cmdliner: make all] [jbuilder: ocaml bootstrap.ml] [num: make opam-legacy]
-> retrieved ocamlformat.0.3  (https://github.com/ocaml-ppx/ocamlformat/archive/0.3.tar.gz)
- /usr/bin/make -C src all
- make[1]: Entering directory '/home/opam/.opam/4.06/.opam-switch/build/num.1.5/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/src'
- cp src/num-legacy.install num.install
-> compiled  num.1.5
Processing 13/30: [cmdliner: make all] [jbuilder: ocaml bootstrap.ml]
-> installed num.1.5
Processing 14/30: [cmdliner: make all] [jbuilder: ocaml bootstrap.ml]
- ocaml build.ml cma
- ocaml build.ml cmxa
- ocaml build.ml cmxs
-> compiled  cmdliner.1.0.4
Processing 14/30: [jbuilder: ocaml bootstrap.ml]
Processing 15/30: [jbuilder: ocaml bootstrap.ml] [cmdliner: make install]
- '/home/opam/.opam/4.06/bin/ocamllex.opt' -q src/meta_lexer.mll
- '/home/opam/.opam/4.06/bin/ocamldep.opt' -modules src/action.ml src/action_intf.ml src/arg_spec.ml src/artifacts.ml src/bin.ml src/binary_kind.ml src/build.ml src/build_interpret.ml src/build_system.ml src/clflags.ml src/cm_kind.ml src/colors.ml src/config.ml src/context.ml src/dep_path.ml src/env.ml src/errors.ml src/exe.ml src/file_tree.ml src/findlib.ml src/gen_meta.ml src/gen_rules.ml src/glob_lexer.boot.ml src/import.ml src/inline_tests.ml src/install.ml src/install_rules.ml src/installed_dune_file.ml src/interned.ml src/jbuild.ml src/jbuild_load.ml vendor/boot/jbuilder_opam_file_format.ml vendor/boot/jbuilder_re.ml src/js_of_ocaml_rules.ml src/lib.ml src/loc.ml src/log.ml src/main.ml src/menhir.ml src/merlin.ml src/meta.ml src/meta_lexer.ml src/ml_kind.ml src/mode.ml src/module.ml src/module_compilation.ml src/modules_partitioner.ml src/ocaml_flags.ml src/ocamldep.ml src/odoc.boot.ml src/opam_file.ml src/ordered_set_lang.ml src/package.ml src/path.ml src/per_item.ml src/preprocessing.ml src/print_diff.ml src/process.ml src/report_error.ml src/scheduler.ml src/scope.ml src/setup.boot.ml src/sexp.ml src/string_with_vars.ml src/sub_system.ml src/sub_system_intf.ml src/sub_system_name.ml src/super_context.ml src/syntax.ml src/top_closure.ml src/utils.ml src/utop.ml src/variant.ml src/vfile_kind.ml src/watermarks.ml src/workspace.ml > boot-depends.txt
- '/home/opam/.opam/4.06/bin/ocamldep.opt' -modules src/stdune/caml/caml.ml src/stdune/caml/result.ml src/stdune/caml/result_compat.ml > boot-depends.txt
- '/home/opam/.opam/4.06/bin/ocamldep.opt' -modules src/fiber/fiber.ml > boot-depends.txt
- '/home/opam/.opam/4.06/bin/ocamldep.opt' -modules src/ocaml-config/ocaml_config.ml > boot-depends.txt
- '/home/opam/.opam/4.06/bin/ocamldep.opt' -modules src/stdune/stdune.ml src/stdune/ansi_color.ml src/stdune/array.ml src/stdune/char.ml src/stdune/common.ml src/stdune/comparable.ml src/stdune/either.ml src/stdune/exn.ml src/stdune/filename.ml src/stdune/hashtbl.ml src/stdune/import.ml src/stdune/int.ml src/stdune/io.ml src/stdune/list.ml src/stdune/map.ml src/stdune/map_intf.ml src/stdune/option.ml src/stdune/or_exn.ml src/stdune/ordering.ml src/stdune/pp.ml src/stdune/result.ml src/stdune/set.ml src/stdune/set_intf.ml src/stdune/staged.ml src/stdune/string.ml > boot-depends.txt
- '/home/opam/.opam/4.06/bin/ocamldep.opt' -modules src/usexp/usexp.ml src/usexp/parser_automaton_internal.ml src/usexp/sexp_ast.ml src/usexp/table.ml > boot-depends.txt
- '/home/opam/.opam/4.06/bin/ocamldep.opt' -modules src/xdg/xdg.ml > boot-depends.txt
- '/home/opam/.opam/4.06/bin/ocamlc.opt' -g -w -40 -o boot.exe unix.cma boot.ml
Processing 15/30: [jbuilder: ./boot.exe 255] [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 15/30: [jbuilder: ./boot.exe 255] [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 15/30: [jbuilder: ./boot.exe 255]
+ /home/opam/.opam/4.06/.opam-switch/build/jbuilder.1.0+beta20.2/./boot.exe "-j" "255" (CWD=/home/opam/.opam/4.06/.opam-switch/build/jbuilder.1.0+beta20.2)
-> compiled  jbuilder.1.0+beta20.2
-> installed jbuilder.1.0+beta20.2
Processing 18/30: [result: jbuilder build]
Processing 19/30: [result: jbuilder build] [sexplib: jbuilder build]
Processing 20/30: [result: jbuilder build] [sexplib: jbuilder build]
-> compiled  result.1.3
Processing 20/30: [sexplib: jbuilder build]
-> installed result.1.3
Processing 21/30: [sexplib: jbuilder build]
Processing 22/30: [ocaml-migrate-parsetree: jbuilder build] [sexplib: jbuilder build]
-> compiled  sexplib.v0.10.0
Processing 22/30: [ocaml-migrate-parsetree: jbuilder build]
-> installed sexplib.v0.10.0
Processing 23/30: [ocaml-migrate-parsetree: jbuilder build]
Processing 24/30: [base: jbuilder build] [ocaml-migrate-parsetree: jbuilder build]
-> compiled  ocaml-migrate-parsetree.1.0.10
Processing 24/30: [base: jbuilder build]
-> installed ocaml-migrate-parsetree.1.0.10
Processing 25/30: [base: jbuilder build]
+ /home/opam/.opam/4.06/bin/jbuilder "build" "-p" "base" "-j" "255" (CWD=/home/opam/.opam/4.06/.opam-switch/build/base.v0.10.0)
-       ocamlc src/.base.objs/base__String0.{cmi,cmo,cmt}
- File "src/string0.ml", line 43, characters 22-38:
- Warning 3: deprecated: Base__.Import0.Caml.String.copy
-     ocamlopt src/.base.objs/base__String0.{cmx,o}
- File "src/string0.ml", line 43, characters 22-38:
- Warning 3: deprecated: Base__.Import0.Caml.String.copy
-> compiled  base.v0.10.0
-> installed base.v0.10.0
Processing 27/30: [stdio: jbuilder build]
+ /home/opam/.opam/4.06/bin/jbuilder "build" "-p" "stdio" "-j" "255" (CWD=/home/opam/.opam/4.06/.opam-switch/build/stdio.v0.10.0)
-> compiled  stdio.v0.10.0
-> installed stdio.v0.10.0

#=== ERROR while fetching sources for ocamlformat_support.0.2 =================#
OpamSolution.Fetch_fail("https://github.com/ocaml-ppx/ocamlformat/archive/support.0.2.tar.gz (Bad checksum, expected md5=162086e6ef309a7ea98943c189dc3a6d)")


<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions were aborted
| - install ocamlformat 0.3
+- 
+- The following actions failed
| - fetch ocamlformat_support 0.2
+- 
+- The following changes have been performed (the rest was aborted)
| - install base                    v0.10.0
| - install cmdliner                1.0.4
| - install jbuilder                1.0+beta20.2
| - install num                     1.5
| - install ocaml-migrate-parsetree 1.0.10
| - install result                  1.3
| - install sexplib                 v0.10.0
| - install stdio                   v0.10.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/4.06/.opam-switch/backup/state-20240129190607.export"
'opam --cli=2.1 install ocamlformat.0.3 stdio.v0.10.0 sexplib.v0.10.0 result.1.3 ocamlformat_support.0.2 ocamlfind.1.9.6 ocaml-migrate-parsetree.1.0.10 num.1.5 jbuilder.1.0+beta20.2 cmdliner.1.0.4 base.v0.10.0 --verbose --yes --confirm-level=unsafe-yes' failed.
OCaml

Innovation. Community. Security.