Advertisement
loloof64

Flutter Snap error

Oct 24th, 2022
226
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 16.04 KB | Software | 0 0
  1. /root/parts/chess-animated-gif-creator/build/linux/flutter/ephemeral/flutter_lin
  2. ux/flutter_linux.h flutter/_phony_
  3. [ +2 ms] cd
  4. /root/parts/chess-animated-gif-creator/build/build/linux/x64/release/flutter &&
  5. /snap/flutter/130/usr/bin/cmake -E env
  6. FLUTTER_ROOT=/root/snap/flutter/common/flutter
  7. PROJECT_DIR=/root/parts/chess-animated-gif-creator/build DART_OBFUSCATION=false
  8. TRACK_WIDGET_CREATION=true TREE_SHAKE_ICONS=true
  9. PACKAGE_CONFIG=/root/parts/chess-animated-gif-creator/build/.dart_tool/package_c
  10. onfig.json FLUTTER_TARGET=lib/main.dart
  11. /root/snap/flutter/common/flutter/packages/flutter_tools/bin/tool_backend.sh
  12. linux-x64 Release
  13. [ ] Woah! You appear to be trying to run flutter as root.
  14. [ ] We strongly recommend running the flutter tool without superuser
  15. privileges.
  16. [ ] /
  17. [ +2 ms] 📎
  18. [ ] [ +43 ms] executing: uname -m
  19. [ ] [ +26 ms] Exit code 0 from: uname -m
  20. [ ] [ ] x86_64
  21. [ ] [ +5 ms] executing: [/root/snap/flutter/common/flutter/] git -c
  22. log.showSignature=false log -n 1 --pretty=format:%H
  23. [ ] [ +15 ms] Exit code 0 from: git -c log.showSignature=false log -n 1
  24. --pretty=format:%H
  25. [ ] [ ] d9111f64021372856901a1fd5bfbc386cade3318
  26. [ ] [ ] executing: [/root/snap/flutter/common/flutter/] git tag
  27. --points-at d9111f64021372856901a1fd5bfbc386cade3318
  28. [ ] [ +9 ms] Exit code 0 from: git tag --points-at
  29. d9111f64021372856901a1fd5bfbc386cade3318
  30. [ ] [ ] 3.3.5
  31. [ ] [ +42 ms] Unable to locate an Android SDK.
  32. [ ] [ +2 ms] executing: [/root/snap/flutter/common/flutter/] git
  33. rev-parse --abbrev-ref HEAD
  34. [ ] [ +3 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
  35. [ ] [ ] stable
  36. [ ] [ +40 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not
  37. required, skipping update.
  38. [ ] [ ] Artifact Instance of 'AndroidInternalBuildArtifacts' is
  39. not required, skipping update.
  40. [ ] [ ] Artifact Instance of 'IOSEngineArtifacts' is not required,
  41. skipping update.
  42. [ ] [ +1 ms] Artifact Instance of 'FlutterWebSdk' is not required,
  43. skipping update.
  44. [ ] [ +1 ms] Artifact Instance of 'WindowsEngineArtifacts' is not
  45. required, skipping update.
  46. [ ] [ ] Artifact Instance of 'MacOSEngineArtifacts' is not
  47. required, skipping update.
  48. [ ] [ ] Artifact Instance of 'LinuxEngineArtifacts' is not
  49. required, skipping update.
  50. [ ] [ ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not
  51. required, skipping update.
  52. [ ] [ ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not
  53. required, skipping update.
  54. [ ] [ ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not
  55. required, skipping update.
  56. [ ] [ ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not
  57. required, skipping update.
  58. [ ] [ +66 ms] executing: [/root/snap/flutter/common/flutter/] git
  59. rev-parse --abbrev-ref --symbolic @{upstream}
  60. [ ] [ +3 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic
  61. @{upstream}
  62. [ ] [ ] origin/stable
  63. [ ] [ ] executing: [/root/snap/flutter/common/flutter/] git
  64. ls-remote --get-url origin
  65. [ ] [ +2 ms] Exit code 0 from: git ls-remote --get-url origin
  66. [ ] [ ] https://github.com/flutter/flutter.git
  67. [ ] [ +1 ms] Artifact Instance of 'MaterialFonts' is not required,
  68. skipping update.
  69. [ ] [ ] Artifact Instance of 'GradleWrapper' is not required,
  70. skipping update.
  71. [ ] [ ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not
  72. required, skipping update.
  73. [ ] [ ] Artifact Instance of 'AndroidInternalBuildArtifacts' is
  74. not required, skipping update.
  75. [ ] [ ] Artifact Instance of 'IOSEngineArtifacts' is not required,
  76. skipping update.
  77. [ ] [ ] Artifact Instance of 'FlutterWebSdk' is not required,
  78. skipping update.
  79. [ ] [ ] Artifact Instance of 'FlutterSdk' is not required,
  80. skipping update.
  81. [ ] [ ] Artifact Instance of 'WindowsEngineArtifacts' is not
  82. required, skipping update.
  83. [ ] [ ] Artifact Instance of 'MacOSEngineArtifacts' is not
  84. required, skipping update.
  85. [ ] [ ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not
  86. required, skipping update.
  87. [ ] [ ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not
  88. required, skipping update.
  89. [ ] [ ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not
  90. required, skipping update.
  91. [ ] [ ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not
  92. required, skipping update.
  93. [ ] [ ] Artifact Instance of 'IosUsbArtifacts' is not required,
  94. skipping update.
  95. [ ] [ ] Artifact Instance of 'IosUsbArtifacts' is not required,
  96. skipping update.
  97. [ ] [ ] Artifact Instance of 'IosUsbArtifacts' is not required,
  98. skipping update.
  99. [ ] [ ] Artifact Instance of 'IosUsbArtifacts' is not required,
  100. skipping update.
  101. [ ] [ ] Artifact Instance of 'IosUsbArtifacts' is not required,
  102. skipping update.
  103. [ ] [ ] Artifact Instance of 'FontSubsetArtifacts' is not
  104. required, skipping update.
  105. [ ] [ ] Artifact Instance of 'PubDependencies' is not required,
  106. skipping update.
  107. [ ] [ +26 ms] Initializing file store
  108. [ ] [ +14 ms] gen_localizations: Starting due to {}
  109. [ ] [ +101 ms] gen_dart_plugin_registrant: Starting due to
  110. {InvalidatedReasonKind.inputChanged: The following inputs have updated contents:
  111. /root/parts/chess-animated-gif-creator/build/.dart_tool/package_config_subset}
  112. [ ] [ +2 ms] gen_localizations: Complete
  113. [ ] [ +7 ms] unpack_linux: Starting due to {}
  114. [ ] [ +64 ms] Found plugin file_picker at
  115. /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/file_picker
  116. -5.2.1/
  117. [ ] [ +4 ms] Found plugin flutter_plugin_android_lifecycle at
  118. /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_plu
  119. gin_android_lifecycle-2.0.7/
  120. [ ] [ +4 ms] Found plugin path_provider at
  121. /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/path_provid
  122. er-2.0.11/
  123. [ ] [ +1 ms] Found plugin path_provider_android at
  124. /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/path_provid
  125. er_android-2.0.20/
  126. [ ] [ +1 ms] Found plugin path_provider_ios at
  127. /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/path_provid
  128. er_ios-2.0.11/
  129. [ ] [ ] Found plugin path_provider_linux at
  130. /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/path_provid
  131. er_linux-2.1.7/
  132. [ ] [ +2 ms] Found plugin path_provider_macos at
  133. /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/path_provid
  134. er_macos-2.0.6/
  135. [ ] [ +2 ms] Found plugin path_provider_windows at
  136. /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/path_provid
  137. er_windows-2.1.3/
  138. [ ] [ +27 ms] gen_dart_plugin_registrant: Complete
  139. [ ] [ +1 ms] unpack_linux: Complete
  140. [ ] [ +180 ms] kernel_snapshot: Starting due to {}
  141. [ +1 ms] [ +5 ms]
  142. /root/snap/flutter/common/flutter/bin/cache/dart-sdk/bin/dart --disable-dart-dev
  143. /root/snap/flutter/common/flutter/bin/cache/dart-sdk/bin/snapshots/frontend_serv
  144. er.dart.snapshot --sdk-root
  145. /root/snap/flutter/common/flutter/bin/cache/artifacts/engine/common/flutter_patc
  146. hed_sdk_product/ --target=flutter --no-print-incremental-dependencies
  147. -Ddart.vm.profile=false -Ddart.vm.product=true --compact-async --aot --tfa
  148. --packages
  149. /root/parts/chess-animated-gif-creator/build/.dart_tool/package_config.json
  150. --output-dill
  151. /root/parts/chess-animated-gif-creator/build/.dart_tool/flutter_build/057d5581ff
  152. 0259d5b96db9c71898502c/app.dill --depfile
  153. /root/parts/chess-animated-gif-creator/build/.dart_tool/flutter_build/057d5581ff
  154. 0259d5b96db9c71898502c/kernel_snapshot.d --source
  155. /root/parts/chess-animated-gif-creator/build/.dart_tool/flutter_build/dart_plugi
  156. n_registrant.dart --source package:flutter/src/dart_plugin_registrant.dart
  157. -Dflutter.dart_plugin_registrant=file:///root/parts/chess-animated-gif-creator/b
  158. uild/.dart_tool/flutter_build/dart_plugin_registrant.dart --verbosity=error
  159. package:chess_animated_gif_creator/main.dart
  160. [ ] [+17811 ms] Persisting file store
  161. [ ] [ +3 ms] Done persisting file store
  162. [ ] [ +2 ms] Target kernel_snapshot failed: Exception
  163. [ ] #0 KernelSnapshot.build
  164. (package:flutter_tools/src/build_system/targets/common.dart:244:7)
  165. [ ] <asynchronous suspension>
  166. [ ] #1 _BuildInstance._invokeInternal
  167. (package:flutter_tools/src/build_system/build_system.dart:839:9)
  168. [ ] <asynchronous suspension>
  169. [ ] #2 Future.wait.<anonymous closure>
  170. (dart:async/future.dart:522:21)
  171. [ ] <asynchronous suspension>
  172. [ ] #3 _BuildInstance.invokeTarget
  173. (package:flutter_tools/src/build_system/build_system.dart:777:32)
  174. [ ] <asynchronous suspension>
  175. [ ] #4 Future.wait.<anonymous closure>
  176. (dart:async/future.dart:522:21)
  177. [ ] <asynchronous suspension>
  178. [ ] #5 _BuildInstance.invokeTarget
  179. (package:flutter_tools/src/build_system/build_system.dart:777:32)
  180. [ ] <asynchronous suspension>
  181. [ ] #6 Future.wait.<anonymous closure>
  182. (dart:async/future.dart:522:21)
  183. [ ] <asynchronous suspension>
  184. [ ] #7 _BuildInstance.invokeTarget
  185. (package:flutter_tools/src/build_system/build_system.dart:777:32)
  186. [ ] <asynchronous suspension>
  187. [ ] #8 FlutterBuildSystem.build
  188. (package:flutter_tools/src/build_system/build_system.dart:606:16)
  189. [ ] <asynchronous suspension>
  190. [ ] #9 AssembleCommand.runCommand
  191. (package:flutter_tools/src/commands/assemble.dart:316:32)
  192. [ ] <asynchronous suspension>
  193. [ ] #10 FlutterCommand.run.<anonymous closure>
  194. (package:flutter_tools/src/runner/flutter_command.dart:1209:27)
  195. [ ] <asynchronous suspension>
  196. [ ] #11 AppContext.run.<anonymous closure>
  197. (package:flutter_tools/src/base/context.dart:150:19)
  198. [ ] <asynchronous suspension>
  199. [ ] #12 CommandRunner.runCommand
  200. (package:args/command_runner.dart:209:13)
  201. [ ] <asynchronous suspension>
  202. [ ] #13 FlutterCommandRunner.runCommand.<anonymous
  203. closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:281:9)
  204. [ ] <asynchronous suspension>
  205. [ ] #14 AppContext.run.<anonymous closure>
  206. (package:flutter_tools/src/base/context.dart:150:19)
  207. [ ] <asynchronous suspension>
  208. [ ] #15 FlutterCommandRunner.runCommand
  209. (package:flutter_tools/src/runner/flutter_command_runner.dart:229:5)
  210. [ ] <asynchronous suspension>
  211. [ ] #16 run.<anonymous closure>.<anonymous closure>
  212. (package:flutter_tools/runner.dart:62:9)
  213. [ ] <asynchronous suspension>
  214. [ ] #17 AppContext.run.<anonymous closure>
  215. (package:flutter_tools/src/base/context.dart:150:19)
  216. [ ] <asynchronous suspension>
  217. [ ] #18 main (package:flutter_tools/executable.dart:91:3)
  218. [ ] <asynchronous suspension>
  219. [ ] [ +13 ms] "flutter assemble" took 18,369ms.
  220. [ ] [ +5 ms]
  221. [ ] #0 throwToolExit
  222. (package:flutter_tools/src/base/common.dart:10:3)
  223. [ ] #1 AssembleCommand.runCommand
  224. (package:flutter_tools/src/commands/assemble.dart:333:7)
  225. [ ] <asynchronous suspension>
  226. [ ] #2 FlutterCommand.run.<anonymous closure>
  227. (package:flutter_tools/src/runner/flutter_command.dart:1209:27)
  228. [ ] <asynchronous suspension>
  229. [ ] #3 AppContext.run.<anonymous closure>
  230. (package:flutter_tools/src/base/context.dart:150:19)
  231. [ ] <asynchronous suspension>
  232. [ ] #4 CommandRunner.runCommand
  233. (package:args/command_runner.dart:209:13)
  234. [ ] <asynchronous suspension>
  235. [ ] #5 FlutterCommandRunner.runCommand.<anonymous
  236. closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:281:9)
  237. [ ] <asynchronous suspension>
  238. [ ] #6 AppContext.run.<anonymous closure>
  239. (package:flutter_tools/src/base/context.dart:150:19)
  240. [ ] <asynchronous suspension>
  241. [ ] #7 FlutterCommandRunner.runCommand
  242. (package:flutter_tools/src/runner/flutter_command_runner.dart:229:5)
  243. [ ] <asynchronous suspension>
  244. [ ] #8 run.<anonymous closure>.<anonymous closure>
  245. (package:flutter_tools/runner.dart:62:9)
  246. [ ] <asynchronous suspension>
  247. [ ] #9 AppContext.run.<anonymous closure>
  248. (package:flutter_tools/src/base/context.dart:150:19)
  249. [ ] <asynchronous suspension>
  250. [ ] #10 main (package:flutter_tools/executable.dart:91:3)
  251. [ ] <asynchronous suspension>
  252. [ ] [ +116 ms] ensureAnalyticsSent: 115ms
  253. [ ] [ +9 ms] Running shutdown hooks
  254. [ ] [ ] Shutdown hooks complete
  255. [ ] [ +8 ms] exiting with code 1
  256. [ ] ninja: build stopped: subcommand failed.
  257. [ +14 ms] Building Linux application... (completed in 20.5s)
  258. [ +2 ms] "flutter linux" took 20,958ms.
  259. [ +4 ms] Build process failed
  260. [ +3 ms]
  261. #0 throwToolExit
  262. (package:flutter_tools/src/base/common.dart:10:3)
  263. #1 _runBuild
  264. (package:flutter_tools/src/linux/build_linux.dart:185:5)
  265. <asynchronous suspension>
  266. #2 buildLinux
  267. (package:flutter_tools/src/linux/build_linux.dart:78:5)
  268. <asynchronous suspension>
  269. #3 BuildLinuxCommand.runCommand
  270. (package:flutter_tools/src/commands/build_linux.dart:85:5)
  271. <asynchronous suspension>
  272. #4 FlutterCommand.run.<anonymous closure>
  273. (package:flutter_tools/src/runner/flutter_command.dart:1209:27)
  274. <asynchronous suspension>
  275. #5 AppContext.run.<anonymous closure>
  276. (package:flutter_tools/src/base/context.dart:150:19)
  277. <asynchronous suspension>
  278. #6 CommandRunner.runCommand
  279. (package:args/command_runner.dart:209:13)
  280. <asynchronous suspension>
  281. #7 FlutterCommandRunner.runCommand.<anonymous closure>
  282. (package:flutter_tools/src/runner/flutter_command_runner.dart:281:9)
  283. <asynchronous suspension>
  284. #8 AppContext.run.<anonymous closure>
  285. (package:flutter_tools/src/base/context.dart:150:19)
  286. <asynchronous suspension>
  287. #9 FlutterCommandRunner.runCommand
  288. (package:flutter_tools/src/runner/flutter_command_runner.dart:229:5)
  289. <asynchronous suspension>
  290. #10 run.<anonymous closure>.<anonymous closure>
  291. (package:flutter_tools/runner.dart:62:9)
  292. <asynchronous suspension>
  293. #11 AppContext.run.<anonymous closure>
  294. (package:flutter_tools/src/base/context.dart:150:19)
  295. <asynchronous suspension>
  296. #12 main (package:flutter_tools/executable.dart:91:3)
  297. <asynchronous suspension>
  298.  
  299.  
  300. [ +75 ms] ensureAnalyticsSent: 72ms
  301. [ +1 ms] Running shutdown hooks
  302. [ ] Shutdown hooks complete
  303. [ ] exiting with code 1
  304. Failed to run 'flutter build linux --release -v -t lib/main.dart' for 'chess-animated-gif-creator': Exited with code 1.
  305. Verify that the part is using the correct parameters and try again.
  306. Run the same command again with --debug to shell into the environment if you wish to introspect this failure.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement