-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Closed
Labels
P1High-priority issues at the top of the work listHigh-priority issues at the top of the work listteam-infraOwned by Infrastructure teamOwned by Infrastructure team
Description
The dart roll is broken. It appears that old data is still around at build time which interferes with the GN step. The step called clobber build output is printing out the following warning which may be related: WARNING: Failed to find /Volumes/Work/s/w/ir/cache/builder/src/out during rmtree. Ignoring.
My theory is that since the clobber is failing, we have stale data around which is causing the GN problems.
example
Here we end up with 2 versions of icu, one where icu currently exists and one where it used to exist:
Using prebuilt Dart SDK binary. If you are editing Dart sources and wish to compile the Dart SDK, set `--no-prebuilt-dart-sdk`.
Generating GN files in: out/ci/ios_debug_sim_clang_tidy
ERROR at //third_party/icu/config.gni:32:42: Duplicate build argument declaration.
icu_copy_icudata_to_root_build_dir = true
^---
Here you're declaring an argument that was already declared elsewhere.
You can only declare each argument once in the entire build so there is one
canonical place for documentation and the default value. Either move this
argument to the build config file (for visibility everywhere) or to a .gni file
that you "import" from the files where you need it (preferred).
See //flutter/third_party/icu/config.gni:32:42: Previous declaration.
icu_copy_icudata_to_root_build_dir = true
^---
See also "gn help buildargs" for more on how build arguments work.
See //third_party/icu/BUILD.gn:7:1: whence it was imported.
import("config.gni")
^------------------
See //flutter/third_party/harfbuzz/BUILD.gn:94:5: which caused the file to be included.
"//third_party/icu:icuuc",
^------------------------
Metadata
Metadata
Assignees
Labels
P1High-priority issues at the top of the work listHigh-priority issues at the top of the work listteam-infraOwned by Infrastructure teamOwned by Infrastructure team