leanflutter / tray_manager

This plugin allows Flutter desktop apps to defines system tray.
https://pub.dev/packages/tray_manager
MIT License
238 stars 40 forks source link

[linux] [error] clang: error: linker command failed with exit code 1 #19

Closed tatosjb closed 2 years ago

tatosjb commented 2 years ago

I get this error just trying to build the project after add the lib.

personal_wallet flutter build linux -v

personal_wallet flutter build linux -v
[ +100 ms] executing: uname -m
[  +31 ms] Exit code 0 from: uname -m
[        ] x86_64
[   +4 ms] executing: [/home/tato/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
[        ] fb57da5f945d02ef4f98dfd9409a72b7cce74268
[        ] executing: [/home/tato/snap/flutter/common/flutter/] git tag --points-at fb57da5f945d02ef4f98dfd9409a72b7cce74268
[  +16 ms] Exit code 0 from: git tag --points-at fb57da5f945d02ef4f98dfd9409a72b7cce74268
[        ] 3.0.1
[  +12 ms] executing: [/home/tato/snap/flutter/common/flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[   +7 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] origin/stable
[        ] executing: [/home/tato/snap/flutter/common/flutter/] git ls-remote --get-url origin
[   +6 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] https://github.com/flutter/flutter.git
[  +87 ms] executing: [/home/tato/snap/flutter/common/flutter/] git rev-parse --abbrev-ref HEAD
[   +3 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] stable
[  +28 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 'WindowsUwpEngineArtifacts' 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.
[  +29 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 'WindowsUwpEngineArtifacts' 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.
[        ] 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.
[  +26 ms] Skipping pub get: version match.
[  +12 ms] Found plugin tray_manager at /home/tato/snap/flutter/common/flutter/.pub-cache/git/tray_manager-d7595175095e18213615c3237ced829979fa0b4d/
[  +26 ms] Found plugin tray_manager at /home/tato/snap/flutter/common/flutter/.pub-cache/git/tray_manager-d7595175095e18213615c3237ced829979fa0b4d/
[  +38 ms] Generating /home/tato/projects/personal_wallet/android/app/src/main/java/io/flutter/plugins/GeneratedPluginRegistrant.java
[  +36 ms] 💪 Building with sound null safety 💪
[   +4 ms] Building Linux application...
[   +9 ms] executing: [build/linux/x64/release/] cmake -G Ninja -DCMAKE_BUILD_TYPE=Release -DFLUTTER_TARGET_PLATFORM=linux-x64 /home/tato/projects/personal_wallet/linux
[  +22 ms] -- Configuring done
[   +3 ms] -- Generating done
[        ] -- Build files have been written to: /home/tato/projects/personal_wallet/build/linux/x64/release
[   +4 ms] executing: ninja -C build/linux/x64/release install
[   +4 ms] ninja: Entering directory `build/linux/x64/release'
[+1366 ms] [1/7] Generating /home/tato/projects/personal_wallet/linux/flutter/ephemeral/libflutter_linux_gtk.so,
/home/tato/projects/personal_wallet/linux/flutter/ephemeral/flutter_linux/fl_basic_message_channel.h, /home/tato/projects/personal_wallet/linux/flutter/ephemeral/flutter_linux/fl_binary_codec.h,
/home/tato/projects/personal_wallet/linux/flutter/ephemeral/flutter_linux/fl_binary_messenger.h, /home/tato/projects/personal_wallet/linux/flutter/ephemeral/flutter_linux/fl_dart_project.h,
/home/tato/projects/personal_wallet/linux/flutter/ephemeral/flutter_linux/fl_engine.h, /home/tato/projects/personal_wallet/linux/flutter/ephemeral/flutter_linux/fl_json_message_codec.h,
/home/tato/projects/personal_wallet/linux/flutter/ephemeral/flutter_linux/fl_json_method_codec.h, /home/tato/projects/personal_wallet/linux/flutter/ephemeral/flutter_linux/fl_message_codec.h,
/home/tato/projects/personal_wallet/linux/flutter/ephemeral/flutter_linux/fl_method_call.h, /home/tato/projects/personal_wallet/linux/flutter/ephemeral/flutter_linux/fl_method_channel.h,
/home/tato/projects/personal_wallet/linux/flutter/ephemeral/flutter_linux/fl_method_codec.h, /home/tato/projects/personal_wallet/linux/flutter/ephemeral/flutter_linux/fl_method_response.h,
/home/tato/projects/personal_wallet/linux/flutter/ephemeral/flutter_linux/fl_plugin_registrar.h, /home/tato/projects/personal_wallet/linux/flutter/ephemeral/flutter_linux/fl_plugin_registry.h,
/home/tato/projects/personal_wallet/linux/flutter/ephemeral/flutter_linux/fl_standard_message_codec.h,
/home/tato/projects/personal_wallet/linux/flutter/ephemeral/flutter_linux/fl_standard_method_codec.h, /home/tato/projects/personal_wallet/linux/flutter/ephemeral/flutter_linux/fl_string_codec.h,
/home/tato/projects/personal_wallet/linux/flutter/ephemeral/flutter_linux/fl_value.h, /home/tato/projects/personal_wallet/linux/flutter/ephemeral/flutter_linux/fl_view.h,
/home/tato/projects/personal_wallet/linux/flutter/ephemeral/flutter_linux/flutter_linux.h, _phony_
[   +4 ms] [  +97 ms] executing: uname -m
[        ] [  +35 ms] Exit code 0 from: uname -m
[        ] [        ] x86_64
[        ] [   +5 ms] executing: [/home/tato/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
[        ] [        ] fb57da5f945d02ef4f98dfd9409a72b7cce74268
[        ] [        ] executing: [/home/tato/snap/flutter/common/flutter/] git tag --points-at fb57da5f945d02ef4f98dfd9409a72b7cce74268
[        ] [  +14 ms] Exit code 0 from: git tag --points-at fb57da5f945d02ef4f98dfd9409a72b7cce74268
[        ] [        ] 3.0.1
[        ] [   +6 ms] executing: [/home/tato/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/stable
[        ] [        ] executing: [/home/tato/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
[        ] [  +29 ms] executing: [/home/tato/snap/flutter/common/flutter/] git rev-parse --abbrev-ref HEAD
[        ] [   +2 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] [        ] stable
[        ] [  +25 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 'WindowsUwpEngineArtifacts' 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.
[        ] [  +46 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 'WindowsUwpEngineArtifacts' 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.
[        ] [        ] 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.
[        ] [  +18 ms] Initializing file store
[        ] [   +3 ms] Done initializing file store
[        ] [  +23 ms] Skipping target: gen_localizations
[        ] [   +5 ms] Skipping target: gen_dart_plugin_registrant
[        ] [ +134 ms] Skipping target: unpack_linux
[        ] [ +196 ms] Skipping target: kernel_snapshot
[        ] [  +13 ms] Skipping target: aot_elf_release
[        ] [  +13 ms] Skipping target: linux_aot_bundle
[        ] [  +24 ms] Skipping target: release_bundle_linux-x64_assets
[        ] [        ] Persisting file store
[        ] [   +4 ms] Done persisting file store
[        ] [   +2 ms] build succeeded.
[        ] [   +4 ms] "flutter assemble" took 505ms.
[        ] [ +223 ms] ensureAnalyticsSent: 221ms
[        ] [        ] Running shutdown hooks
[        ] [        ] Shutdown hooks complete
[        ] [        ] exiting with code 0
[ +197 ms] [2/5] Building CXX object CMakeFiles/personal_wallet.dir/flutter/generated_plugin_registrant.cc.o
[  +24 ms] [3/5] Building CXX object CMakeFiles/personal_wallet.dir/my_application.cc.o
[ +118 ms] [4/5] Linking CXX executable intermediates_do_not_run/personal_wallet
[        ] FAILED: intermediates_do_not_run/personal_wallet 
[   +3 ms] : && /snap/flutter/current/usr/bin/clang++  -O3 -DNDEBUG  -B/snap/flutter/current/usr/lib/gcc/x86_64-linux-gnu/8 -B/snap/flutter/current/usr/lib/x86_64-linux-gnu
-B/snap/flutter/current/lib/x86_64-linux-gnu -B/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/lib/x86_64-linux-gnu -L/snap/flutter/current/usr/lib/ -lblkid -lgcrypt -llzma -llz4 -lgpg-error -luuid -lpthread -ldl -B/snap/flutter/current/usr/lib/gcc/x86_64-linux-gnu/8
-B/snap/flutter/current/usr/lib/x86_64-linux-gnu -B/snap/flutter/current/lib/x86_64-linux-gnu -B/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/lib/x86_64-linux-gnu -L/snap/flutter/current/usr/lib/ -lblkid -lgcrypt -llzma -llz4 -lgpg-error -luuid -lpthread -ldl
CMakeFiles/personal_wallet.dir/main.cc.o CMakeFiles/personal_wallet.dir/my_application.cc.o CMakeFiles/personal_wallet.dir/flutter/generated_plugin_registrant.cc.o  -o
intermediates_do_not_run/personal_wallet  -Wl,-rpath,/home/tato/projects/personal_wallet/build/linux/x64/release/plugins/tray_manager:/home/tato/projects/personal_wallet/linux/flutter/ephemeral:
plugins/tray_manager/libtray_manager_plugin.so /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/tato/projects/personal_wallet/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 && :
[   +1 ms] //lib/x86_64-linux-gnu/libayatana-ido3-0.4.so.0: undefined reference to `g_time_zone_new_identifier'
[        ] clang: error: linker command failed with exit code 1 (use -v to see invocation)
[   +1 ms] ninja: build stopped: subcommand failed.
[  +18 ms] Building Linux application... (completed in 1.768ms)
[        ] "flutter linux" took 1.976ms.
[   +7 ms] Build process failed
[        ] 
           #0      throwToolExit (package:flutter_tools/src/base/common.dart:10:3)
           #1      _runBuild (package:flutter_tools/src/linux/build_linux.dart:186:5)
           <asynchronous suspension>
           #2      buildLinux (package:flutter_tools/src/linux/build_linux.dart:78:5)
           <asynchronous suspension>
           #3      BuildLinuxCommand.runCommand (package:flutter_tools/src/commands/build_linux.dart:85:5)
           <asynchronous suspension>
           #4      FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1183:27)
           <asynchronous suspension>
           #5      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
           <asynchronous suspension>
           #6      CommandRunner.runCommand (package:args/command_runner.dart:209:13)
           <asynchronous suspension>
           #7      FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:281:9)
           <asynchronous suspension>
           #8      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
           <asynchronous suspension>
           #9      FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:229:5)
           <asynchronous suspension>
           #10     run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:62:9)
           <asynchronous suspension>
           #11     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
           <asynchronous suspension>
           #12     main (package:flutter_tools/executable.dart:94:3)
           <asynchronous suspension>

[  +82 ms] ensureAnalyticsSent: 78ms
[   +2 ms] Running shutdown hooks
[        ] Shutdown hooks complete
[        ] exiting with code 1
lijy91 commented 2 years ago

@jpnurmi Do you know what is the reason for this?

jpnurmi commented 2 years ago

@tatosjb Could you paste the output of the following commands so we can see the versions involved?

lsb_release -a
snap info flutter
flutter clean && flutter build linux -v
tatosjb commented 2 years ago

Runned it on the example project d7595175095e18213615c3237ced829979fa0b4d

lsb_release -a && snap info flutter && flutter clean && flutter build linux -v ```bash lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 22.04 LTS Release: 22.04 Codename: jammy ➜ example git:(main) ✗ snap info flutter name: flutter summary: Flutter SDK publisher: Flutter Team✓ store-url: https://snapcraft.io/flutter contact: https://github.com/flutter/flutter/issues license: unset description: | Flutter is Google’s UI toolkit for building beautiful, natively compiled applications for mobile, web, and desktop from a single codebase. commands: - flutter.dart - flutter - flutter.openurl snap-id: YO0Adf4fqgxL7i3SaCn00oxEfd5CNQ63 tracking: latest/stable refresh-date: 3 dias atrás, às 23:03 -03 channels: latest/stable: 0+git.1586a01 2022-05-24 (126) 204MB classic latest/candidate: ↑ latest/beta: ↑ latest/edge: 0+git.1586a01 2022-05-21 (126) 204MB classic installed: 0+git.1586a01 (126) 204MB classic ➜ example git:(main) ✗ flutter clean && flutter build linux -v Deleting build... 6ms Deleting .dart_tool... 0ms Deleting .packages... 0ms Deleting ephemeral... 0ms Deleting ephemeral... 0ms Deleting ephemeral... 0ms Deleting .flutter-plugins-dependencies... 0ms Deleting .flutter-plugins... 0ms [ +74 ms] executing: uname -m [ +26 ms] Exit code 0 from: uname -m [ ] x86_64 [ +5 ms] executing: [/home/tato/snap/flutter/common/flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H [ +4 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H [ ] fb57da5f945d02ef4f98dfd9409a72b7cce74268 [ ] executing: [/home/tato/snap/flutter/common/flutter/] git tag --points-at fb57da5f945d02ef4f98dfd9409a72b7cce74268 [ +18 ms] Exit code 0 from: git tag --points-at fb57da5f945d02ef4f98dfd9409a72b7cce74268 [ ] 3.0.1 [ +12 ms] executing: [/home/tato/snap/flutter/common/flutter/] git rev-parse --abbrev-ref --symbolic @{u} [ +6 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u} [ ] origin/stable [ ] executing: [/home/tato/snap/flutter/common/flutter/] git ls-remote --get-url origin [ +5 ms] Exit code 0 from: git ls-remote --get-url origin [ ] https://github.com/flutter/flutter.git [ +116 ms] executing: [/home/tato/snap/flutter/common/flutter/] git rev-parse --abbrev-ref HEAD [ +4 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD [ ] stable [ +27 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 'WindowsUwpEngineArtifacts' 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. [ +27 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 'WindowsUwpEngineArtifacts' is not required, skipping update. [ ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update. [ +1 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. [ ] 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. [ +24 ms] Running "flutter pub get" in example... [ +1 ms] Using /home/tato/snap/flutter/common/flutter/.pub-cache for the pub cache. [ ] executing: [/home/tato/projects/tray_manager/example/] /home/tato/snap/flutter/common/flutter/bin/cache/dart-sdk/bin/dart __deprecated_pub --verbose get --no-precompile [ +83 ms] FINE: Pub 2.17.1 [ +80 ms] MSG : Resolving dependencies... [ +44 ms] SLVR: fact: tray_manager_example is 0.0.0 [ +3 ms] SLVR: derived: tray_manager_example [ +14 ms] SLVR: fact: tray_manager_example depends on flutter from sdk [ ] SLVR: fact: tray_manager_example depends on tray_manager from path [ ] SLVR: fact: tray_manager_example depends on cupertino_icons ^1.0.2 [ ] SLVR: fact: tray_manager_example depends on bot_toast ^4.0.1 [ ] SLVR: fact: tray_manager_example depends on preference_list ^0.0.1 [ ] SLVR: fact: tray_manager_example depends on flutter_test from sdk [ ] SLVR: selecting tray_manager_example [ ] SLVR: derived: flutter_test from sdk [ ] SLVR: derived: preference_list ^0.0.1 [ ] SLVR: derived: bot_toast ^4.0.1 [ ] SLVR: derived: cupertino_icons ^1.0.2 [ ] SLVR: derived: tray_manager from path [ ] SLVR: derived: flutter from sdk [ +13 ms] SLVR: fact: flutter_test 0.0.0 from sdk depends on flutter from sdk [ ] SLVR: fact: flutter_test 0.0.0 from sdk depends on test_api 0.4.9 [ ] SLVR: fact: flutter_test 0.0.0 from sdk depends on path 1.8.1 [ ] SLVR: fact: flutter_test 0.0.0 from sdk depends on fake_async 1.3.0 [ ] SLVR: fact: flutter_test 0.0.0 from sdk depends on clock 1.1.0 [ ] SLVR: fact: flutter_test 0.0.0 from sdk depends on stack_trace 1.10.0 [ ] SLVR: fact: flutter_test 0.0.0 from sdk depends on vector_math 2.1.2 [ ] SLVR: fact: flutter_test 0.0.0 from sdk depends on async 2.8.2 [ ] SLVR: fact: flutter_test 0.0.0 from sdk depends on boolean_selector 2.1.0 [ ] SLVR: fact: flutter_test 0.0.0 from sdk depends on characters 1.2.0 [ ] SLVR: fact: flutter_test 0.0.0 from sdk depends on charcode 1.3.1 [ ] SLVR: fact: flutter_test 0.0.0 from sdk depends on collection 1.16.0 [ ] SLVR: fact: flutter_test 0.0.0 from sdk depends on matcher 0.12.11 [ ] SLVR: fact: flutter_test 0.0.0 from sdk depends on material_color_utilities 0.1.4 [ ] SLVR: fact: flutter_test 0.0.0 from sdk depends on meta 1.7.0 [ ] SLVR: fact: flutter_test 0.0.0 from sdk depends on source_span 1.8.2 [ ] SLVR: fact: flutter_test 0.0.0 from sdk depends on stream_channel 2.1.0 [ ] SLVR: fact: flutter_test 0.0.0 from sdk depends on string_scanner 1.1.0 [ ] SLVR: fact: flutter_test 0.0.0 from sdk depends on term_glyph 1.2.0 [ ] SLVR: selecting flutter_test 0.0.0 from sdk [ ] SLVR: derived: term_glyph 1.2.0 [ ] SLVR: derived: string_scanner 1.1.0 [ ] SLVR: derived: stream_channel 2.1.0 [ ] SLVR: derived: source_span 1.8.2 [ ] SLVR: derived: meta 1.7.0 [ ] SLVR: derived: material_color_utilities 0.1.4 [ ] SLVR: derived: matcher 0.12.11 [ ] SLVR: derived: collection 1.16.0 [ ] SLVR: derived: charcode 1.3.1 [ ] SLVR: derived: characters 1.2.0 [ ] SLVR: derived: boolean_selector 2.1.0 [ ] SLVR: derived: async 2.8.2 [ ] SLVR: derived: vector_math 2.1.2 [ ] SLVR: derived: stack_trace 1.10.0 [ ] SLVR: derived: clock 1.1.0 [ ] SLVR: derived: fake_async 1.3.0 [ ] SLVR: derived: path 1.8.1 [ ] SLVR: derived: test_api 0.4.9 [ +4 ms] SLVR: fact: preference_list 0.0.1 depends on flutter from sdk [ ] SLVR: selecting preference_list 0.0.1 [ +2 ms] SLVR: fact: bot_toast 4.0.1 depends on flutter from sdk [ ] SLVR: selecting bot_toast 4.0.1 [ +2 ms] SLVR: selecting cupertino_icons 1.0.3 [ +3 ms] SLVR: fact: tray_manager 0.1.7 from path depends on flutter from sdk [ ] SLVR: fact: tray_manager 0.1.7 from path depends on menu_base ^0.1.0 [ ] SLVR: fact: tray_manager 0.1.7 from path depends on path ^1.8.0 [ ] SLVR: fact: tray_manager 0.1.7 from path depends on shortid ^0.1.2 [ ] SLVR: selecting tray_manager 0.1.7 from path [ ] SLVR: derived: shortid ^0.1.2 [ ] SLVR: derived: menu_base ^0.1.0 [ +4 ms] SLVR: fact: flutter 0.0.0 from sdk depends on characters 1.2.0 [ ] SLVR: fact: flutter 0.0.0 from sdk depends on collection 1.16.0 [ ] SLVR: fact: flutter 0.0.0 from sdk depends on material_color_utilities 0.1.4 [ ] SLVR: fact: flutter 0.0.0 from sdk depends on meta 1.7.0 [ ] SLVR: fact: flutter 0.0.0 from sdk depends on vector_math 2.1.2 [ ] SLVR: fact: flutter 0.0.0 from sdk depends on sky_engine from sdk [ ] SLVR: selecting flutter 0.0.0 from sdk [ ] SLVR: derived: sky_engine from sdk [ +1 ms] SLVR: selecting term_glyph 1.2.0 [ +1 ms] SLVR: fact: string_scanner 1.1.0 depends on charcode ^1.2.0 [ ] SLVR: fact: string_scanner 1.1.0 depends on source_span ^1.8.0 [ ] SLVR: selecting string_scanner 1.1.0 [ +2 ms] SLVR: fact: stream_channel 2.1.0 depends on async ^2.5.0 [ ] SLVR: selecting stream_channel 2.1.0 [ +1 ms] SLVR: fact: source_span 1.8.2 depends on collection ^1.15.0 [ ] SLVR: fact: source_span 1.8.2 depends on path ^1.8.0 [ ] SLVR: fact: source_span 1.8.2 depends on term_glyph ^1.2.0 [ ] SLVR: selecting source_span 1.8.2 [ +1 ms] SLVR: selecting meta 1.7.0 [ +1 ms] SLVR: selecting material_color_utilities 0.1.4 [ +1 ms] SLVR: fact: matcher 0.12.11 depends on stack_trace ^1.10.0 [ ] SLVR: selecting matcher 0.12.11 [ +1 ms] SLVR: selecting collection 1.16.0 [ +1 ms] SLVR: selecting charcode 1.3.1 [ +1 ms] SLVR: selecting characters 1.2.0 [ +1 ms] SLVR: fact: boolean_selector 2.1.0 depends on source_span ^1.8.0 [ ] SLVR: fact: boolean_selector 2.1.0 depends on string_scanner ^1.1.0 [ ] SLVR: selecting boolean_selector 2.1.0 [ +1 ms] SLVR: fact: async 2.8.2 depends on collection ^1.15.0 [ ] SLVR: fact: async 2.8.2 depends on meta ^1.1.7 [ ] SLVR: selecting async 2.8.2 [ +1 ms] SLVR: selecting vector_math 2.1.2 [ +1 ms] SLVR: fact: stack_trace 1.10.0 depends on path ^1.8.0 [ ] SLVR: selecting stack_trace 1.10.0 [ ] SLVR: selecting clock 1.1.0 [ +1 ms] SLVR: fact: fake_async 1.3.0 depends on clock ^1.1.0 [ ] SLVR: fact: fake_async 1.3.0 depends on collection ^1.15.0 [ ] SLVR: selecting fake_async 1.3.0 [ ] SLVR: selecting path 1.8.1 [ +2 ms] SLVR: fact: test_api 0.4.9 depends on async ^2.5.0 [ ] SLVR: fact: test_api 0.4.9 depends on boolean_selector ^2.1.0 [ ] SLVR: fact: test_api 0.4.9 depends on collection ^1.15.0 [ ] SLVR: fact: test_api 0.4.9 depends on meta ^1.3.0 [ ] SLVR: fact: test_api 0.4.9 depends on source_span ^1.8.0 [ ] SLVR: fact: test_api 0.4.9 depends on stack_trace ^1.10.0 [ ] SLVR: fact: test_api 0.4.9 depends on stream_channel ^2.1.0 [ ] SLVR: fact: test_api 0.4.9 depends on string_scanner ^1.1.0 [ ] SLVR: fact: test_api 0.4.9 depends on term_glyph ^1.2.0 [ ] SLVR: fact: test_api 0.4.9 depends on matcher >=0.12.11 <0.12.12 [ ] SLVR: selecting test_api 0.4.9 [ +1 ms] SLVR: selecting shortid 0.1.2 [ +1 ms] SLVR: fact: menu_base 0.1.0 depends on flutter from sdk [ ] SLVR: selecting menu_base 0.1.0 [ +1 ms] SLVR: selecting sky_engine 0.0.99 from sdk [ +84 ms] SLVR: Version solving took 0:00:00.174537 seconds. [ ] | Tried 1 solutions. [ ] FINE: Resolving dependencies finished (0.221s). [ +6 ms] MSG : async 2.8.2 (2.9.0 available) [ ] | bot_toast 4.0.1 (4.0.2 available) [ ] | characters 1.2.0 (1.2.1 available) [ ] | cupertino_icons 1.0.3 (1.0.4 available) [ ] | material_color_utilities 0.1.4 (0.1.5 available) [ ] | meta 1.7.0 (1.8.0 available) [ ] | path 1.8.1 (1.8.2 available) [ ] | source_span 1.8.2 (1.9.0 available) [ ] | string_scanner 1.1.0 (1.1.1 available) [ +20 ms] IO : Writing 4273 characters to text file pubspec.lock. [ ] FINE: Contents: [ ] | # Generated by pub [ ] | # See https://dart.dev/tools/pub/glossary#lockfile [ ] | packages: [ ] | async: [ ] | dependency: transitive [ ] | description: [ ] | name: async [ ] | url: "https://pub.dartlang.org" [ ] | source: hosted [ ] | version: "2.8.2" [ ] | boolean_selector: [ ] | dependency: transitive [ ] | description: [ ] | name: boolean_selector [ ] | url: "https://pub.dartlang.org" [ ] | source: hosted [ ] | version: "2.1.0" [ ] | bot_toast: [ ] | dependency: "direct main" [ ] | description: [ ] | name: bot_toast [ ] | url: "https://pub.dartlang.org" [ ] | source: hosted [ ] | version: "4.0.1" [ ] | characters: [ ] | dependency: transitive [ ] | description: [ ] | name: characters [ ] | url: "https://pub.dartlang.org" [ ] | source: hosted [ ] | version: "1.2.0" [ ] | charcode: [ ] | dependency: transitive [ ] | description: [ ] | name: charcode [ ] | url: "https://pub.dartlang.org" [ ] | source: hosted [ ] | version: "1.3.1" [ ] | clock: [ ] | dependency: transitive [ ] | description: [ ] | name: clock [ ] | url: "https://pub.dartlang.org" [ ] | source: hosted [ ] | version: "1.1.0" [ ] | collection: [ ] | dependency: transitive [ ] | description: [ ] | name: collection [ ] | url: "https://pub.dartlang.org" [ ] | source: hosted [ ] | version: "1.16.0" [ ] | cupertino_icons: [ ] | dependency: "direct main" [ ] | description: [ ] | name: cupertino_icons [ ] | url: "https://pub.dartlang.org" [ ] | source: hosted [ ] | version: "1.0.3" [ ] | fake_async: [ ] | dependency: transitive [ ] | description: [ ] | name: fake_async [ ] | url: "https://pub.dartlang.org" [ ] | source: hosted [ ] | version: "1.3.0" [ ] | flutter: [ ] | dependency: "direct main" [ ] | description: flutter [ ] | source: sdk [ ] | version: "0.0.0" [ ] | flutter_test: [ ] | dependency: "direct dev" [ ] | description: flutter [ ] | source: sdk [ ] | version: "0.0.0" [ ] | matcher: [ ] | dependency: transitive [ ] | description: [ ] | name: matcher [ ] | url: "https://pub.dartlang.org" [ ] | source: hosted [ ] | version: "0.12.11" [ ] | material_color_utilities: [ ] | dependency: transitive [ ] | description: [ ] | name: material_color_utilities [ ] | url: "https://pub.dartlang.org" [ ] | source: hosted [ ] | version: "0.1.4" [ ] | menu_base: [ ] | dependency: transitive [ ] | description: [ ] | name: menu_base [ ] | url: "https://pub.dartlang.org" [ ] | source: hosted [ ] | version: "0.1.0" [ ] | meta: [ ] | dependency: transitive [ ] | description: [ ] | name: meta [ ] | url: "https://pub.dartlang.org" [ ] | source: hosted [ ] | version: "1.7.0" [ ] | path: [ ] | dependency: transitive [ ] | description: [ ] | name: path [ ] | url: "https://pub.dartlang.org" [ ] | source: hosted [ ] | version: "1.8.1" [ ] | preference_list: [ ] | dependency: "direct main" [ ] | description: [ ] | name: preference_list [ ] | url: "https://pub.dartlang.org" [ ] | source: hosted [ ] | version: "0.0.1" [ ] | shortid: [ ] | dependency: transitive [ ] | description: [ ] | name: shortid [ ] | url: "https://pub.dartlang.org" [ ] | source: hosted [ ] | version: "0.1.2" [ ] | sky_engine: [ ] | dependency: transitive [ ] | description: flutter [ ] | source: sdk [ ] | version: "0.0.99" [ ] | source_span: [ ] | dependency: transitive [ ] | description: [ ] | name: source_span [ ] | url: "https://pub.dartlang.org" [ ] | source: hosted [ ] | version: "1.8.2" [ ] | stack_trace: [ ] | dependency: transitive [ ] | description: [ ] | name: stack_trace [ ] | url: "https://pub.dartlang.org" [ ] | source: hosted [ ] | version: "1.10.0" [ ] | stream_channel: [ ] | dependency: transitive [ ] | description: [ ] | name: stream_channel [ ] | url: "https://pub.dartlang.org" [ ] | source: hosted [ ] | version: "2.1.0" [ ] | string_scanner: [ ] | dependency: transitive [ ] | description: [ ] | name: string_scanner [ ] | url: "https://pub.dartlang.org" [ ] | source: hosted [ ] | version: "1.1.0" [ ] | term_glyph: [ ] | dependency: transitive [ ] | description: [ ] | name: term_glyph [ ] | url: "https://pub.dartlang.org" [ ] | source: hosted [ ] | version: "1.2.0" [ ] | test_api: [ ] | dependency: transitive [ ] | description: [ ] | name: test_api [ ] | url: "https://pub.dartlang.org" [ ] | source: hosted [ ] | version: "0.4.9" [ ] | tray_manager: [ ] | dependency: "direct main" [ ] | description: [ ] | path: ".." [ ] | relative: true [ ] | source: path [ ] | version: "0.1.7" [ ] | vector_math: [ ] | dependency: transitive [ ] | description: [ ] | name: vector_math [ ] | url: "https://pub.dartlang.org" [ ] | source: hosted [ ] | version: "2.1.2" [ ] | sdks: [ ] | dart: ">=2.17.0-0 <3.0.0" [ ] | flutter: ">=1.20.0" [ ] IO : Writing 3151 characters to text file .packages. [ ] FINE: Contents: [ ] | # This file is deprecated. Tools should instead consume [ ] | # `.dart_tool/package_config.json`. [ ] | # [ ] | # For more info see: https://dart.dev/go/dot-packages-deprecation [ ] | # [ ] | # Generated by pub on 2022-05-26 10:26:06.986095. [ ] | async:file:///home/tato/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/async-2.8.2/lib/ [ ] | boolean_selector:file:///home/tato/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/boolean_selector-2.1.0/lib/ [ ] | bot_toast:file:///home/tato/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/bot_toast-4.0.1/lib/ [ ] | characters:file:///home/tato/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/characters-1.2.0/lib/ [ ] | charcode:file:///home/tato/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/charcode-1.3.1/lib/ [ ] | clock:file:///home/tato/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/clock-1.1.0/lib/ [ ] | collection:file:///home/tato/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/collection-1.16.0/lib/ [ ] | cupertino_icons:file:///home/tato/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/cupertino_icons-1.0.3/lib/ [ ] | fake_async:file:///home/tato/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/fake_async-1.3.0/lib/ [ ] | flutter:file:///home/tato/snap/flutter/common/flutter/packages/flutter/lib/ [ ] | flutter_test:file:///home/tato/snap/flutter/common/flutter/packages/flutter_test/lib/ [ ] | matcher:file:///home/tato/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/matcher-0.12.11/lib/ [ ] | material_color_utilities:file:///home/tato/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/material_color_utilities-0.1.4/lib/ [ ] | menu_base:file:///home/tato/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/menu_base-0.1.0/lib/ [ ] | meta:file:///home/tato/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/meta-1.7.0/lib/ [ ] | path:file:///home/tato/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/path-1.8.1/lib/ [ ] | preference_list:file:///home/tato/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/preference_list-0.0.1/lib/ [ ] | shortid:file:///home/tato/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/shortid-0.1.2/lib/ [ ] | sky_engine:file:///home/tato/snap/flutter/common/flutter/bin/cache/pkg/sky_engine/lib/ [ ] | source_span:file:///home/tato/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/source_span-1.8.2/lib/ [ ] | stack_trace:file:///home/tato/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/stack_trace-1.10.0/lib/ [ ] | stream_channel:file:///home/tato/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/stream_channel-2.1.0/lib/ [ ] | string_scanner:file:///home/tato/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/string_scanner-1.1.0/lib/ [ ] | term_glyph:file:///home/tato/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/term_glyph-1.2.0/lib/ [ ] | test_api:file:///home/tato/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/test_api-0.4.9/lib/ [ ] | tray_manager:../lib/ [ ] | vector_math:file:///home/tato/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/vector_math-2.1.2/lib/ [ ] | tray_manager_example:lib/ [ ] MSG : Got dependencies! [ +4 ms] IO : Writing 6029 characters to text file .dart_tool/package_config.json. [ ] FINE: Contents: [ ] | { [ ] | "configVersion": 2, [ ] | "packages": [ [ ] | { [ ] | "name": "async", [ ] | "rootUri": "file:///home/tato/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/async-2.8.2", [ ] | "packageUri": "lib/", [ ] | "languageVersion": "2.12" [ ] | }, [ ] | { [ ] | "name": "boolean_selector", [ ] | "rootUri": "file:///home/tato/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/boolean_selector-2.1.0", [ ] | "packageUri": "lib/", [ ] | "languageVersion": "2.12" [ ] | }, [ ] | { [ ] | "name": "bot_toast", [ ] | "rootUri": "file:///home/tato/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/bot_toast-4.0.1", [ ] | "packageUri": "lib/", [ ] | "languageVersion": "2.12" [ ] | }, [ ] | { [ ] | "name": "characters", [ ] | "rootUri": "file:///home/tato/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/characters-1.2.0", [ ] | "packageUri": "lib/", [ ] | "languageVersion": "2.12" [ ] | }, [ ] | { [ ] | "name": "charcode", [ ] | "rootUri": "file:///home/tato/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/charcode-1.3.1", [ ] | "packageUri": "lib/", [ ] | "languageVersion": "2.12" [ ] | }, [ ] | { [ ] | "name": "clock", [ ] | "rootUri": "file:///home/tato/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/clock-1.1.0", [ ] | "packageUri": "lib/", [ ] | "languageVersion": "2.12" [ ] | }, [ ] | { [ ] | "name": "collection", [ ] | "rootUri": "file:///home/tato/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/collection-1.16.0", [ ] | "packageUri": "lib/", [ ] | "languageVersion": "2.12" [ ] | }, [ ] | { [ ] | "name": "cupertino_icons", [ ] | "rootUri": "file:///home/tato/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/cupertino_icons-1.0.3", [ ] | "packageUri": "lib/", [ ] | "languageVersion": "2.12" [ ] | }, [ ] | { [ ] | "name": "fake_async", [ ] | "rootUri": "file:///home/tato/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/fake_async-1.3.0", [ ] | "packageUri": "lib/", [ ] | "languageVersion": "2.12" [ ] | }, [ ] | { [ ] | "name": "flutter", [ ] | "rootUri": "file:///home/tato/snap/flutter/common/flutter/packages/flutter", [ ] | "packageUri": "lib/", [ ] | "languageVersion": "2.12" [ ] | }, [ ] | { [ ] | "name": "flutter_test", [ ] | "rootUri": "file:///home/tato/snap/flutter/common/flutter/packages/flutter_test", [ ] | "packageUri": "lib/", [ ] | "languageVersion": "2.17" [ ] | }, [ ] | { [ ] | "name": "matcher", [ ] | "rootUri": "file:///home/tato/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/matcher-0.12.11", [ ] | "packageUri": "lib/", [ ] | "languageVersion": "2.12" [ ] | }, [ ] | { [ ] | "name": "material_color_utilities", [ ] | "rootUri": "file:///home/tato/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/material_color_utilities-0.1.4", [ ] | "packageUri": "lib/", [ ] | "languageVersion": "2.13" [ ] | }, [ ] | { [ ] | "name": "menu_base", [ ] | "rootUri": "file:///home/tato/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/menu_base-0.1.0", [ ] | "packageUri": "lib/", [ ] | "languageVersion": "2.12" [ ] | }, [ ] | { [ ] | "name": "meta", [ ] | "rootUri": "file:///home/tato/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/meta-1.7.0", [ ] | "packageUri": "lib/", [ ] | "languageVersion": "2.12" [ ] | }, [ ] | { [ ] | "name": "path", [ ] | "rootUri": "file:///home/tato/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/path-1.8.1", [ ] | "packageUri": "lib/", [ ] | "languageVersion": "2.12" [ ] | }, [ ] | { [ ] | "name": "preference_list", [ ] | "rootUri": "file:///home/tato/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/preference_list-0.0.1", [ ] | "packageUri": "lib/", [ ] | "languageVersion": "2.12" [ ] | }, [ ] | { [ ] | "name": "shortid", [ ] | "rootUri": "file:///home/tato/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/shortid-0.1.2", [ ] | "packageUri": "lib/", [ ] | "languageVersion": "2.12" [ ] | }, [ ] | { [ ] | "name": "sky_engine", [ ] | "rootUri": "file:///home/tato/snap/flutter/common/flutter/bin/cache/pkg/sky_engine", [ ] | "packageUri": "lib/", [ ] | "languageVersion": "2.12" [ ] | }, [ ] | { [ ] | "name": "source_span", [ ] | "rootUri": "file:///home/tato/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/source_span-1.8.2", [ ] | "packageUri": "lib/", [ ] | "languageVersion": "2.14" [ ] | }, [ ] | { [ ] | "name": "stack_trace", [ ] | "rootUri": "file:///home/tato/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/stack_trace-1.10.0", [ ] | "packageUri": "lib/", [ ] | "languageVersion": "2.12" [ ] | }, [ ] | { [ ] | "name": "stream_channel", [ ] | "rootUri": "file:///home/tato/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/stream_channel-2.1.0", [ ] | "packageUri": "lib/", [ ] | "languageVersion": "2.12" [ ] | }, [ ] | { [ ] | "name": "string_scanner", [ ] | "rootUri": "file:///home/tato/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/string_scanner-1.1.0", [ ] | "packageUri": "lib/", [ ] | "languageVersion": "2.12" [ ] | }, [ ] | { [ ] | "name": "term_glyph", [ ] | "rootUri": "file:///home/tato/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/term_glyph-1.2.0", [ ] | "packageUri": "lib/", [ ] | "languageVersion": "2.12" [ ] | }, [ ] | { [ ] | "name": "test_api", [ ] | "rootUri": "file:///home/tato/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/test_api-0.4.9", [ ] | "packageUri": "lib/", [ ] | "languageVersion": "2.12" [ ] | }, [ ] | { [ ] | "name": "tray_manager", [ ] | "rootUri": "../../", [ ] | "packageUri": "lib/", [ ] | "languageVersion": "2.12" [ ] | }, [ ] | { [ ] | "name": "vector_math", [ ] | "rootUri": "file:///home/tato/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/vector_math-2.1.2", [ ] | "packageUri": "lib/", [ ] | "languageVersion": "2.14" [ ] | }, [ ] | { [ ] | "name": "tray_manager_example", [ ] | "rootUri": "../", [ ] | "packageUri": "lib/", [ ] | "languageVersion": "2.12" [ ] | } [ ] | ], [ ] | "generated": "2022-05-26T13:26:06.993939Z", [ ] | "generator": "pub", [ ] | "generatorVersion": "2.17.1" [ ] | } [ ] IO : Writing 32045 characters to text file /home/tato/snap/flutter/common/flutter/.pub-cache/log/pub_log.txt. [ ] MSG : Logs written to /home/tato/snap/flutter/common/flutter/.pub-cache/log/pub_log.txt. [ +34 ms] Running "flutter pub get" in example... (completed in 459ms) [ +47 ms] Found plugin tray_manager at /home/tato/projects/tray_manager/ [ +91 ms] Found plugin tray_manager at /home/tato/projects/tray_manager/ [ +90 ms] 💪 Building with sound null safety 💪 [ +4 ms] Building Linux application... [ +9 ms] executing: [build/linux/x64/release/] cmake -G Ninja -DCMAKE_BUILD_TYPE=Release -DFLUTTER_TARGET_PLATFORM=linux-x64 /home/tato/projects/tray_manager/example/linux [+1266 ms] -- The CXX compiler identification is Clang 6.0.0 [ +23 ms] -- Check for working CXX compiler: /snap/flutter/current/usr/bin/clang++ [ +295 ms] -- Check for working CXX compiler: /snap/flutter/current/usr/bin/clang++ -- works [ +2 ms] -- Detecting CXX compiler ABI info [ +231 ms] -- Detecting CXX compiler ABI info - done [ +8 ms] -- Detecting CXX compile features [ +808 ms] -- Detecting CXX compile features - done [ +79 ms] -- Found PkgConfig: /snap/flutter/current/usr/bin/pkg-config (found version "0.29.1") [ +1 ms] -- Checking for module 'gtk+-3.0' [ +35 ms] -- Found gtk+-3.0, version 3.22.30 [ +86 ms] -- Checking for module 'glib-2.0' [ +22 ms] -- Found glib-2.0, version 2.56.4 [ +57 ms] -- Checking for module 'gio-2.0' [ +21 ms] -- Found gio-2.0, version 2.56.4 [ +78 ms] -- Checking for module 'ayatana-appindicator3-0.1' [ +33 ms] -- Found ayatana-appindicator3-0.1, version 0.5.90 [ +117 ms] -- Configuring done [ +106 ms] -- Generating done [ ] -- Build files have been written to: /home/tato/projects/tray_manager/example/build/linux/x64/release [ +25 ms] executing: ninja -C build/linux/x64/release install [ +4 ms] ninja: Entering directory `build/linux/x64/release' [+13609 ms] [1/8] Generating /home/tato/projects/tray_manager/example/linux/flutter/ephemeral/libflutter_linux_gtk.so, /home/tato/projects/tray_manager/example/linux/flutter/ephemeral/flutter_linux/fl_basic_message_channel.h, /home/tato/projects/tray_manager/example/linux/flutter/ephemeral/flutter_linux/fl_binary_codec.h, /home/tato/projects/tray_manager/example/linux/flutter/ephemeral/flutter_linux/fl_binary_messenger.h, /home/tato/projects/tray_manager/example/linux/flutter/ephemeral/flutter_linux/fl_dart_project.h, /home/tato/projects/tray_manager/example/linux/flutter/ephemeral/flutter_linux/fl_engine.h, /home/tato/projects/tray_manager/example/linux/flutter/ephemeral/flutter_linux/fl_json_message_codec.h, /home/tato/projects/tray_manager/example/linux/flutter/ephemeral/flutter_linux/fl_json_method_codec.h, /home/tato/projects/tray_manager/example/linux/flutter/ephemeral/flutter_linux/fl_message_codec.h, /home/tato/projects/tray_manager/example/linux/flutter/ephemeral/flutter_linux/fl_method_call.h, /home/tato/projects/tray_manager/example/linux/flutter/ephemeral/flutter_linux/fl_method_channel.h, /home/tato/projects/tray_manager/example/linux/flutter/ephemeral/flutter_linux/fl_method_codec.h, /home/tato/projects/tray_manager/example/linux/flutter/ephemeral/flutter_linux/fl_method_response.h, /home/tato/projects/tray_manager/example/linux/flutter/ephemeral/flutter_linux/fl_plugin_registrar.h, /home/tato/projects/tray_manager/example/linux/flutter/ephemeral/flutter_linux/fl_plugin_registry.h, /home/tato/projects/tray_manager/example/linux/flutter/ephemeral/flutter_linux/fl_standard_message_codec.h, /home/tato/projects/tray_manager/example/linux/flutter/ephemeral/flutter_linux/fl_standard_method_codec.h, /home/tato/projects/tray_manager/example/linux/flutter/ephemeral/flutter_linux/fl_string_codec.h, /home/tato/projects/tray_manager/example/linux/flutter/ephemeral/flutter_linux/fl_value.h, /home/tato/projects/tray_manager/example/linux/flutter/ephemeral/flutter_linux/fl_view.h, /home/tato/projects/tray_manager/example/linux/flutter/ephemeral/flutter_linux/flutter_linux.h, _phony_ [ +13 ms] [ +71 ms] executing: uname -m [ ] [ +34 ms] Exit code 0 from: uname -m [ ] [ ] x86_64 [ ] [ +4 ms] executing: [/home/tato/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 [ ] [ ] fb57da5f945d02ef4f98dfd9409a72b7cce74268 [ ] [ ] executing: [/home/tato/snap/flutter/common/flutter/] git tag --points-at fb57da5f945d02ef4f98dfd9409a72b7cce74268 [ ] [ +14 ms] Exit code 0 from: git tag --points-at fb57da5f945d02ef4f98dfd9409a72b7cce74268 [ ] [ ] 3.0.1 [ ] [ +12 ms] executing: [/home/tato/snap/flutter/common/flutter/] git rev-parse --abbrev-ref --symbolic @{u} [ ] [ +5 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u} [ ] [ ] origin/stable [ ] [ ] executing: [/home/tato/snap/flutter/common/flutter/] git ls-remote --get-url origin [ ] [ +5 ms] Exit code 0 from: git ls-remote --get-url origin [ ] [ ] https://github.com/flutter/flutter.git [ ] [ +76 ms] executing: [/home/tato/snap/flutter/common/flutter/] git rev-parse --abbrev-ref HEAD [ ] [ +3 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD [ ] [ ] stable [ ] [ +40 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 'WindowsUwpEngineArtifacts' 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. [ ] [ +43 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 'WindowsUwpEngineArtifacts' 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. [ ] [ ] 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. [ ] [ +17 ms] Initializing file store [ ] [ +11 ms] Skipping target: gen_localizations [ ] [ +6 ms] gen_dart_plugin_registrant: Starting due to {InvalidatedReasonKind.inputChanged: The following inputs have updated contents: /home/tato/projects/tray_manager/example/.dart_tool/package_config_subset} [ +1 ms] [ +1 ms] unpack_linux: Starting due to {} [ ] [ +33 ms] unpack_linux: Complete [ ] [ +155 ms] Found plugin tray_manager at /home/tato/projects/tray_manager/ [ ] [ +16 ms] gen_dart_plugin_registrant: Complete [ ] [ ] kernel_snapshot: Starting due to {} [ ] [ +4 ms] /home/tato/snap/flutter/common/flutter/bin/cache/dart-sdk/bin/dart --disable-dart-dev /home/tato/snap/flutter/common/flutter/bin/cache/dart-sdk/bin/snapshots/frontend_server.dart.snapshot --sdk-root /home/tato/snap/flutter/common/flutter/bin/cache/artifacts/engine/common/flutter_patched_sdk_product/ --target=flutter --no-print-incremental-dependencies -Ddart.vm.profile=false -Ddart.vm.product=true --aot --tfa --packages /home/tato/projects/tray_manager/example/.dart_tool/package_config.json --output-dill /home/tato/projects/tray_manager/example/.dart_tool/flutter_build/3fca1066389fbb9fd79dfe3a93757bbd/app.dill --depfile /home/tato/projects/tray_manager/example/.dart_tool/flutter_build/3fca1066389fbb9fd79dfe3a93757bbd/kernel_snapshot.d package:tray_manager_example/main.dart [ ] [+2803 ms] ../../../snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/bot_toast-4.0.1/lib/src/bot_toast_init.dart:15:20: Warning: Operand of null-aware operation '!' has type 'WidgetsBinding' which excludes null. [ ] [ ] - 'WidgetsBinding' is from 'package:flutter/src/widgets/binding.dart' ('../../../snap/flutter/common/flutter/packages/flutter/lib/src/widgets/binding.dart'). [ ] [ ] WidgetsBinding.instance!.addObserver(this); [ ] [ ] ^ [ ] [ +482 ms] ../../../snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/bot_toast-4.0.1/lib/src/bot_toast_manager.dart:6:20: Warning: Operand of null-aware operation '!' has type 'SchedulerBinding' which excludes null. [ ] [ ] - 'SchedulerBinding' is from 'package:flutter/src/scheduler/binding.dart' ('../../../snap/flutter/common/flutter/packages/flutter/lib/src/scheduler/binding.dart'). [ ] [ ] SchedulerBinding.instance!.addPostFrameCallback((_) { [ ] [ ] ^ [ ] [ ] ../../../snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/bot_toast-4.0.1/lib/src/bot_toast_manager.dart:9:20: Warning: Operand of null-aware operation '!' has type 'SchedulerBinding' which excludes null. [ ] [ ] - 'SchedulerBinding' is from 'package:flutter/src/scheduler/binding.dart' ('../../../snap/flutter/common/flutter/packages/flutter/lib/src/scheduler/binding.dart'). [ ] [ ] SchedulerBinding.instance!.ensureVisualUpdate(); [ ] [ ] ^ [ ] [ +1 ms] ../../../snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/bot_toast-4.0.1/lib/src/keyboard_visibility.dart:21:20: Warning: Operand of null-aware operation '!' has type 'WidgetsBinding' which excludes null. [ ] [ ] - 'WidgetsBinding' is from 'package:flutter/src/widgets/binding.dart' ('../../../snap/flutter/common/flutter/packages/flutter/lib/src/widgets/binding.dart'). [ ] [ ] WidgetsBinding.instance!.addObserver(this); [ ] [ ] ^ [ ] [ ] ../../../snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/bot_toast-4.0.1/lib/src/keyboard_visibility.dart:37:20: Warning: Operand of null-aware operation '!' has type 'WidgetsBinding' which excludes null. [ ] [ ] - 'WidgetsBinding' is from 'package:flutter/src/widgets/binding.dart' ('../../../snap/flutter/common/flutter/packages/flutter/lib/src/widgets/binding.dart'). [ ] [ ] WidgetsBinding.instance!.removeObserver(this); [ ] [ ] ^ [ ] [+4968 ms] kernel_snapshot: Complete [ ] [ +314 ms] aot_elf_release: Starting due to {InvalidatedReasonKind.inputChanged: The following inputs have updated contents: /home/tato/snap/flutter/common/flutter/packages/flutter_tools/lib/src/build_system/targets/common.dart,/home/tato/projects/tray_manager/example/.dart_tool/flutter_build/3fca1066389fbb9fd79dfe3a93757bbd/a pp.dill,/home/tato/snap/flutter/common/flutter/bin/internal/engine.version,/home/tato/snap/flutter/common/flutter/bin/internal/engine.version,/home/tato/snap/flutter/common/flutter/bin/internal/engine.ve rsion} [ ] [ +2 ms] executing: /home/tato/snap/flutter/common/flutter/bin/cache/artifacts/engine/linux-x64-release/gen_snapshot --deterministic --snapshot_kind=app-aot-elf --elf=/home/tato/projects/tray_manager/example/.dart_tool/flutter_build/3fca1066389fbb9fd79dfe3a93757bbd/app.so --strip /home/tato/projects/tray_manager/example/.dart_tool/flutter_build/3fca1066389fbb9fd79dfe3a93757bbd/app.dill [ ] [+3223 ms] aot_elf_release: Complete [ ] [ +18 ms] linux_aot_bundle: Starting due to {InvalidatedReasonKind.inputChanged: The following inputs have updated contents: /home/tato/projects/tray_manager/example/.dart_tool/flutter_build/3fca1066389fbb9fd79dfe3a93757bbd/app.so} [ ] [ +5 ms] linux_aot_bundle: Complete [ ] [ +44 ms] release_bundle_linux-x64_assets: Starting due to {} [ ] [ +119 ms] Manifest contained wildcard assets. Inserting missing file into build graph to force rerun. for more information see #56466. [ ] [ +23 ms] release_bundle_linux-x64_assets: Complete [ ] [ +22 ms] Persisting file store [ ] [ +3 ms] Done persisting file store [ ] [ +2 ms] build succeeded. [ ] [ +4 ms] "flutter assemble" took 12.349ms. [ ] [ +255 ms] ensureAnalyticsSent: 253ms [ ] [ +1 ms] Running shutdown hooks [ ] [ ] Shutdown hooks complete [ ] [ ] exiting with code 0 [ +843 ms] [2/8] Building CXX object CMakeFiles/tray_manager_example.dir/main.cc.o [ +1 ms] [3/8] Building CXX object CMakeFiles/tray_manager_example.dir/flutter/generated_plugin_registrant.cc.o [ +14 ms] [4/8] Building CXX object CMakeFiles/tray_manager_example.dir/my_application.cc.o [ +244 ms] [5/8] Building CXX object plugins/tray_manager/CMakeFiles/tray_manager_plugin.dir/tray_manager_plugin.cc.o [ +166 ms] [6/8] Linking CXX shared library plugins/tray_manager/libtray_manager_plugin.so [ +327 ms] [7/8] Linking CXX executable intermediates_do_not_run/tray_manager_example [ ] FAILED: intermediates_do_not_run/tray_manager_example [ +4 ms] : && /snap/flutter/current/usr/bin/clang++ -O3 -DNDEBUG -B/snap/flutter/current/usr/lib/gcc/x86_64-linux-gnu/8 -B/snap/flutter/current/usr/lib/x86_64-linux-gnu -B/snap/flutter/current/lib/x86_64-linux-gnu -B/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/lib/x86_64-linux-gnu -L/snap/flutter/current/usr/lib/ -lblkid -lgcrypt -llzma -llz4 -lgpg-error -luuid -lpthread -ldl -B/snap/flutter/current/usr/lib/gcc/x86_64-linux-gnu/8 -B/snap/flutter/current/usr/lib/x86_64-linux-gnu -B/snap/flutter/current/lib/x86_64-linux-gnu -B/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/lib/x86_64-linux-gnu -L/snap/flutter/current/usr/lib/ -lblkid -lgcrypt -llzma -llz4 -lgpg-error -luuid -lpthread -ldl CMakeFiles/tray_manager_example.dir/main.cc.o CMakeFiles/tray_manager_example.dir/my_application.cc.o CMakeFiles/tray_manager_example.dir/flutter/generated_plugin_registrant.cc.o -o intermediates_do_not_run/tray_manager_example -L/home/tato/projects/tray_manager/example/linux/flutter/ephemeral -Wl,-rpath,/home/tato/projects/tray_manager/example/build/linux/x64/release/plugins/tray_manager:/home/tato/projects/tray_manager/example/linux/flutter/ephemeral: plugins/tray_manager/libtray_manager_plugin.so /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 -lflutter_linux_gtk /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 && : [ +2 ms] //lib/x86_64-linux-gnu/libayatana-ido3-0.4.so.0: undefined reference to `g_time_zone_new_identifier' [ ] clang: error: linker command failed with exit code 1 (use -v to see invocation) [ ] ninja: build stopped: subcommand failed. [ +2 ms] Building Linux application... (completed in 18,6s) [ ] "flutter linux" took 19.326ms. [ +5 ms] Build process failed [ ] #0 throwToolExit (package:flutter_tools/src/base/common.dart:10:3) #1 _runBuild (package:flutter_tools/src/linux/build_linux.dart:186:5) #2 buildLinux (package:flutter_tools/src/linux/build_linux.dart:78:5) #3 BuildLinuxCommand.runCommand (package:flutter_tools/src/commands/build_linux.dart:85:5) #4 FlutterCommand.run. (package:flutter_tools/src/runner/flutter_command.dart:1183:27) #5 AppContext.run. (package:flutter_tools/src/base/context.dart:150:19) #6 CommandRunner.runCommand (package:args/command_runner.dart:209:13) #7 FlutterCommandRunner.runCommand. (package:flutter_tools/src/runner/flutter_command_runner.dart:281:9) #8 AppContext.run. (package:flutter_tools/src/base/context.dart:150:19) #9 FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:229:5) #10 run.. (package:flutter_tools/runner.dart:62:9) #11 AppContext.run. (package:flutter_tools/src/base/context.dart:150:19) #12 main (package:flutter_tools/executable.dart:94:3) [ +254 ms] ensureAnalyticsSent: 252ms [ +2 ms] Running shutdown hooks [ ] Shutdown hooks complete [ ] exiting with code 1 ```
jpnurmi commented 2 years ago

Thanks for the details. It looks like an issue with the core18-based Flutter snap. It ships with a quite old libglib which libayatana is not satisfied with. The easiest way to get past the problem is to install Flutter manually instead of the snap.

tatosjb commented 2 years ago

I'll try and post the result on the issue, to be documented for anyone that face the same problem

lijy91 commented 2 years ago

I'll try and post the result on the issue, to be documented for anyone that face the same problem

Is your problem solved? If it is resolved, I will close this issue.

tatosjb commented 2 years ago

It worked. I'm closing the issue, thank you guys for your support.