bazel: Bazel 0.19.1 released with a bug

Description of the problem / feature request:

Bazel 0.19.1 was released with a bug fixed by https://github.com/bazelbuild/bazel/commit/6bc452874ddff69cbf7f66186238032283f1195f (https://github.com/bazelbuild/bazel-toolchains/issues/198)

Bazel 0.19.0 does not have that bug.

Bugs: what’s the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.

Use bazel-toolchains repo Try to run this target: https://github.com/bazelbuild/bazel-toolchains/blob/master/tests/config/BUILD#L70 modify the value of the bazel_version target to point to 0.19.1 bazel_version = “0.19.1”,

Try with version 0.19.0 to see it pass (see https://github.com/bazelbuild/bazel-toolchains/pull/237)

What operating system are you running Bazel on?

Linux - an ubuntu16_04 docker container

What’s the output of bazel info release?

Bazel 0.19.1

@mhlopko fyi as he authored the commit that was not included in the 0.19.1 release

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Comments: 19 (18 by maintainers)

Commits related to this issue

Most upvoted comments

Okay, results of testing that (using the cpp-tutorial):

With Bazel 0.19.1:

$ CC_TOOLCHAIN_NAME=linux_gnu_x86 bazel build //main:hello-world 
ERROR: Toolchain identifier 'local' was not found, valid identifiers are [stub_armeabi-v7a, linux_gnu_x86, msys_x64_mingw, msvc_x64]
INFO: Elapsed time: 0.593s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (1 packages loaded)

With Bazel 0.19.2rc1:

$ CC_TOOLCHAIN_NAME=linux_gnu_x86 ~/repos/bazel-release-0.19.1/bazel-bin/src/bazel build //main:hello-world 
Starting local Bazel server and connecting to it...
INFO: Analysed target //main:hello-world (8 packages loaded, 65 targets configured).
INFO: Found 1 target...
Target //main:hello-world up-to-date:
  bazel-bin/main/hello-world
INFO: Elapsed time: 1.759s, Critical Path: 0.01s, Remote (0.00% of the time): [queue: 0.00%, setup: 0.00%, process: 0.00%]
INFO: 0 processes.
INFO: Build completed successfully, 1 total action

So I will continue with sending out 0.19.2.rc1.