package ocp-index-top

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

ocp-index-top 0.5.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.6).
The following actions will be performed:
=== install 11 packages
  - install base-bytes      base
  - install cmdliner        1.3.0
  - install cppo            1.8.0
  - install cppo_ocamlbuild 1.8.0
  - install ocamlbuild      0.15.0
  - install ocp-indent      1.8.1
  - install ocp-index       1.3.7
  - install ocp-index-top   0.5.0
  - install re              1.11.0
  - install seq             base
  - install topkg           1.0.7

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed base-bytes.base
-> retrieved cppo.1.8.0, cppo_ocamlbuild.1.8.0  (cached)
-> retrieved cmdliner.1.3.0  (cached)
-> retrieved ocamlbuild.0.15.0  (cached)
-> retrieved ocp-indent.1.8.1  (cached)
-> retrieved ocp-index.1.3.7  (cached)
-> retrieved seq.base  (cached)
-> installed seq.base
-> retrieved ocp-index-top.0.5.0  (cached)
-> retrieved re.1.11.0  (cached)
-> retrieved topkg.1.0.7  (cached)
-> installed cppo.1.8.0
-> installed re.1.11.0
-> installed cmdliner.1.3.0
-> installed ocamlbuild.0.15.0
-> installed cppo_ocamlbuild.1.8.0
-> installed ocp-indent.1.8.1
-> installed ocp-index.1.3.7
-> installed topkg.1.0.7
[ERROR] The compilation of ocp-index-top.0.5.0 failed at "ocaml pkg/pkg.ml build --pinned false".

#=== ERROR while compiling ocp-index-top.0.5.0 ================================#
# context              2.3.0 | linux/x86_64 | ocaml-base-compiler.4.09.1 | file:///src
# path                 ~/.opam/4.09/.opam-switch/build/ocp-index-top.0.5.0
# command              ~/.opam/4.09/bin/ocaml pkg/pkg.ml build --pinned false
# exit-code            1
# env-file             ~/.opam/log/ocp-index-top-113-1bb30c.env
# output-file          ~/.opam/log/ocp-index-top-113-1bb30c.out
### output ###
# + ocamlfind ocamlopt -package unix -package ocamlbuild -linkpkg -package cppo_ocamlbuild myocamlbuild.ml /home/opam/.opam/4.09/lib/ocamlbuild/ocamlbuild.cmx -o myocamlbuild
# + cppo -V OCAML:4.09.1 -o ocpIndexTop.ml ocpIndexTop.cppo.ml
# + ocamlfind ocamldep -package compiler-libs.common,compiler-libs.toplevel,ocp-index.lib -modules ocpIndexTop.ml > ocpIndexTop.ml.depends
# + ocamlfind ocamlc -c -g -package compiler-libs.common,compiler-libs.toplevel,ocp-index.lib -o ocpIndexTop.cmo ocpIndexTop.ml
# + ocamlfind ocamlc -c -g -package compiler-libs.common,compiler-libs.toplevel,ocp-index.lib -o ocpIndexTop.cmo ocpIndexTop.ml
# findlib: [WARNING] Interface topdirs.cmi occurs in several directories: /home/opam/.opam/4.09/lib/ocaml, /home/opam/.opam/4.09/lib/ocaml/compiler-libs
# File "ocpIndexTop.cppo.ml", line 83, characters 21-26:
# Error: This expression has type qualify:bool -> LibIndex.t
#        but an expression was expected of type LibIndex.t
# Command exited with code 2.
# pkg.ml: [ERROR] cmd ['ocamlbuild' '-use-ocamlfind' '-classic-display' '-j' '4' '-tag' 'debug'
#      '-build-dir' '_build' '-plugin-tag' 'package(cppo_ocamlbuild)' 'opam'
#      'pkg/META' 'CHANGES.md' 'LICENSE.md' 'README.md' 'ocp-index-top.a'
#      'ocp-index-top.cmxs' 'ocp-index-top.cmxa' 'ocp-index-top.cma'
#      './ocpIndexTop.cmx']: exited with 10



<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build ocp-index-top 0.5.0
+- 
+- The following changes have been performed
| - install base-bytes      base
| - install cmdliner        1.3.0
| - install cppo            1.8.0
| - install cppo_ocamlbuild 1.8.0
| - install ocamlbuild      0.15.0
| - install ocp-indent      1.8.1
| - install ocp-index       1.3.7
| - install re              1.11.0
| - install seq             base
| - install topkg           1.0.7
+- 

<><> ocp-index.1.3.7 installed successfully <><><><><><><><><><><><><><><><><><>
=> This package requires additional configuration for use in editors. Either install package 'user-setup', or manually:

   * for Emacs, add these lines to ~/.emacs:
     (add-to-list 'load-path "/home/opam/.opam/4.09/share/emacs/site-lisp")
     (require 'ocp-index)

   * for Vim, add the following line to ~/.vimrc:
     set rtp+=/home/opam/.opam/4.09/share/ocp-index/vim

<><> ocp-indent.1.8.1 installed successfully ><><><><><><><><><><><><><><><><><>
=> This package requires additional configuration for use in editors. Install package 'user-setup', or manually:

   * for Emacs, add these lines to ~/.emacs:
     (add-to-list 'load-path "/home/opam/.opam/4.09/share/emacs/site-lisp")
     (require 'ocp-indent)

   * for Vim, add this line to ~/.vimrc:
     set rtp^="/home/opam/.opam/4.09/share/ocp-indent/vim"
# 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.09/.opam-switch/backup/state-20250203234546.export"
OCaml

Innovation. Community. Security.