brotli doesn't work with bazel 9.0 #565

Open
opened 2026-01-29 20:45:54 +00:00 by claunia · 0 comments
Owner

Originally created by @carpenterjc on GitHub (Dec 9, 2025).

Tried with both 1.1.0 and 1.2.0.
Looks like this needs a module decency on rules_cc and to load cc_library from there.

ERROR: Traceback (most recent call last):
        File "C:/dev/_bazel/nthlhj2p/external/+http_archive+com_google_brotli/BUILD.bazel", line 91, column 11, in <toplevel>
                cc_library(
        File "/virtual_builtins_bzl/bazel/exports.bzl", line 40, column 9, in _removed_rule_failure
Error in fail:
         This rule has been removed from Bazel. Please add a `load()` statement for it.
         This can also be done automatically by running:
         buildifier --lint=fix <path-to-BUILD-or-bzl-file>
Originally created by @carpenterjc on GitHub (Dec 9, 2025). Tried with both 1.1.0 and 1.2.0. Looks like this needs a module decency on `rules_cc` and to load `cc_library` from there. ``` ERROR: Traceback (most recent call last): File "C:/dev/_bazel/nthlhj2p/external/+http_archive+com_google_brotli/BUILD.bazel", line 91, column 11, in <toplevel> cc_library( File "/virtual_builtins_bzl/bazel/exports.bzl", line 40, column 9, in _removed_rule_failure Error in fail: This rule has been removed from Bazel. Please add a `load()` statement for it. This can also be done automatically by running: buildifier --lint=fix <path-to-BUILD-or-bzl-file> ```
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/brotli#565