[Bazel 5][objc_library]: NullPointerException thrown during Starlark evaluation (//:main_objc) - at <starlark>.create_compilation_attributes(<builtin>:0) #14173
Labels
P3
We're not considering working on this, but happy to review a PR. (No assignee)
platform: apple
team-Rules-CPP
Issues for C++ rules
type: bug
Description of the problem / feature request:
Make variable substitution in
objc_library
raises a NullPointerException, seems to be missing a test for that code path and was broken recently somewhere on 5.x.xFeature requests: what underlying problem are you trying to solve with this feature?
Use the make variable feature e.g.
$(execpath ...)
inobjc_library
native java rule codeBugs: what's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.
What operating system are you running Bazel on?
macOS Big Sur - on Apple ARM64
What's the output of
bazel info release
?5.0.0-pre.20211011.2
If
bazel info release
returns "development version" or "(@non-git)", tell us how you built Bazel.Use HEAD, pre-releases, of
5.0.0-pre.20211011.2
Any other information, logs, or outputs that you want to share?
This seems break other rulesets using the native objc_rules e.g. rules_ios on Bazel 5:
bazel-ios/rules_ios#342
The text was updated successfully, but these errors were encountered: