Reproducible failure when attempting to use Ocaml's ctypes to build stubs for mdbtools.

How to use:

  • install nix
  • run nix-shell
  • run dune build

Alternatively, install ocaml, dune, mdbtools, etc.


Error:

 % dune build
 File "bin/libmdbsql__type_gen.ml", line 4, characters 12-34:
4 |     (module Type_description.Types)
                ^^^^^^^^^^^^^^^^^^^^^^
Error: Unbound module Type_description
File "bin/libmdbsql__function_gen__Function_description__Functions.ml", line 9, characters 14-44:
9 |       (module Function_description.Functions)
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Error: Unbound module Function_description