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

Label '@bazel_skylib//rules:copy_file.bzl' is invalid because 'rules' is not a package #200

Open
jimmysue opened this issue Dec 6, 2020 · 1 comment

Comments

@jimmysue
Copy link

jimmysue commented Dec 6, 2020

Help please:

I encounter error below:

error loading package '@boost//': Label '@bazel_skylib//rules:copy_file.bzl' is invalid because 'rules' is not a package; perhaps you meant to put the colon here: '@bazel_skylib//:rules/copy_file.bzl'? and referenced by '//smartvideo/server:executor_service'
ERROR: Analysis of target '//smartvideo/server:executor_service' failed; build aborted: Analysis failed

bazel version is : bazel 3.7.1

@nelhage
Copy link
Owner

nelhage commented Dec 6, 2020

Are you able to share your repository? I am not able to reproduce locally on Bazel 3.7.1 on a test repository.

Some quick googling suggests you may be doing something that's pulling in an old version of skylib: bazel-contrib/rules_go#2530 (comment)

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

No branches or pull requests

2 participants