Skip to content

Stale data on bots is interfering with the GN step #147651

@gaaclarke

Description

@gaaclarke

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:

https://github.com/flutter/engine/runs/24466203369

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

No one assigned

    Labels

    P1High-priority issues at the top of the work listteam-infraOwned by Infrastructure team

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions