The dune build command raises the following exception when a Unix domain socket file is in the same directory:
Error: exception Sys_error("fail.sock: No such device or address")
Reproduction
1.) Create a new directory
2.) Create a "dune' file with the following content
(executable
(name unixsocket)
(libraries unix))
3.) Create a "dune-project" file with the following content
(lang dune 2.2)
4.) Create an empty .ml file without code.
echo "" > unixsocket.ml
5.) Create a Unix domain socket file (press ctrl+c to quit netcat)
nc -Ul fail.sock
6.) Run "dune build"
Specifications
- Version of
dune (output of dune --version): 2.2.0
- Version of
ocaml (output of ocamlc --version): 4.09.0
- Operating system (distribution and version): Debian GNU/Linux 10 (buster)
Additional information
https://gist.github.com/verbosemode/7e7374309df5d6436a3400737fd8b3ad
The dune build command raises the following exception when a Unix domain socket file is in the same directory:
Error: exception Sys_error("fail.sock: No such device or address")
Reproduction
1.) Create a new directory
2.) Create a "dune' file with the following content
3.) Create a "dune-project" file with the following content
(lang dune 2.2)4.) Create an empty .ml file without code.
echo "" > unixsocket.ml5.) Create a Unix domain socket file (press ctrl+c to quit netcat)
nc -Ul fail.sock6.) Run "dune build"
Specifications
dune(output ofdune --version): 2.2.0ocaml(output ofocamlc --version): 4.09.0Additional information
https://gist.github.com/verbosemode/7e7374309df5d6436a3400737fd8b3ad