-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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 8 crash when building ios_application
at the root
#24625
Comments
cc @pzembrod guess this is a bug in the newly used declare_shareable_artifact bits |
@bazel-io fork 8.0.1 |
Yeah, just looked at #24625 - thanks for your comment there |
Definitely something we should fix for 8.0.1. |
Fixes bazelbuild#24625 Closes bazelbuild#24698. PiperOrigin-RevId: 707183228 Change-Id: I369a37e8e652545274ec4949b1c3ac1d2fab38cb
Fixes bazelbuild#24625 Closes bazelbuild#24698. PiperOrigin-RevId: 707183228 Change-Id: I369a37e8e652545274ec4949b1c3ac1d2fab38cb
Fixes #24625 Closes #24698. PiperOrigin-RevId: 707183228 Change-Id: I369a37e8e652545274ec4949b1c3ac1d2fab38cb Commit 2864f2a Co-authored-by: Keith Smiley <[email protected]>
Fixes #24625 Closes #24698. PiperOrigin-RevId: 707183228 Change-Id: I369a37e8e652545274ec4949b1c3ac1d2fab38cb Commit 2864f2a Co-authored-by: Keith Smiley <[email protected]>
A fix for this issue has been included in Bazel 8.0.1 RC1. Please test out the release candidate and report any issues as soon as possible. |
Fix works well, thanks! |
Description of the bug:
When building an iOS app using Bazel 8.0.0 and rules_apple 3.16.0, Bazel crashes with the following output:
Following the main rules_apple tutorial in doc/tutorials/ios-app.md is enough to reproduce the issue.
I also found that if the
ios_application
is not at the root then this crash doesn't occur: e.g.//foo:iOSApp
Also using Bazel 7.4.1 works fine. 8.0.0rc1 also crashes in the same way.
Which category does this issue belong to?
No response
What's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.
Following the main rules_apple tutorial in doc/tutorials/ios-app.md is enough to reproduce the issue.
Which operating system are you running Bazel on?
macOS 15.1.1 (24B2091)
What is the output of
bazel info release
?release 8.0.0
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 HEAD
?No response
If this is a regression, please try to identify the Bazel commit where the bug was introduced with bazelisk --bisect.
No response
Have you found anything relevant by searching the web?
Originally reported here: bazelbuild/rules_apple#2619
Any other information, logs, or outputs that you want to share?
No response
The text was updated successfully, but these errors were encountered: