commit | 3dbe6ec5f41ae68e14a7f78a7af8cc4779491632 | [log] [tgz] |
---|---|---|
author | Renato Mangini Dias <mangini@google.com> | Fri Apr 15 00:30:37 2022 +0000 |
committer | Renato Mangini Dias <mangini@google.com> | Fri Apr 15 00:30:37 2022 +0000 |
tree | cd4312d128971836f8fbde5726ddb13f8b067599 | |
parent | feed9b0404ab4e409999779491cf7f2c7eb37246 [diff] |
Ignore errors from ffx debug symbol-index clean Change-Id: I864630a4070aec4fb32cece483e48906c756bc47 Reviewed-on: https://fuchsia-review.googlesource.com/c/sdk-integration/+/669689 Reviewed-by: Darren Chan <chandarren@google.com>
diff --git a/bazel_rules_fuchsia/fuchsia/private/fuchsia_package.bzl b/bazel_rules_fuchsia/fuchsia/private/fuchsia_package.bzl index c57b436..3e41427 100644 --- a/bazel_rules_fuchsia/fuchsia/private/fuchsia_package.bzl +++ b/bazel_rules_fuchsia/fuchsia/private/fuchsia_package.bzl
@@ -179,7 +179,8 @@ else user_dir= fi - HOME="$user_dir" {ffx} debug symbol-index clean || (echo >&2 "Error, cannot clean symbol-index!" && exit 1) + # clean is best-effort, we can safely ignore any error (fxbug.dev/96824#c4) + HOME="$user_dir" {ffx} debug symbol-index clean >/dev/null 2>&1 HOME="$user_dir" {ffx} debug symbol-index add {build_id_dir} || (echo >&2 "Error, cannot add to symbol-index!" && exit 1) echo 'SUCCESS' > {stamp_file} """.format(