-
Notifications
You must be signed in to change notification settings - Fork 167
Closed
Description
This is a possible incremental compilation issue that I often run into when building Envoy Mobile.
$ ./bazelw build --config=ios //library/swift:ios_framework
DEBUG: /private/var/tmp/_bazel_jsimard/e99b8d924fe95f277e909ecdb8681535/external/rules_python/python/pip.bzl:46:10: pip_install is deprecated. Please switch to pip_parse. pip_install will be removed in a future release.
WARNING: /Users/jsimard/src/envoy/mobile/library/common/jni/BUILD:95:27: target 'libndk_envoy_jni.jnilib' is both a rule and a file; please choose another name for the rule
INFO: Analyzed target //library/swift:ios_framework (203 packages loaded, 6726 targets configured).
INFO: Found 1 target...
ERROR: /Users/jsimard/src/envoy/mobile/library/swift/BUILD:9:14: output 'library/swift/Envoy.swiftinterface' was not created
ERROR: /Users/jsimard/src/envoy/mobile/library/swift/BUILD:9:14: Compiling Swift module //library/swift:ios_lib failed: not all outputs were created or valid
Target //library/swift:ios_framework failed to build
INFO: Elapsed time: 175.004s, Critical Path: 13.14s
INFO: 517 processes: 5 internal, 511 darwin-sandbox, 1 worker.
FAILED: Build did NOT complete successfully
$ echo "// Touch" >> library/swift/EngineBuilder.swift
$ ./bazelw build --config=ios //library/swift:ios_framework
DEBUG: /private/var/tmp/_bazel_jsimard/e99b8d924fe95f277e909ecdb8681535/external/rules_python/python/pip.bzl:46:10: pip_install is deprecated. Please switch to pip_parse. pip_install will be removed in a future release.
WARNING: /Users/jsimard/src/envoy/mobile/library/common/jni/BUILD:95:27: target 'libndk_envoy_jni.jnilib' is both a rule and a file; please choose another name for the rule
INFO: Analyzed target //library/swift:ios_framework (2 packages loaded, 3330 targets configured).
INFO: Found 1 target...
INFO: From Linking library/swift/ios_framework-arm64-apple-ios12.0-simulator-fl.a:
...
Target //library/swift:ios_framework up-to-date:
bazel-bin/library/swift/ios_framework.zip
INFO: Elapsed time: 36.327s, Critical Path: 31.53s
INFO: 16 processes: 3 internal, 12 darwin-sandbox, 1 worker.
INFO: Build completed successfully, 16 total actionsI understand this isn't enough information to debug on your end, so please advise what files you'd like me to share or commands I should run in order to help you investigate this.
- Bazel version:
6.0.0-pre.20220706.4 - rules_swift version: e769f8d
.bazelrc: https://github.com/envoyproxy/envoy/blob/main/mobile/.bazelrc- Other deps versions: https://github.com/envoyproxy/envoy/blob/main/mobile/bazel/envoy_mobile_repositories.bzl
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels