Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Linux desktop build process failed #77293

Closed
andersmmg opened this issue Mar 4, 2021 · 6 comments · Fixed by #77926 or #78415
Closed

Linux desktop build process failed #77293

andersmmg opened this issue Mar 4, 2021 · 6 comments · Fixed by #77926 or #78415
Labels
r: invalid Issue is closed as not valid

Comments

@andersmmg
Copy link

Steps to Reproduce

  1. Run flutter create bug.
  2. Run flutter run -d linux
  3. Build failed

Expected results:
The app should open on Linux desktop.

Actual results:
Failed to build

Logs
$ flutter run -v -d linux
[ +121 ms] executing: uname -m
[  +65 ms] Exit code 0 from: uname -m
[        ] x86_64
[  +26 ms] executing: [/home/andersmmg/snap/flutter/common/flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[  +15 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] cc9b78fc5c4a4d2d51316d9626523336230a89a9
[   +1 ms] executing: [/home/andersmmg/snap/flutter/common/flutter/] git tag --points-at cc9b78fc5c4a4d2d51316d9626523336230a89a9
[  +35 ms] Exit code 0 from: git tag --points-at cc9b78fc5c4a4d2d51316d9626523336230a89a9
[        ] 2.1.0-10.0.pre
[  +99 ms] executing: [/home/andersmmg/snap/flutter/common/flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[  +16 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] origin/dev
[        ] executing: [/home/andersmmg/snap/flutter/common/flutter/] git ls-remote --get-url origin
[  +13 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] https://github.com/flutter/flutter.git
[  +80 ms] executing: [/home/andersmmg/snap/flutter/common/flutter/] git rev-parse --abbrev-ref HEAD
[  +16 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] dev
[ +120 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[   +4 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[ +110 ms] executing: /home/andersmmg/Android/Sdk/platform-tools/adb devices -l
[  +35 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[   +1 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[   +2 ms] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[ +105 ms] executing: /home/andersmmg/Android/Sdk/platform-tools/adb devices -l
[  +24 ms] Skipping pub get: version match.
[ +223 ms] Generating /home/andersmmg/Development/bug/android/app/src/main/java/io/flutter/plugins/GeneratedPluginRegistrant.java
[ +198 ms] Initializing file store
[  +20 ms] Skipping target: gen_localizations
[  +11 ms] complete
[  +10 ms] Launching lib/main.dart on Linux in debug mode...
[   +8 ms] /home/andersmmg/snap/flutter/common/flutter/bin/cache/dart-sdk/bin/dart --disable-dart-dev
/home/andersmmg/snap/flutter/common/flutter/bin/cache/artifacts/engine/linux-x64/frontend_server.dart.snapshot --sdk-root
/home/andersmmg/snap/flutter/common/flutter/bin/cache/artifacts/engine/common/flutter_patched_sdk/ --incremental --target=flutter
--debugger-module-names --experimental-emit-debug-metadata -DFLUTTER_WEB_AUTO_DETECT=true --output-dill
/tmp/flutter_tools.NACYKA/flutter_tool.CXSFTV/app.dill --packages /home/andersmmg/Development/bug/.dart_tool/package_config.json
-Ddart.vm.profile=false -Ddart.vm.product=false --enable-asserts --track-widget-creation --filesystem-scheme org-dartlang-root
--initialize-from-dill build/3c113a45063dc6628e68a4111abcacad.cache.dill.track.dill
--enable-experiment=alternative-invalidation-strategy
[  +52 ms] Building Linux application...
[  +73 ms] <- compile package:bug/main.dart
[   +4 ms] executing: [build/linux/x64/debug/] cmake -G Ninja -DCMAKE_BUILD_TYPE=Debug -DFLUTTER_TARGET_PLATFORM=linux-x64
/home/andersmmg/Development/bug/linux
[  +21 ms] List of devices attached
[   +4 ms] List of devices attached
[ +154 ms] -- Configuring done
[        ] -- Generating done
[        ] -- Build files have been written to: /home/andersmmg/Development/bug/build/linux/x64/debug
[   +4 ms] executing: ninja -C build/linux/x64/debug install
[  +19 ms] ninja: Entering directory `build/linux/x64/debug'
[+6739 ms] [1/5] Generating /home/andersmmg/Development/bug/linux/flutter/ephemeral/libflutter_linux_gtk.so,
/home/andersmmg/Development/bug/linux/flutter/ephemeral/flutter_linux/fl_basic_message_channel.h,
/home/andersmmg/Development/bug/linux/flutter/ephemeral/flutter_linux/fl_binary_codec.h,
/home/andersmmg/Development/bug/linux/flutter/ephemeral/flutter_linux/fl_binary_messenger.h,
/home/andersmmg/Development/bug/linux/flutter/ephemeral/flutter_linux/fl_dart_project.h,
/home/andersmmg/Development/bug/linux/flutter/ephemeral/flutter_linux/fl_engine.h,
/home/andersmmg/Development/bug/linux/flutter/ephemeral/flutter_linux/fl_json_message_codec.h,
/home/andersmmg/Development/bug/linux/flutter/ephemeral/flutter_linux/fl_json_method_codec.h,
/home/andersmmg/Development/bug/linux/flutter/ephemeral/flutter_linux/fl_message_codec.h,
/home/andersmmg/Development/bug/linux/flutter/ephemeral/flutter_linux/fl_method_call.h,
/home/andersmmg/Development/bug/linux/flutter/ephemeral/flutter_linux/fl_method_channel.h,
/home/andersmmg/Development/bug/linux/flutter/ephemeral/flutter_linux/fl_method_codec.h,
/home/andersmmg/Development/bug/linux/flutter/ephemeral/flutter_linux/fl_method_response.h,
/home/andersmmg/Development/bug/linux/flutter/ephemeral/flutter_linux/fl_plugin_registrar.h,
/home/andersmmg/Development/bug/linux/flutter/ephemeral/flutter_linux/fl_plugin_registry.h,
/home/andersmmg/Development/bug/linux/flutter/ephemeral/flutter_linux/fl_standard_message_codec.h,
/home/andersmmg/Development/bug/linux/flutter/ephemeral/flutter_linux/fl_standard_method_codec.h,
/home/andersmmg/Development/bug/linux/flutter/ephemeral/flutter_linux/fl_string_codec.h,
/home/andersmmg/Development/bug/linux/flutter/ephemeral/flutter_linux/fl_value.h,
/home/andersmmg/Development/bug/linux/flutter/ephemeral/flutter_linux/fl_view.h,
/home/andersmmg/Development/bug/linux/flutter/ephemeral/flutter_linux/flutter_linux.h, _phony_
[  +20 ms] [ +145 ms] executing: uname -m
[        ] [  +66 ms] Exit code 0 from: uname -m
[        ] [        ] x86_64
[        ] [  +38 ms] executing: [/home/andersmmg/snap/flutter/common/flutter/] git -c log.showSignature=false log -n 1
--pretty=format:%H
[        ] [  +15 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[   +3 ms] [        ] cc9b78fc5c4a4d2d51316d9626523336230a89a9
[        ] [   +1 ms] executing: [/home/andersmmg/snap/flutter/common/flutter/] git tag --points-at
cc9b78fc5c4a4d2d51316d9626523336230a89a9
[        ] [  +24 ms] Exit code 0 from: git tag --points-at cc9b78fc5c4a4d2d51316d9626523336230a89a9
[        ] [        ] 2.1.0-10.0.pre
[        ] [ +124 ms] executing: [/home/andersmmg/snap/flutter/common/flutter/] git rev-parse --abbrev-ref HEAD
[        ] [  +10 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] [        ] dev
[        ] [  +98 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[   +5 ms] [        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[        ] [   +6 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[        ] [  +86 ms] Artifact Instance of 'MaterialFonts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'GradleWrapper' is not required, skipping update.
[        ] [        ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[   +9 ms] [        ] Artifact Instance of 'FlutterSdk' is not required, skipping update.
[        ] [        ] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FontSubsetArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'PubDependencies' is not required, skipping update.
[        ] [ +140 ms] Initializing file store
[        ] [  +16 ms] Done initializing file store
[        ] [  +99 ms] Skipping target: gen_localizations
[        ] [+2993 ms] Skipping target: unpack_linux
[        ] [ +750 ms] Skipping target: kernel_snapshot
[        ] [ +527 ms] Skipping target: debug_bundle_linux-x64_assets
[        ] [   +1 ms] Persisting file store
[        ] [  +16 ms] Done persisting file store
[        ] [  +11 ms] build succeeded.
[        ] [  +24 ms] "flutter assemble" took 4,706ms.
[        ] [ +270 ms] ensureAnalyticsSent: 258ms
[        ] [   +3 ms] Running shutdown hooks
[        ] [        ] Shutdown hooks complete
[        ] [   +1 ms] exiting with code 0
[+1300 ms] [2/5] Building CXX object CMakeFiles/bug.dir/my_application.cc.o
[ +120 ms] [3/5] Building CXX object CMakeFiles/bug.dir/flutter/generated_plugin_registrant.cc.o
[ +246 ms] [4/5] Linking CXX executable intermediates_do_not_run/bug
[        ] FAILED: intermediates_do_not_run/bug 
[  +15 ms] : && /snap/flutter/current/usr/bin/clang++  -g  -L/snap/flutter/current/usr/lib/gcc/x86_64-linux-gnu/8
-L/snap/flutter/current/usr/lib/x86_64-linux-gnu -L/snap/flutter/current/usr/lib/
-L/snap/flutter/current/usr/lib/gcc/x86_64-linux-gnu/8 -L/snap/flutter/current/usr/lib/x86_64-linux-gnu
-L/snap/flutter/current/usr/lib/  -L/snap/flutter/current/usr/lib/gcc/x86_64-linux-gnu/8
-L/snap/flutter/current/usr/lib/x86_64-linux-gnu -L/snap/flutter/current/usr/lib/ CMakeFiles/bug.dir/main.cc.o
CMakeFiles/bug.dir/my_application.cc.o CMakeFiles/bug.dir/flutter/generated_plugin_registrant.cc.o  -o intermediates_do_not_run/bug
-Wl,-rpath,/home/andersmmg/Development/bug/linux/flutter/ephemeral: /snap/flutter/current/usr/lib/x86_64-linux-gnu/libgtk-3.so
/snap/flutter/current/usr/lib/x86_64-linux-gnu/libgdk-3.so /snap/flutter/current/usr/lib/x86_64-linux-gnu/libpangocairo-1.0.so
/snap/flutter/current/usr/lib/x86_64-linux-gnu/libpango-1.0.so /snap/flutter/current/usr/lib/x86_64-linux-gnu/libatk-1.0.so
/snap/flutter/current/usr/lib/x86_64-linux-gnu/libcairo-gobject.so /snap/flutter/current/usr/lib/x86_64-linux-gnu/libcairo.so
/snap/flutter/current/usr/lib/x86_64-linux-gnu/libgdk_pixbuf-2.0.so
/home/andersmmg/Development/bug/linux/flutter/ephemeral/libflutter_linux_gtk.so
/snap/flutter/current/usr/lib/x86_64-linux-gnu/libgio-2.0.so /snap/flutter/current/usr/lib/x86_64-linux-gnu/libgobject-2.0.so
/snap/flutter/current/usr/lib/x86_64-linux-gnu/libglib-2.0.so /snap/flutter/current/usr/lib/x86_64-linux-gnu/libblkid.so
/snap/flutter/current/usr/lib/x86_64-linux-gnu/liblzma.so && :
[   +9 ms] /snap/flutter/current/usr/bin/ld: warning: /usr/lib64/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../lib64/crt1.o:
unsupported GNU_PROPERTY_TYPE (5) type: 0xc0008002
[   +8 ms] /snap/flutter/current/usr/bin/ld: warning: /usr/lib64/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../lib64/crt1.o:
unsupported GNU_PROPERTY_TYPE (5) type: 0xc0010001
[   +1 ms] /snap/flutter/current/usr/bin/ld: warning: /usr/lib64/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../lib64/crt1.o:
unsupported GNU_PROPERTY_TYPE (5) type: 0xc0010002
[   +1 ms] /snap/flutter/current/usr/bin/ld: warning: /usr/lib64/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../lib64/crti.o:
unsupported GNU_PROPERTY_TYPE (5) type: 0xc0010002
[   +5 ms] /snap/flutter/current/usr/bin/ld: warning: /usr/lib64/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../lib64/crti.o:
unsupported GNU_PROPERTY_TYPE (5) type: 0xc0010001
[   +1 ms] /snap/flutter/current/usr/bin/ld: warning: /usr/lib64/gcc/x86_64-pc-linux-gnu/10.2.0/crtbegin.o: unsupported
GNU_PROPERTY_TYPE (5) type: 0xc0010002
[   +1 ms] /snap/flutter/current/usr/bin/ld: warning: /usr/lib64/gcc/x86_64-pc-linux-gnu/10.2.0/crtbegin.o: unsupported
GNU_PROPERTY_TYPE (5) type: 0xc0010001
[   +1 ms] /snap/flutter/current/usr/bin/ld: warning: /usr/lib64/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../lib64/libgcc_s.so.1:
unsupported GNU_PROPERTY_TYPE (5) type: 0xc0010001
[   +1 ms] /snap/flutter/current/usr/bin/ld: warning: /usr/lib64/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../lib64/libgcc_s.so.1:
unsupported GNU_PROPERTY_TYPE (5) type: 0xc0010002
[   +1 ms] /snap/flutter/current/usr/bin/ld: warning: /usr/lib64/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../lib64/libgcc_s.so.1:
unsupported GNU_PROPERTY_TYPE (5) type: 0xc0010001
[   +2 ms] /snap/flutter/current/usr/bin/ld: warning: /usr/lib64/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../lib64/libgcc_s.so.1:
unsupported GNU_PROPERTY_TYPE (5) type: 0xc0010002
[   +1 ms] /snap/flutter/current/usr/bin/ld: warning: /usr/lib64/gcc/x86_64-pc-linux-gnu/10.2.0/crtend.o: unsupported
GNU_PROPERTY_TYPE (5) type: 0xc0010002
[   +1 ms] /snap/flutter/current/usr/bin/ld: warning: /usr/lib64/gcc/x86_64-pc-linux-gnu/10.2.0/crtend.o: unsupported
GNU_PROPERTY_TYPE (5) type: 0xc0010001
[   +1 ms] /snap/flutter/current/usr/bin/ld: warning: /usr/lib64/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../lib64/crtn.o:
unsupported GNU_PROPERTY_TYPE (5) type: 0xc0010002
[  +11 ms] /snap/flutter/current/usr/bin/ld: warning: /usr/lib64/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../lib64/crtn.o:
unsupported GNU_PROPERTY_TYPE (5) type: 0xc0010001
[   +6 ms] /snap/flutter/current/usr/bin/ld: warning: //usr/lib32/libdl.so.2: unsupported GNU_PROPERTY_TYPE (5) type: 0xc0008002
[   +1 ms] /snap/flutter/current/usr/bin/ld: warning: //usr/lib32/libdl.so.2: unsupported GNU_PROPERTY_TYPE (5) type: 0xc0010001
[   +1 ms] /snap/flutter/current/usr/bin/ld: warning: //usr/lib32/libdl.so.2: unsupported GNU_PROPERTY_TYPE (5) type: 0xc0010002
[   +1 ms] /snap/flutter/current/usr/bin/ld: warning: //lib64/libdl.so.2: unsupported GNU_PROPERTY_TYPE (5) type: 0xc0008002
[   +1 ms] /snap/flutter/current/usr/bin/ld: warning: //lib64/libdl.so.2: unsupported GNU_PROPERTY_TYPE (5) type: 0xc0010001
[   +1 ms] /snap/flutter/current/usr/bin/ld: warning: //lib64/libdl.so.2: unsupported GNU_PROPERTY_TYPE (5) type: 0xc0010002
[   +1 ms] /snap/flutter/current/usr/bin/ld: warning: //usr/lib32/libgcrypt.so.20: unsupported GNU_PROPERTY_TYPE (5) type:
0xc0010001
[   +1 ms] /snap/flutter/current/usr/bin/ld: warning: //usr/lib32/libgcrypt.so.20: unsupported GNU_PROPERTY_TYPE (5) type:
0xc0010002
[   +1 ms] /snap/flutter/current/usr/bin/ld: warning: //lib64/libgcrypt.so.20: unsupported GNU_PROPERTY_TYPE (5) type: 0xc0010001
[   +1 ms] /snap/flutter/current/usr/bin/ld: warning: //lib64/libgcrypt.so.20: unsupported GNU_PROPERTY_TYPE (5) type: 0xc0010002
[   +1 ms] //lib64/libgcrypt.so.20: undefined reference to `fstat@GLIBC_2.33'
[        ] clang: error: linker command failed with exit code 1 (use -v to see invocation)
[        ] ninja: build stopped: subcommand failed.
[  +45 ms] Building Linux application... (completed in 8.8s)
[+9936 ms] Exception: Build process failed
[   +3 ms] "flutter run" took 19,692ms.
[  +12 ms] 
           #0      throwToolExit (package:flutter_tools/src/base/common.dart:12:3)
           #1      RunCommand.runCommand (package:flutter_tools/src/commands/run.dart:655:9)
           <asynchronous suspension>
           #2      FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:1186:12)
           <asynchronous suspension>
           #3      FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1037:27)
           <asynchronous suspension>
           #4      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:152:19)
           <asynchronous suspension>
           #5      AppContext.run (package:flutter_tools/src/base/context.dart:151:12)
           <asynchronous suspension>
           #6      CommandRunner.runCommand (package:args/command_runner.dart:197:13)
           <asynchronous suspension>
           #7      FlutterCommandRunner.runCommand.<anonymous closure>
(package:flutter_tools/src/runner/flutter_command_runner.dart:283:9)
           <asynchronous suspension>
           #8      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:152:19)
           <asynchronous suspension>
           #9      AppContext.run (package:flutter_tools/src/base/context.dart:151:12)
           <asynchronous suspension>
           #10     FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:239:5)
           <asynchronous suspension>
           #11     run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:62:9)
           <asynchronous suspension>
           #12     run.<anonymous closure> (package:flutter_tools/runner.dart:60:12)
           <asynchronous suspension>
           #13     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:152:19)
           <asynchronous suspension>
           #14     AppContext.run (package:flutter_tools/src/base/context.dart:151:12)
           <asynchronous suspension>
           #15     runInContext (package:flutter_tools/src/context_runner.dart:77:10)
           <asynchronous suspension>
           #16     main (package:flutter_tools/executable.dart:92:3)
           <asynchronous suspension>
           
           
[  +53 ms] ensureAnalyticsSent: 48ms
[   +2 ms] Running shutdown hooks
[        ] Shutdown hook priority 4
[   +5 ms] Shutdown hooks complete
[   +1 ms] exiting with code 1


$ flutter analyze
Analyzing bug...                                                        
No issues found! (ran in 4.4s)


$ flutter doctor -v
[✓] Flutter (Channel dev, 2.1.0-10.0.pre, on Linux, locale en_US.UTF-8)
    • Flutter version 2.1.0-10.0.pre at /home/andersmmg/snap/flutter/common/flutter
    • Framework revision cc9b78fc5c (7 days ago), 2021-02-25 13:26:03 -0800
    • Engine revision a252ec09b7
    • Dart version 2.13.0 (build 2.13.0-77.0.dev)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /home/andersmmg/Android/Sdk
    • Platform android-30, build-tools 30.0.3
    • Java binary at: /usr/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_282-b08)
    • All Android licenses accepted.

[✓] Chrome - develop for the web
    • CHROME_EXECUTABLE = vivaldi-stable

[✓] Linux toolchain - develop for Linux desktop
    • clang version 6.0.0-1ubuntu2 (tags/RELEASE_600/final)
    • cmake version 3.10.2
    • ninja version 1.8.2
    • pkg-config version 0.29.1

[!] Android Studio (not installed)
    • Android Studio not found; download from https://developer.android.com/studio/index.html
      (or visit https://flutter.dev/docs/get-started/install/linux#android-setup for detailed instructions).

[✓] Connected device (2 available)
    • Linux (desktop) • linux  • linux-x64      • Linux
    • Chrome (web)    • chrome • web-javascript • Vivaldi 3.6.2165.40

! Doctor found issues in 1 category.

@TahaTesser TahaTesser added the in triage Presently being triaged by the triage team label Mar 5, 2021
@TahaTesser
Copy link
Member

Hi @andersmmg
I just to reproduce the issue on the same channel as yours Channel dev, 2.1.0-10.0.pre, the app runs fine

logs
taha@pop-os:~/AndroidStudioProjects/bug$ flutter run -d linux -v
[  +45 ms] executing: uname -m
[  +20 ms] Exit code 0 from: uname -m
[        ] x86_64
[   +8 ms] executing: [/home/taha/snap/flutter/common/flutter/] git -c log.showSignature=false log -n 1
--pretty=format:%H
[   +7 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] cc9b78fc5c4a4d2d51316d9626523336230a89a9
[        ] executing: [/home/taha/snap/flutter/common/flutter/] git tag --points-at
cc9b78fc5c4a4d2d51316d9626523336230a89a9
[   +8 ms] Exit code 0 from: git tag --points-at cc9b78fc5c4a4d2d51316d9626523336230a89a9
[        ] 2.1.0-10.0.pre
[  +27 ms] executing: [/home/taha/snap/flutter/common/flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[   +2 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] origin/dev
[        ] executing: [/home/taha/snap/flutter/common/flutter/] git ls-remote --get-url origin
[   +2 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] https://github.com/flutter/flutter.git
[  +30 ms] executing: [/home/taha/snap/flutter/common/flutter/] git rev-parse --abbrev-ref HEAD
[   +3 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] dev
[  +53 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[   +1 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[  +41 ms] executing: /home/taha/Code/SDK/platform-tools/adb devices -l
[  +11 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[        ] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[  +40 ms] executing: /home/taha/Code/SDK/platform-tools/adb devices -l
[   +7 ms] Skipping pub get: version match.
[  +82 ms] Generating
/home/taha/AndroidStudioProjects/bug/android/app/src/main/java/io/flutter/plugins/GeneratedPluginRegistrant.j
ava
[  +64 ms] Initializing file store
[   +5 ms] Skipping target: gen_localizations
[   +4 ms] complete
[   +3 ms] Launching lib/main.dart on Linux in debug mode...
[   +3 ms] /home/taha/snap/flutter/common/flutter/bin/cache/dart-sdk/bin/dart --disable-dart-dev
/home/taha/snap/flutter/common/flutter/bin/cache/artifacts/engine/linux-x64/frontend_server.dart.snapshot
--sdk-root /home/taha/snap/flutter/common/flutter/bin/cache/artifacts/engine/common/flutter_patched_sdk/
--incremental --target=flutter --debugger-module-names --experimental-emit-debug-metadata
-DFLUTTER_WEB_AUTO_DETECT=true --output-dill /tmp/flutter_tools.XNERHH/flutter_tool.ZJNDZZ/app.dill
--packages /home/taha/AndroidStudioProjects/bug/.dart_tool/package_config.json -Ddart.vm.profile=false
-Ddart.vm.product=false --enable-asserts --track-widget-creation --filesystem-scheme org-dartlang-root
--initialize-from-dill build/3c113a45063dc6628e68a4111abcacad.cache.dill.track.dill
--enable-experiment=alternative-invalidation-strategy
[  +15 ms] Building Linux application...
[  +19 ms] <- compile package:bug/main.dart
[   +1 ms] executing: [build/linux/x64/debug/] cmake -G Ninja -DCMAKE_BUILD_TYPE=Debug
-DFLUTTER_TARGET_PLATFORM=linux-x64 /home/taha/AndroidStudioProjects/bug/linux
[   +7 ms] List of devices attached
[   +1 ms] List of devices attached
[  +21 ms] -- Configuring done
[   +4 ms] -- Generating done
[        ] -- Build files have been written to: /home/taha/AndroidStudioProjects/bug/build/linux/x64/debug
[   +2 ms] executing: ninja -C build/linux/x64/debug install
[   +4 ms] ninja: Entering directory `build/linux/x64/debug'
[+2741 ms] [1/5] Generating
/home/taha/AndroidStudioProjects/bug/linux/flutter/ephemeral/libflutter_linux_gtk.so,
/home/taha/AndroidStudioProjects/bug/linux/flutter/ephemeral/flutter_linux/fl_basic_message_channel.h,
/home/taha/AndroidStudioProjects/bug/linux/flutter/ephemeral/flutter_linux/fl_binary_codec.h,
/home/taha/AndroidStudioProjects/bug/linux/flutter/ephemeral/flutter_linux/fl_binary_messenger.h,
/home/taha/AndroidStudioProjects/bug/linux/flutter/ephemeral/flutter_linux/fl_dart_project.h,
/home/taha/AndroidStudioProjects/bug/linux/flutter/ephemeral/flutter_linux/fl_engine.h,
/home/taha/AndroidStudioProjects/bug/linux/flutter/ephemeral/flutter_linux/fl_json_message_codec.h,
/home/taha/AndroidStudioProjects/bug/linux/flutter/ephemeral/flutter_linux/fl_json_method_codec.h,
/home/taha/AndroidStudioProjects/bug/linux/flutter/ephemeral/flutter_linux/fl_message_codec.h,
/home/taha/AndroidStudioProjects/bug/linux/flutter/ephemeral/flutter_linux/fl_method_call.h,
/home/taha/AndroidStudioProjects/bug/linux/flutter/ephemeral/flutter_linux/fl_method_channel.h,
/home/taha/AndroidStudioProjects/bug/linux/flutter/ephemeral/flutter_linux/fl_method_codec.h,
/home/taha/AndroidStudioProjects/bug/linux/flutter/ephemeral/flutter_linux/fl_method_response.h,
/home/taha/AndroidStudioProjects/bug/linux/flutter/ephemeral/flutter_linux/fl_plugin_registrar.h,
/home/taha/AndroidStudioProjects/bug/linux/flutter/ephemeral/flutter_linux/fl_plugin_registry.h,
/home/taha/AndroidStudioProjects/bug/linux/flutter/ephemeral/flutter_linux/fl_standard_message_codec.h,
/home/taha/AndroidStudioProjects/bug/linux/flutter/ephemeral/flutter_linux/fl_standard_method_codec.h,
/home/taha/AndroidStudioProjects/bug/linux/flutter/ephemeral/flutter_linux/fl_string_codec.h,
/home/taha/AndroidStudioProjects/bug/linux/flutter/ephemeral/flutter_linux/fl_value.h,
/home/taha/AndroidStudioProjects/bug/linux/flutter/ephemeral/flutter_linux/fl_view.h,
/home/taha/AndroidStudioProjects/bug/linux/flutter/ephemeral/flutter_linux/flutter_linux.h, _phony_
[   +2 ms] [  +49 ms] executing: uname -m
[        ] [  +24 ms] Exit code 0 from: uname -m
[        ] [        ] x86_64
[        ] [  +10 ms] executing: [/home/taha/snap/flutter/common/flutter/] git -c log.showSignature=false log
-n 1 --pretty=format:%H
[        ] [   +3 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] [        ] cc9b78fc5c4a4d2d51316d9626523336230a89a9
[        ] [        ] executing: [/home/taha/snap/flutter/common/flutter/] git tag --points-at
cc9b78fc5c4a4d2d51316d9626523336230a89a9
[        ] [   +9 ms] Exit code 0 from: git tag --points-at cc9b78fc5c4a4d2d51316d9626523336230a89a9
[        ] [        ] 2.1.0-10.0.pre
[        ] [  +42 ms] executing: [/home/taha/snap/flutter/common/flutter/] git rev-parse --abbrev-ref HEAD
[        ] [   +2 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] [        ] dev
[        ] [  +38 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[        ] [   +2 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[        ] [  +37 ms] Artifact Instance of 'MaterialFonts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'GradleWrapper' is not required, skipping update.
[        ] [        ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterSdk' is not required, skipping update.
[        ] [        ] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FontSubsetArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'PubDependencies' is not required, skipping update.
[        ] [  +58 ms] Initializing file store
[        ] [   +7 ms] Done initializing file store
[        ] [  +34 ms] Skipping target: gen_localizations
[        ] [+1311 ms] Skipping target: unpack_linux
[        ] [ +310 ms] Skipping target: kernel_snapshot
[        ] [ +218 ms] Skipping target: debug_bundle_linux-x64_assets
[        ] [        ] Persisting file store
[        ] [   +5 ms] Done persisting file store
[        ] [   +3 ms] build succeeded.
[        ] [   +6 ms] "flutter assemble" took 2,010ms.
[        ] [ +164 ms] ensureAnalyticsSent: 161ms
[        ] [   +1 ms] Running shutdown hooks
[        ] [        ] Shutdown hooks complete
[        ] [        ] exiting with code 0
[ +290 ms] [2/5] Building CXX object CMakeFiles/bug.dir/flutter/generated_plugin_registrant.cc.o
[  +19 ms] [3/5] Building CXX object CMakeFiles/bug.dir/my_application.cc.o
[  +67 ms] [4/5] Linking CXX executable intermediates_do_not_run/bug
[        ] [4/5] Install the project...
[   +7 ms] -- Install configuration: "Debug"
[  +11 ms] -- Installing: /home/taha/AndroidStudioProjects/bug/build/linux/x64/debug/bundle/bug
[        ] -- Set runtime path of "/home/taha/AndroidStudioProjects/bug/build/linux/x64/debug/bundle/bug" to
"$ORIGIN/lib"
[        ] -- Installing: /home/taha/AndroidStudioProjects/bug/build/linux/x64/debug/bundle/data/icudtl.dat
[        ] -- Installing:
/home/taha/AndroidStudioProjects/bug/build/linux/x64/debug/bundle/lib/libflutter_linux_gtk.so
[  +74 ms] -- Installing:
/home/taha/AndroidStudioProjects/bug/build/linux/x64/debug/bundle/data/flutter_assets
[        ] -- Installing:
/home/taha/AndroidStudioProjects/bug/build/linux/x64/debug/bundle/data/flutter_assets/version.json
[        ] -- Installing:
/home/taha/AndroidStudioProjects/bug/build/linux/x64/debug/bundle/data/flutter_assets/kernel_blob.bin
[  +23 ms] -- Installing:
/home/taha/AndroidStudioProjects/bug/build/linux/x64/debug/bundle/data/flutter_assets/AssetManifest.json
[        ] -- Installing:
/home/taha/AndroidStudioProjects/bug/build/linux/x64/debug/bundle/data/flutter_assets/NOTICES
[        ] -- Installing:
/home/taha/AndroidStudioProjects/bug/build/linux/x64/debug/bundle/data/flutter_assets/packages
[        ] -- Installing:
/home/taha/AndroidStudioProjects/bug/build/linux/x64/debug/bundle/data/flutter_assets/packages/cupertino_icon
s
[        ] -- Installing:
/home/taha/AndroidStudioProjects/bug/build/linux/x64/debug/bundle/data/flutter_assets/packages/cupertino_icon
s/assets
[        ] -- Installing:
/home/taha/AndroidStudioProjects/bug/build/linux/x64/debug/bundle/data/flutter_assets/packages/cupertino_icon
s/assets/CupertinoIcons.ttf
[        ] -- Installing:
/home/taha/AndroidStudioProjects/bug/build/linux/x64/debug/bundle/data/flutter_assets/FontManifest.json
[        ] -- Installing:
/home/taha/AndroidStudioProjects/bug/build/linux/x64/debug/bundle/data/flutter_assets/fonts
[        ] -- Installing:
/home/taha/AndroidStudioProjects/bug/build/linux/x64/debug/bundle/data/flutter_assets/fonts/MaterialIcons-Reg
ular.otf
[   +8 ms] Building Linux application... (completed in 3.3s)
[ +188 ms] Observatory URL on device: http://127.0.0.1:41457/m6uEOqFxVUA=/
[+2208 ms] Caching compiled dill
[  +22 ms] Connecting to service protocol: http://127.0.0.1:41457/m6uEOqFxVUA=/
[  +90 ms] Launching a Dart Developer Service (DDS) instance at http://127.0.0.1:0, connecting to VM service
at http://127.0.0.1:41457/m6uEOqFxVUA=/.
[  +44 ms] DDS is listening at http://127.0.0.1:36095/9DkhXXYHXBk=/.
[  +36 ms] Successfully connected to service protocol: http://127.0.0.1:41457/m6uEOqFxVUA=/
[  +11 ms] DevFS: Creating new filesystem on the device (null)
[   +9 ms] DevFS: Created new filesystem on the device (file:///tmp/bugTAQZFH/bug/)
[   +1 ms] Updating assets
[  +51 ms] Syncing files to device Linux...
[   +1 ms] <- reset
[        ] Compiling dart to kernel with 0 updated files
[   +1 ms] <- recompile package:bug/main.dart 0c30abd5-7e6e-4e9f-9eca-3f8f612ab6bb
[        ] <- 0c30abd5-7e6e-4e9f-9eca-3f8f612ab6bb
[  +66 ms] Updating files.
[        ] DevFS: Sync finished
[        ] Syncing files to device Linux... (completed in 70ms)
[        ] Synced 0.0MB.
[        ] <- accept
[   +3 ms] Connected to _flutterView/0x1ab6fe0.
[   +1 ms] Flutter run key commands.
[   +1 ms] r Hot reload. 🔥🔥🔥
[        ] R Hot restart.
[        ] h Repeat this help message.
[        ] d Detach (terminate "flutter run" but leave application running).
[        ] c Clear the screen
[        ] q Quit (terminate the application on the device).
[        ] Running with unsound null safety
[        ] For more information see https://dart.dev/null-safety/unsound-null-safety
[        ] An Observatory debugger and profiler on Linux is available at:
http://127.0.0.1:36095/9DkhXXYHXBk=/
[ +708 ms] The Flutter DevTools debugger and profiler on Linux is available at:
                    http://127.0.0.1:9102?uri=http%3A%2F%2F127.0.0.1%3A36095%2F9DkhXXYHXBk%3D%2F
taha@pop-os:~/AndroidStudioProjects/bug$ neofetch
             /////////////                taha@pop-os 
         /////////////////////            ----------- 
      ///////*767////////////////         OS: Pop!_OS 20.10 x86_64 
    //////7676767676*//////////////       Host: 81SX Lenovo Legion Y540-15IRH 
   /////76767//7676767//////////////      Kernel: 5.8.0-7642-generic 
  /////767676///*76767///////////////     Uptime: 28 mins 
 ///////767676///76767.///7676*///////    Packages: 1982 (dpkg), 5 (snap) 
/////////767676//76767///767676////////   Shell: bash 5.0.17 
//////////76767676767////76767/////////   Resolution: 3072x1728 
///////////76767676//////7676//////////   DE: GNOME 3.38.2 
////////////,7676,///////767///////////   WM: Mutter 
/////////////*7676///////76////////////   WM Theme: Pop 
///////////////7676////////////////////   Theme: Pop-dark [GTK2/3] 
 ///////////////7676///767////////////    Icons: Pop [GTK2/3] 
  //////////////////////'////////////     Terminal: gnome-terminal 
   //////.7676767676767676767,//////      CPU: Intel i7-9750H (12) @ 4.500GHz 
    /////767676767676767676767/////       GPU: NVIDIA GeForce RTX 2060 Mobile 
      ///////////////////////////         Memory: 3452MiB / 15927MiB 
         /////////////////////
             /////////////                                        
                                                                  


taha@pop-os:~/AndroidStudioProjects/bug$
flutter doctor -v
[✓] Flutter (Channel beta, 2.0.1, on macOS 11.2.2 20D80 darwin-x64, locale
    en-GB)
    • Flutter version 2.0.1 at /Users/tahatesser/Code/flutter_beta
    • Framework revision c5a4b4029c (15 hours ago), 2021-03-04 09:47:48 -0800
    • Engine revision 40441def69
    • Dart version 2.12.0

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /Volumes/Extreme/SDK
    • Platform android-30, build-tools 30.0.3
    • ANDROID_HOME = /Volumes/Extreme/SDK
    • Java binary at: /Applications/Android
      Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS
    • Xcode at /Volumes/Extreme/Xcode.app/Contents/Developer
    • Xcode 12.4, Build version 12D4e
    • CocoaPods version 1.10.1

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6915495)

[✓] VS Code (version 1.54.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.20.0

[✓] Connected device (3 available)
    • SM M025F (mobile) • R9ZR205XX0A • android-arm    • Android 10 (API 29)
    • macOS (desktop)   • macos       • darwin-x64     • macOS 11.2.2 20D80
      darwin-x64
    • Chrome (web)      • chrome      • web-javascript • Google Chrome
      88.0.4324.192

• No issues found!

Can you please detail of your Linux distro and neofetch output?
Thank you

@TahaTesser TahaTesser added the waiting for customer response The Flutter team cannot make further progress on this issue until the original reporter responds label Mar 5, 2021
@andersmmg
Copy link
Author

This is on Manjaro Linux.

neofetch
$ neofetch 
██████████████████  ████████   andersmmg@boi-laptop 
██████████████████  ████████   -------------------- 
██████████████████  ████████   OS: Manjaro Linux x86_64 
██████████████████  ████████   Host: HP Notebook 
████████            ████████   Kernel: 5.9.16-1-MANJARO 
████████  ████████  ████████   Uptime: 2 days, 20 hours, 50 mins 
████████  ████████  ████████   Packages: 1900 (pacman), 7 (flatpak), 23 (snap) 
████████  ████████  ████████   Shell: zsh 5.8 
████████  ████████  ████████   Resolution: 1366x768 
████████  ████████  ████████   DE: Plasma 5.21.1 
████████  ████████  ████████   WM: KWin 
████████  ████████  ████████   Theme: Breeze Dark [Plasma], Breeze-Splendent [GTK2/3] 
████████  ████████  ████████   Icons: Tela-dark [Plasma], Tela-dark [GTK2/3] 
████████  ████████  ████████   Terminal: yakuake 
                               CPU: AMD A10-9600P RADEON R5 4C+6G (4) @ 2.400GHz 
                               GPU: AMD ATI Radeon R5/R6/R7 Graphics 
                               Memory: 6617MiB / 15540MiB 

                                                       

@no-response no-response bot removed the waiting for customer response The Flutter team cannot make further progress on this issue until the original reporter responds label Mar 5, 2021
@TahaTesser
Copy link
Member

Hi @andersmmg
Can you please remove flutter snap and try Install Flutter manually

sudo snap remove --purge flutter
rm -rf ~/snap/flutter

Thank you

@TahaTesser TahaTesser added the waiting for customer response The Flutter team cannot make further progress on this issue until the original reporter responds label Mar 5, 2021
@andersmmg
Copy link
Author

It did work on a manual install! I only used the snap because the docs recommended it, if this is a known issue with the snap install maybe it should be said somewhere

@no-response no-response bot removed the waiting for customer response The Flutter team cannot make further progress on this issue until the original reporter responds label Mar 5, 2021
uintdev added a commit to uintdev/qrserv that referenced this issue Mar 6, 2021
For the technically inclined:
As of the initial Flutter 2 release, all builds for this would fail. The [kernel_snapshot] would experience an exception with some references to [flutter_tools]. While investigating, the only most recent change I saw was to do with a clean up but it does not look like a breaking sort of change in this case. So it must be something else.
Similar issues:
- flutter/flutter#77293
- flutter/flutter#77317
@TahaTesser
Copy link
Member

Hi @andersmmg
For issues related to Flutter snap, please file an issue on their dedicated GitHub repository.
Given your last message I feel safe to close this issue, if you disagree please write in the comments and I will reopen it.
Thank you

@github-actions
Copy link

github-actions bot commented Aug 4, 2021

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 -v and a minimal reproduction of the issue.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 4, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
r: invalid Issue is closed as not valid
Projects
None yet
2 participants