Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in new_objc_provider: Key 'linkopt' no longer supported in ObjcProvider #2370

Closed
sgowroji opened this issue Jan 19, 2024 · 1 comment · Fixed by #2368
Closed

Error in new_objc_provider: Key 'linkopt' no longer supported in ObjcProvider #2370

sgowroji opened this issue Jan 19, 2024 · 1 comment · Fixed by #2368

Comments

@sgowroji
Copy link
Member

sgowroji commented Jan 19, 2024

CI: https://buildkite.com/bazel/bazel-at-head-plus-downstream/builds/3601#018d1fae-28a5-47c5-a1be-881bc1594610

Platform: MacOS

Logs:

Traceback (most recent call last):
	File "/Users/buildkite/builds/bk-imacpro-18/bazel-org-repo-root/rules_apple/apple/internal/macos_binary_support.bzl", line 253, column 52, in _macos_command_line_launchdplist_impl
		return linking_support.sectcreate_objc_provider(
	File "/Users/buildkite/builds/bk-imacpro-18/bazel-org-repo-root/rules_apple/apple/internal/linking_support.bzl", line 102, column 39, in _sectcreate_objc_provider
		apple_common.new_objc_provider(
Error in new_objc_provider: Key 'linkopt' no longer supported in ObjcProvider (use CcInfo instead).
(04:18:15) ERROR: /Users/buildkite/builds/bk-imacpro-18/bazel-org-repo-root/rules_apple/test/starlark_tests/targets_under_test/macos/BUILD:2395:31: Analysis of target '//test/starlark_tests/targets_under_test/macos:cmd_app_info_and_launchd_plists.merged_launchdplists' failed
(04:18:15) ERROR: Analysis of target '//test/starlark_tests/targets_under_test/macos:cmd_app_info_and_launchd_plists.merged_launchdplists' failed; build aborted

Culprit Found: bazelbuild/bazel@67c5c0f, bazelbuild/bazel@48eb023

Steps:

git clone https://github.com/bazelbuild/rules_apple.git 
git reset ed073e3ea4cd4ab3cd80bb5ecc60b11c21fed400 --hard
export USE_BAZEL_VERSION=416333dcca2e48e430df4ff54a9e3f163078baf2
bazel build --config=visionos tools/... test/... 

CC Greenteam @meteorcloudy

@comius
Copy link
Contributor

comius commented Jan 22, 2024

cc @keith

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants