Skip to content

[5.2.0] Seperate GetSelfPath implementation for Blaze and Bazel#15223

Merged
ckolli5 merged 1 commit intobazelbuild:release-5.2.0from
meteorcloudy:release-5.2.0-mac-qemu-fix
Apr 20, 2022
Merged

[5.2.0] Seperate GetSelfPath implementation for Blaze and Bazel#15223
ckolli5 merged 1 commit intobazelbuild:release-5.2.0from
meteorcloudy:release-5.2.0-mac-qemu-fix

Conversation

@meteorcloudy
Copy link
Copy Markdown
Member

In Blaze, we keep using "/proc/self/exe", but in Bazel we resolve this symlink
to the actual Bazel binary.

This is essentially a rollback of
d79ec03
only for Bazel, because it solved an issue that rare in Bazel,
but it's preventing users from running Bazel inside a Linux docker container on Apple Silicon machines.

Fixes #15076

Closes #14391

RELNOTES: None
PiperOrigin-RevId: 441198110

In Blaze, we keep using "/proc/self/exe", but in Bazel we resolve this symlink
to the actual Bazel binary.

This is essentially a rollback of
bazelbuild@d79ec03
only for Bazel, because it solved an issue that rare in Bazel,
but it's preventing users from running Bazel inside a Linux docker container on Apple Silicon machines.

Fixes bazelbuild#15076

Closes bazelbuild#14391

RELNOTES: None
PiperOrigin-RevId: 441198110
@meteorcloudy meteorcloudy requested a review from ckolli5 as a code owner April 12, 2022 15:45
@meteorcloudy meteorcloudy added this to the 5.2.0 release blockers milestone Apr 12, 2022
@sgowroji sgowroji added the team-OSS Issues for the Bazel OSS team: installation, release processBazel packaging, website label Apr 13, 2022
@ckolli5 ckolli5 merged commit b840615 into bazelbuild:release-5.2.0 Apr 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

team-OSS Issues for the Bazel OSS team: installation, release processBazel packaging, website

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants