-
Notifications
You must be signed in to change notification settings - Fork 29.8k
Closed
Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work lista: desktopRunning on desktopRunning on desktopplatform-linuxBuilding on or for Linux specificallyBuilding on or for Linux specificallyteam-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.triaged-toolTriaged by Flutter Tool teamTriaged by Flutter Tool team
Description
I just created this issue so I can link to it in an upcoming PR. I am working on a fix for this locally.
Steps to reproduce
Try to build a package utilizing native code assets on a Linux system where clang, llvm-ar, or ld.lld are not beside clang++ in the same directory.
Expected results
Flutter build tool should be able to find these executables.
Actual results
flutter tool throws an error when attempting to build.
Logs
Logs
ERROR: Failed to find llvm-ar relative to LocalFile: '/nix/store/v79bl5xhqjh0r5518gihcykx2861imd3-clang-wrapper-20.1.6/bin/clang++': LocalFile: '/nix/store/v79bl5xhqjh0r5518gihcykx2861imd3-clang-wrapper-20.1.6/bin/llvm-ar' doesn't exist.Metadata
Metadata
Assignees
Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work lista: desktopRunning on desktopRunning on desktopplatform-linuxBuilding on or for Linux specificallyBuilding on or for Linux specificallyteam-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.triaged-toolTriaged by Flutter Tool teamTriaged by Flutter Tool team