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

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

Open
nlou9 opened this issue Nov 7, 2024 · 0 comments
Open

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

nlou9 opened this issue Nov 7, 2024 · 0 comments
Labels
bug Something isn't working untriaged Requires traige

Comments

@nlou9
Copy link

nlou9 commented Nov 7, 2024

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

@nlou9 nlou9 added the bug Something isn't working label Nov 7, 2024
@github-actions github-actions bot added the untriaged Requires traige label Nov 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working untriaged Requires traige
Projects
None yet
Development

No branches or pull requests

1 participant