Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-99657

Bazel Query fails with "no such package 'conditions'"

    • Type: Icon: Bug Bug
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Build
    • ALL

      The following results in an error message:

      bazel query "rdeps(//..., //src/mongo/db/storage/key_string:key_string)"

      ERROR: Evaluation of query "rdeps(//..., //src/mongo/db/storage/key_string:key_string)" failed: preloading transitive closure failed: no such package 'conditions': BUILD file not found in any of the following directories. Add a BUILD file to a directory to mark it as a package.
      

      In most cases aquery/cquery can be used to work around the issue, but this is fairly unpleasant since most people will reach for query by default

            Assignee:
            Unassigned Unassigned
            Reporter:
            zack.winter@mongodb.com Zack Winter
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: