package zxcvbn

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

zxcvbn 2.3+2

Error log

The package failed to build. The error log from opam follows.

Opam plugin "depext" may require upgrading/reinstalling. Reinstall the plugin on the current switch? [Y/n] y
The following actions will be performed:
  - recompile opam-depext 1.2.3

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved opam-depext.1.2.3  (cached)
-> removed   opam-depext.1.2.3
-> installed opam-depext.1.2.3
Done.

<><> opam-depext.1.2.3 installed successfully <><><><><><><><><><><><><><><><><>
=> opam-depext is unnecessary when used with opam >= 2.1. Please use opam install directly instead
# Run eval $(opam env) to update the current shell environment

<><> Carrying on to "opam depext -viy zxcvbn.2.3+2 result.1.5 ppxfind.1.4 ppx_tools.6.6 ppx_deriving.4.5-1 ppx_derivers.1.2.1 ocamlfind.1.9.6 ocaml-migrate-parsetree.1.8.0 dune.3.16.0 cppo.1.7.0" 

Since version 2.1, opam now handles external dependencies alongside OCaml ones, and the `depext` plugin interface is provided for backwards compatibility only. Consider using your usual `opam install` command to install both OCaml and system dependencies, or `opam install <pkg> --depext-only` if you want to only install external dependencies.
# Detecting depexts using vars: arch=x86_64, os=linux, os-distribution=debian, os-family=debian
# No extra OS packages requirements found.
[NOTE] Package dune is already installed (current version is 3.16.0).
[NOTE] Package ocamlfind is already installed (current version is 1.9.6).
The following actions will be performed:
  - install ppx_derivers            1.2.1
  - install result                  1.5
  - install cppo                    1.7.0
  - install ocaml-migrate-parsetree 1.8.0
  - install ppx_tools               6.6
  - install ppxfind                 1.4
  - install ppx_deriving            4.5-1
  - install zxcvbn                  2.3+2
