Skip to content

Appears to bypass tools/bazel #35

@Silic0nS0ldier

Description

@Silic0nS0ldier

Builds were observed failing due to a variable defined in the script tools/bazel not being present in the environment. Builds outside of the bzl UI are working fine.

The default Bazel executable (a bash script) looks for tools/bazel (a Bazel wrapper, name can be different if BAZEL_WRAPPER is set) relative to the workspace root, deferring to it instead of a native binary (which it passes a reference to via BAZEL_REAL).

https://github.com/bazelbuild/bazel/blob/f93ef2d2725836f8a2ac89a0a7d7ba50e6611584/scripts/packages/bazel.sh#L175-L180

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions