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' " with Bazel@HEAD #28940

Closed
sgowroji opened this issue Aug 10, 2023 · 3 comments · Fixed by #29068

Comments

@sgowroji
Copy link

https://buildkite.com/bazel/bazel-at-head-plus-downstream/builds/3228#0189dd37-12dc-421c-898d-e93a47ff31e7

Platform : Multiple

Logs


(02:19:19) ERROR: /var/lib/buildkite-agent/builds/bk-docker-222l/bazel-downstream-projects/envoy/test/integration/BUILD:1248:14: 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/2f5de6899e69895d54bf6e9ca19ff1db/external/platforms/os/BUILD (Tip: use `query "@platforms//os:*"` to see all the targets in that package)
(02:19:20) ERROR: Analysis of target '//test/integration:integration_test' failed; build aborted: Analysis failed

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

CC Greenteam @comius

@sgowroji sgowroji added the triage Issue requires triage label Aug 10, 2023
@keith
Copy link
Member

keith commented Aug 10, 2023

looks like our platforms is coming from rules_rust, so once bazelbuild/rules_rust#2111 merges we can update that to fix this issue

@KBaichoo KBaichoo added area/build and removed triage Issue requires triage labels Aug 10, 2023
@sgowroji
Copy link
Author

Hi Team or @keith , Looks like bazelbuild/rules_rust#2111 is merged. Can we update it for envoy. Thanks

@keith
Copy link
Member

keith commented Aug 16, 2023

thanks for the reminder #29068

keith added a commit to keith/envoy that referenced this issue Aug 16, 2023
Fixes: envoyproxy#28940

Signed-off-by: Keith Smiley <[email protected]>
phlax pushed a commit that referenced this issue Aug 18, 2023
Fixes: #28940

Signed-off-by: Keith Smiley <[email protected]>
phlax pushed a commit to phlax/envoy that referenced this issue Aug 18, 2023
Fixes: envoyproxy#28940

Signed-off-by: Keith Smiley <[email protected]>
Signed-off-by: Ryan Northey <[email protected]>
phlax pushed a commit to phlax/envoy that referenced this issue Aug 18, 2023
Fixes: envoyproxy#28940

Signed-off-by: Keith Smiley <[email protected]>
Signed-off-by: Ryan Northey <[email protected]>
phlax pushed a commit that referenced this issue Aug 21, 2023
Fixes: #28940

Signed-off-by: Keith Smiley <[email protected]>
Signed-off-by: Ryan Northey <[email protected]>
phlax pushed a commit to phlax/envoy that referenced this issue Aug 21, 2023
Fixes: envoyproxy#28940

Signed-off-by: Keith Smiley <[email protected]>
Signed-off-by: Ryan Northey <[email protected]>
phlax pushed a commit that referenced this issue Aug 22, 2023
Fixes: #28940

Signed-off-by: Keith Smiley <[email protected]>
Signed-off-by: Ryan Northey <[email protected]>
phlax pushed a commit that referenced this issue Aug 22, 2023
Fixes: #28940

Signed-off-by: Keith Smiley <[email protected]>
Signed-off-by: Ryan Northey <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants