bazel icon indicating copy to clipboard operation
bazel copied to clipboard

bazel 7 aspect can't access headers from ObjcCompile and CPPCompile action inputs。

Open Kila2 opened this issue 4 months ago • 7 comments

Description of the bug:

bazel 7 aspect can't access headers from ObjcCompile and CPPCompile action inputs。 before: image

after: image

I have a tools collect compiler headers from *_objc_arc. It can't be run at bazel 7. Is there any way to access these headers?

Which category does this issue belong to?

No response

What's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.

There is a example https://github.com/Kila2/bazel7_aspect_inputs_issue test bazel6

cd rules_ios-3.2.2 && bazel build //tests/ios/app:App --nobuild --aspects tools/compile_only_aspect.bzl%compile_only_aspect --output_groups=compiles

test bazel7

cd rules_ios-5.x && bazel build //tests/ios/app:App --nobuild --aspects tools/compile_only_aspect.bzl%compile_only_aspect --output_groups=compiles

Which operating system are you running Bazel on?

No response

What is the output of bazel info release?

No response

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.

No response

Have you found anything relevant by searching the web?

No response

Any other information, logs, or outputs that you want to share?

No response

Kila2 avatar Oct 15 '24 05:10 Kila2