Unable to run "bazel run format" in MacOS

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • DevProd Build
    • ALL
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • 0

      This is the error message:

      NFO: Invocation ID: 935e2bf1-54e0-46bf-8b59-16846c6a5842
      INFO: Streaming build results to: https://sodalite.cluster.engflow.com/invocation/935e2bf1-54e0-46bf-8b59-16846c6a5842
      ERROR: /private/var/tmp/_bazel_patrice.arruda/7ffc725ed7153fa67bca79804288cd34/external/mongo_toolchain_v5/BUILD.bazel: no such target '@@mongo_toolchain_v5//:clang_format': target 'clang_format' not declared in package '' defined by /private/var/tmp/_bazel_patrice.arruda/7ffc725ed7153fa67bca79804288cd34/external/mongo_toolchain_v5/BUILD.bazel
      ERROR: /Users/patrice.arruda/mongo/BUILD.bazel:95:30: no such target '@@mongo_toolchain_v5//:clang_format': target 'clang_format' not declared in package '' defined by /private/var/tmp/_bazel_patrice.arruda/7ffc725ed7153fa67bca79804288cd34/external/mongo_toolchain_v5/BUILD.bazel and referenced by '//:clang_format'
      ERROR: Analysis of target '//:format' failed; build aborted: Analysis failed
      INFO: Elapsed time: 0.372s, Critical Path: 0.00s
      INFO: 1 process: 1 internal.
      ERROR: Build did NOT complete successfully
      ERROR: Build failed. Not running target
      INFO: Streaming build results to: https://sodalite.cluster.engflow.com/invocation/935e2bf1-54e0-46bf-8b59-16846c6a5842
      FAILED: 
          Fetching repository @@_main~_repo_rules~mongo_apple_toolchain_config; starting
      

            Assignee:
            Patrice Arruda
            Reporter:
            Patrice Arruda
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: