-
Notifications
You must be signed in to change notification settings - Fork 28.9k
Closed as not planned
Closed as not planned
Copy link
Labels
P3Issues that are less important to the Flutter projectIssues that are less important to the Flutter projecta: annoyanceRepeatedly frustrating issues with non-experimental functionalityRepeatedly frustrating issues with non-experimental functionalityteam-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
~/git/tmp/delete_me_flutter$ flutter run -d linux
This application does not support sound null-safety (its language version is 2.11).
To build this application, you must provide the CLI flag --no-sound-null-safety. Dart 3 will only
support sound null safety, see https://dart.dev/null-safety.
~/git/tmp/delete_me_flutter$ flutter run -d linux --no-sound-null-safety
Launching lib/main.dart on Linux in debug mode...
fatal: not a git repository (or any of the parent directories): .git
Building Linux application...
Syncing files to device Linux... 386ms
Flutter run key commands.
r Hot reload. 🔥🔥🔥
R Hot restart.
h List all available interactive commands.
d Detach (terminate "flutter run" but leave application running).
c Clear the screen
q Quit (terminate the application on the device).
Running without sound null safety ⚠️
Dart 3 will only support sound null safety, see https://dart.dev/null-safety
An Observatory debugger and profiler on Linux is available at:
http://127.0.0.1:36037/7-kXLgw0gtY=/
The Flutter DevTools debugger and profiler on Linux is available at:
http://127.0.0.1:9100?uri=http://127.0.0.1:36037/7-kXLgw0gtY=/
Here is the relevant snippet of the verbose logs:
[ +7 ms] Building Linux application...
[ +3 ms] executing: [build/linux/x64/debug/] cmake -G Ninja -DCMAKE_BUILD_TYPE=Debug -DFLUTTER_TARGET_PLATFORM=linux-x64 /home/fujino/git/tmp/delete_me_flutter/linux
[ +53 ms] -- Configuring done
[ ] -- Generating done
[ +68 ms] -- Build files have been written to: /home/fujino/git/tmp/delete_me_flutter/build/linux/x64/debug
[ +5 ms] executing: ninja -C build/linux/x64/debug install
[ +32 ms] fatal: not a git repository (or any of the parent directories): .git
[ +1 ms] ninja: Entering directory `build/linux/x64/debug'
It seems like ninja -C build/linux/x64/debug install
is triggering the git call?
This is a counter app from templates, and grepping my project directory, I see no references to git other than a CMAKE log which has the same error as above.
Metadata
Metadata
Assignees
Labels
P3Issues that are less important to the Flutter projectIssues that are less important to the Flutter projecta: annoyanceRepeatedly frustrating issues with non-experimental functionalityRepeatedly frustrating issues with non-experimental functionalityteam-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