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). [NOTE] Package ocamlfind is already installed (current version is 1.9.8). The following actions will be performed: === install 13 packages - install astring 0.8.5 - install menhir 20200211 - install menhirLib 20200211 - install menhirSdk 20200211 - install ocaml-compiler-libs v0.12.4 - install ocamlbuild 0.15.0 - install ppx_derivers 1.2.1 - install ppx_import 1.11.0 - install ppxlib 0.35.0 - install sexplib0 v0.17.0 - install stdlib-shims 0.3.0 - install systemverilog 0.0.1 - install topkg 1.0.7 <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -> retrieved astring.0.8.5 (cached) -> retrieved ocaml-compiler-libs.v0.12.4 (cached) -> retrieved menhir.20200211, menhirLib.20200211, menhirSdk.20200211 (cached) -> retrieved ocamlbuild.0.15.0 (cached) -> retrieved ppx_derivers.1.2.1 (cached) -> retrieved ppx_import.1.11.0 (cached) -> retrieved sexplib0.v0.17.0 (cached) -> retrieved stdlib-shims.0.3.0 (cached) -> retrieved systemverilog.0.0.1 (cached) -> retrieved topkg.1.0.7 (cached) -> retrieved ppxlib.0.35.0 (cached) -> installed ppx_derivers.1.2.1 -> installed stdlib-shims.0.3.0 -> installed menhirSdk.20200211 -> installed menhirLib.20200211 -> installed ocaml-compiler-libs.v0.12.4 -> installed sexplib0.v0.17.0 -> installed ocamlbuild.0.15.0 -> installed menhir.20200211 -> installed topkg.1.0.7 -> installed astring.0.8.5 -> installed ppxlib.0.35.0 -> installed ppx_import.1.11.0 [ERROR] The compilation of systemverilog.0.0.1 failed at "ocaml pkg/pkg.ml build --dev-pkg false". #=== ERROR while compiling systemverilog.0.0.1 ================================# # context 2.3.0 | linux/x86_64 | ocaml-base-compiler.5.1.1 | file:///src # path ~/.opam/5.1/.opam-switch/build/systemverilog.0.0.1 # command ~/.opam/5.1/bin/ocaml pkg/pkg.ml build --dev-pkg false # exit-code 1 # env-file ~/.opam/log/systemverilog-114-721058.env # output-file ~/.opam/log/systemverilog-114-721058.out ### output ### # + ocamlfind ocamlopt -I +unix unix.cmxa -I /home/opam/.opam/5.1/lib/ocamlbuild /home/opam/.opam/5.1/lib/ocamlbuild/ocamlbuildlib.cmxa -linkpkg myocamlbuild.ml /home/opam/.opam/5.1/lib/ocamlbuild/ocamlbuild.cmx -o myocamlbuild # + ocamlfind ocamldep -modules src/grammar.mli > src/grammar.mli.depends # + ocamlfind ocamlc -c -g -bin-annot -safe-string -I src -o src/grammar.cmi src/grammar.mli # + ocamlfind ocamldep -package ppx_import -modules src/grammar.ml > src/grammar.ml.depends # + ocamlfind ocamldep -modules src/lexer.mli > src/lexer.mli.depends # + menhir --raw-depend --ocamldep 'ocamlfind ocamldep -modules' src/parser.mly > src/parser.mly.depends # + menhir --ocamlc 'ocamlfind ocamlc -g -bin-annot -safe-string -w -40 -package ppx_import -I src' --infer src/parser.mly # + ocamlfind ocamldep -modules src/parser.mli > src/parser.mli.depends # + ocamlfind ocamlc -c -g -bin-annot -safe-string -I src -o src/parser.cmi src/parser.mli # + ocamlfind ocamlc -c -g -bin-annot -safe-string -I src -o src/lexer.cmi src/lexer.mli # + /home/opam/.opam/5.1/bin/ocamllex.opt -q src/lexer.mll # + ocamlfind ocamldep -package ppx_import -modules src/lexer.ml > src/lexer.ml.depends # + ocamlfind ocamldep -package ppx_import -modules src/parser.ml > src/parser.ml.depends # + ocamlfind ocamlc -c -g -bin-annot -safe-string -package ppx_import -I src -o src/grammar.cmo src/grammar.ml # + ocamlfind ocamlc -c -g -bin-annot -safe-string -package ppx_import -I src -o src/lexer.cmo src/lexer.ml # + ocamlfind ocamlc -c -g -bin-annot -safe-string -w -40 -package ppx_import -I src -o src/parser.cmo src/parser.ml # + ocamlfind ocamlc -pack -g -bin-annot src/grammar.cmo src/parser.cmo src/lexer.cmo -o src/SystemVerilog.cmo # + ocamlfind ocamlopt -c -g -bin-annot -safe-string -for-pack SystemVerilog -package ppx_import -I src -o src/grammar.cmx src/grammar.ml # + ocamlfind ocamlopt -c -g -bin-annot -safe-string -for-pack SystemVerilog -w -40 -package ppx_import -I src -o src/parser.cmx src/parser.ml # + ocamlfind ocamlopt -c -g -bin-annot -safe-string -for-pack SystemVerilog -package ppx_import -I src -o src/lexer.cmx src/lexer.ml # + touch src/SystemVerilog.mli ; if ocamlfind ocamlopt -pack -g -bin-annot -I src src/grammar.cmx src/parser.cmx src/lexer.cmx -o src/SystemVerilog.cmx ; then rm -f src/SystemVerilog.mli ; else rm -f src/SystemVerilog.mli ; exit 1; fi # + ocamlfind ocamlopt -a -I src src/SystemVerilog.cmx -o src/SystemVerilog.cmxa # + ocamlfind ocamlopt -shared -linkall -I src src/SystemVerilog.cmxa -o src/SystemVerilog.cmxs # + ocamlfind ocamlc -a -I src src/SystemVerilog.cmo -o src/SystemVerilog.cma # + ocamlfind ocamldep -modules tools/sv_parse.ml > tools/sv_parse.ml.depends # + ocamlfind ocamlc -c -I +unix -g -bin-annot -safe-string -I tools -I src -o tools/sv_parse.cmo tools/sv_parse.ml # + ocamlfind ocamlopt -c -I +unix -g -bin-annot -safe-string -I tools -I src -o tools/sv_parse.cmx tools/sv_parse.ml # + ocamlfind ocamlopt -c -I +unix -g -bin-annot -safe-string -I tools -I src -o tools/sv_parse.cmx tools/sv_parse.ml # File "tools/sv_parse.ml", line 1: # Error: src/grammar.cmx was built with -for-pack SystemVerilog, but the # current unit Sv_parse is not # Command exited with code 2. # pkg.ml: [ERROR] cmd ['ocamlbuild' '-use-ocamlfind' '-classic-display' '-j' '4' '-tag' 'debug' # '-build-dir' '_build' 'opam' 'pkg/META' 'CHANGES.md' 'LICENSE.md' # 'README.md' 'src/SystemVerilog.cmxs' 'src/SystemVerilog.cmxa' # 'src/SystemVerilog.cmx' 'src/SystemVerilog.cma' 'src/SystemVerilog.cmi' # 'src/SystemVerilog.a' 'src/parser.mli' 'src/lexer.mli' 'src/grammar.mli' # 'tools/sv_parse.native']: exited with 10 <><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><> +- The following actions failed | - build systemverilog 0.0.1 +- +- The following changes have been performed | - install astring 0.8.5 | - install menhir 20200211 | - install menhirLib 20200211 | - install menhirSdk 20200211 | - install ocaml-compiler-libs v0.12.4 | - install ocamlbuild 0.15.0 | - install ppx_derivers 1.2.1 | - install ppx_import 1.11.0 | - install ppxlib 0.35.0 | - install sexplib0 v0.17.0 | - install stdlib-shims 0.3.0 | - install topkg 1.0.7 +- # 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/5.1/.opam-switch/backup/state-20250206040800.export"