bazelbuild / rules_gwt

Bazel rules for GWT
Apache License 2.0
19 stars 14 forks source link

Bazel --incompatible_depset_is_not_iterable #21

Closed laurentlb closed 5 years ago

laurentlb commented 5 years ago

From the latest CI run (https://buildkite.com/bazel/bazelisk-plus-incompatible-flags/builds/28#93a20a9b-87b7-409a-9267-738b57fd1eba), this repository doesn't work with --incompatible_depset_is_not_iterable.

Logs:

ERROR: /var/lib/buildkite-agent/builds/bk-docker-gjds/bazel-downstream-projects/rules_gwt/example/src/main/java/io/bazel/sample/BUILD:7:1: in _gwt_war rule //example/src/main/java/io/bazel/sample:SampleApp:
--
  | Traceback (most recent call last):
  | File "/var/lib/buildkite-agent/builds/bk-docker-gjds/bazel-downstream-projects/rules_gwt/example/src/main/java/io/bazel/sample/BUILD", line 7
  | _gwt_war(name = 'SampleApp')
  | File "/var/lib/buildkite-agent/builds/bk-docker-gjds/bazel-downstream-projects/rules_gwt/gwt/gwt.bzl", line 22, in _gwt_war_impl
  | ":".join([dep.path for dep in all_deps])
  | File "/var/lib/buildkite-agent/builds/bk-docker-gjds/bazel-downstream-projects/rules_gwt/gwt/gwt.bzl", line 22, in ":".join
  | [dep.path for dep in all_deps]
  | type 'depset' is not iterable. Use the `to_list()` method to get a list. Use --incompatible_depset_is_not_iterable=false to temporarily disable this check.

Documentation: https://docs.bazel.build/versions/master/skylark/depsets.html Let me know if you need help