package combine

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

combine 0.55

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 combine.0.55 ocamlfind.1.9.6 num.0 menhirSdk.20230608 menhirLib.20230608 menhir.20230608 dune.3.13.0 base-num.base" 

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).
[NOTE] Package ocamlfind is already installed (current version is 1.9.6).
The following actions will be performed:
  - install menhirSdk 20230608
  - install base-num  base
  - install menhirLib 20230608
  - install num       0
  - install menhir    20230608
  - install combine   0.55
===== 6 to install =====

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  2/18:
Processing  3/18:
Processing  4/18:
Processing  5/18:
-> installed base-num.base
Processing  6/18:
-> retrieved combine.0.55  (cached)
Processing  7/18:
-> retrieved menhir.20230608  (cached)
Processing  8/18:
Processing  9/18:
-> installed num.0
Processing 10/18:
-> retrieved menhirLib.20230608  (cached)
Processing 11/18: [menhirLib: dune build]
-> retrieved menhirSdk.20230608  (cached)
Processing 12/18: [menhirLib: dune build] [menhirSdk: dune build]
-> compiled  menhirSdk.20230608
Processing 12/18: [menhirLib: dune build]
-> installed menhirSdk.20230608
Processing 13/18: [menhirLib: dune build]
+ /home/opam/.opam/4.05/bin/dune "build" "-p" "menhirLib" "-j" "255" (CWD=/home/opam/.opam/4.05/.opam-switch/build/menhirLib.20230608)
- (cd _build/default/lib/pack && ./pack.exe)
- Creating menhirLib.ml...
- Creating menhirLib.mli...
-> compiled  menhirLib.20230608
-> installed menhirLib.20230608
Processing 15/18: [menhir: dune build]
+ /home/opam/.opam/4.05/bin/dune "build" "-p" "menhir" "-j" "255" (CWD=/home/opam/.opam/4.05/.opam-switch/build/menhir.20230608)
- (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 101 sample input sentences and 101 error messages.
- Read 101 sample input sentences and 48 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 194 states.
- The grammar is not SLR(1) -- 5 states have a conflict.
- The construction mode is no-pager.
- Built an LR(1) automaton with 298 states.
- One shift/reduce conflict was silently solved.
- Extra reductions on error were added in 40 states.
- Priority played a role in 0 of these states.
- 152 out of 298 states have a default reduction.
- 102 out of 298 states are represented.
- 44 out of 96 symbols keep track of their start position.
- 41 out of 96 symbols keep track of their end position.
- The StackLang code contains 3973 instructions in 267 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 101 sample input sentences and 48 error messages.
-> compiled  menhir.20230608
-> installed menhir.20230608
Processing 17/18: [combine: ./configure]
+ /home/opam/.opam/4.05/.opam-switch/build/combine.0.55/./configure "--prefix=/home/opam/.opam/4.05" (CWD=/home/opam/.opam/4.05/.opam-switch/build/combine.0.55)
- checking for ocamlc... ocamlc
- ocaml version is 4.05.0
- ocaml library path is /home/opam/.opam/4.05/lib/ocaml
- checking for ocamlopt... ocamlopt
- checking ocamlopt version... ok
- checking for ocamlc.opt... ocamlc.opt
- checking ocamlc.opt version... ok
- checking for ocamlopt.opt... ocamlopt.opt
- checking ocamlc.opt version... ok
- checking for ocamldep... ocamldep
- checking for ocamldep.opt... ocamldep.opt
- checking for ocamllex... ocamllex
- checking for ocamllex.opt... ocamllex.opt
- checking for menhir... menhir
- checking for ocamlweb... true
- checking platform... configure: creating ./config.status
- config.status: creating Makefile
- config.status: WARNING:  'Makefile.in' seems to ignore the --datarootdir setting
Processing 17/18: [combine: make]
+ /usr/bin/make  (CWD=/home/opam/.opam/4.05/.opam-switch/build/combine.0.55)
- menhir  -v parser.mly
- Note: the nonterminal symbol option (from parser.mly) is renamed parser_option.
- Error: the code back-end requires the type of every nonterminal symbol to be
- known. Please specify the type of every symbol via %type declarations, or
- enable type inference (look up --infer in the manual).
- Type inference is automatically enabled when Menhir is used via Dune,
- provided the dune-project file says (using menhir 2.0) or later.
- The types of the following nonterminal symbols are unknown:
- algo_emc
- bool
- boolean_expr
- decl
- expr
- isometry
- list(decl)
- list(parser_option)
- loption(separated_nonempty_list(COMMA,tile))
- output
- parser_option
- separated_nonempty_list(COMMA,tile)
- state
- tile
- tile_list
- tiles
- Makefile:306: .depend: No such file or directory
- make: *** [Makefile:239: parser.ml] Error 1
[ERROR] The compilation of combine.0.55 failed at "make".

#=== ERROR while compiling combine.0.55 =======================================#
# context              2.1.5 | linux/x86_64 | ocaml-base-compiler.4.05.0 | file:///src
# path                 ~/.opam/4.05/.opam-switch/build/combine.0.55
# command              /usr/bin/make
# exit-code            2
# env-file             ~/.opam/log/combine-113-fed8fc.env
# output-file          ~/.opam/log/combine-113-fed8fc.out
### output ###
# menhir  -v parser.mly
# Note: the nonterminal symbol option (from parser.mly) is renamed parser_option.
# Error: the code back-end requires the type of every nonterminal symbol to be
# known. Please specify the type of every symbol via %type declarations, or
# enable type inference (look up --infer in the manual).
# Type inference is automatically enabled when Menhir is used via Dune,
# provided the dune-project file says (using menhir 2.0) or later.
# The types of the following nonterminal symbols are unknown:
# algo_emc
# bool
# boolean_expr
# decl
# expr
# isometry
# list(decl)
# list(parser_option)
# loption(separated_nonempty_list(COMMA,tile))
# output
# parser_option
# separated_nonempty_list(COMMA,tile)
# state
# tile
# tile_list
# tiles
# Makefile:306: .depend: No such file or directory
# make: *** [Makefile:239: parser.ml] Error 1



<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build combine 0.55
+- 
+- The following changes have been performed
| - install base-num  base
| - install menhir    20230608
| - install menhirLib 20230608
| - install menhirSdk 20230608
| - install num       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.05/.opam-switch/backup/state-20240129190947.export"
'opam --cli=2.1 install combine.0.55 ocamlfind.1.9.6 num.0 menhirSdk.20230608 menhirLib.20230608 menhir.20230608 dune.3.13.0 base-num.base --verbose --yes --confirm-level=unsafe-yes' failed.