===== 8 to install =====

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/24:
Processing  2/24:
Processing  3/24:
-> retrieved cppo.1.7.0  (cached)
Processing  4/24:
Processing  5/24: [cppo: dune build]
-> retrieved ocaml-migrate-parsetree.1.8.0  (cached)
Processing  6/24: [cppo: dune build]
-> retrieved ppx_derivers.1.2.1  (cached)
Processing  7/24: [cppo: dune build]
Processing  8/24: [cppo: dune build] [ppx_derivers: dune build]
-> retrieved ppx_deriving.4.5-1  (cached)
Processing  9/24: [cppo: dune build] [ppx_derivers: dune build]
-> retrieved ppx_tools.6.6  (cached)
Processing 10/24: [zxcvbn.2.3+2: http] [cppo: dune build] [ppx_derivers: dune build]
-> retrieved ppxfind.1.4  (cached)
-> retrieved result.1.5  (cached)
Processing 11/24: [zxcvbn.2.3+2: http] [cppo: dune build] [ppx_derivers: dune build] [result: dune build]
-> compiled  ppx_derivers.1.2.1
Processing 11/24: [zxcvbn.2.3+2: http] [cppo: dune build] [result: dune build]
-> installed ppx_derivers.1.2.1
Processing 12/24: [zxcvbn.2.3+2: http] [cppo: dune build] [result: dune build]
-> compiled  result.1.5
Processing 12/24: [zxcvbn.2.3+2: http] [cppo: dune build]
-> installed result.1.5
Processing 13/24: [zxcvbn.2.3+2: http] [cppo: dune build]
Processing 14/24: [zxcvbn.2.3+2: http] [cppo: dune build] [ocaml-migrate-parsetree: dune build]
Processing 14/24: [cppo: dune build] [ocaml-migrate-parsetree: dune build]
-> compiled  cppo.1.7.0
Processing 14/24: [ocaml-migrate-parsetree: dune build]
-> installed cppo.1.7.0
Processing 15/24: [ocaml-migrate-parsetree: dune build]
Processing 16/24: [ocaml-migrate-parsetree: dune build] [ppx_tools: dune build]
-> retrieved zxcvbn.2.3+2  (https://github.com/cryptosense/ocaml-zxcvbn/releases/download/v2.3%2B2/zxcvbn-v2.3.2.tbz)
-> compiled  ppx_tools.6.6
Processing 16/24: [ocaml-migrate-parsetree: dune build]
-> installed ppx_tools.6.6
Processing 17/24: [ocaml-migrate-parsetree: dune build]
+ /home/opam/.opam/4.12/bin/dune "build" "-p" "ocaml-migrate-parsetree" "-j" "39" (CWD=/home/opam/.opam/4.12/.opam-switch/build/ocaml-migrate-parsetree.1.8.0)
-> compiled  ocaml-migrate-parsetree.1.8.0
-> installed ocaml-migrate-parsetree.1.8.0
Processing 19/24: [ppxfind: dune build]
+ /home/opam/.opam/4.12/bin/dune "build" "-p" "ppxfind" "-j" "39" "@install" (CWD=/home/opam/.opam/4.12/.opam-switch/build/ppxfind.1.4)
-> compiled  ppxfind.1.4
-> installed ppxfind.1.4
[ppx_deriving: patch] applying fix_dune_3.patch
Processing 21/24: [ppx_deriving: patch]
Processing 21/24: [ppx_deriving: dune build]
+ /home/opam/.opam/4.12/bin/dune "build" "-p" "ppx_deriving" "-j" "39" (CWD=/home/opam/.opam/4.12/.opam-switch/build/ppx_deriving.4.5-1)
-> compiled  ppx_deriving.4.5-1
-> installed ppx_deriving.4.5-1
Processing 23/24: [zxcvbn: dune build]
+ /home/opam/.opam/4.12/bin/dune "build" "-p" "zxcvbn" "-j" "39" (CWD=/home/opam/.opam/4.12/.opam-switch/build/zxcvbn.2.3+2)
- File "src/dune", line 3, characters 24-30:
- 3 |   (c_names zxcvbn_stubs zxcvbn)
-                             ^^^^^^
- (cd _build/default/src && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -fPIC -D_FILE_OFFSET_BITS=64 -D_REENTRANT -O2 -fno-strict-aliasing -fwrapv -fPIC '-I .' -g -I /home/opam/.opam/4.12/lib/ocaml -I /home/opam/.opam/4.12/lib/ppx_deriving/runtime -I /home/opam/.opam/4.12/lib/result -o zxcvbn.o -c zxcvbn.c)
- zxcvbn.c:25:10: fatal error: zxcvbn.h: No such file or directory
-    25 | #include <zxcvbn.h>
-       |          ^~~~~~~~~~
- compilation terminated.
[ERROR] The compilation of zxcvbn.2.3+2 failed at "dune build -p zxcvbn -j 39".

#=== ERROR while compiling zxcvbn.2.3+2 =======================================#
# context              2.1.6 | linux/x86_64 | ocaml-base-compiler.4.12.1 | file:///src
# path                 ~/.opam/4.12/.opam-switch/build/zxcvbn.2.3+2
# command              ~/.opam/4.12/bin/dune build -p zxcvbn -j 39
# exit-code            1
# env-file             ~/.opam/log/zxcvbn-115-0d3837.env
# output-file          ~/.opam/log/zxcvbn-115-0d3837.out
### output ###
# File "src/dune", line 3, characters 24-30:
# 3 |   (c_names zxcvbn_stubs zxcvbn)
#                             ^^^^^^
# (cd _build/default/src && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -fPIC -D_FILE_OFFSET_BITS=64 -D_REENTRANT -O2 -fno-strict-aliasing -fwrapv -fPIC '-I .' -g -I /home/opam/.opam/4.12/lib/ocaml -I /home/opam/.opam/4.12/lib/ppx_deriving/runtime -I /home/opam/.opam/4.12/lib/result -o zxcvbn.o -c zxcvbn.c)
# zxcvbn.c:25:10: fatal error: zxcvbn.h: No such file or directory
#    25 | #include <zxcvbn.h>
#       |          ^~~~~~~~~~
# compilation terminated.



<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build zxcvbn 2.3+2
+- 
+- The following changes have been performed
| - install cppo                    1.7.0
| - install ocaml-migrate-parsetree 1.8.0
| - install ppx_derivers            1.2.1
| - install ppx_deriving            4.5-1
| - install ppx_tools               6.6
| - install ppxfind                 1.4
| - install result                  1.5
+- 
# Run eval $(opam env) to update the current shell environment

The former state can be restored with:
    /usr/bin/opam switch import "/home/opam/.opam/4.12/.opam-switch/backup/state-20240912203653.export"
'opam --cli=2.1 install zxcvbn.2.3+2 result.1.5 ppxfind.1.4 ppx_tools.6.6 ppx_deriving.4.5-1 ppx_derivers.1.2.1 ocamlfind.1.9.6 ocaml-migrate-parsetree.1.8.0 dune.3.16.0 cppo.1.7.0 --verbose --yes --confirm-level=unsafe-yes' failed.
OCaml

Innovation. Community. Security.