-
Notifications
You must be signed in to change notification settings - Fork 4k
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
[6.3.0] Make variable substitution in C++ rule environment variables broken #19070
Labels
Comments
@bazel-io fork 6.3.1 |
@bazel-io fork 6.4.0 |
As per #19070 (comment), this should be fixed in and after 6.3.1 |
@eric-skydio Thank you for reporting this issue. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description of the bug:
C++ rules support make variable substitution in the
env=
attribute, as used in the example below. Unfortunately, starting with Bazel 6.3.0, this seems to be broken, and instead produces this error:What's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.
.bazelversion
BUILD.bazel
test.cc
Which operating system are you running Bazel on?
Ubuntu 18.04
What is the output of
bazel info release
?release 6.3.0
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
Is this a regression? If yes, please try to identify the Bazel commit where the bug was introduced.
A bisect points at 2f9e8c1 being the culprit, @brentleyjones
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: