Andreas Herrmann
Andreas Herrmann
> Your computer is in 32-bits architecture? No, 64 bit. ~Could it be due to the build in the Docker container?~ Sorry, replied too quickly. The protobufs encoding [specifies to...
Tracked in https://github.com/tweag/rules_sh/issues/19
The [error message](https://buildkite.com/bazel/bazel-at-head-plus-downstream/builds/3841#018f5b83-19fe-48b2-b301-77acb6e1c285/1604-2021) is a bit puzzling: ``` ==================== Test output for //tests/indirect-link:indirect-link-dynamic: /var/lib/buildkite-agent/.cache/bazel/_bazel_buildkite-agent/2aebe93b1a8f9ac29a2a4c83872246a4/sandbox/linux-sandbox/1928/execroot/rules_haskell_tests/bazel-out/k8-fastbuild/bin/tests/indirect-link/indirect-link-dynamic.runfiles/rules_haskell_tests/tests/indirect-link/indirect-link-dynamic: error while loading shared libraries: libHSrts-1.0.2_thr-ghc9.4.6.so: cannot open shared object file: No such file or directory...
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...
[Another instance occurred](https://github.com/aherrmann/rules_zig/actions/runs/8951613229/job/24588110683?pr=291#step:10:63) after adding a Bazel 7.0.0 pipeline and dropping Bazel 6 support. ``` (15:49:25) ERROR: /private/var/tmp/_bazel_runner/5ca2a14b857dddeda41464da6fe32452/external/rules_zig~override/zig/runfiles/BUILD.bazel:34:12: Generating Zig documentation for external/rules_zig~override/zig/runfiles/runfiles.zig in bazel-out/darwin_arm64-fastbuild/bin/external/rules_zig~override/zig/runfiles/lib.docs failed: (Exit 1): zig failed:...
I have also observed this issue locally on Ubuntu 22.04 ``` $ bazel clean --expunge; bazel build //... --noremote_accept_cached ... ERROR: /home/aj/src/rules_zig/main/zig/runfiles/BUILD.bazel:34:12: Generating Zig documentation for zig/runfiles/runfiles.zig in zig/runfiles/lib.docs failed:...
Latest encounter on BCR CI, [see here](https://buildkite.com/bazel/bcr-presubmit/builds/9549#0193ddb1-a59a-4273-93f0-f9038ae0a21b/390-439).
Reproduced locally on Ubuntu 22.04 with the following command ``` $ cd e2e/workspace $ bazel clean; bazel test --build_tests_only --sandbox_tmpfs_path=/tmp -- //zig-docs:zig-docs //zig-docs:test ``` In contrast, the following succeeded more...
The issue seems to be gone since the [update to rules_cc 0.1.1](https://github.com/aherrmann/rules_zig/pull/429) and I can no longer reproduce it locally on Ubuntu 24.04.
The issue re-emerged on main, see [this CI run](https://github.com/aherrmann/rules_zig/actions/runs/13646891951/job/38147331026), and on https://github.com/aherrmann/rules_zig/pull/436, see [this CI run](https://github.com/aherrmann/rules_zig/actions/runs/13651416139/job/38160658617?pr=436).