To Reproduce
$ focus new --dense-repo=https://github.com/bazelbuild/bazel --template bazel bazel-focus
$ focus add bazel://src/main/cpp:blaze_util
$ bazel build //src/main/cpp:blaze_util
Produces an error message like this:
$ bazel build //src/main/cpp:blaze_util
ERROR: error loading package '': Label '//src/test/shell/bazel:list_source_repository.bzl' is invalid because 'src/test/shell/bazel' is not a package; perhaps you meant to put the colon here: '//src:test/shell/bazel/list_source_repository.bzl'?
INFO: Elapsed time: 0.134s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (0 packages loaded)
But there is a load("//src/test/shell/bazel:list_source_repository.bzl", "list_source_repository") in the WORKSPACE file, so we should have been loading that automatically.
Expected behavior
bazel build should succeed.
To Reproduce
Produces an error message like this:
But there is a
load("//src/test/shell/bazel:list_source_repository.bzl", "list_source_repository")in theWORKSPACEfile, so we should have been loading that automatically.Expected behavior
bazel buildshould succeed.