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

Cannot load '@rules_pkg//:mappings.bzl': no such file #596

Closed
seanschoi opened this issue Jun 30, 2022 · 3 comments
Closed

Cannot load '@rules_pkg//:mappings.bzl': no such file #596

seanschoi opened this issue Jun 30, 2022 · 3 comments
Labels

Comments

@seanschoi
Copy link

Hello bazel team,

I am trying to use the rules_pkg on Bazel version 5.2.0.

I do have 0.7.0 version of rules package defined in WORKSPACE as follows:

`http_archive(
name = "rules_pkg",
sha256 = "8a298e832762eda1830597d64fe7db58178aa84cd5926d76d5b744d6558941c2",
urls = [
"https://mirror.bazel.build/github.com/bazelbuild/rules_pkg/releases/download/0.7.0/rules_pkg-0.7.0.tar.gz",
"https://github.com/bazelbuild/rules_pkg/releases/download/0.7.0/rules_pkg-0.7.0.tar.gz",
],
)

load("@rules_pkg//:deps.bzl", "rules_pkg_dependencies")

rules_pkg_dependencies()
`

When I try to add 'load("@rules_pkg//:mappings.bzl", "pkg_filegroup")' to my BUILD, I am getting 'ERROR: error loading package '': cannot load '@rules_pkg//:mappings.bzl': no such file'.

Has anyone encountered this issue? Thank you

@aiuto
Copy link
Collaborator

aiuto commented Jul 1, 2022 via email

@aiuto
Copy link
Collaborator

aiuto commented Sep 13, 2022 via email

@phlax
Copy link

phlax commented Jan 18, 2024

not sure if this resolves but would be good to clear up this mess - we havent been able to update rules_pkg for a year and a half

protocolbuffers/protobuf#15481

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants