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
Title: pre-push always fail with "child zlib.h is a dangling symbolic link" error
Description:
After Envoy migrated to Bazel 7.*, the envoy pre-push check consistently fail with error child zlib.h is a dangling symbolic link
The full error message as:
INFO: Analyzed target //tools/proto_format:proto_sync (553 packages loaded, 15098 targets configured).
ERROR: /home/xxxx/factory/envoy_xxx/bazel/foreign_cc/BUILD:414:12: error while validating output tree artifact bazel/foreign_cc/zlib/include: child zlib.h is a dangling symbolic link
ERROR: /home/xxxx/factory/envoy_xxx/bazel/foreign_cc/BUILD:414:12: Foreign Cc - CMake: Building zlib [for tool] failed: not all outputs were created or valid
Target //tools/proto_format:proto_sync failed to build
Use --verbose_failures to see the command lines of failed build steps.
INFO: Elapsed time: 7.050s, Critical Path: 2.49s
INFO: 287 processes: 181 internal, 106 linux-sandbox.
ERROR: Build did NOT complete successfully
ERROR: Build failed. Not running target
I saw a related discussion under Bazel: bazelbuild/bazel#20886, which suggests adding build option --noincompatible_sandbox_hermetic_tmp for Bazel. But I'm not sure where to add for pre-push verifications.
I can reproduce this issue on ubuntu 22.04.5 and debian stable 12.8.
[optional Relevant Links:]
Any extra documentation required to understand the issue.
The text was updated successfully, but these errors were encountered:
the current bazel version is flakey and is triggering at least one build
issue for downstreams
the only reason we are using it is due to broken env vars in later
versions that fails our mobile/coverage ci
this PR bumps the version to 7.x latest and worksaround the
mobile/coverage issue by injecting the known working bazel version for
that ci alone
Fix#37857Fix#37852
Signed-off-by: Ryan Northey <[email protected]>
Title: pre-push always fail with "child zlib.h is a dangling symbolic link" error
Description:
After Envoy migrated to Bazel 7.*, the envoy pre-push check consistently fail with error
child zlib.h is a dangling symbolic link
The full error message as:
I saw a related discussion under Bazel: bazelbuild/bazel#20886, which suggests adding build option
--noincompatible_sandbox_hermetic_tmp
for Bazel. But I'm not sure where to add for pre-push verifications.I can reproduce this issue on ubuntu 22.04.5 and debian stable 12.8.
[optional Relevant Links:]
The text was updated successfully, but these errors were encountered: