Skip to content
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

bazel_version is not used in this print statement #836

Open
prestonvanloon opened this issue Mar 4, 2020 · 0 comments · May be fixed by #837
Open

bazel_version is not used in this print statement #836

prestonvanloon opened this issue Mar 4, 2020 · 0 comments · May be fixed by #837

Comments

@prestonvanloon
Copy link

print(("%s not using checked in configs; '%s' was picked/selected " +
"as a candidate matching config but it does not match " +
"the 'env = %s', 'config_repos = %s', " +
"and/or 'create_cc_configs = %s' passed as attrs") %
(
name,
bazel_version,
str(bazel_compat_configs),
env,
config_repos,
create_cc_configs,
))

I encountered this error and it wasn't very helpful.

ERROR: /home/preston/.cache/bazel/_bazel_preston/6e220e5720b8243fd605645eb29a29ba/external/bazel_toolchains/rules/rbe_repo/checked_in.bzl:199:15: Traceback (most recent call last):
        File "/home/preston/git/prysm/WORKSPACE", line 33
                rbe_autoconfig(<7 more arguments>)
        File "/home/preston/.cache/bazel/_bazel_preston/6e220e5720b8243fd605645eb29a29ba/external/bazel_toolchains/rules/rbe_repo.bzl", line 1045, in rbe_autoconfig
                validateUseOfCheckedInConfigs(<16 more arguments>)
        File "/home/preston/.cache/bazel/_bazel_preston/6e220e5720b8243fd605645eb29a29ba/external/bazel_toolchains/rules/rbe_repo/checked_in.bzl", line 199, in validateUseOfCheckedInConfigs
                print(<1 more arguments>)
        File "/home/preston/.cache/bazel/_bazel_preston/6e220e5720b8243fd605645eb29a29ba/external/bazel_toolchains/rules/rbe_repo/checked_in.bzl", line 199, in print
                "%s not using checked in configs; '%s' was picked/selected as a candidate matching config but it does not match the 'env = %s', 'config_repos = %s', and/or 'create_cc_configs = %s' passed as attrs" % (name, bazel_version, <4 more arguments>)
not all arguments converted during string formatting
@prestonvanloon prestonvanloon linked a pull request Mar 4, 2020 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant