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

Allow --experimental_strict_conflict_checks to pass for XCFramework slices #672

Closed
mattrobmattrob opened this issue Apr 3, 2023 · 1 comment · Fixed by #671
Closed

Comments

@mattrobmattrob
Copy link
Collaborator

Repro: #671

$ bazel build //Lib --apple_platform_type=ios
INFO: Build option --features has changed, discarding analysis cache.
ERROR: One of the output paths 'bazel-out/ios-sim_arm64-min9.0-applebin_ios-ios_sim_arm64-fastbuild-ST-c68d53a6ad5a/bin/external/_main~non_module_deps~com_github_krzyzanowskim_cryptoswift/CryptoSwift.import_middleman/CryptoSwift.framework' (belonging to @_main~non_module_deps~com_github_krzyzanowskim_cryptoswift//:CryptoSwift.import_middleman) and 'bazel-out/ios-sim_arm64-min9.0-applebin_ios-ios_sim_arm64-fastbuild-ST-c68d53a6ad5a/bin/external/_main~non_module_deps~com_github_krzyzanowskim_cryptoswift/CryptoSwift.import_middleman/CryptoSwift.framework/CryptoSwift' (belonging to @_main~non_module_deps~com_github_krzyzanowskim_cryptoswift//:CryptoSwift.import_middleman) is a prefix of the other. These actions cannot be simultaneously present; please rename one of the output files or build just one of them
ERROR: com.google.devtools.build.lib.actions.ArtifactPrefixConflictException: One of the output paths 'bazel-out/ios-sim_arm64-min9.0-applebin_ios-ios_sim_arm64-fastbuild-ST-c68d53a6ad5a/bin/external/_main~non_module_deps~com_github_krzyzanowskim_cryptoswift/CryptoSwift.import_middleman/CryptoSwift.framework' (belonging to @_main~non_module_deps~com_github_krzyzanowskim_cryptoswift//:CryptoSwift.import_middleman) and 'bazel-out/ios-sim_arm64-min9.0-applebin_ios-ios_sim_arm64-fastbuild-ST-c68d53a6ad5a/bin/external/_main~non_module_deps~com_github_krzyzanowskim_cryptoswift/CryptoSwift.import_middleman/CryptoSwift.framework/CryptoSwift' (belonging to @_main~non_module_deps~com_github_krzyzanowskim_cryptoswift//:CryptoSwift.import_middleman) is a prefix of the other. These actions cannot be simultaneously present; please rename one of the output files or build just one of them
INFO: Elapsed time: 0.478s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (22 packages loaded, 3611 targets configured)
@jszumski
Copy link
Collaborator

jszumski commented Apr 4, 2023

Background: bazelbuild/bazel#16729

It looks like this is expected to be a breaking change in Bazel 7.0

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.

2 participants