Build failed with ocaml v4.14.0 and base v15.1.
$ opam list ocaml
# Packages matching: (installed | available) & name-match(ocaml)
# Package # Installed # Synopsis
ocaml.4.12.1 4.14.0 The OCaml compiler (virtual package)
ocaml.4.12.2 4.14.0 The OCaml compiler (virtual package)
ocaml.4.13.0 4.14.0 The OCaml compiler (virtual package)
ocaml.4.13.1 4.14.0 The OCaml compiler (virtual package)
ocaml.4.13.2 4.14.0 The OCaml compiler (virtual package)
ocaml.4.14.0 4.14.0 The OCaml compiler (virtual package)
ocaml.4.14.1 4.14.0 The OCaml compiler (virtual package)
$ opam list base
# Packages matching: (installed | available) & name-match(base)
# Package # Installed # Synopsis
base.v0.14.0 v0.15.1 Full standard library replacement for OCaml
base.v0.14.1 v0.15.1 Full standard library replacement for OCaml
base.v0.14.2 v0.15.1 Full standard library replacement for OCaml
base.v0.14.3 v0.15.1 Full standard library replacement for OCaml
base.v0.15.0 v0.15.1 Full standard library replacement for OCaml
base.v0.15.1 v0.15.1 Full standard library replacement for OCaml
$ jbuilder subst -n json-derivers
$ jbuilder build -p json-derivers
ocamlc .json_derivers.objs/json_derivers__Import.{cmi,cmo,cmt}
File "import.ml", line 3, characters 17-30:
3 | module Sexplib = Base__Sexplib
^^^^^^^^^^^^^
Warning 49 [no-cmi-file]: no cmi file was found in path for module Base__Sexplib
ocamlopt .json_derivers.objs/json_derivers__Import.{cmx,o}
File "import.ml", line 3, characters 17-30:
3 | module Sexplib = Base__Sexplib
^^^^^^^^^^^^^
Warning 49 [no-cmi-file]: no cmi file was found in path for module Base__Sexplib
ocamlc .json_derivers.objs/json_derivers__Jsonm.{cmo,cmt} (exit 2)
(cd _build/default && /home/puripuri2100/.opam/4.14.0/bin/ocamlc.opt -open Base -g -bin-annot -I .json_derivers.objs -I /home/puripuri2100/.opam/4.14.0/lib/base -I /home/puripuri2100/.opam/4.14.0/lib/base/base_internalhash_types -I /home/puripuri2100/.opam/4.14.0/lib/base/caml -I /home/puripuri2100/.opam/4.14.0/lib/base/shadow_stdlib -I /home/puripuri2100/.opam/4.14.0/lib/sexplib0 -no-alias-deps -open Json_derivers__ -o .json_derivers.objs/json_derivers__Jsonm.cmo -c -impl jsonm.ml)
File "jsonm.ml", line 40, characters 28-42:
40 | let rec __value_of_sexp__ : Sexplib.Sexp.t -> value =
^^^^^^^^^^^^^^
Error: The module Sexplib is an alias for module Base__Sexplib, which is missing
ocamlc .json_derivers.objs/json_derivers__Yojson.{cmo,cmt} (exit 2)
(cd _build/default && /home/puripuri2100/.opam/4.14.0/bin/ocamlc.opt -open Base -g -bin-annot -I .json_derivers.objs -I /home/puripuri2100/.opam/4.14.0/lib/base -I /home/puripuri2100/.opam/4.14.0/lib/base/base_internalhash_types -I /home/puripuri2100/.opam/4.14.0/lib/base/caml -I /home/puripuri2100/.opam/4.14.0/lib/base/shadow_stdlib -I /home/puripuri2100/.opam/4.14.0/lib/sexplib0 -no-alias-deps -open Json_derivers__ -o .json_derivers.objs/json_derivers__Yojson.cmo -c -impl yojson.ml)
File "yojson.ml", line 57, characters 24-38:
57 | let rec __t_of_sexp__ : Sexplib.Sexp.t -> t =
^^^^^^^^^^^^^^
Error: The module Sexplib is an alias for module Base__Sexplib, which is missing
ocamlopt .json_derivers.objs/json_derivers__Jsonm.{cmx,o} (exit 2)
(cd _build/default && /home/puripuri2100/.opam/4.14.0/bin/ocamlopt.opt -open Base -g -I .json_derivers.objs -I /home/puripuri2100/.opam/4.14.0/lib/base -I /home/puripuri2100/.opam/4.14.0/lib/base/base_internalhash_types -I /home/puripuri2100/.opam/4.14.0/lib/base/caml -I /home/puripuri2100/.opam/4.14.0/lib/base/shadow_stdlib -I /home/puripuri2100/.opam/4.14.0/lib/sexplib0 -no-alias-deps -open Json_derivers__ -o .json_derivers.objs/json_derivers__Jsonm.cmx -c -impl jsonm.ml)
File "jsonm.ml", line 40, characters 28-42:
40 | let rec __value_of_sexp__ : Sexplib.Sexp.t -> value =
^^^^^^^^^^^^^^
Error: The module Sexplib is an alias for module Base__Sexplib, which is missing
ocamlopt .json_derivers.objs/json_derivers__Yojson.{cmx,o} (exit 2)
(cd _build/default && /home/puripuri2100/.opam/4.14.0/bin/ocamlopt.opt -open Base -g -I .json_derivers.objs -I /home/puripuri2100/.opam/4.14.0/lib/base -I /home/puripuri2100/.opam/4.14.0/lib/base/base_internalhash_types -I /home/puripuri2100/.opam/4.14.0/lib/base/caml -I /home/puripuri2100/.opam/4.14.0/lib/base/shadow_stdlib -I /home/puripuri2100/.opam/4.14.0/lib/sexplib0 -no-alias-deps -open Json_derivers__ -o .json_derivers.objs/json_derivers__Yojson.cmx -c -impl yojson.ml)
File "yojson.ml", line 57, characters 24-38:
57 | let rec __t_of_sexp__ : Sexplib.Sexp.t -> t =
^^^^^^^^^^^^^^
Error: The module Sexplib is an alias for module Base__Sexplib, which is missing