google / flogger

A Fluent Logging API for Java

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Flag --incompatible_load_java_rules_from_bzl will break Flogger in Bazel 1.2.1

bazel-flag-bot opened this issue · comments

Incompatible flag --incompatible_load_java_rules_from_bzl will break Flogger once Bazel 1.2.1 is released.

Please see the following CI builds for more information:

Questions? Please file an issue in https://github.com/bazelbuild/continuous-integration

Important: Please do NOT modify the issue title since that might break our tools.

(03:02:42) ERROR: /var/lib/buildkite-agent/.cache/bazel/_bazel_buildkite-agent/f873cfce23d8c0ab1616447bd64a5841/external/com_google_auto_auto_common/BUILD:7:1: in java_import rule @com_google_auto_auto_common//:com_google_auto_auto_common: The native Java rules are deprecated. Please load java_import from the rules_java repository. See http://github.com/bazelbuild/rules_java and https://github.com/bazelbuild/bazel/issues/8741. You can temporarily bypass this error by setting --incompatible_load_java_rules_from_bzl=false.

etc.

I filed google/bazel-common#97, as I think this needs to be fixed in bazel-common. (And then Flogger will need to update to a new version of bazel-common.)

P3 because I believe this is blocked by Bazel itself, as noted in google/bazel-common#97