Skip to content

[9.4.0] Fix default --shell_executable on openbsd (#30915) - #32769

Merged
meteorcloudy merged 2 commits into
bazelbuild:release-9.4.0from
deepalak56:cp30915-940
Nov 25, 2026
Merged

meteorcloudy merged 2 commits into
bazelbuild:release-9.4.0from
deepalak56:cp30915-940

Conversation

@deepalak56

Copy link
Copy Markdown
Contributor

Previously the default didn't actually work here unless you had platform
info, which you don't in the bazel run codepath, therefore it ignored
the switch statement that hands using a valid bash path on bsd.

Fixes #30924

Previously the default didn't actually work here unless you had platform
info, which you don't in the `bazel run` codepath, therefore it ignored
the switch statement that hands using a valid bash path on bsd.

Fixes bazelbuild#30924

Closes bazelbuild#30915.

PiperOrigin-RevId: 976246980
Change-Id: I3415b81e21462ba12e7180941ca08e9adea244f8
@deepalak56
deepalak56 requested a review from a team as a code owner November 18, 2026 11:32
@deepalak56 deepalak56 added the team-Configurability platforms, toolchains, cquery, select(), config transitions label Nov 18, 2026
@deepalak56
deepalak56 requested review from fmeum and keith November 18, 2026 11:32
@github-actions github-actions Bot added the awaiting-review PR is awaiting review from an assigned reviewer label Nov 18, 2026
@deepalak56

Copy link
Copy Markdown
Contributor Author

@fmeum @keith

Cherry-pick of 2b184b8 (#30915) into release-9.4.0.

Conflict Resolution & Adaptation Notes

One file had a merge conflict:

  • src/main/java/com/google/devtools/build/lib/analysis/BUILD: The fix adds a dependency for the @Nullable annotation. On master it is //third_party/java/jsr305_annotations, but on release-9.4.0 the same library is //third_party:jsr305 (already used by other targets in this file). So I added //third_party:jsr305.

The other 4 files applied with no conflict. There are no other changes.

@meteorcloudy
meteorcloudy added this pull request to the merge queue Nov 25, 2026
Merged via the queue into bazelbuild:release-9.4.0 with commit 607fa72 Nov 25, 2026
42 checks passed
@github-actions github-actions Bot removed the awaiting-review PR is awaiting review from an assigned reviewer label Nov 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

team-Configurability platforms, toolchains, cquery, select(), config transitions

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants