Open OlivierNicole opened 1 week ago
Mm, in fact I cannot reproduce on a fresh clone of the above repo. It looks like I need to first bring the directory to a “dirty” state.
How I arrived to the error was by doing a (successful) build, then modifying a version number in scripts/setup.py
and re-running ./scripts/setup.sh --local
.
I think I found the source of the bug: in the repo, both files hack_parallel.opam
and pyrelib.opam
declare an empty string for the version:
field. It looks like Dune does not handle this error gracefully.
Expected Behavior
dune build @install -j auto --profile dev
should work.Actual Behavior
build.log:
Reproduction
cd pyre-check
./scripts/setup.sh --local
Specifications
dune
(output ofdune --version
): 3.16.0ocaml
(output ofocamlc --version
): 5.2.0