You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
build.w: a failed early target is reported as "a dependency cycle" #3024
When a :dev build fails in an early object target (bootstrap-llvm-link-metadata, bootstrap-clang-bridge-object: a compile error in ClangBridge.w), the survey skips every dependent and the run ends with
error: build.w targets wait on one another: none of the remaining targets is ready (a dependency cycle)
There is no cycle: the remaining targets wait on a target that failed. Seen twice on 2026-11-03 (a fresh worktree whose first :dev lost bootstrap-llvm-link-metadata, and a ClangBridge.w edit that did not compile in the bridge unit). Both times the real error was 400 lines up and the summary sent the reader looking for a cycle. Expected: the summary names the failed target(s) that the rest waited on ("N target(s) failed: …; M skipped") and says "dependency cycle" only when every remaining target has all its dependencies succeeded and still none is ready.
Fixed in #3065 (baff8e4): when the remaining targets wait on one that failed, the survey's summary names the failed targets and the waiters; "dependency cycle" is the verdict only when nothing failed (src/main.w, the survey loop).
Activity
#3024, #2973, #3003, #2888: the survey names what failed, provenance …
#3024, #2973, #3003, #2888: the survey names what failed, provenance …
ehartford commentedon Nov 7, 2026
Fixed in #3065 (baff8e4): when the remaining targets wait on one that failed, the survey's summary names the failed targets and the waiters; "dependency cycle" is the verdict only when nothing failed (src/main.w, the survey loop).