commit | bd20543d8b98b9b98b4db3edc8024d814dd42d05 | [log] [tgz] |
---|---|---|
author | pigweed-integration-roller <pigweed-integration-roller@pigweed.google.com.iam.gserviceaccount.com> | Wed Mar 10 18:33:31 2021 +0000 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Mar 10 18:33:42 2021 +0000 |
tree | a556dfd46ae02e52735e8ccc810c34b3b938e4c7 | |
parent | 53b395419b35723237866372211fcb3c83643580 [diff] |
[roll third_party/pigweed] pw_build: Update pw_error template - Display full target names, including the toolchain, for build errors. - Print the dependency path that caused the error using gn path. - Add message_lines argument to simplify multi-line messages. - Replace null_backend.py with pw_error. - Ensure that pw_error works without the Pigweed Python packages installed. Example error if pw_log_BACKEND is unset: 9:28:27 ERR 9:28:27 ERR Build error for //pw_log:pw_log.NO_BACKEND_SET(//targets/host:host_clang_debug): 9:28:27 ERR 9:28:27 ERR Attempted to build the //pw_log:pw_log facade with no backend. 9:28:27 ERR 9:28:27 ERR If you are using this facade, ensure you have configured a backend 9:28:27 ERR properly. The build arg for the facade must be set to a valid 9:28:27 ERR backend in the toolchain. For example, you may need to add a line 9:28:27 ERR like the following to the toolchain's .gni file: 9:28:27 ERR 9:28:27 ERR pw_log_BACKEND = "//path/to/the:backend" 9:28:27 ERR 9:28:27 ERR If you are NOT using this facade, this error may have been triggered 9:28:27 ERR by trying to build all targets. 9:28:27 ERR 9:28:28 ERR Dependency path to this target: 9:28:28 ERR 9:28:28 ERR gn path out //:default "//pw_log:pw_log.NO_BACKEND_SET(//targets/host:host_clang_debug)" //:default --[private]--> //:host --[private]--> //:pigweed_default(//targets/host:host_clang_debug) --[private]--> //pw_trace:trace_example_basic(//targets/host:host_clang_debug) --[private]--> //pw_log:pw_log(//targets/host:host_clang_debug) --[public]--> //pw_log:pw_log.NO_BACKEND_SET(//targets/host:host_clang_debug) Showing one of 75 "interesting" non-data paths. 0 of them are public. Use --all to print all paths. Original-Fixed: 336 Original-Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/36240 third_party/pigweed Rolled-Commits: db455e64bb4a11a..0c84ab6698c8b40 Roller-URL: https://ci.chromium.org/b/8853122821640655536 Cq-Cl-Tag: roller-builder:pigweed-experimental-roller Cq-Cl-Tag: roller-bid:8853122821640655536 CQ-Do-Not-Cancel-Tryjobs: true Change-Id: Ia5b35b7cebd0929837a9c77734b9bdd91e606b04 Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/experimental/+/36860 Reviewed-by: Pigweed Integration Roller <pigweed-integration-roller@pigweed.google.com.iam.gserviceaccount.com> Commit-Queue: Pigweed Integration Roller <pigweed-integration-roller@pigweed.google.com.iam.gserviceaccount.com>
This repository contains experimental pigweed modules.
Clone this repo with --recursive
to get all required submodules.
git clone --recursive https://pigweed.googlesource.com/pigweed/experimental
This will pull the Pigweed source repository into third_party/pigweed
. If you already cloned but forgot to --recursive
run git submodule update --init
to pull all submodules.