monogon-dev/monogon

rlocationpath returns identical path multiple times for platform_transition_binary

fionera opened this issue · 0 comments

When using the $(rlocationpath) expression on a label that is a platform_transition_binary, it will throw an error as that label contains apparently multiple files, even tho it shouldn't

ERROR: /home/tim/src/monogon/metropolis/node/core/update/e2e/BUILD.bazel:3:8: in go_test rule //metropolis/node/core/update/e2e:e2e_test: label '//metropolis/node/core/abloader:abloader' in $(location) expression expands to more than one file, please use $(locations //metropolis/node/core/abloader:abloader) instead.  Files (at most 5 shown) are: [_main/metropolis/node/core/abloader/abloader/abloader_bin.efi, _main/metropolis/node/core/abloader/abloader_bin.efi]
ERROR: /home/tim/src/monogon/metropolis/node/core/update/e2e/BUILD.bazel:3:8: Analysis of target '//metropolis/node/core/update/e2e:e2e_test' failed