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 11 packages - install bigarray-compat 1.1.0 - install csexp 1.5.2 - install ctypes 0.23.0 - install dune-configurator 3.17.2 - install integers 0.7.0 - install oasis 0.4.11 - install ocamlbuild 0.15.0 - install ocamlify 0.0.1 - install ocamlmod 0.0.9 - install sanlock 0.0.9 - install stdlib-shims 0.3.0 The following system packages will first need to be installed: libsanlock-dev <><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><> opam believes some required external dependencies are missing. opam can: > 1. Run apt-get to install them (may need root/sudo access) 2. Display the recommended apt-get command and wait while you run it manually (e.g. in another terminal) 3. Continue anyway, and, upon success, permanently register that this external dependency is present, but not detectable 4. Abort the installation [1/2/3/4] 1 + /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "libsanlock-dev" - debconf: delaying package configuration, since apt-utils is not installed - Selecting previously unselected package libaio1:amd64. - (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 18745 files and directories currently installed.) - Preparing to unpack .../libaio1_0.3.113-4_amd64.deb ... - Unpacking libaio1:amd64 (0.3.113-4) ... - Selecting previously unselected package libsanlock-client1:amd64. - Preparing to unpack .../libsanlock-client1_3.8.5-1+b1_amd64.deb ... - Unpacking libsanlock-client1:amd64 (3.8.5-1+b1) ... - Selecting previously unselected package libsanlock1:amd64. - Preparing to unpack .../libsanlock1_3.8.5-1+b1_amd64.deb ... - Unpacking libsanlock1:amd64 (3.8.5-1+b1) ... - Selecting previously unselected package libsanlock-dev:amd64. - Preparing to unpack .../libsanlock-dev_3.8.5-1+b1_amd64.deb ... - Unpacking libsanlock-dev:amd64 (3.8.5-1+b1) ... - Setting up libsanlock-client1:amd64 (3.8.5-1+b1) ... - Setting up libaio1:amd64 (0.3.113-4) ... - Setting up libsanlock1:amd64 (3.8.5-1+b1) ... - Setting up libsanlock-dev:amd64 (3.8.5-1+b1) ... - Processing triggers for libc-bin (2.36-9+deb12u9) ... <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -> retrieved bigarray-compat.1.1.0 (cached) -> retrieved csexp.1.5.2 (cached) -> retrieved ctypes.0.23.0 (cached) -> retrieved integers.0.7.0 (cached) -> retrieved oasis.0.4.11 (cached) -> installed csexp.1.5.2 -> installed bigarray-compat.1.1.0 -> retrieved ocamlbuild.0.15.0 (cached) -> retrieved ocamlify.0.0.1 (cached) -> retrieved ocamlmod.0.0.9 (cached) -> retrieved sanlock.0.0.9 (cached) -> retrieved stdlib-shims.0.3.0 (cached) -> retrieved dune-configurator.3.17.2 (cached) -> installed stdlib-shims.0.3.0 -> installed integers.0.7.0 -> installed dune-configurator.3.17.2 -> installed ocamlbuild.0.15.0 -> installed ocamlify.0.0.1 -> installed ocamlmod.0.0.9 -> installed ctypes.0.23.0 -> installed oasis.0.4.11 [ERROR] The compilation of sanlock.0.0.9 failed at "make". #=== ERROR while compiling sanlock.0.0.9 ======================================# # context 2.3.0 | linux/x86_64 | ocaml-base-compiler.4.12.1 | file:///src # path ~/.opam/4.12/.opam-switch/build/sanlock.0.0.9 # command /usr/bin/make # exit-code 2 # env-file ~/.opam/log/sanlock-113-98db61.env # output-file ~/.opam/log/sanlock-113-98db61.out ### output ### # ocaml setup.ml -build # File "./setup.ml", line 1775, characters 22-40: # 1775 | let compare = Pervasives.compare # ^^^^^^^^^^^^^^^^^^ # Alert deprecated: module Stdlib.Pervasives # Use Stdlib instead. # # If you need to stay compatible with OCaml < 4.07, you can use the # stdlib-shims library: https://github.com/ocaml/stdlib-shims # File "setup.ml", line 3467, characters 16-34: # Alert deprecated: module Stdlib.Pervasives # Use Stdlib instead. # # If you need to stay compatible with OCaml < 4.07, you can use the # stdlib-shims library: https://github.com/ocaml/stdlib-shims # W: Cannot find source file matching module 'Ffi_generated' in library sanlock. # W: Use InterfacePatterns or ImplementationPatterns to define this file with feature "source_patterns". # W: Cannot find source file matching module 'Ffi_generated_types' in library sanlock. # W: Use InterfacePatterns or ImplementationPatterns to define this file with feature "source_patterns". # + /home/opam/.opam/4.12/bin/ocamlopt.opt unix.cmxa -I /home/opam/.opam/4.12/lib/ocamlbuild /home/opam/.opam/4.12/lib/ocamlbuild/ocamlbuildlib.cmxa myocamlbuild.ml /home/opam/.opam/4.12/lib/ocamlbuild/ocamlbuild.cmx -o myocamlbuild # File "_tags", line 66, characters 39-48: # Warning: the tag "pkg_oUnit" is not used in any flag or dependency declaration, so it will have no effect; it may be a typo. Otherwise you can use `mark_tag_used` in your myocamlbuild.ml to disable this warning. # File "_tags", line 70, characters 23-32: # Warning: the tag "pkg_oUnit" is not used in any flag or dependency declaration, so it will have no effect; it may be a typo. Otherwise you can use `mark_tag_used` in your myocamlbuild.ml to disable this warning. # + /home/opam/.opam/4.12/bin/ocamlfind ocamldep -package ctypes.stubs -modules bindings/ffi_bindings.ml > bindings/ffi_bindings.ml.depends # + /home/opam/.opam/4.12/bin/ocamlfind ocamlc -c -g -annot -bin-annot -warn-error +1..45 -package ctypes.stubs -I bindings -o bindings/ffi_bindings.cmo bindings/ffi_bindings.ml # + /home/opam/.opam/4.12/bin/ocamlfind ocamlc -a -warn-error +1..45 -I bindings bindings/ffi_bindings.cmo -o bindings/sanlock_bindings.cma # + /home/opam/.opam/4.12/bin/ocamlfind ocamlopt -c -g -annot -bin-annot -warn-error +1..45 -package ctypes.stubs -I bindings -o bindings/ffi_bindings.cmx bindings/ffi_bindings.ml # + /home/opam/.opam/4.12/bin/ocamlfind ocamlopt -a -warn-error +1..45 -I bindings bindings/ffi_bindings.cmx -o bindings/sanlock_bindings.cmxa # + /home/opam/.opam/4.12/bin/ocamlfind ocamlopt -shared -I bindings bindings/sanlock_bindings.cmxa bindings/ffi_bindings.cmx -o bindings/sanlock_bindings.cmxs # + /home/opam/.opam/4.12/bin/ocamlfind ocamldep -package ctypes.stubs -modules stubgen/ffi_stubgen.ml > stubgen/ffi_stubgen.ml.depends # + /home/opam/.opam/4.12/bin/ocamlfind ocamlc -c -g -annot -bin-annot -I bindings -warn-error +1..45 -warn-error +1..45 -package ctypes.stubs -I stubgen -I bindings -o stubgen/ffi_stubgen.cmo stubgen/ffi_stubgen.ml # + /home/opam/.opam/4.12/bin/ocamlfind ocamlc -g -warn-error +1..45 -linkpkg -package ctypes.stubs -I bindings -I stubgen bindings/sanlock_bindings.cma stubgen/ffi_stubgen.cmo -o stubgen/ffi_stubgen.byte # + stubgen/ffi_stubgen.byte -c > lib/ffi_generated_stubs.c # + /home/opam/.opam/4.12/bin/ocamlfind ocamlc -g -I lib -package ctypes -ccopt -I -ccopt /home/opam/.opam/4.12/lib/ctypes/stubs -c lib/ffi_generated_stubs.c # + mv ffi_generated_stubs.o lib/ffi_generated_stubs.o # + /home/opam/.opam/4.12/bin/ocamlfind ocamlmklib -o lib/sanlock_stubs -g -lsanlock_client lib/ffi_generated_stubs.o # + /home/opam/.opam/4.12/bin/ocamlfind ocamldep -package ctypes.stubs -modules lib/sanlock.mli > lib/sanlock.mli.depends # + /home/opam/.opam/4.12/bin/ocamlfind ocamlc -c -g -annot -bin-annot -I bindings -ccopt -I -ccopt /home/opam/.opam/4.12/lib/ctypes/stubs -warn-error +1..45 -package ctypes.stubs -I lib -I bindings -o lib/sanlock.cmi lib/sanlock.mli # + /home/opam/.opam/4.12/bin/ocamlfind ocamldep -package ctypes.stubs -modules lib/sanlock.ml > lib/sanlock.ml.depends # + stubgen/ffi_stubgen.byte -ml > lib/ffi_generated.ml # + /home/opam/.opam/4.12/bin/ocamlfind ocamldep -package ctypes.stubs -modules lib/ffi_generated.ml > lib/ffi_generated.ml.depends # + /home/opam/.opam/4.12/bin/ocamlfind ocamldep -package ctypes.stubs -modules stubgen/ffi_types_stubgen.ml > stubgen/ffi_types_stubgen.ml.depends # + /home/opam/.opam/4.12/bin/ocamlfind ocamlc -c -g -annot -bin-annot -I bindings -warn-error +1..45 -warn-error +1..45 -package ctypes.stubs -I stubgen -I bindings -o stubgen/ffi_types_stubgen.cmo stubgen/ffi_types_stubgen.ml # + /home/opam/.opam/4.12/bin/ocamlfind ocamlc -g -warn-error +1..45 -linkpkg -package ctypes.stubs -I bindings -I stubgen bindings/sanlock_bindings.cma stubgen/ffi_types_stubgen.cmo -o stubgen/ffi_types_stubgen.byte # + stubgen/ffi_types_stubgen.byte > stubgen/ffi_ml_types_stubgen.c # + gcc -O2 -fno-strict-aliasing -fwrapv -fPIC -D_FILE_OFFSET_BITS=64 -D_REENTRANT stubgen/ffi_ml_types_stubgen.c -I /home/opam/.opam/4.12/lib/ctypes/stubs -I /home/opam/.opam/4.12/lib/ocaml -o stubgen/ffi_ml_types_subgen # + gcc -O2 -fno-strict-aliasing -fwrapv -fPIC -D_FILE_OFFSET_BITS=64 -D_REENTRANT stubgen/ffi_ml_types_stubgen.c -I /home/opam/.opam/4.12/lib/ctypes/stubs -I /home/opam/.opam/4.12/lib/ocaml -o stubgen/ffi_ml_types_subgen # stubgen/ffi_ml_types_stubgen.c:9:10: fatal error: ctypes_cstubs_internals.h: No such file or directory # 9 | #include "ctypes_cstubs_internals.h" # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ # compilation terminated. # Command exited with code 1. # E: Failure("Command ''/home/opam/.opam/4.12/bin/ocamlbuild' bindings/sanlock_bindings.cma bindings/sanlock_bindings.cmxa bindings/sanlock_bindings.a bindings/sanlock_bindings.cmxs lib/libsanlock_stubs.a lib/dllsanlock_stubs.so lib/sanlock.cma lib/sanlock.cmxa lib/sanlock.a lib/sanlock.cmxs stubgen/ffi_stubgen.byte stubgen/ffi_types_stubgen.byte -tag debug' terminated with error code 10") # make: *** [Makefile:2: build] Error 1 <><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><> +- The following actions failed | - build sanlock 0.0.9 +- +- The following changes have been performed | - install bigarray-compat 1.1.0 | - install csexp 1.5.2 | - install ctypes 0.23.0 | - install dune-configurator 3.17.2 | - install integers 0.7.0 | - install oasis 0.4.11 | - install ocamlbuild 0.15.0 | - install ocamlify 0.0.1 | - install ocamlmod 0.0.9 | - install stdlib-shims 0.3.0 +- # 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.12/.opam-switch/backup/state-20250206040631.export"