dune build @ocaml-index
fails when depending on a package with package management enabled
#10985
Labels
dune build @ocaml-index
fails when depending on a package with package management enabled
#10985
This only happens when there's a
dune.lock
and one of the dune files in the project depend on a library from outside the project.Expected Behavior
dune build @ocaml-index
works and builds the index.Actual Behavior
dune build @ocaml-index
returns 1 with error messages complaining about rules defining directory targets when the rules' actions didn't produce them. For a dummy project only depending oncontainers
, this was:Reproduction
Edit: I've written a pull request for the bug: #10986
Specifications
dune
(output ofdune --version
): "Dune Developer Preview: build 2024-10-02T07:47:55+00:00, git revision 451e5b4"ocaml
(output ofocamlc --version
)Additional information
dune
with the--verbose
flag):dune build @ocaml-index --verbose
The text was updated successfully, but these errors were encountered: