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.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 codept.0.11.0 menhirSdk.20231231 menhirLib.20231231 menhirCST.20231231 menhir.20231231 dune.3.13.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 dune is already installed (current version is 3.13.0).
The following actions will be performed:
  - install menhirLib 20231231
  - install menhirCST 20231231
  - install menhirSdk 20231231
  - install menhir    20231231
  - install codept    0.11.0
===== 5 to install =====

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/15:
Processing  2/15:
Processing  3/15:
-> retrieved codept.0.11.0  (cached)
Processing  4/15:
-> retrieved menhir.20231231  (cached)
Processing  5/15:
-> retrieved menhirCST.20231231  (cached)
Processing  6/15: [menhirCST: dune build]
-> retrieved menhirLib.20231231  (cached)
Processing  7/15: [menhirCST: dune build] [menhirLib: dune build]
-> retrieved menhirSdk.20231231  (cached)
Processing  8/15: [menhirCST: dune build] [menhirLib: dune build] [menhirSdk: dune build]
-> compiled  menhirCST.20231231
Processing  8/15: [menhirLib: dune build] [menhirSdk: dune build]
-> installed menhirCST.20231231
Processing  9/15: [menhirLib: dune build] [menhirSdk: dune build]
-> compiled  menhirSdk.20231231
Processing  9/15: [menhirLib: dune build]
-> installed menhirSdk.20231231
Processing 10/15: [menhirLib: dune build]
+ /home/opam/.opam/4.13/bin/dune "build" "-p" "menhirLib" "-j" "255" (CWD=/home/opam/.opam/4.13/.opam-switch/build/menhirLib.20231231)
- (cd _build/default/lib/pack && ./pack.exe)
- Creating menhirLib.ml...
- Creating menhirLib.mli...
-> compiled  menhirLib.20231231
-> installed menhirLib.20231231
Processing 12/15: [menhir: dune build]
+ /home/opam/.opam/4.13/bin/dune "build" "-p" "menhir" "-j" "255" (CWD=/home/opam/.opam/4.13/.opam-switch/build/menhir.20231231)
- (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.20231231
-> installed menhir.20231231
Processing 14/15: [codept: dune build]
+ /home/opam/.opam/4.13/bin/dune "build" "-p" "codept" "-j" "255" (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 255".

#=== ERROR while compiling codept.0.11.0 ======================================#
# context              2.1.5 | 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 255
# exit-code            1
# env-file             ~/.opam/log/codept-113-d641da.env
# output-file          ~/.opam/log/codept-113-d641da.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    20231231
| - install menhirCST 20231231
| - install menhirLib 20231231
| - install menhirSdk 20231231
+- 
# 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-20240129191206.export"
'opam --cli=2.1 install codept.0.11.0 menhirSdk.20231231 menhirLib.20231231 menhirCST.20231231 menhir.20231231 dune.3.13.0 --verbose --yes --confirm-level=unsafe-yes' failed.
OCaml

Innovation. Community. Security.