package codept

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

codept 0.11.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 codept.0.11.0 menhirSdk.20240715 menhirLib.20240715 menhirCST.20240715 menhir.20240715 dune.3.16.0" 

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 3.16.0).
The following actions will be performed:
  - install menhirLib 20240715
  - install menhirCST 20240715
  - install menhirSdk 20240715
  - install menhir    20240715
  - install codept    0.11.0
===== 5 to install =====

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/15: [codept.0.11.0: http]
Processing  2/15: [codept.0.11.0: http]
Processing  3/15: [codept.0.11.0: http]
-> retrieved menhir.20240715  (cached)
Processing  4/15: [codept.0.11.0: http]
-> retrieved menhirCST.20240715  (cached)
Processing  5/15: [codept.0.11.0: http]
Processing  6/15: [codept.0.11.0: http] [menhirCST: dune build]
Processing  6/15: [menhirCST: dune build]
-> retrieved menhirLib.20240715  (cached)
Processing  7/15: [menhirCST: dune build] [menhirLib: dune build]
-> retrieved menhirSdk.20240715  (cached)
Processing  8/15: [menhirCST: dune build] [menhirLib: dune build] [menhirSdk: dune build]
-> retrieved codept.0.11.0  (https://github.com/Octachron/codept/releases/download/0.11.0/codept-0.11.0.tbz)
-> compiled  menhirCST.20240715
Processing  8/15: [menhirLib: dune build] [menhirSdk: dune build]
-> installed menhirCST.20240715
Processing  9/15: [menhirLib: dune build] [menhirSdk: dune build]
-> compiled  menhirSdk.20240715
Processing  9/15: [menhirLib: dune build]
-> installed menhirSdk.20240715
Processing 10/15: [menhirLib: dune build]
+ /home/opam/.opam/4.13/bin/dune "build" "-p" "menhirLib" "-j" "39" (CWD=/home/opam/.opam/4.13/.opam-switch/build/menhirLib.20240715)
- (cd _build/default/lib/pack && ./pack.exe)
- Creating menhirLib.ml...
- Creating menhirLib.mli...
-> compiled  menhirLib.20240715
-> installed menhirLib.20240715
Processing 12/15: [menhir: dune build]
+ /home/opam/.opam/4.13/bin/dune "build" "-p" "menhir" "-j" "39" (CWD=/home/opam/.opam/4.13/.opam-switch/build/menhir.20240715)
- (cd _build/default/lib/pack && ./pack.exe)
- Creating menhirLib.ml...
- Creating menhirLib.mli...
- (cd _build/default/src/stage2 && .bin/menhir --exn-carries-state --no-pager --require-aliases --strict parser.mly --compare-errors parserMessages.auto.messages --compare-errors parserMessages.messages) > _build/default/src/stage2/parserMessages.check
- Read 99 sample input sentences and 99 error messages.
- Read 99 sample input sentences and 47 error messages.
- (cd _build/default && src/stage2/.bin/menhir --exn-carries-state --no-pager --require-aliases --strict -lg 1 -la 1 -lc 1 -v src/stage2/parser.mly --base src/stage2/parser --infer-read-reply src/stage2/parser__mock.mli.inferred)
- Grammar has 56 nonterminal symbols, among which 1 start symbols.
- Grammar has 37 terminal symbols.
- Grammar has 129 productions.
- Built an LR(0) automaton with 199 states.
- The grammar is not SLR(1) -- 7 states have a conflict.
- The construction mode is no-pager.
- Built an LR(1) automaton with 308 states.
- One shift/reduce conflict was silently solved.
- Extra reductions on error were added in 50 states.
- Priority played a role in 0 of these states.
- 156 out of 308 states have a default reduction.
- 108 out of 308 states are represented.
- 44 out of 96 symbols keep track of their start position.
- 39 out of 96 symbols keep track of their end position.
- The StackLang code contains 4113 instructions in 277 blocks.
- The StackLang code comprises 5 mutually recursive groups.
- (cd _build/default/src/stage2 && .bin/menhir --exn-carries-state --no-pager --require-aliases --strict parser.mly --compile-errors parserMessages.messages) > _build/default/src/stage2/parserMessages.ml
- Read 99 sample input sentences and 47 error messages.
-> compiled  menhir.20240715
-> installed menhir.20240715
Processing 14/15: [codept: dune build]
+ /home/opam/.opam/4.13/bin/dune "build" "-p" "codept" "-j" "39" (CWD=/home/opam/.opam/4.13/.opam-switch/build/codept.0.11.0)
- File "dune-project", line 18, characters 23-29:
- 18 |   (depends dune menhir {build & >= 20180523})
-                             ^^^^^^
- Error: "{build" is an invalid package dependency.
- Package names can contain letters, numbers, '-', '_' and '+', and need to
- contain at least a letter.
- Hint: _build would be a correct package dependency
[ERROR] The compilation of codept.0.11.0 failed at "dune build -p codept -j 39".

#=== ERROR while compiling codept.0.11.0 ======================================#
# context              2.1.6 | linux/x86_64 | ocaml-base-compiler.4.13.1 | file:///src
# path                 ~/.opam/4.13/.opam-switch/build/codept.0.11.0
# command              ~/.opam/4.13/bin/dune build -p codept -j 39
# exit-code            1
# env-file             ~/.opam/log/codept-115-cd06e1.env
# output-file          ~/.opam/log/codept-115-cd06e1.out
### output ###
# File "dune-project", line 18, characters 23-29:
# 18 |   (depends dune menhir {build & >= 20180523})
#                             ^^^^^^
# Error: "{build" is an invalid package dependency.
# Package names can contain letters, numbers, '-', '_' and '+', and need to
# contain at least a letter.
# Hint: _build would be a correct package dependency



<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build codept 0.11.0
+- 
+- The following changes have been performed
| - install menhir    20240715
| - install menhirCST 20240715
| - install menhirLib 20240715
| - install menhirSdk 20240715
+- 
# 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.13/.opam-switch/backup/state-20240912205920.export"
'opam --cli=2.1 install codept.0.11.0 menhirSdk.20240715 menhirLib.20240715 menhirCST.20240715 menhir.20240715 dune.3.16.0 --verbose --yes --confirm-level=unsafe-yes' failed.
OCaml

Innovation. Community. Security.