-
Notifications
You must be signed in to change notification settings - Fork 4k
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
apple_static_xcframework
rule from rules_apple
fails in 6.0.0
#16827
Comments
Bisect points to b0487dc, but that commit doesn't have an author listed. |
@bazel-io flag |
@bazel-io fork 6.0.0 |
@keith Looks like there is some incompatible change in Bazel that rules_apple should adapt? (It's likely the Google version of rules_apple already did) |
@meteorcloudy which change specifically? AFAIUI |
Oh I see, I missed that part. So this issue is basically under bazelbuild/rules_apple#1765 |
I'm not super clear on every step to make that work, but I think it requires changes in both repos. My current thought is that it at least requires #16619 and bazelbuild/rules_apple#1533 but I'm not sure. |
OK, in that case, I'll remove this issue as a release blocker for 6.0. |
@yuriyhanysh Please let me know if you think this should still be a blocker for 6.0. /cc @allevato as reviewer of the change. |
@meteorcloudy I'm afraid I'm missing some context here to suggest if this is a blocker.
In my case, the If |
I believe it's just by luck that this has worked, @keith can confirm that.
I guess this really depends on when rules_apple can add proper platform-based toolchain support.
b0487dc was needed for some google internal use cases, I don't think we can easily revert this change. I think fixing this issue will be one of the blockers for rules_appple to support |
today at the very least platform_mappings are required to get anywhere with this stuff, but I guess I still don't know what is broken even once you have that. |
@meteorcloudy what values are used for |
I assume they're the standard |
I did a quick search, looks like the |
things have changed a lot here now, is this one fixed? |
Description of the bug:
When the
incompatible_enable_cc_toolchain_resolution
flag is on, and theplatform_mappings
file is specified,apple_static_xcframework
fromrules_apple
fails in6.0.0rc1
and6.0.0rc2
.The rule is working in this configuration in version 6.0.0-pre.20220517.1 but stopped working in 6.0.0-pre.20220520.1
Error is:
ERROR: file 'stages/swift/package-arm64-apple-ios13.0-fl.a' is generated by these conflicting actions:
What's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.
Example project: https://github.com/yuriyhanysh/bazel-platform-mappings
Which operating system are you running Bazel on?
macOS Ventura 13.0.1
What is the output of
bazel info release
?release 6.0.0rc2
If
bazel info release
returnsdevelopment version
or(@non-git)
, tell us how you built Bazel.No response
What's the output of
git remote get-url origin; git rev-parse master; git rev-parse HEAD
?Have you found anything relevant by searching the web?
No response
Any other information, logs, or outputs that you want to share?
rc2 full log:
The text was updated successfully, but these errors were encountered: