-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Labels
P2We'll consider working on this in future. (Assignee optional)We'll consider working on this in future. (Assignee optional)team-Configurabilityplatforms, toolchains, cquery, select(), config transitionsplatforms, toolchains, cquery, select(), config transitionstype: bug
Description
Description of the bug:
Using an aspect and an output group (setting one explicitly/removing default), to change "into what" a target is build, will result in an empty output when using cquery --output=files
.
bazel build --output_groups=og --aspects=path%aspect //target
bazel cquery --output_groups=og --aspects=path%aspect //target --output=files
aspect
creates a fileog
is the output group used byaspect
- Without overwriting the output_group the original/non-aspect file is shown.
Maybe I'm holding the tool wrong; I didn't find another way to figure out where bazel generated output from a bazel build
invocation lands.
Which category does this issue belong to?
Core
What's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.
No response
Which operating system are you running Bazel on?
linux
What is the output of bazel info release
?
release 8.0.0rc8
If bazel info release
returns development version
or (@non-git)
, tell us how you built Bazel.
No response
What's the output of git remote get-url origin; git rev-parse HEAD
?
No response
If this is a regression, please try to identify the Bazel commit where the bug was introduced with bazelisk --bisect.
Same behaviour as 7.4.0 - didn't check earlier.
Have you found anything relevant by searching the web?
No response
Any other information, logs, or outputs that you want to share?
No response
crt-31
Metadata
Metadata
Assignees
Labels
P2We'll consider working on this in future. (Assignee optional)We'll consider working on this in future. (Assignee optional)team-Configurabilityplatforms, toolchains, cquery, select(), config transitionsplatforms, toolchains, cquery, select(), config transitionstype: bug