Skip to content

[Bug]: flag needs an argument: --remote_download_all #45

@nlou9

Description

@nlou9

What happened?

In our repo, we have .bazeliskrc in place. when we run bazel build //... --remote_download_all . We got error lag needs an argument: --remote_download_all

But interesting thing is --remote_download_minimal , it works fine.

Workaround:

We have to change to bazel build --remote_download_all //...

Our .bazeliskrc:

BAZELISK_BASE_URL=https://static.aspect.build/aspect
USE_BAZEL_VERSION=aspect/2024.42.3

Version

Development (host) and target OS/architectures: macos

Output of bazel --version:
7.4.0
Version of the Aspect rules, or other relevant rules from your
WORKSPACE or MODULE.bazel file:

http_archive(
    name = "aspect_bazel_lib",
    sha256 = "a272d79bb0ac6b6965aa199b1f84333413452e87f043b53eca7f347a23a478e8",
    strip_prefix = "bazel-lib-2.9.3",
    url = "https://github.com/aspect-build/bazel-lib/releases/download/v2.9.3/bazel-lib-v2.9.3.tar.gz",
)

load("@aspect_bazel_lib//lib:repositories.bzl", "aspect_bazel_lib_register_toolchains")

aspect_bazel_lib_register_toolchains()

http_archive(
    name = "aspect_rules_lint",
    sha256 = "7d5feef9ad85f0ba78cc5757a9478f8fa99c58a8cabc1660d610b291dc242e9b",
    strip_prefix = "rules_lint-1.0.2",
    url = "https://github.com/aspect-build/rules_lint/releases/download/v1.0.2/rules_lint-v1.0.2.tar.gz",
)

Language(s) and/or frameworks involved:
python, java

How to reproduce

`.bazeliskrc` in the repo, run 

`bazel build //... --remote_download_all
Error: flag needs an argument: --remote_download_all`

Any other information?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    blockedBlocked by another issuebugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions