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 no such target '@platforms//os:visionos': target 'visionos' not declared in package 'os' in Bazel CI #8082

Closed
sgowroji opened this issue Aug 30, 2023 · 0 comments · Fixed by #8083

Comments

@sgowroji
Copy link
Contributor

https://buildkite.com/bazel/bazel-at-head-plus-downstream/builds/3271#018a4433-9f2d-4b08-98ba-f54771d4d63e

Platform : Linux

Logs

ERROR: /var/lib/buildkite-agent/builds/bk-docker-kpx8/bazel-downstream-projects/flatbuffers/grpc/tests/BUILD:1:8: every rule of type cc_test implicitly depends upon the target '@platforms//os:visionos', but this target could not be found because of: no such target '@platforms//os:visionos': target 'visionos' not declared in package 'os' defined by /var/lib/buildkite-agent/.cache/bazel/_bazel_buildkite-agent/2695854db0d6e54f5cce255670f5dcf5/external/platforms/os/BUILD (Tip: use `query "@platforms//os:*"` to see all the targets in that package)
(02:15:53) ERROR: Analysis of target '//grpc/tests:grpc_test' failed; build aborted: Analysis failed
(02:15:53) INFO: Elapsed time: 8.092s
(02:15:53) INFO: 0 processes.
(02:15:53) ERROR: Build did NOT complete successfully

By upgrading the "platform" version to 0.0.7 which adds "visionos" support. bazelbuild/bazel#18905 (comment)

CC Greenteam @mai93

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.

1 participant