bazelbuild / bazelbuild/bazelisk

Older version of Bazel not found

Open
#428 0 comments 0 reactions 0 assignees View on GitHub
P2 type:bug
Dominant language
Go
Stars
2.7k
Forks
424
PR merge metrics
No merged PRs in 30d

Description

I am attempting to compile a project with bazelisk that uses an older version of bazel (0.16.0). When I try and compile this project, I get the following output from bazelisk:
`bazel build --verbose_failures --jobs=6 --config=sycl --config=opt //tensorflow/tools/pip_package:build_pip_package
2023/02/16 11:52:55 Downloading https://releases.bazel.build/0.16.0/release/bazel-0.16.0-linux-arm64...
2023/02/16 11:52:55 could not download Bazel: HTTP GET https://releases.bazel.build/0.16.0/release/bazel-0.16.0-linux-arm64 failed with error 404`.
Would it be possible for Bazelisk to include an option to build Bazel from source if an executable is not found?

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the Bazelisk invocation shown in the report and inspect the failed download of the Bazel 0.16.0 linux-arm64 executable. Determine how an option could trigger building Bazel from source when the executable is unavailable; done means the older-version build can proceed instead of ending with the 404.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
build-system
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.