The following workaround works for me:
sudo apt remove ocamlbuild sudo opam install ocamlbuild
This avoids using the broken ocamlbuild from the repository but installs a separate one.
The following workaround works for me:
sudo apt remove ocamlbuild
sudo opam install ocamlbuild
This avoids using the broken ocamlbuild from the repository but installs a separate one.