ocaml / ocaml/dune

Potential bug: dune commands no longer work after updating macOS to Ventura

Open
#7,448 11 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

macos
Dominant language
OCaml
Stars
1.9k
Forks
500
Avg merge
15h 21m
Merged PRs (30d)
277

Description

Expected Behavior

After updating to the latest macOS (Version 13.3 (22E252)) today and latest dune version (3.7.0), running dune build produces the error 'Error: write(): Operation timed out' for me.

Reproduction

Below is the content of my dune file:

(executable
 (public_name platypus)
 (name toplevel)
 (libraries
  platypus
  llvm
  llvm.analysis
  llvm.executionengine
  llvm.bitwriter
  ctypes.foreign))

(rule
 (target scanner.ml)
 (deps scanner.mll)
 (action
  (chdir
   %{workspace_root}
   (run %{bin:ocamllex} -q -o %{target} %{deps}))))

(rule
 (targets parser.ml parser.mli)
 (deps parser.mly)
 (action
  (chdir
   %{workspace_root}
   (run %{bin:ocamlyacc} -v %{deps}))))

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the provided dune file and reproduce dune build using Dune 3.7.0 on macOS Ventura. Investigate the reported write(): Operation timed out failure and compare behavior outside the shown rules; done means the cause is identified and the build works or the issue is narrowed to a documented environment limitation.

Written by the indexing model from the issue text.

Assessment

Tech stack
ocaml
Domain
build-system
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.