We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I have an action like
# `example` is a command in a directory of the caller's $PATH variable ctx.actions.run( executable = 'example', use_default_shell_env = True, ... )
that fails with
src/main/tools/linux-sandbox-pid1.cc:427: "execvp(example, ...)": No such file or directory
unless --action_env=PATH gets passed to the build command. Alternatively, using an absolute path name for the executable works as well.
--action_env=PATH
The action used to work with previous bazel versions.
Ubuntu 18.04
bazel info release
release 0.21.0
Originally posted in #7026 (comment)
The text was updated successfully, but these errors were encountered:
I believe this is #7026? --incompatible_strict_action_env was just reverted to false today. Could you try doing that as well?
--incompatible_strict_action_env
false
Sorry, something went wrong.
@jmmv Thanks for your comment. Disabling this option works. So far the following two invocations make the build pass under bazel version 0.21:
bazel build --action_env=PATH <target>
bazel build --incompatible_strict_action_env=false <target>
I share your opinion that this issue here is just an effect of #7026. Shall we close this one?
Yes! Thanks.
No branches or pull requests
Description of the problem:
I have an action like
that fails with
unless
--action_env=PATH
gets passed to the build command. Alternatively, using an absolute path name for the executable works as well.The action used to work with previous bazel versions.
What operating system are you running Bazel on?
Ubuntu 18.04
What's the output of
bazel info release
?release 0.21.0
Have you found anything relevant by searching the web?
Originally posted in #7026 (comment)
The text was updated successfully, but these errors were encountered: