bazel-contrib / target-determinator

Determines which Bazel targets were affected between two git commits.
Apache License 2.0
144 stars 22 forks source link

Bazel errors with --transitions=lite #62

Open com6056 opened 1 year ago

com6056 commented 1 year ago

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 🤔