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 ocamlfind is already installed (current version is 1.9.8). The following actions will be performed: === install 3 packages - install crypt 1.2 - install ocaml-makefile 6.39.2 - install ocamlbuild 0.15.0 <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -> retrieved crypt.1.2 (cached) -> retrieved ocaml-makefile.6.39.2 (cached) -> installed ocaml-makefile.6.39.2 -> retrieved ocamlbuild.0.15.0 (cached) -> installed ocamlbuild.0.15.0 [ERROR] The compilation of crypt.1.2 failed at "make". #=== ERROR while compiling crypt.1.2 ==========================================# # context 2.3.0 | linux/x86_64 | ocaml-base-compiler.5.1.1 | file:///src # path ~/.opam/5.1/.opam-switch/build/crypt.1.2 # command /usr/bin/make # exit-code 2 # env-file ~/.opam/log/crypt-113-386352.env # output-file ~/.opam/log/crypt-113-386352.out ### output ### # cd lib && /usr/bin/make # make[1]: Entering directory '/home/opam/.opam/5.1/.opam-switch/build/crypt.1.2/lib' # make[2]: Entering directory '/home/opam/.opam/5.1/.opam-switch/build/crypt.1.2/lib' # ocamldep -native crypt.mli > ._ncdi/crypt.di # ocamldep crypt.ml > ._d/crypt.d # /home/opam/.opam/5.1/bin/ocamlopt.opt \ # -c -cc "cc" -ccopt "-fPIC \ # -DPIC -DNATIVE_CODE \ # -o crypt_stubs.o " crypt_stubs.c # crypt_stubs.c: In function 'crypt_raw': # crypt_stubs.c:14:18: warning: implicit declaration of function 'crypt' [-Wimplicit-function-declaration] # 14 | char *result = crypt(String_val(key), String_val(salt)); # | ^~~~~ # crypt_stubs.c:14:18: warning: initialization of 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] # crypt_stubs.c: In function 'crypt_md5': # crypt_stubs.c:43:12: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] # 43 | password = crypt(String_val(key), salt); # | ^ # ar rcs libcrypt_stubs.a crypt_stubs.o # /home/opam/.opam/5.1/bin/ocamlc.opt -c crypt.mli # /home/opam/.opam/5.1/bin/ocamlopt.opt -c crypt.ml # /home/opam/.opam/5.1/bin/ocamlopt.opt -a -cclib -lcrypt_stubs -ccopt -lcrypt -o crypt.cmxa crypt.cmx # make[2]: Leaving directory '/home/opam/.opam/5.1/.opam-switch/build/crypt.1.2/lib' # make[2]: Entering directory '/home/opam/.opam/5.1/.opam-switch/build/crypt.1.2/lib' # ocamldep crypt.mli > ._bcdi/crypt.di # make[2]: 'libcrypt_stubs.a' is up to date. # /home/opam/.opam/5.1/bin/ocamlc.opt -c crypt.ml # ocamlmklib \ # -o crypt_stubs crypt_stubs.o \ # -lcrypt # /home/opam/.opam/5.1/bin/ocamlc.opt -a -cclib -lcrypt_stubs -dllib dllcrypt_stubs.so -ccopt -lcrypt -o crypt.cma crypt.cmo # make[2]: Leaving directory '/home/opam/.opam/5.1/.opam-switch/build/crypt.1.2/lib' # make[1]: Leaving directory '/home/opam/.opam/5.1/.opam-switch/build/crypt.1.2/lib' # cd test && /usr/bin/make # make[1]: Entering directory '/home/opam/.opam/5.1/.opam-switch/build/crypt.1.2/test' # make[2]: Entering directory '/home/opam/.opam/5.1/.opam-switch/build/crypt.1.2/test' # ocamldep -I ../lib test.ml > ._d/test.d # /home/opam/.opam/5.1/bin/ocamlopt.opt -c -I ../lib test.ml # /home/opam/.opam/5.1/bin/ocamlopt.opt \ # \ # -I ../lib crypt.cmxa -o test.opt \ # test.cmx # /usr/bin/ld: ../lib/libcrypt_stubs.a(crypt_stubs.o): in function `crypt_raw': # crypt_stubs.c:(.text+0xb2): undefined reference to `crypt' # /usr/bin/ld: ../lib/libcrypt_stubs.a(crypt_stubs.o): in function `crypt_md5': # crypt_stubs.c:(.text+0x292): undefined reference to `crypt' # collect2: error: ld returned 1 exit status # File "caml_startup", line 1: # Error: Error during linking (exit code 1) # make[2]: *** [/home/opam/.opam/5.1/lib/ocaml-makefile/OCamlMakefile:952: test.opt] Error 2 # make[2]: Leaving directory '/home/opam/.opam/5.1/.opam-switch/build/crypt.1.2/test' # make[1]: *** [/home/opam/.opam/5.1/lib/ocaml-makefile/OCamlMakefile:777: native-code] Error 2 # make[1]: Leaving directory '/home/opam/.opam/5.1/.opam-switch/build/crypt.1.2/test' # make: *** [Makefile:3: all] Error 2 <><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><> +- The following actions failed | - build crypt 1.2 +- +- The following changes have been performed | - install ocaml-makefile 6.39.2 | - install ocamlbuild 0.15.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/5.1/.opam-switch/backup/state-20250206044120.export"