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

[Bazel CI] Swift toolchain analysis failed due to missing 'swift' configuration fragment #8277

Open
sgowroji opened this issue Apr 8, 2024 · 1 comment

Comments

@sgowroji
Copy link
Contributor

sgowroji commented Apr 8, 2024

CI: https://buildkite.com/bazel/bazel-at-head-plus-disabled/builds/2004#018eb729-049a-4b04-9bb6-282671417315

Platform: Multiple

Logs:

ERROR: �[0m/var/lib/buildkite-agent/.cache/bazel/_bazel_buildkite-agent/7610754f4aaa0b605c7d15b0c0d0f401/external/build_bazel_rules_swift_local_config/BUILD:9:16: in swift_toolchain rule @@build_bazel_rules_swift_local_config//:toolchain: 
Error: There is no configuration fragment named 'swift'. Available fragments: 'platform', 'coverage', 'bazel_py', 'android', 'bazel_android', 'apple', 'cpp', 'java', 'j2objc', 'objc', 'proto', 'py'

Culprit:

Steps:

git clone https://github.com/google/flatbuffers
git reset e040f4e9756b7310bffac491b89cdb09f9fd6362  --hard
export USE_BAZEL_VERSION=3f9d80c35d88a280c2d53682f3d201b4733a3fff
bazel build //... 

CC Greenteam @meteorcloudy

@mustiikhalil
Copy link
Collaborator

Hej,

Thanks for opening this issue. Unfortunately my knowledge with bazel is nonexistent, if you do find a fix, please open a PR to address this problem

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

No branches or pull requests

2 participants