mirror of
https://github.com/dart-lang/sdk
synced 2024-09-05 08:24:39 +00:00
![]() Several people have experienced build issues traced back to target `//utils/dartanalyzer:generate_summary_strong`. The issue is triggered by the sdk_hash changing with an old kernel-service snapshot in the out/ folder. `generate_summary_strong` uses but does not explicitly depend on the kernel-service, causing the outdated dependency. This then causes 'Unexpected Kernel SDK Version' when the new dart binary tried to load the old kernel-service snapshot. Tested: 1. Clean build of create_sdk at HEAD. 2. Empty `git commit --amend` to modify commit and thus sdk hash. 3. Rebuild of create_sdk (which failed before). Cq-Include-Trybots: dart/try:analyzer-analysis-server-linux-try,analyzer-linux-release-try,analyzer-mac-release-try,analyzer-nnbd-linux-release-try,analyzer-win-release-try,benchmark-linux-try,dart-sdk-linux-try,dart-sdk-mac-try,dart-sdk-win-try,dart-sdk-win-try,flutter-analyze-try,front-end-linux-release-x64-try,pkg-linux-release-try,vm-kernel-linux-release-x64-try Change-Id: Iba07e9d0c5daa7a93870fb501d9bb57682c88a5d Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/156913 Reviewed-by: Vyacheslav Egorov <vegorov@google.com> Commit-Queue: Clement Skau <cskau@google.com> |
||
---|---|---|
.. | ||
copy_tree.gni | ||
dart_action.gni | ||
prebuilt_dart_sdk.gni |