Open gridbugs opened 1 month ago
This is not linked to race condition. I've tried to print the file path, running dune fmt
. I assume you're testing with #10647. It seems the problem is coming from there.
It prints:
extra_files: _build/_private/default/.pkg/ocamlfind/source/0001-Harden-test-for-OCaml-5.patch
instead of .dev-tool
it is copying inside .pkg
.
This is not linked to race condition. I've tried to print the file path, running
dune fmt
. I assume you're testing with #10647. It seems the problem is coming from there.It prints:
extra_files: _build/_private/default/.pkg/ocamlfind/source/0001-Harden-test-for-OCaml-5.patch
instead of
.dev-tool
it is copying inside.pkg
.
My bad, this is not true.
I noticed every time you do an initial dune fmt
the error appears and after that any time you try to rebuild without cleaning(removing the dev-tool locks), it's works.
I think there's a rule that coming before another one and it's not supposed to do that.
Sometimes when building a project with package management I see this error:
I've seen this on a range of projects, but so far I've only seen it on this specific patch from ocamlfind's package. I don't have a reliable reproduction case yet. It happens very infrequently, and the project always builds as expected when I rerun the command.