Expected Behavior
dune build finishes
Actual Behavior
dune build freezes.
Reproduction
I've added (cache enabled) to ~/.config/dune/config.
Then setup infer Infer with ./configure && make.
Then under infer/src I ran dune cache start --foreground in one terminal and dune build in the other.
dune cache output is
# accept client: 127.0.0.1:49327
# 127.0.0.1:49327: received command: (set-build-root /Users/arr/infer/infer/src/_build)
# 127.0.0.1:49327: ended
At the same time dtruss on dune build process shows a bunch of:
select(0x0, 0x0, 0x0, 0x0, 0x70000CA20F90) = 0 0
which is very weird -- basically, dune build does polling on 0 file descriptors.
Specifications
- Version of
dune (output of dune --version): 2.3.1
- Version of
ocaml (output of ocamlc --version): 4.08.1
- Operating system (distribution and version): MacOS 10.15.3
Expected Behavior
dune buildfinishesActual Behavior
dune buildfreezes.Reproduction
I've added
(cache enabled)to~/.config/dune/config.Then setup infer Infer with
./configure && make.Then under
infer/srcI randune cache start --foregroundin one terminal anddune buildin the other.dune cacheoutput isAt the same time
dtrussondune buildprocess shows a bunch of:which is very weird -- basically,
dune builddoes polling on 0 file descriptors.Specifications
dune(output ofdune --version): 2.3.1ocaml(output ofocamlc --version): 4.08.1