target-determinator icon indicating copy to clipboard operation
target-determinator copied to clipboard

Bazel errors with --transitions=lite

Open com6056 opened this issue 2 years ago • 0 comments

Looks like when we enable --transitions=lite, we get a bunch of Bazel errors spewed out which I suspect is related to https://github.com/bazelbuild/bazel/issues/15797

For example:

ERROR: /home/jrodgers/tmp/build_output/fbda6e2d89ae38953fedf0d9ffd7a05c/external/io_bazel_rules_go/go/private/rules/transition.bzl:255:36: transition inputs [@@io_bazel_rules_go//go/config:debug, @@io_bazel_rules_go//go/config:linkmode, @@io_bazel_rules_go//go/config:msan, @@io_bazel_rules_go//go/config:pure, @@io_bazel_rules_go//go/config:race, @@io_bazel_rules_go//go/config:static, @@io_bazel_rules_go//go/config:strip, @@io_bazel_rules_go//go/config:tags, @@io_bazel_rules_go//go/private/rules:original_linkmode, @@io_bazel_rules_go//go/private/rules:original_msan, @@io_bazel_rules_go//go/private/rules:original_pure, @@io_bazel_rules_go//go/private/rules:original_race, @@io_bazel_rules_go//go/private/rules:original_static, @@io_bazel_rules_go//go/private/rules:original_tags, @@io_bazel_rules_go//go/private:bootstrap_nogo, @@io_bazel_rules_go//go/private:request_nogo] do not correspond to valid settings
ERROR: /home/jrodgers/tmp/build_output/fbda6e2d89ae38953fedf0d9ffd7a05c/external/io_bazel_rules_go/go/private/rules/transition.bzl:181:27: transition inputs [@@io_bazel_rules_go//go/config:linkmode, @@io_bazel_rules_go//go/config:msan, @@io_bazel_rules_go//go/config:pure, @@io_bazel_rules_go//go/config:race, @@io_bazel_rules_go//go/config:static, @@io_bazel_rules_go//go/config:tags] do not correspond to valid settings
ERROR: /home/jrodgers/tmp/build_output/fbda6e2d89ae38953fedf0d9ffd7a05c/external/io_bazel_rules_go/go/private/rules/transition.bzl:181:27: transition inputs [@@io_bazel_rules_go//go/config:linkmode, @@io_bazel_rules_go//go/config:msan, @@io_bazel_rules_go//go/config:pure, @@io_bazel_rules_go//go/config:race, @@io_bazel_rules_go//go/config:static, @@io_bazel_rules_go//go/config:tags] do not correspond to valid settings
ERROR: /home/jrodgers/tmp/build_output/fbda6e2d89ae38953fedf0d9ffd7a05c/external/io_bazel_rules_go/go/private/rules/transition.bzl:181:27: transition inputs [@@io_bazel_rules_go//go/config:linkmode, @@io_bazel_rules_go//go/config:msan, @@io_bazel_rules_go//go/config:pure, @@io_bazel_rules_go//go/config:race, @@io_bazel_rules_go//go/config:static, @@io_bazel_rules_go//go/config:tags] do not correspond to valid settings

Any ideas on how we can get these to go away? https://github.com/bazelbuild/bazel/issues/15797 mentions explicitly defining all the flags, but that didn't seem to help 🤔

com6056 avatar May 03 '23 18:05 com6056