flutter build macos succeeds even if native asset builds failed #137910
Copy link
Copy link
Closed
Labels
dependency: dartDart team may need to help usDart team may need to help usteam-toolOwned by Flutter Tool teamOwned by Flutter Tool teamtoolAffects the "flutter" command-line tool. See also t: labels.Affects the "flutter" command-line tool. See also t: labels.
Description
Activity
- addedin triagePresently being triaged by the triage teamPresently being triaged by the triage teamtoolAffects the "flutter" command-line tool. See also t: labels.Affects the "flutter" command-line tool. See also t: labels.dependency: dartDart team may need to help usDart team may need to help usteam-toolOwned by Flutter Tool teamOwned by Flutter Tool teamand removedin triagePresently being triaged by the triage teamPresently being triaged by the triage team
on Nov 6, 2023 Thanks for the report @mkustermann!
I can reproduce this.
In addition,
flutter runalso ignored build failures.I've uploaded a PR to address this.
Reacted by Martin Kustermann- added a commit that references this issue
on Nov 7, 2023 This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of
flutter doctor -vand a minimal reproduction of the issue.- locked as resolved and limited conversation to collaborators
on Nov 21, 2023
Metadata
Metadata
Assignees
Labels
dependency: dartDart team may need to help usDart team may need to help usteam-toolOwned by Flutter Tool teamOwned by Flutter Tool teamtoolAffects the "flutter" command-line tool. See also t: labels.Affects the "flutter" command-line tool. See also t: labels.
A simple
flutter create helloapp that depends on a package with native assets seems to build just fine withflutter build macoseven though the actual native build of the depedency failed.Repro: Create
flutter create hellomake it depend onfoo, makefoosimply throw an exception inbuild.dart.flutter build macoswill then