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-toolchains failing with 0.13.0rc1 #4992

Closed
jin opened this issue Apr 10, 2018 · 1 comment
Closed

bazel-toolchains failing with 0.13.0rc1 #4992

jin opened this issue Apr 10, 2018 · 1 comment

Comments

@jin
Copy link
Member

jin commented Apr 10, 2018

bazelbuild/bazel-toolchains repository doesn't have GitHub Issues support, so I'm reporting it here.

Same error on both 14.04 and 16.04 on Bazel 0.13.0rc1:

ERROR: /var/lib/buildkite-agent/.cache/bazel/_bazel_buildkite-agent/e2c0be3fb717bbc0cca055cd48729424/external/bazel_toolchains/rules/docker_config.bzl:338:25: Traceback (most recent call last):
--
  | File "/var/lib/buildkite-agent/.cache/bazel/_bazel_buildkite-agent/e2c0be3fb717bbc0cca055cd48729424/external/bazel_toolchains/rules/docker_config.bzl", line 336
  | rule(attrs = (_container.image.attrs ...)}), <3 more arguments>)
  | File "/var/lib/buildkite-agent/.cache/bazel/_bazel_buildkite-agent/e2c0be3fb717bbc0cca055cd48729424/external/bazel_toolchains/rules/docker_config.bzl", line 338, in rule
  | attr.string_list(["local_config_cc"])
  | Parameter 'default' is not positional, in method call string_list(list) of 'attr (a language module)'

14.04: https://buildkite.com/bazel/bazel-with-downstream-projects-bazel/builds/188#913e4105-06de-4cf6-82c0-1f6290f82d54
16:04: https://buildkite.com/bazel/bazel-with-downstream-projects-bazel/builds/188#4ca52218-5bde-44c1-bcda-22556ae7b461

@xingao267 @nlopezgi

@jin
Copy link
Member Author

jin commented Apr 10, 2018

Looks like this can be fixed by adding the parameter name default = ["local_config_cc"].

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

No branches or pull requests

1 participant