package reason

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

reason 3.5.2

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.8).
The following actions will be performed:
=== install 10 packages
  - install cppo                    1.8.0
  - install menhir                  20240715
  - install menhirCST               20240715
  - install menhirLib               20240715
  - install menhirSdk               20240715
  - install merlin-extend           0.6.2
  - install ocaml-migrate-parsetree 1.8.0 (deprecated)
  - install ppx_derivers            1.2.1
  - install reason                  3.5.2
  - install result                  1.5

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved cppo.1.8.0  (cached)
-> retrieved menhir.20240715, menhirCST.20240715, menhirLib.20240715, menhirSdk.20240715  (cached)
-> retrieved merlin-extend.0.6.2  (cached)
-> retrieved ocaml-migrate-parsetree.1.8.0  (cached)
-> retrieved ppx_derivers.1.2.1  (cached)
-> installed menhirCST.20240715
-> retrieved result.1.5  (cached)
-> retrieved reason.3.5.2  (cached)
-> installed ppx_derivers.1.2.1
-> installed result.1.5
-> installed cppo.1.8.0
-> installed menhirSdk.20240715
-> installed menhirLib.20240715
-> installed merlin-extend.0.6.2
-> installed ocaml-migrate-parsetree.1.8.0
-> installed menhir.20240715
[ERROR] The compilation of reason.3.5.2 failed at "dune build -p reason -j 31".

#=== ERROR while compiling reason.3.5.2 =======================================#
# context              2.3.0 | linux/x86_64 | ocaml-base-compiler.4.09.1 | file:///src
# path                 ~/.opam/4.09/.opam-switch/build/reason.3.5.2
# command              ~/.opam/4.09/bin/dune build -p reason -j 31
# exit-code            1
# env-file             ~/.opam/log/reason-113-84d763.env
# output-file          ~/.opam/log/reason-113-84d763.out
### output ###
# (cd _build/default && /home/opam/.opam/4.09/bin/ocamlc.opt -w -40 -g -bin-annot -I src/reason-parser/.menhir_error_processor.eobjs/byte -I /home/opam/.opam/4.09/lib/menhirSdk -no-alias-deps -o src/reason-parser/.menhir_error_processor.eobjs/byte/menhir_error_processor.cmo -c -impl src/reason-parser/menhir_error_processor.ml)
# File "src/reason-parser/menhir_error_processor.ml", line 31, characters 50-64:
# 31 |     List.exists (fun (term, _) -> pred (T term)) (Lr1.reductions lr1) ||
#                                                        ^^^^^^^^^^^^^^
# Alert deprecated: G.Lr1.reductions
# Please use [get_reductions]
# (cd _build/default && /home/opam/.opam/4.09/bin/ocamlopt.opt -w -40 -g -I src/reason-parser/.menhir_error_processor.eobjs/byte -I src/reason-parser/.menhir_error_processor.eobjs/native -I /home/opam/.opam/4.09/lib/menhirSdk -intf-suffix .ml -no-alias-deps -o src/reason-parser/.menhir_error_processor.eobjs/native/menhir_error_processor.cmx -c -impl src/reason-parser/menhir_error_processor.ml)
# File "src/reason-parser/menhir_error_processor.ml", line 31, characters 50-64:
# 31 |     List.exists (fun (term, _) -> pred (T term)) (Lr1.reductions lr1) ||
#                                                        ^^^^^^^^^^^^^^
# Alert deprecated: G.Lr1.reductions
# Please use [get_reductions]
# (cd _build/default/src/reason-parser && /usr/bin/bash -e -u -o pipefail -c 'menhir --explain --strict --unused-tokens ./reason_parser.mly --update-errors ./reason_parser.messages.checked-in | sed -e '\''s/[[:space:]]*$$//g'\''') > _build/default/src/reason-parser/reason_parser.messages
# File "./reason_parser.mly", line 1673, characters 4-42:
# Error: when --strategy simplified is selected,
# the error token may appear only at the end of a production
# (and the semantic action must abort the parser).
# This production will be ignored.
# File "./reason_parser.mly", line 4937, characters 8-14:
# Error: symbol as_loc(structure_item) is unreachable from any of the start symbol(s).



<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build reason 3.5.2
+- 
+- The following changes have been performed
| - install cppo                    1.8.0
| - install menhir                  20240715
| - install menhirCST               20240715
| - install menhirLib               20240715
| - install menhirSdk               20240715
| - install merlin-extend           0.6.2
| - install ocaml-migrate-parsetree 1.8.0
| - install ppx_derivers            1.2.1
| - install result                  1.5
+- 

<><> ocaml-migrate-parsetree.1.8.0 installed successfully <><><><><><><><><><><>
=> Note: This package is deprecated.
# 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-20250206041541.export"
OCaml

Innovation. Community. Security.