package sphinxcontrib-ocaml

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

sphinxcontrib-ocaml 0.3.0

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 sphinxcontrib-ocaml.0.3.0 yojson.2.0.0 seq.0.2.2 num.0 jbuilder.transition General.0.7.0 dune.1.11.4 cppo.1.6.9 base-num.base" 

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 cppo                1.6.9
  - install base-num            base
  - install seq                 0.2.2
  - install jbuilder            transition
  - install num                 0
  - install yojson              2.0.0
  - install General             0.7.0
  - install sphinxcontrib-ocaml 0.3.0
===== 8 to install =====

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  2/24:
Processing  3/24:
Processing  4/24:
Processing  5/24:
Processing  6/24:
Processing  7/24:
Processing  8/24:
-> installed base-num.base
Processing  9/24:
Processing 10/24:
-> installed jbuilder.transition
Processing 11/24:
-> installed num.0
Processing 12/24:
-> retrieved cppo.1.6.9  (cached)
Processing 13/24: [sphinxcontrib-ocaml.0.3.0: http]
Processing 14/24: [sphinxcontrib-ocaml.0.3.0: http] [cppo: dune build]
-> retrieved General.0.7.0  (cached)
Processing 15/24: [sphinxcontrib-ocaml.0.3.0: http] [cppo: dune build]
-> retrieved seq.0.2.2  (cached)
Processing 16/24: [sphinxcontrib-ocaml.0.3.0: http] [cppo: dune build] [seq: dune build]
-> retrieved yojson.2.0.0  (cached)
Processing 16/24: [cppo: dune build] [seq: dune build]
-> retrieved sphinxcontrib-ocaml.0.3.0  (https://github.com/jacquev6/sphinxcontrib-ocaml/archive/0.3.0.tar.gz)
-> compiled  seq.0.2.2
Processing 16/24: [cppo: dune build]
-> installed seq.0.2.2
Processing 17/24: [cppo: dune build]
+ /home/opam/.opam/4.05/bin/dune "build" "-p" "cppo" "-j" "39" (CWD=/home/opam/.opam/4.05/.opam-switch/build/cppo.1.6.9)
-> compiled  cppo.1.6.9
-> installed cppo.1.6.9
Processing 19/24: [General: dune build]
Processing 20/24: [General: dune build] [yojson: dune build]
-> compiled  yojson.2.0.0
Processing 20/24: [General: dune build]
-> installed yojson.2.0.0
Processing 21/24: [General: dune build]
+ /home/opam/.opam/4.05/bin/dune "build" "-p" "General" "-j" "39" (CWD=/home/opam/.opam/4.05/.opam-switch/build/General.0.7.0)
-> compiled  General.0.7.0
-> installed General.0.7.0
Processing 23/24: [sphinxcontrib-ocaml: jbuilder build]
+ /home/opam/.opam/4.05/bin/jbuilder "build" "-p" "sphinxcontrib-ocaml" "-j" "39" (CWD=/home/opam/.opam/4.05/.opam-switch/build/sphinxcontrib-ocaml.0.3.0)
- The jbuilder binary is deprecated and will cease to be maintained in July 2019.
- Please switch to dune instead.
- File "ocaml_autodoc/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 ocaml_autodoc/.ocaml_autodoc.eobjs/byte/ocaml_autodoc.{cmi,cmo,cmt} (exit 2)
- (cd _build/default && /home/opam/.opam/4.05/bin/ocamlc.opt -w -40 -w @A-4-33-44-45-48 -g -bin-annot -I ocaml_autodoc/.ocaml_autodoc.eobjs/byte -I /home/opam/.opam/4.05/lib/General -I /home/opam/.opam/4.05/lib/ocaml/compiler-libs -I /home/opam/.opam/4.05/lib/seq -I /home/opam/.opam/4.05/lib/yojson -no-alias-deps -o ocaml_autodoc/.ocaml_autodoc.eobjs/byte/ocaml_autodoc.cmo -c -impl ocaml_autodoc/ocaml_autodoc.ml)
- File "ocaml_autodoc/ocaml_autodoc.ml", line 5, characters 11-28:
- Error: Unbound type constructor Yojson.Basic.json
[ERROR] The compilation of sphinxcontrib-ocaml.0.3.0 failed at "jbuilder build -p sphinxcontrib-ocaml -j 39".

#=== ERROR while compiling sphinxcontrib-ocaml.0.3.0 ==========================#
# context              2.1.6 | linux/x86_64 | ocaml-base-compiler.4.05.0 | file:///src
# path                 ~/.opam/4.05/.opam-switch/build/sphinxcontrib-ocaml.0.3.0
# command              ~/.opam/4.05/bin/jbuilder build -p sphinxcontrib-ocaml -j 39
# exit-code            1
# env-file             ~/.opam/log/sphinxcontrib-ocaml-115-97d3b9.env
# output-file          ~/.opam/log/sphinxcontrib-ocaml-115-97d3b9.out
### output ###
# The jbuilder binary is deprecated and will cease to be maintained in July 2019.
# Please switch to dune instead.
# File "ocaml_autodoc/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 ocaml_autodoc/.ocaml_autodoc.eobjs/byte/ocaml_autodoc.{cmi,cmo,cmt} (exit 2)
# (cd _build/default && /home/opam/.opam/4.05/bin/ocamlc.opt -w -40 -w @A-4-33-44-45-48 -g -bin-annot -I ocaml_autodoc/.ocaml_autodoc.eobjs/byte -I /home/opam/.opam/4.05/lib/General -I /home/opam/.opam/4.05/lib/ocaml/compiler-libs -I /home/opam/.opam/4.05/lib/seq -I /home/opam/.opam/4.05/lib/yojson -no-alias-deps -o ocaml_autodoc/.ocaml_autodoc.eobjs/byte/ocaml_autodoc.cmo -c -impl ocaml_autodoc/ocaml_autodoc.ml)
# File "ocaml_autodoc/ocaml_autodoc.ml", line 5, characters 11-28:
# Error: Unbound type constructor Yojson.Basic.json



<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build sphinxcontrib-ocaml 0.3.0
+- 
+- The following changes have been performed
| - install base-num base
| - install cppo     1.6.9
| - install General  0.7.0
| - install jbuilder transition
| - install num      0
| - install seq      0.2.2
| - install yojson   2.0.0
+- 

<><> 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.05/.opam-switch/backup/state-20240912204043.export"
'opam --cli=2.1 install sphinxcontrib-ocaml.0.3.0 yojson.2.0.0 seq.0.2.2 num.0 jbuilder.transition General.0.7.0 dune.1.11.4 cppo.1.6.9 base-num.base --verbose --yes --confirm-level=unsafe-yes' failed.
OCaml

Innovation. Community. Security.