rules_apple icon indicating copy to clipboard operation
rules_apple copied to clipboard

Failing on Bazel last_green because of missing `tools/objc/j2objc_dead_code_pruner_binary.py`

Open luispadron opened this issue 1 year ago • 1 comments

Error:

ERROR: /private/var/tmp/_bazel_lpadron/d8d9324fa7fd2d11d5178d8cf2834c55/external/bazel_tools/tools/objc/BUILD: no such target '@@bazel_tools//tools/objc:j2objc_dead_code_pruner_binary': target 'j2objc_dead_code_pruner_binary' not declared in package 'tools/objc' defined by /private/var/tmp/_bazel_lpadron/d8d9324fa7fd2d11d5178d8cf2834c55/external/bazel_tools/tools/objc/BUILD (did you mean j2objc_dead_code_pruner_binary.py?)
ERROR: /Users/lpadron/Development/rules_apple/test/starlark_tests/targets_under_test/apple/BUILD:313:18: every rule of type apple_xcframework implicitly depends upon the target '@@bazel_tools//tools/objc:j2objc_dead_code_pruner_binary', but this target could not be found because of: no such target '@@bazel_tools//tools/objc:j2objc_dead_code_pruner_binary': target 'j2objc_dead_code_pruner_binary' not declared in package 'tools/objc' defined by /private/var/tmp/_bazel_lpadron/d8d9324fa7fd2d11d5178d8cf2834c55/external/bazel_tools/tools/objc/BUILD (did you mean j2objc_dead_code_pruner_binary.py?)
ERROR: Analysis of target '//test/starlark_tests/targets_under_test/apple:generated_ios_dynamic_xcframework' failed; build aborted: Analysis failed

When running:

USE_BAZEL_VERSION=last_green bazel build //test/starlark_tests/targets_under_test/apple/...

luispadron avatar Jul 11 '24 19:07 luispadron

https://github.com/bazelbuild/bazel/commit/208b9c638b800fe5a903f1ec7411c1648ff22b3d

erikkerber avatar Oct 09 '24 01:10 erikkerber

Closing as j2objc is gone from rules_apple

aaronsky avatar Nov 14 '25 12:11 aaronsky