-
Notifications
You must be signed in to change notification settings - Fork 4.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HEAD crash after incompatible_enforce_config_setting_visibility #16446
Labels
breakage
P1
I'll work on this now. (Assignee required)
team-Configurability
platforms, toolchains, cquery, select(), config transitions
type: bug
Comments
cc @gregestren |
keith
added a commit
to bazelbuild/rules_swift
that referenced
this issue
Oct 10, 2022
keith
added a commit
to bazelbuild/rules_swift
that referenced
this issue
Oct 10, 2022
Thanks for the repro: I was trying to figure out how to trigger this from #12932 (comment). |
gregestren
added
team-Configurability
platforms, toolchains, cquery, select(), config transitions
type: bug
P1
I'll work on this now. (Assignee required)
labels
Oct 10, 2022
More direct:
|
Found a minimal repro:
This is how I found it:
|
Looks like the fix still need some tweaks, I'm rolling back the flag flip first. |
copybara-service bot
pushed a commit
that referenced
this issue
Oct 11, 2022
*** Reason for rollback *** The flip of this flag triggered some bug, the fix is in progress but rollback first to get a green downstream #16446 *** Original change description *** Default --incompatible_enforce_config_setting_visibility to true. Fixes #12932. PiperOrigin-RevId: 480281435 Change-Id: If6b45540fb21ba78fcafbca515d285f3e84932f0
aiuto
pushed a commit
to aiuto/bazel
that referenced
this issue
Oct 12, 2022
*** Reason for rollback *** The flip of this flag triggered some bug, the fix is in progress but rollback first to get a green downstream bazelbuild#16446 *** Original change description *** Default --incompatible_enforce_config_setting_visibility to true. Fixes bazelbuild#12932. PiperOrigin-RevId: 480281435 Change-Id: If6b45540fb21ba78fcafbca515d285f3e84932f0
aiuto
pushed a commit
to aiuto/bazel
that referenced
this issue
Oct 12, 2022
Reproducing requires bazelbuild@a3a4cf8 and --incompatible_enforce_config_setting_visibility=1. This is an obscure crash caused by a) building a test, b) with a select() on an alias, c) with --trim_test_configuration=1. Details in commit. For bazelbuild#12932. Fixes bazelbuild#16446. PiperOrigin-RevId: 480356600 Change-Id: I27227616dd2d1681b7769a29b73dac457f59d9b7
aiuto
pushed a commit
to aiuto/bazel
that referenced
this issue
Oct 12, 2022
bazelbuild@174c67f This was rolled back in bazelbuild@cef1437 while bazelbuild@268be23 was processing. Fixes bazelbuild#12932 For bazelbuild#16446 PiperOrigin-RevId: 480364678 Change-Id: I4a8c05d748428e0493880796db40f3b718d0ad7b
tymurmustafaiev
pushed a commit
to tymurmustafaiev/rules_swift
that referenced
this issue
Jul 19, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
breakage
P1
I'll work on this now. (Assignee required)
team-Configurability
platforms, toolchains, cquery, select(), config transitions
type: bug
Description of the bug:
What's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.
Clone rules_swift, run
USE_BAZEL_VERSION=174c67f0911c1cb013658f9b2b2d8959d6ef388c bazelisk build ...
I bisected to 174c67f, setting the flag to false does not avoid it
CI logs: https://buildkite.com/bazel/rules-swift-swift/builds/3745#0183c3e2-c2a4-4abc-9330-16b8c93f1b71
Which operating system are you running Bazel on?
macOS
What is the output of
bazel info release
?174c67f
If
bazel info release
returnsdevelopment version
or(@non-git)
, tell us how you built Bazel.No response
What's the output of
git remote get-url origin; git rev-parse master; git rev-parse HEAD
?No response
Have you found anything relevant by searching the web?
No response
Any other information, logs, or outputs that you want to share?
No response
The text was updated successfully, but these errors were encountered: