sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page
The package failed to build. The error log from opam follows.
[NOTE] Package dune is already installed (current version is 3.17.2). The following actions will be performed: === install 12 packages - install csexp 1.5.2 - install dune-build-info 3.17.2 - install ocaml-lsp-server 1.10.1 - install ocamlformat-rpc-lib 0.19.0 - install pp 2.0.0 - install ppx_yojson_conv_lib v0.15.0 - install re 1.12.0 - install result 1.5 - install seq base - install sexplib0 v0.16.0 - install spawn v0.17.0 - install yojson 2.2.2 <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -> retrieved csexp.1.5.2 (cached) -> retrieved ocamlformat-rpc-lib.0.19.0 (cached) -> installed csexp.1.5.2 -> retrieved pp.2.0.0 (cached) -> retrieved ppx_yojson_conv_lib.v0.15.0 (cached) -> retrieved re.1.12.0 (cached) -> retrieved result.1.5 (cached) -> retrieved seq.base (cached) -> installed seq.base -> retrieved sexplib0.v0.16.0 (cached) -> retrieved spawn.v0.17.0 (cached) -> retrieved yojson.2.2.2 (cached) -> retrieved dune-build-info.3.17.2 (cached) -> retrieved ocaml-lsp-server.1.10.1 (cached) -> installed pp.2.0.0 -> installed result.1.5 -> installed re.1.12.0 -> installed sexplib0.v0.16.0 -> installed spawn.v0.17.0 -> installed yojson.2.2.2 -> installed ocamlformat-rpc-lib.0.19.0 -> installed ppx_yojson_conv_lib.v0.15.0 -> installed dune-build-info.3.17.2 [ERROR] The compilation of ocaml-lsp-server.1.10.1 failed at "dune build -j 255 ocaml-lsp-server.install --release". #=== ERROR while compiling ocaml-lsp-server.1.10.1 ============================# # context 2.3.0 | linux/x86_64 | ocaml-base-compiler.4.13.1 | file:///src # path ~/.opam/4.13/.opam-switch/build/ocaml-lsp-server.1.10.1 # command ~/.opam/4.13/bin/dune build -j 255 ocaml-lsp-server.install --release # exit-code 1 # env-file ~/.opam/log/ocaml-lsp-server-113-eb460b.env # output-file ~/.opam/log/ocaml-lsp-server-113-eb460b.out ### output ### # (cd _build/default/vendor/lev && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -libm -g -I /home/opam/.opam/4.13/lib/ocaml -o ev.o -c ev.c) # submodules/lev/lev/vendor/ev.c:2143:31: warning: 'ev_default_loop_ptr' initialized and declared 'extern' # (cd _build/default && /home/opam/.opam/4.13/bin/ocamlopt.opt -w -40 -alert -unstable -w -a -alert -all -g -I ocaml-lsp-server/vendor/dune-rpc/private/.dune_rpc_private.objs/byte -I ocaml-lsp-server/vendor/dune-rpc/private/.dune_rpc_private.objs/native -I /home/opam/.opam/4.13/lib/csexp -I /home/opam/.opam/4.13/lib/pp -I ocaml-lsp-server/vendor/xdg/.xdg.objs/byte -I ocaml-lsp-server/vendor/xdg/.xdg.objs/native -I vendor/dyn/.dyn.objs/byte -I vendor/dyn/.dyn.objs/native -I vendor/ordering/.ordering.objs/byte -I vendor/ordering/.ordering.objs/native -I vendor/stdune/.stdune.objs/byte -I vendor/stdune/.stdune.objs/native -intf-suffix .ml -no-alias-deps -open Dune_rpc_private__ -o ocaml-lsp-server/vendor/dune-rpc/private/.dune_rpc_private.objs/native/dune_rpc_private__Exported_types.cmx -c -impl ocaml-lsp-server/vendor/dune-rpc/private/exported_types.ml) # File "submodules/dune/otherlibs/dune-rpc/private/exported_types.ml", line 172, characters 8-10: # Error: This variant pattern is expected to have type 'a Pp.Ast.t # There is no constructor Ok within type Pp.Ast.t <><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><> +- The following actions failed | - build ocaml-lsp-server 1.10.1 +- +- The following changes have been performed | - install csexp 1.5.2 | - install dune-build-info 3.17.2 | - install ocamlformat-rpc-lib 0.19.0 | - install pp 2.0.0 | - install ppx_yojson_conv_lib v0.15.0 | - install re 1.12.0 | - install result 1.5 | - install seq base | - install sexplib0 v0.16.0 | - install spawn v0.17.0 | - install yojson 2.2.2 +- # 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.13/.opam-switch/backup/state-20250206040935.export"