bazel: Label case insensitivity causes duplicate outputs

When Bazel builds 2 case insensitive Label strings, it will throw various combinations of errors or exceptions and fail.

Additionally, the duplicated outputs for multiple actions won’t fail the validation check.

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

Build bazel targets from the command line using a lowercased version of the label

bazel build //A/B:C //a/b:c

tested with native C++ compilation rules

What’s the output of bazel info release?

$ tools/bazelwrapper info release
release 0.18.0

About this issue

  • Original URL
  • State: open
  • Created 6 years ago
  • Comments: 15 (13 by maintainers)

Commits related to this issue

Most upvoted comments

Bump for this issue. This bit me pretty hard when I typo’d in a lowercase in one of my builds.

  • Which platform is this on?
  • what is tools/bazelwrapper?