On current master, attempting to build ocaml-sqlite3 yields:
--8<---------------cut here---------------start------------->8---
starting phase `build'
File "src/config/discover.ml", line 1:
Error:
/gnu/store/1wwdmzcjhrpal92sz2zwzhyqmbc3w7ri-dune-1.11.3/lib/ocaml/site-lib/dune/configurator/configurator.cmi
is not a compiled interface for this version of OCaml.
It seems to be for a newer version of OCaml.
command "dune" "build" "@install" failed with status 1
builder for
`/gnu/store/66mbim7cc90f9ngh2pkm0kw192z5rb6y-ocaml4.07-sqlite3-4.4.1.drv'
failed with exit code 1
--8<---------------cut here---------------end--------------->8---