Skip to content

[Bug]: libcap not compatible with Bazel 9 #7275

@fionera

Description

@fionera

What happened?

libcap is missing rules_cc imports


ERROR: Traceback (most recent call last):
File "/home/tim/.cache/bazel/_bazel_tim/9dacde448903d2e23efd7bf04c35be5c/external/libcap+/BUILD.bazel", line 27, column 11, in
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

Version

Development (host) and target OS/architectures:

Output of bazel --version: 9.0

Version of relevant rules from the WORKSPACE or MODULE.bazel file:

Language(s) and/or frameworks involved:

How to reproduce

Any other information?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions