-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Zig documentation generation occasionally fails with Zig >=0.12.0 #273
Comments
I was not able to reproduce this in a tmate session on a MacOS CI node. It's possible that this issue is caused by an inhermeticity introduced by the global shared cache. |
Another instance occurred after adding a Bazel 7.0.0 pipeline and dropping Bazel 6 support.
|
I have also observed this issue locally on Ubuntu 22.04
The error may be coming from https://github.com/ziglang/zig/blob/a685ab1499d6560c523f0dbce2890dc140671e43/src/Compilation.zig#L3755. Perhaps a race between building the runfiles library and the runfiles library docs? |
Latest encounter on BCR CI, see here. |
Reproduced locally on Ubuntu 22.04 with the following command
In contrast, the following succeeded more than three times in a row
The issue may be caused by an interplay between Additionally passing the following flags seems to resolve the issue:
|
The issue seems to be gone since the update to rules_cc 0.1.1 and I can no longer reproduce it locally on Ubuntu 24.04. |
Closes #3461 The initial attempt got stuck in CI on an instance of [rules_zig#273](aherrmann/rules_zig#273) - a flaky issue seemingly related to sandbox & tmpfs interaction. Since then one of the test dependencies, [email protected], was yanked. So, this also bumps that dependency. - **Publish aherrmann/[email protected]** - **[email protected] bump rules_cc to 0.1.1 (skip yanked)** - **Bump Ubuntu to 24.04**
The issue re-emerged on main, see this CI run, and on #436, see this CI run. |
Closes bazelbuild#3461 The initial attempt got stuck in CI on an instance of [rules_zig#273](aherrmann/rules_zig#273) - a flaky issue seemingly related to sandbox & tmpfs interaction. Since then one of the test dependencies, [email protected], was yanked. So, this also bumps that dependency. - **Publish aherrmann/[email protected]** - **[email protected] bump rules_cc to 0.1.1 (skip yanked)** - **Bump Ubuntu to 24.04**
See fddc80d
and
The text was updated successfully, but these errors were encountered: