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

[flutter_tools] ShaderCompilerException running impellerc on arm64 platforms #116703

Closed
jrstrick opened this issue Dec 8, 2022 · 34 comments
Closed
Assignees
Labels
c: crash Stack traces logged to the console c: regression It was better in the past than it is now engine flutter/engine repository. See also e: labels. found in release: 3.6 Found to occur in 3.6 has reproducible steps The issue has been confirmed reproducible and is ready to work on P1 High-priority issues at the top of the work list platform-linux Building on or for Linux specifically platform-target-arm Targeting an ARM-based platform r: fixed Issue is closed as already fixed in a newer version

Comments

@jrstrick
Copy link

jrstrick commented Dec 8, 2022

Steps to Reproduce

  1. git clone this repository
  2. ./flutter/bin/flutter create hello
  3. cd hello
  4. ../flutter/bin/flutter run -v

Compilation to SkSL fails compiling ink_sparkle.frag due to the shader_lib directory being missing from
/home/pi/temp/flutter/bin/cache/artifacts/engine/linux-arm64

The workaround is to copy shader_lib from an x64 install of Flutter.

I should note that I have my pi set up with the vulkan drivers, and that with the shader_lib directory in the right place, everything seems to work nicely.

Logs

logs
[  +47 ms] Unable to locate an Android SDK.
[  +30 ms] executing: uname -m
[  +15 ms] Exit code 0 from: uname -m
[   +1 ms] aarch64
[   +3 ms] executing: [/home/pi/temp/flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[  +17 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] 521028c80827ed98c51d6be47274164f8f34575b
[        ] executing: [/home/pi/temp/flutter/] git tag --points-at 521028c80827ed98c51d6be47274164f8f34575b
[  +46 ms] Exit code 0 from: git tag --points-at 521028c80827ed98c51d6be47274164f8f34575b
[   +6 ms] executing: [/home/pi/temp/flutter/] git describe --match *.*.* --long --tags 521028c80827ed98c51d6be47274164f8f34575b
[  +52 ms] Exit code 0 from: git describe --match *.*.* --long --tags 521028c80827ed98c51d6be47274164f8f34575b
[   +1 ms] 3.7.0-3.0.pre-38-g521028c808
[  +36 ms] executing: [/home/pi/temp/flutter/] git rev-parse --abbrev-ref --symbolic @{upstream}
[  +16 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{upstream}
[   +1 ms] origin/master
[   +4 ms] executing: [/home/pi/temp/flutter/] git ls-remote --get-url origin
[  +16 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] https://github.com/flutter/flutter.git
[  +81 ms] executing: [/home/pi/temp/flutter/] git rev-parse --abbrev-ref HEAD
[  +22 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[   +1 ms] master
[  +72 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.
[  +12 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.
[ +383 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[   +2 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.
[   +4 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[   +6 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.
[ +563 ms] Skipping pub get: version match.
[ +542 ms] Generating /home/pi/temp/hello/android/app/src/main/java/io/flutter/plugins/GeneratedPluginRegistrant.java
[ +398 ms] Initializing file store
[  +34 ms] Skipping target: gen_localizations
[  +19 ms] gen_dart_plugin_registrant: Starting due to {InvalidatedReasonKind.inputChanged: The following inputs have updated contents: /home/pi/temp/hello/.dart_tool/package_config_subset}
[ +130 ms] gen_dart_plugin_registrant: Complete
[   +3 ms] Skipping target: _composite
[   +8 ms] complete
[  +26 ms] Launching lib/main.dart on Linux in debug mode...
[  +13 ms] /home/pi/temp/flutter/bin/cache/dart-sdk/bin/dart --disable-dart-dev /home/pi/temp/flutter/bin/cache/dart-sdk/bin/snapshots/frontend_server.dart.snapshot --sdk-root /home/pi/temp/flutter/bin/cache/artifacts/engine/common/flutter_patched_sdk/ --incremental --target=flutter --experimental-emit-debug-metadata -DFLUTTER_WEB_AUTO_DETECT=true --output-dill /tmp/flutter_tools.RXBCGY/flutter_tool.XDYBYX/app.dill --packages /home/pi/temp/hello/.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/c075001b96339384a97db4862b8ab8db.cache.dill.track.dill --verbosity=error --flutter-widget-cache --enable-experiment=alternative-invalidation-strategy
[  +86 ms] Building Linux application...
[  +62 ms] <- compile package:hello/main.dart
[  +19 ms] executing: [build/linux/arm64/debug/] cmake -G Ninja -DCMAKE_BUILD_TYPE=Debug -DFLUTTER_TARGET_PLATFORM=linux-arm64 /home/pi/temp/hello/linux
[ +311 ms] -- Configuring done
[   +1 ms] -- Generating done
[        ] -- Build files have been written to: /home/pi/temp/hello/build/linux/arm64/debug
[  +10 ms] executing: ninja -C build/linux/arm64/debug install
[  +42 ms] ninja: Entering directory `build/linux/arm64/debug'
[+13928 ms] [1/6] Generating /home/pi/temp/hello/linux/flutter/ephemeral/libflutter_linux_gtk.so, /home/pi/temp/hello/linux/flutter/ephemeral/flutter_linux/fl_basic_message_channel.h, /home/pi/temp/hello/linux/flutter/ephemeral/flutter_linux/fl_binary_codec.h, /home/pi/temp/hello/linux/flutter/ephemeral/flutter_linux/fl_binary_messenger.h, /home/pi/temp/hello/linux/flutter/ephemeral/flutter_linux/fl_dart_project.h, /home/pi/temp/hello/linux/flutter/ephemeral/flutter_linux/fl_engine.h, /home/pi/temp/hello/linux/flutter/ephemeral/flutter_linux/fl_json_message_codec.h, /home/pi/temp/hello/linux/flutter/ephemeral/flutter_linux/fl_json_method_codec.h, /home/pi/temp/hello/linux/flutter/ephemeral/flutter_linux/fl_message_codec.h, /home/pi/temp/hello/linux/flutter/ephemeral/flutter_linux/fl_method_call.h, /home/pi/temp/hello/linux/flutter/ephemeral/flutter_linux/fl_method_channel.h, /home/pi/temp/hello/linux/flutter/ephemeral/flutter_linux/fl_method_codec.h, /home/pi/temp/hello/linux/flutter/ephemeral/flutter_linux/fl_method_response.h, /home/pi/temp/hello/linux/flutter/ephemeral/flutter_linux/fl_plugin_registrar.h, /home/pi/temp/hello/linux/flutter/ephemeral/flutter_linux/fl_plugin_registry.h, /home/pi/temp/hello/linux/flutter/ephemeral/flutter_linux/fl_standard_message_codec.h, /home/pi/temp/hello/linux/flutter/ephemeral/flutter_linux/fl_standard_method_codec.h, /home/pi/temp/hello/linux/flutter/ephemeral/flutter_linux/fl_string_codec.h, /home/pi/temp/hello/linux/flutter/ephemeral/flutter_linux/fl_value.h, /home/pi/temp/hello/linux/flutter/ephemeral/flutter_linux/fl_view.h, /home/pi/temp/hello/linux/flutter/ephemeral/flutter_linux/flutter_linux.h, _phony_
[  +14 ms] FAILED: /home/pi/temp/hello/linux/flutter/ephemeral/libflutter_linux_gtk.so /home/pi/temp/hello/linux/flutter/ephemeral/flutter_linux/fl_basic_message_channel.h /home/pi/temp/hello/linux/flutter/ephemeral/flutter_linux/fl_binary_codec.h /home/pi/temp/hello/linux/flutter/ephemeral/flutter_linux/fl_binary_messenger.h /home/pi/temp/hello/linux/flutter/ephemeral/flutter_linux/fl_dart_project.h /home/pi/temp/hello/linux/flutter/ephemeral/flutter_linux/fl_engine.h /home/pi/temp/hello/linux/flutter/ephemeral/flutter_linux/fl_json_message_codec.h /home/pi/temp/hello/linux/flutter/ephemeral/flutter_linux/fl_json_method_codec.h /home/pi/temp/hello/linux/flutter/ephemeral/flutter_linux/fl_message_codec.h /home/pi/temp/hello/linux/flutter/ephemeral/flutter_linux/fl_method_call.h /home/pi/temp/hello/linux/flutter/ephemeral/flutter_linux/fl_method_channel.h /home/pi/temp/hello/linux/flutter/ephemeral/flutter_linux/fl_method_codec.h /home/pi/temp/hello/linux/flutter/ephemeral/flutter_linux/fl_method_response.h /home/pi/temp/hello/linux/flutter/ephemeral/flutter_linux/fl_plugin_registrar.h /home/pi/temp/hello/linux/flutter/ephemeral/flutter_linux/fl_plugin_registry.h /home/pi/temp/hello/linux/flutter/ephemeral/flutter_linux/fl_standard_message_codec.h /home/pi/temp/hello/linux/flutter/ephemeral/flutter_linux/fl_standard_method_codec.h /home/pi/temp/hello/linux/flutter/ephemeral/flutter_linux/fl_string_codec.h /home/pi/temp/hello/linux/flutter/ephemeral/flutter_linux/fl_value.h /home/pi/temp/hello/linux/flutter/ephemeral/flutter_linux/fl_view.h /home/pi/temp/hello/linux/flutter/ephemeral/flutter_linux/flutter_linux.h flutter/_phony_ 
[   +2 ms] cd /home/pi/temp/hello/build/linux/arm64/debug/flutter && /usr/bin/cmake -E env FLUTTER_ROOT=/home/pi/temp/flutter PROJECT_DIR=/home/pi/temp/hello DART_DEFINES=RkxVVFRFUl9XRUJfQVVUT19ERVRFQ1Q9dHJ1ZQ== DART_OBFUSCATION=false TRACK_WIDGET_CREATION=true TREE_SHAKE_ICONS=false PACKAGE_CONFIG=/home/pi/temp/hello/.dart_tool/package_config.json FLUTTER_TARGET=/home/pi/temp/hello/lib/main.dart /home/pi/temp/flutter/packages/flutter_tools/bin/tool_backend.sh linux-arm64 Debug
[   +1 ms] [  +68 ms] Unable to locate an Android SDK.
[        ] [  +75 ms] executing: uname -m
[        ] [  +14 ms] Exit code 0 from: uname -m
[        ] [   +1 ms] aarch64
[        ] [   +5 ms] executing: [/home/pi/temp/flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] [  +21 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[   +1 ms] [   +1 ms] 521028c80827ed98c51d6be47274164f8f34575b
[   +1 ms] [        ] executing: [/home/pi/temp/flutter/] git tag --points-at 521028c80827ed98c51d6be47274164f8f34575b
[        ] [  +57 ms] Exit code 0 from: git tag --points-at 521028c80827ed98c51d6be47274164f8f34575b
[        ] [   +9 ms] executing: [/home/pi/temp/flutter/] git describe --match *.*.* --long --tags 521028c80827ed98c51d6be47274164f8f34575b
[   +1 ms] [  +58 ms] Exit code 0 from: git describe --match *.*.* --long --tags 521028c80827ed98c51d6be47274164f8f34575b
[        ] [   +1 ms] 3.7.0-3.0.pre-38-g521028c808
[   +1 ms] [  +82 ms] executing: [/home/pi/temp/flutter/] git rev-parse --abbrev-ref HEAD
[        ] [  +31 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] [   +1 ms] master
[        ] [ +114 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] [   +4 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[   +1 ms] [   +1 ms] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[   +1 ms] [   +1 ms] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[   +1 ms] [  +23 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[   +1 ms] [   +1 ms] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] [   +1 ms] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] [   +1 ms] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] [   +1 ms] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] [   +1 ms] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] [   +1 ms] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[        ] [ +636 ms] executing: [/home/pi/temp/flutter/] git rev-parse --abbrev-ref --symbolic @{upstream}
[        ] [  +19 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{upstream}
[        ] [   +1 ms] origin/master
[        ] [   +1 ms] executing: [/home/pi/temp/flutter/] git ls-remote --get-url origin
[        ] [  +17 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] [   +1 ms] https://github.com/flutter/flutter.git
[        ] [   +3 ms] Artifact Instance of 'MaterialFonts' is not required, skipping update.
[   +1 ms] [   +1 ms] Artifact Instance of 'GradleWrapper' is not required, skipping update.
[   +1 ms] [        ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] [   +1 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] [   +1 ms] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[   +1 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.
[        ] [   +9 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.
[  +19 ms] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[   +2 ms] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[   +2 ms] [   +1 ms] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [   +1 ms] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [   +1 ms] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [   +1 ms] Artifact Instance of 'FontSubsetArtifacts' is not required, skipping update.
[        ] [   +1 ms] Artifact Instance of 'PubDependencies' is not required, skipping update.
[        ] [ +238 ms] Initializing file store
[        ] [  +36 ms] Done initializing file store
[        ] [ +190 ms] Skipping target: gen_localizations
[        ] [  +46 ms] Skipping target: gen_dart_plugin_registrant
[        ] [+2218 ms] Skipping target: unpack_linux
[        ] [+1871 ms] Skipping target: kernel_snapshot
[        ] [  +15 ms] debug_bundle_linux-arm64_assets: Starting due to {}
[   +2 ms] [ +672 ms] shaderc command: [/home/pi/temp/flutter/bin/cache/artifacts/engine/linux-arm64/impellerc, --sksl, --iplr, --sl=/home/pi/temp/hello/build/flutter_assets/shaders/ink_sparkle.frag, --spirv=/home/pi/temp/hello/build/flutter_assets/shaders/ink_sparkle.frag.spirv, --input=/home/pi/temp/flutter/packages/flutter/lib/src/material/shaders/ink_sparkle.frag, --input-type=frag, --include=/home/pi/temp/flutter/packages/flutter/lib/src/material/shaders, --include=/home/pi/temp/flutter/bin/cache/artifacts/engine/linux-arm64/shader_lib]
[        ] [ +586 ms] Compilation to SkSL failed.
[        ]            /home/pi/temp/flutter/packages/flutter/lib/src/material/shaders/ink_sparkle.frag: GLSL to SPIRV failed; Compilation error. 3 error(s) and 1 warning(s).
[        ] [  +21 ms] Persisting file store
[        ] [  +41 ms] Done persisting file store
[   +1 ms] [  +28 ms] Target debug_bundle_linux-arm64_assets failed: ShaderCompilerException: Shader compilation of "/home/pi/temp/flutter/packages/flutter/lib/src/material/shaders/ink_sparkle.frag" to "/home/pi/temp/hello/build/flutter_assets/shaders/ink_sparkle.frag" failed with exit code 1.
[        ]            impellerc stdout:
[        ]            impellerc stderr:
[        ]            Compilation to SkSL failed.
[        ]            /home/pi/temp/flutter/packages/flutter/lib/src/material/shaders/ink_sparkle.frag: GLSL to SPIRV failed; Compilation error. 3 error(s) and 1 warning(s).
[   +1 ms]            #0      ShaderCompiler.compileShader (package:flutter_tools/src/build_system/targets/shader_compiler.dart:201:9)
[        ]            <asynchronous suspension>
[        ]            #1      copyAssets.<anonymous closure> (package:flutter_tools/src/build_system/targets/assets.dart:127:25)
[        ]            <asynchronous suspension>
[        ]            #2      Future.wait.<anonymous closure> (dart:async/future.dart:522:21)
[   +1 ms]            <asynchronous suspension>
[   +1 ms]            #3      copyAssets (package:flutter_tools/src/build_system/targets/assets.dart:98:3)
[   +1 ms]            <asynchronous suspension>
[  +19 ms]            #4      BundleLinuxAssets.build (package:flutter_tools/src/build_system/targets/linux.dart:141:29)
[   +1 ms]            <asynchronous suspension>
[   +1 ms]            #5      _BuildInstance._invokeInternal (package:flutter_tools/src/build_system/build_system.dart:847:9)
[        ]            <asynchronous suspension>
[   +1 ms]            #6      FlutterBuildSystem.build (package:flutter_tools/src/build_system/build_system.dart:614:16)
[   +1 ms]            <asynchronous suspension>
[   +1 ms]            #7      AssembleCommand.runCommand (package:flutter_tools/src/commands/assemble.dart:334:32)
[   +1 ms]            <asynchronous suspension>
[   +1 ms]            #8      FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1275:27)
[   +1 ms]            <asynchronous suspension>
[   +1 ms]            #9      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
[   +1 ms]            <asynchronous suspension>
[        ]            #10     CommandRunner.runCommand (package:args/command_runner.dart:209:13)
[        ]            <asynchronous suspension>
[   +1 ms]            #11     FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:290:9)
[   +1 ms]            <asynchronous suspension>
[   +1 ms]            #12     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
[        ]            <asynchronous suspension>
[        ]            #13     FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:236:5)
[        ]            <asynchronous suspension>
[        ]            #14     run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:64:9)
[        ]            <asynchronous suspension>
[        ]            #15     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
[        ]            <asynchronous suspension>
[        ]            #16     main (package:flutter_tools/executable.dart:91:3)
[        ]            <asynchronous suspension>
[        ] [  +74 ms] "flutter assemble" took 6,870ms.
[        ] [  +23 ms] 
[        ]            #0      throwToolExit (package:flutter_tools/src/base/common.dart:10:3)
[        ]            #1      AssembleCommand.runCommand (package:flutter_tools/src/commands/assemble.dart:351:7)
[        ]            <asynchronous suspension>
[        ]            #2      FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1275:27)
[        ]            <asynchronous suspension>
[   +1 ms]            #3      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
[   +1 ms]            <asynchronous suspension>
[   +1 ms]            #4      CommandRunner.runCommand (package:args/command_runner.dart:209:13)
[   +1 ms]            <asynchronous suspension>
[   +1 ms]            #5      FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:290:9)
[   +1 ms]            <asynchronous suspension>
[   +1 ms]            #6      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
[   +1 ms]            <asynchronous suspension>
[   +1 ms]            #7      FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:236:5)
[        ]            <asynchronous suspension>
[        ]            #8      run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:64:9)
[        ]            <asynchronous suspension>
[        ]            #9      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
[        ]            <asynchronous suspension>
[        ]            #10     main (package:flutter_tools/executable.dart:91:3)
[        ]            <asynchronous suspension>
[        ] [ +109 ms] ensureAnalyticsSent: 106ms
[        ] [   +1 ms] Running 0 shutdown hooks
[        ] [   +1 ms] Shutdown hooks complete
[   +1 ms] [   +1 ms] exiting with code 1
[   +1 ms] ninja: build stopped: subcommand failed.
[  +60 ms] Building Linux application... (completed in 14.6s)
@exaby73 exaby73 added the in triage Presently being triaged by the triage team label Dec 8, 2022
@exaby73
Copy link
Member

exaby73 commented Dec 8, 2022

Hello @jrstrick. Can you confirm if this issue is still reproducible on master?

@exaby73 exaby73 added the waiting for customer response The Flutter team cannot make further progress on this issue until the original reporter responds label Dec 8, 2022
@jrstrick
Copy link
Author

I can confirm that it is still reproducible on master, yes. The workaround also still works.

@github-actions github-actions bot removed the waiting for customer response The Flutter team cannot make further progress on this issue until the original reporter responds label Dec 14, 2022
@TahaTesser
Copy link
Member

Hey @jrstrick!
Thanks for filing the issue. I can confirm this regression on my Pi 4.

logs
tahatesser@raspberrypi:~/Code/hello $ ../flutter/bin/flutter run -d linux
Downloading linux-arm64/linux-arm64-flutter-gtk tools...            8.5s
Downloading linux-arm64-profile/linux-arm64-flutter-gtk tools...         6.0s
Downloading \-arm64-release/linux-arm64-flutter-gtk tools...         5.2s
Launching lib/main.dart on Linux in debug mode...
ERROR: Compilation to SkSL failed.
/home/tahatesser/Code/flutter/packages/flutter/lib/src/material/shaders/ink_sparkle.frag: warning: (version, profile) forced to be (460, core), while in source code it is (320, es)
/home/tahatesser/Code/flutter/packages/flutter/lib/src/material/shaders/ink_sparkle.frag:9: error: '#include' : Included file not found. for header name: flutter/runtime_effect.glsl
/home/tahatesser/Code/flutter/packages/flutter/lib/src/material/shaders/ink_sparkle.frag:93: error: 'FlutterFragCoord' : no matching overloaded function found
/home/tahatesser/Code/flutter/packages/flutter/lib/src/material/shaders/ink_sparkle.frag:93: error: '=' :  cannot convert from ' const float' to ' temp 2-component vector of float'
ERROR: Target debug_bundle_linux-arm64_assets failed: ShaderCompilerException: Shader compilation of "/home/tahatesser/Code/flutter/packages/flutter/lib/src/material/shaders/ink_sparkle.frag" to "/home/tahatesser/Code/hello/build/flutter_assets/shaders/ink_sparkle.frag" failed with exit code 1.
/home/tahatesser/Code/flutter/packages/flutter/lib/src/material/shaders/ink_sparkle.frag: warning: (version, profile) forced to be (460, core), while in source code it is (320, es)
/home/tahatesser/Code/flutter/packages/flutter/lib/src/material/shaders/ink_sparkle.frag:9: error: '#include' : Included file not found. for header name: flutter/runtime_effect.glsl
/home/tahatesser/Code/flutter/packages/flutter/lib/src/material/shaders/ink_sparkle.frag:93: error: 'FlutterFragCoord' : no matching overloaded function found
/home/tahatesser/Code/flutter/packages/flutter/lib/src/material/shaders/ink_sparkle.frag:93: error: '=' :  cannot convert from ' const float' to ' temp 2-component vector of float'
Building Linux application...                                           
Exception: Build process failed
flutter doctor -v
tahatesser@raspberrypi:~/Code $ flutter/bin/flutter doctor -v
[!] Flutter (Channel master, 3.7.0-9.0.pre.11, on Debian GNU/Linux 11 (bullseye) 5.15.76-v8+, locale en_US.UTF-8)
    • Flutter version 3.7.0-9.0.pre.11 on channel master at /home/tahatesser/Code/flutter
    ! The flutter binary is not on your path. Consider adding /home/tahatesser/Code/flutter/bin to your path.
    ! The dart binary is not on your path. Consider adding /home/tahatesser/Code/flutter/bin to your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision dbc9306380 (2 hours ago), 2022-12-14 13:53:20 -0800
    • Engine revision 0a6a4a58f4
    • Dart version 3.0.0 (build 3.0.0-21.0.dev)
    • DevTools version 2.20.0
    • If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly to perform update
      checks and upgrades.

[✗] Android toolchain - develop for Android devices
    ✗ Unable to locate Android SDK.
      Install Android Studio from: https://developer.android.com/studio/index.html
      On first launch it will assist you in installing the Android SDK components.
      (or visit https://flutter.dev/docs/get-started/install/linux#android-setup for detailed instructions).
      If the Android SDK has been installed to a custom location, please use
      `flutter config --android-sdk` to update to that location.


[✗] Chrome - develop for the web (Cannot find Chrome executable at google-chrome)
    ! Cannot find Chrome. Try setting CHROME_EXECUTABLE to a Chrome executable.

[✓] Linux toolchain - develop for Linux desktop
    • Debian clang version 11.0.1-2
    • cmake version 3.18.4
    • ninja version 1.10.1
    • pkg-config version 0.29.2

[!] 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 (1 available)
    • Linux (desktop) • linux • linux-arm64 • Debian GNU/Linux 11 (bullseye) 5.15.76-v8+

[✓] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 4 categories.

@TahaTesser TahaTesser added c: regression It was better in the past than it is now c: crash Stack traces logged to the console engine flutter/engine repository. See also e: labels. has reproducible steps The issue has been confirmed reproducible and is ready to work on found in release: 3.6 Found to occur in 3.6 platform-target-arm Targeting an ARM-based platform platform-linux Building on or for Linux specifically and removed in triage Presently being triaged by the triage team labels Dec 15, 2022
@chinmaygarde
Copy link
Member

We added shader lib to ARM host builds on https://flutter-review.git.corp.google.com/c/recipes/+/36921. Can we try this again on ToT to see if this issue is resolved?

@chinmaygarde chinmaygarde added waiting for customer response The Flutter team cannot make further progress on this issue until the original reporter responds P2 Important issues not at the top of the work list labels Jan 9, 2023
@znromonk
Copy link

Not OP and not sure if the fix has landed on master, but having same issue on latest master (3.7.0-21.0.pre.42).

Created counter app using flutter create and did ran flutter run -v.

Logs
[  +45 ms] Unable to locate an Android SDK.
[  +35 ms] executing: uname -m
[  +10 ms] Exit code 0 from: uname -m
[        ] aarch64
[   +3 ms] executing: [/home/pi/development/flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[  +12 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] 1220245b330c94ec573d9f4801e93c5c72908f4f
[        ] executing: [/home/pi/development/flutter/] git tag --points-at 1220245b330c94ec573d9f4801e93c5c72908f4f
[  +37 ms] Exit code 0 from: git tag --points-at 1220245b330c94ec573d9f4801e93c5c72908f4f
[   +5 ms] executing: [/home/pi/development/flutter/] git describe --match *.*.* --long --tags 1220245b330c94ec573d9f4801e93c5c72908f4f
[  +46 ms] Exit code 0 from: git describe --match *.*.* --long --tags 1220245b330c94ec573d9f4801e93c5c72908f4f
[        ] 3.7.0-20.0.pre-42-g1220245b33
[  +39 ms] executing: [/home/pi/development/flutter/] git rev-parse --abbrev-ref --symbolic @{upstream}
[  +12 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{upstream}
[        ] origin/master
[        ] executing: [/home/pi/development/flutter/] git ls-remote --get-url origin
[  +11 ms] Exit code 0 from: git ls-remote --get-url origin
[   +4 ms] https://github.com/flutter/flutter.git
[  +62 ms] executing: [/home/pi/development/flutter/] git rev-parse --abbrev-ref HEAD
[  +16 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[   +1 ms] master
[  +73 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.
[  +11 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.
[ +361 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[  +34 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[   +1 ms] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[   +5 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[   +7 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.
[ +441 ms] Skipping pub get: version match.
[ +556 ms] Initializing file store
[  +29 ms] Skipping target: gen_localizations
[  +21 ms] gen_dart_plugin_registrant: Starting due to {InvalidatedReasonKind.inputChanged: The following inputs have updated contents:
/home/pi/projects/my_app/.dart_tool/package_config_subset}
[ +125 ms] gen_dart_plugin_registrant: Complete
[   +3 ms] Skipping target: _composite
[   +6 ms] complete
[  +20 ms] Launching lib/main.dart on Linux in debug mode...
[  +11 ms] /home/pi/development/flutter/bin/cache/dart-sdk/bin/dart --disable-dart-dev
/home/pi/development/flutter/bin/cache/dart-sdk/bin/snapshots/frontend_server.dart.snapshot --sdk-root
/home/pi/development/flutter/bin/cache/artifacts/engine/common/flutter_patched_sdk/ --incremental --target=flutter
--experimental-emit-debug-metadata -DFLUTTER_WEB_AUTO_DETECT=true --output-dill /tmp/flutter_tools.RFZNPA/flutter_tool.PSCHRM/app.dill --packages
/home/pi/projects/my_app/.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/c075001b96339384a97db4862b8ab8db.cache.dill.track.dill --verbosity=error
--flutter-widget-cache --enable-experiment=alternative-invalidation-strategy
[  +86 ms] Building Linux application...
[  +73 ms] <- compile package:my_app/main.dart
[  +12 ms] executing: [build/linux/arm64/debug/] cmake -G Ninja -DCMAKE_BUILD_TYPE=Debug -DFLUTTER_TARGET_PLATFORM=linux-arm64
/home/pi/projects/my_app/linux
[ +185 ms] -- Configuring done
[   +2 ms] -- Generating done
[  +19 ms] -- Build files have been written to: /home/pi/projects/my_app/build/linux/arm64/debug
[  +26 ms] executing: ninja -C build/linux/arm64/debug install
[  +27 ms] ninja: Entering directory `build/linux/arm64/debug'
[+12308 ms] [1/6] Generating /home/pi/projects/my_app/linux/flutter/ephemeral/libflutter_linux_gtk.so,
/home/pi/projects/my_app/linux/flutter/ephemeral/flutter_linux/fl_basic_message_channel.h,
/home/pi/projects/my_app/linux/flutter/ephemeral/flutter_linux/fl_binary_codec.h,
/home/pi/projects/my_app/linux/flutter/ephemeral/flutter_linux/fl_binary_messenger.h,
/home/pi/projects/my_app/linux/flutter/ephemeral/flutter_linux/fl_dart_project.h,
/home/pi/projects/my_app/linux/flutter/ephemeral/flutter_linux/fl_engine.h,
/home/pi/projects/my_app/linux/flutter/ephemeral/flutter_linux/fl_json_message_codec.h,
/home/pi/projects/my_app/linux/flutter/ephemeral/flutter_linux/fl_json_method_codec.h,
/home/pi/projects/my_app/linux/flutter/ephemeral/flutter_linux/fl_message_codec.h,
/home/pi/projects/my_app/linux/flutter/ephemeral/flutter_linux/fl_method_call.h,
/home/pi/projects/my_app/linux/flutter/ephemeral/flutter_linux/fl_method_channel.h,
/home/pi/projects/my_app/linux/flutter/ephemeral/flutter_linux/fl_method_codec.h,
/home/pi/projects/my_app/linux/flutter/ephemeral/flutter_linux/fl_method_response.h,
/home/pi/projects/my_app/linux/flutter/ephemeral/flutter_linux/fl_plugin_registrar.h,
/home/pi/projects/my_app/linux/flutter/ephemeral/flutter_linux/fl_plugin_registry.h,
/home/pi/projects/my_app/linux/flutter/ephemeral/flutter_linux/fl_standard_message_codec.h,
/home/pi/projects/my_app/linux/flutter/ephemeral/flutter_linux/fl_standard_method_codec.h,
/home/pi/projects/my_app/linux/flutter/ephemeral/flutter_linux/fl_string_codec.h,
/home/pi/projects/my_app/linux/flutter/ephemeral/flutter_linux/fl_value.h, /home/pi/projects/my_app/linux/flutter/ephemeral/flutter_linux/fl_view.h,
/home/pi/projects/my_app/linux/flutter/ephemeral/flutter_linux/flutter_linux.h, _phony_
[  +40 ms] FAILED: /home/pi/projects/my_app/linux/flutter/ephemeral/libflutter_linux_gtk.so
/home/pi/projects/my_app/linux/flutter/ephemeral/flutter_linux/fl_basic_message_channel.h
/home/pi/projects/my_app/linux/flutter/ephemeral/flutter_linux/fl_binary_codec.h
/home/pi/projects/my_app/linux/flutter/ephemeral/flutter_linux/fl_binary_messenger.h
/home/pi/projects/my_app/linux/flutter/ephemeral/flutter_linux/fl_dart_project.h
/home/pi/projects/my_app/linux/flutter/ephemeral/flutter_linux/fl_engine.h
/home/pi/projects/my_app/linux/flutter/ephemeral/flutter_linux/fl_json_message_codec.h
/home/pi/projects/my_app/linux/flutter/ephemeral/flutter_linux/fl_json_method_codec.h
/home/pi/projects/my_app/linux/flutter/ephemeral/flutter_linux/fl_message_codec.h
/home/pi/projects/my_app/linux/flutter/ephemeral/flutter_linux/fl_method_call.h
/home/pi/projects/my_app/linux/flutter/ephemeral/flutter_linux/fl_method_channel.h
/home/pi/projects/my_app/linux/flutter/ephemeral/flutter_linux/fl_method_codec.h
/home/pi/projects/my_app/linux/flutter/ephemeral/flutter_linux/fl_method_response.h
/home/pi/projects/my_app/linux/flutter/ephemeral/flutter_linux/fl_plugin_registrar.h
/home/pi/projects/my_app/linux/flutter/ephemeral/flutter_linux/fl_plugin_registry.h
/home/pi/projects/my_app/linux/flutter/ephemeral/flutter_linux/fl_standard_message_codec.h
/home/pi/projects/my_app/linux/flutter/ephemeral/flutter_linux/fl_standard_method_codec.h
/home/pi/projects/my_app/linux/flutter/ephemeral/flutter_linux/fl_string_codec.h
/home/pi/projects/my_app/linux/flutter/ephemeral/flutter_linux/fl_value.h /home/pi/projects/my_app/linux/flutter/ephemeral/flutter_linux/fl_view.h
/home/pi/projects/my_app/linux/flutter/ephemeral/flutter_linux/flutter_linux.h flutter/_phony_
[   +9 ms] cd /home/pi/projects/my_app/build/linux/arm64/debug/flutter && /usr/bin/cmake -E env FLUTTER_ROOT=/home/pi/development/flutter
PROJECT_DIR=/home/pi/projects/my_app DART_DEFINES=RkxVVFRFUl9XRUJfQVVUT19ERVRFQ1Q9dHJ1ZQ== DART_OBFUSCATION=false TRACK_WIDGET_CREATION=true
TREE_SHAKE_ICONS=false PACKAGE_CONFIG=/home/pi/projects/my_app/.dart_tool/package_config.json FLUTTER_TARGET=/home/pi/projects/my_app/lib/main.dart
/home/pi/development/flutter/packages/flutter_tools/bin/tool_backend.sh linux-arm64 Debug
[   +3 ms] [  +73 ms] Unable to locate an Android SDK.
[        ] [  +78 ms] executing: uname -m
[        ] [  +22 ms] Exit code 0 from: uname -m
[   +1 ms] [   +1 ms] aarch64
[        ] [   +5 ms] executing: [/home/pi/development/flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[   +1 ms] [  +16 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[   +1 ms] [   +1 ms] 1220245b330c94ec573d9f4801e93c5c72908f4f
[   +1 ms] [   +1 ms] executing: [/home/pi/development/flutter/] git tag --points-at 1220245b330c94ec573d9f4801e93c5c72908f4f
[        ] [  +46 ms] Exit code 0 from: git tag --points-at 1220245b330c94ec573d9f4801e93c5c72908f4f
[   +1 ms] [   +6 ms] executing: [/home/pi/development/flutter/] git describe --match *.*.* --long --tags 1220245b330c94ec573d9f4801e93c5c72908f4f
[        ] [  +52 ms] Exit code 0 from: git describe --match *.*.* --long --tags 1220245b330c94ec573d9f4801e93c5c72908f4f
[   +1 ms] [   +1 ms] 3.7.0-20.0.pre-42-g1220245b33
[        ] [  +82 ms] executing: [/home/pi/development/flutter/] git rev-parse --abbrev-ref HEAD
[        ] [  +14 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[   +1 ms] [   +1 ms] master
[   +1 ms] [  +96 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] [   +1 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[   +1 ms] [   +1 ms] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[   +1 ms] [   +1 ms] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[   +2 ms] [  +19 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[   +1 ms] [   +1 ms] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[   +1 ms] [   +1 ms] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] [   +1 ms] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[   +1 ms] [   +1 ms] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[   +1 ms] [   +1 ms] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[   +1 ms] [ +718 ms] executing: [/home/pi/development/flutter/] git rev-parse --abbrev-ref --symbolic @{upstream}
[   +1 ms] [  +17 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{upstream}
[   +1 ms] [        ] origin/master
[   +2 ms] [   +1 ms] executing: [/home/pi/development/flutter/] git ls-remote --get-url origin
[        ] [  +13 ms] Exit code 0 from: git ls-remote --get-url origin
[   +1 ms] [        ] https://github.com/flutter/flutter.git
[   +1 ms] [   +3 ms] Artifact Instance of 'MaterialFonts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'GradleWrapper' is not required, skipping update.
[   +1 ms] [        ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[   +3 ms] [        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[   +1 ms] [        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterSdk' is not required, skipping update.
[   +2 ms] [        ] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] [   +1 ms] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[   +1 ms] [   +6 ms] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[   +1 ms] [        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[   +1 ms] [        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[   +1 ms] [   +1 ms] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[   +1 ms] [   +1 ms] 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.
[   +1 ms] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FontSubsetArtifacts' is not required, skipping update.
[   +2 ms] [        ] Artifact Instance of 'PubDependencies' is not required, skipping update.
[        ] [ +219 ms] Initializing file store
[   +1 ms] [  +51 ms] Done initializing file store
[        ] [ +170 ms] Skipping target: gen_localizations
[        ] [  +56 ms] Skipping target: gen_dart_plugin_registrant
[   +2 ms] [+1931 ms] Skipping target: unpack_linux
[   +1 ms] [+1584 ms] Skipping target: kernel_snapshot
[   +1 ms] [  +11 ms] debug_bundle_linux-arm64_assets: Starting due to {}
[   +3 ms] [ +668 ms] shaderc command: [/home/pi/development/flutter/bin/cache/artifacts/engine/linux-arm64/impellerc, --sksl, --iplr,
--sl=/home/pi/projects/my_app/build/flutter_assets/shaders/ink_sparkle.frag,
--spirv=/home/pi/projects/my_app/build/flutter_assets/shaders/ink_sparkle.frag.spirv,
--input=/home/pi/development/flutter/packages/flutter/lib/src/material/shaders/ink_sparkle.frag, --input-type=frag, --remap-samplers,
--include=/home/pi/development/flutter/packages/flutter/lib/src/material/shaders,
--include=/home/pi/development/flutter/bin/cache/artifacts/engine/linux-arm64/shader_lib]
[   +4 ms] [ +583 ms] Compilation to SkSL failed.
[   +1 ms]            /home/pi/development/flutter/packages/flutter/lib/src/material/shaders/ink_sparkle.frag: GLSL to SPIRV failed; Compilation
error. 3 error(s) and 1 warning(s).
[   +6 ms]            /home/pi/development/flutter/packages/flutter/lib/src/material/shaders/ink_sparkle.frag: warning: (version, profile) forced to
be (460, core), while in source code it is (320, es)
[  +18 ms]            /home/pi/development/flutter/packages/flutter/lib/src/material/shaders/ink_sparkle.frag:9: error: '#include' : Included file
not found. for header name: flutter/runtime_effect.glsl
[   +2 ms]            /home/pi/development/flutter/packages/flutter/lib/src/material/shaders/ink_sparkle.frag:93: error: 'FlutterFragCoord' : no
matching overloaded function found
[   +2 ms]            /home/pi/development/flutter/packages/flutter/lib/src/material/shaders/ink_sparkle.frag:93: error: '=' :  cannot convert from
' const float' to ' temp 2-component vector of float'
[   +3 ms] [  +13 ms] Persisting file store
[   +1 ms] [  +35 ms] Done persisting file store
[   +2 ms] [  +21 ms] Target debug_bundle_linux-arm64_assets failed: ShaderCompilerException: Shader compilation of
"/home/pi/development/flutter/packages/flutter/lib/src/material/shaders/ink_sparkle.frag" to
"/home/pi/projects/my_app/build/flutter_assets/shaders/ink_sparkle.frag" failed with exit code 1.
[   +3 ms]            impellerc stdout:
[   +1 ms]            impellerc stderr:
[   +1 ms]            Compilation to SkSL failed.
[   +1 ms]            /home/pi/development/flutter/packages/flutter/lib/src/material/shaders/ink_sparkle.frag: GLSL to SPIRV failed; Compilation
error. 3 error(s) and 1 warning(s).
[   +7 ms]            /home/pi/development/flutter/packages/flutter/lib/src/material/shaders/ink_sparkle.frag: warning: (version, profile) forced to
be (460, core), while in source code it is (320, es)
[   +2 ms]            /home/pi/development/flutter/packages/flutter/lib/src/material/shaders/ink_sparkle.frag:9: error: '#include' : Included file
not found. for header name: flutter/runtime_effect.glsl
[   +2 ms]            /home/pi/development/flutter/packages/flutter/lib/src/material/shaders/ink_sparkle.frag:93: error: 'FlutterFragCoord' : no
matching overloaded function found
[   +3 ms]            /home/pi/development/flutter/packages/flutter/lib/src/material/shaders/ink_sparkle.frag:93: error: '=' :  cannot convert from
' const float' to ' temp 2-component vector of float'
[   +2 ms]            #0      ShaderCompiler.compileShader (package:flutter_tools/src/build_system/targets/shader_compiler.dart:202:9)
[        ]            <asynchronous suspension>
[  +14 ms]            #1      copyAssets.<anonymous closure> (package:flutter_tools/src/build_system/targets/assets.dart:134:25)
[   +1 ms]            <asynchronous suspension>
[   +1 ms]            #2      Future.wait.<anonymous closure> (dart:async/future.dart:522:21)
[   +1 ms]            <asynchronous suspension>
[   +2 ms]            #3      copyAssets (package:flutter_tools/src/build_system/targets/assets.dart:105:3)
[   +1 ms]            <asynchronous suspension>
[   +1 ms]            #4      BundleLinuxAssets.build (package:flutter_tools/src/build_system/targets/linux.dart:141:29)
[   +1 ms]            <asynchronous suspension>
[   +1 ms]            #5      _BuildInstance._invokeInternal (package:flutter_tools/src/build_system/build_system.dart:847:9)
[        ]            <asynchronous suspension>
[   +1 ms]            #6      FlutterBuildSystem.build (package:flutter_tools/src/build_system/build_system.dart:614:16)
[   +1 ms]            <asynchronous suspension>
[   +1 ms]            #7      AssembleCommand.runCommand (package:flutter_tools/src/commands/assemble.dart:334:32)
[   +1 ms]            <asynchronous suspension>
[   +1 ms]            #8      FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1275:27)
[        ]            <asynchronous suspension>
[   +2 ms]            #9      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
[   +1 ms]            <asynchronous suspension>
[   +1 ms]            #10     CommandRunner.runCommand (package:args/command_runner.dart:209:13)
[   +1 ms]            <asynchronous suspension>
[   +2 ms]            #11     FlutterCommandRunner.runCommand.<anonymous closure>
(package:flutter_tools/src/runner/flutter_command_runner.dart:290:9)
[   +6 ms]            <asynchronous suspension>
[   +1 ms]            #12     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
[        ]            <asynchronous suspension>
[   +1 ms]            #13     FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:236:5)
[   +1 ms]            <asynchronous suspension>
[   +1 ms]            #14     run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:64:9)
[   +1 ms]            <asynchronous suspension>
[   +1 ms]            #15     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
[        ]            <asynchronous suspension>
[        ]            #16     main (package:flutter_tools/executable.dart:91:3)
[   +1 ms]            <asynchronous suspension>
[   +1 ms] [  +59 ms] "flutter assemble" took 6,283ms.
[   +1 ms] [  +17 ms]
[   +1 ms]            #0      throwToolExit (package:flutter_tools/src/base/common.dart:10:3)
[   +1 ms]            #1      AssembleCommand.runCommand (package:flutter_tools/src/commands/assemble.dart:351:7)
[   +1 ms]            <asynchronous suspension>
[   +1 ms]            #2      FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1275:27)
[   +5 ms]            <asynchronous suspension>
[   +1 ms]            #3      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
[        ]            <asynchronous suspension>
[   +1 ms]            #4      CommandRunner.runCommand (package:args/command_runner.dart:209:13)
[   +2 ms]            <asynchronous suspension>
[   +1 ms]            #5      FlutterCommandRunner.runCommand.<anonymous closure>
(package:flutter_tools/src/runner/flutter_command_runner.dart:290:9)
[   +1 ms]            <asynchronous suspension>
[   +1 ms]            #6      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
[        ]            <asynchronous suspension>
[   +1 ms]            #7      FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:236:5)
[        ]            <asynchronous suspension>
[   +1 ms]            #8      run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:64:9)
[   +2 ms]            <asynchronous suspension>
[   +1 ms]            #9      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
[   +1 ms]            <asynchronous suspension>
[   +1 ms]            #10     main (package:flutter_tools/executable.dart:91:3)
[   +1 ms]            <asynchronous suspension>
[   +1 ms] [  +20 ms] ensureAnalyticsSent: 16ms
[   +1 ms] [        ] Running 0 shutdown hooks
[   +2 ms] [        ] Shutdown hooks complete
[   +1 ms] [   +1 ms] exiting with code 1
[   +1 ms] ninja: build stopped: subcommand failed.
[  +56 ms] Building Linux application... (completed in 13.0s)

[+52096 ms] Exception: Build process failed
[  +24 ms] "flutter run" took 66,973ms.
[  +17 ms]
           #0      throwToolExit (package:flutter_tools/src/base/common.dart:10:3)
           #1      RunCommand.runCommand (package:flutter_tools/src/commands/run.dart:722:9)
           <asynchronous suspension>
           #2      FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1275:27)
           <asynchronous suspension>
           #3      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
           <asynchronous suspension>
           #4      CommandRunner.runCommand (package:args/command_runner.dart:209:13)
           <asynchronous suspension>
           #5      FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:290:9)
           <asynchronous suspension>
           #6      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
           <asynchronous suspension>
           #7      FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:236:5)
           <asynchronous suspension>
           #8      run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:64:9)
           <asynchronous suspension>
           #9      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
           <asynchronous suspension>
           #10     main (package:flutter_tools/executable.dart:91:3)
           <asynchronous suspension>


[  +14 ms] ensureAnalyticsSent: 10ms
[        ] Running 1 shutdown hook
[  +22 ms] Shutdown hooks complete
[        ] exiting with code 1
flutter doctor -v
[✓] Flutter (Channel master, 3.7.0-21.0.pre.42, on Debian GNU/Linux 11 (bullseye) 5.15.84-v8+, locale en_GB.UTF-8)
    • Flutter version 3.7.0-21.0.pre.42 on channel master at /home/pi/development/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 1220245b33 (18 hours ago), 2023-01-14 19:53:06 -0500
    • Engine revision f790304409
    • Dart version 3.0.0 (build 3.0.0-122.0.dev)
    • DevTools version 2.20.0

[✗] Android toolchain - develop for Android devices
    ✗ Unable to locate Android SDK.
      Install Android Studio from: https://developer.android.com/studio/index.html
      On first launch it will assist you in installing the Android SDK components.
      (or visit https://flutter.dev/docs/get-started/install/linux#android-setup for detailed instructions).
      If the Android SDK has been installed to a custom location, please use
      `flutter config --android-sdk` to update to that location.


[✗] Chrome - develop for the web (Cannot find Chrome executable at google-chrome)
    ! Cannot find Chrome. Try setting CHROME_EXECUTABLE to a Chrome executable.

[✓] Linux toolchain - develop for Linux desktop
    • Debian clang version 11.0.1-2
    • cmake version 3.18.4
    • ninja version 1.10.1
    • pkg-config version 0.29.2

[!] 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 (1 available)
    • Linux (desktop) • linux • linux-arm64 • Debian GNU/Linux 11 (bullseye) 5.15.84-v8+

[✓] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 3 categories.

@TahaTesser TahaTesser removed the waiting for customer response The Flutter team cannot make further progress on this issue until the original reporter responds label Jan 15, 2023
@TahaTesser
Copy link
Member

Removing the waiting label as the issue is confirmed on the master channel in the above comment.

@jrstrick
Copy link
Author

I am the original poster, and I can also confirm it's still present in the latest master.

@znromonk
Copy link

I did find a workaround before spilling water on to my Pi4 and ruining it.

  1. cd into the flutter install folder (~\development\flutter\ for me)
  2. git checkout stable
  3. flutter upgrade
  4. flutter config --enable-linux-desktop
  5. create sample project, cd into the sample project folder
  6. flutter build linux (it built successfully for me)
  7. cd into the flutter install folder again
  8. git checkout master
  9. flutter upgrade

@znromonk
Copy link

The stable was just bumped to ver 3.7 which currently presents the shader compilation issue. Since the last version that worked was 3.3.10, the above method of checking out stable and back to master will no longer work.

Modified workaround from above:

Step 2: Replace git checkout stable from above with:
git checkout 135454af32477f815a7525073027a3ff9eff1bfd
Step 3: Do not do flutter upgrade, instead run flutter doctor. It should show ver 3.3.10
...
Step 6: flutter build linux should now work on arm64 linux.

I have tested it on NVIDIA Jetson Nano

@FeodorFitsner
Copy link

I can confirm trying to build a simple app on Linux ARM with Flutter 3.7 (either stable and master branches) fails with Compilation to SkSL fails compiling error. I'm testing on Ubuntu 20.04 on AWS.

However, workaround of copying shader_lib directory mention by @jrstrick works! 🎉

The following is a script to install, patch and run a test build on ARM that works:

# install Flutter
git clone https://github.com/flutter/flutter.git -b stable "$HOME/flutter"
export PATH="$PATH:$HOME/flutter/bin"
flutter upgrade
flutter doctor
flutter config --enable-linux-desktop

# patch Flutter engine
pushd /tmp
curl -O https://storage.googleapis.com/flutter_infra_release/releases/stable/linux/flutter_linux_3.7.0-stable.tar.xz
tar -xvf flutter_linux_3.7.0-stable.tar.xz flutter/bin/cache/artifacts/engine/linux-x64/shader_lib
cp -R flutter/bin/cache/artifacts/engine/linux-x64/shader_lib ~/flutter/bin/cache/artifacts/engine/linux-arm64
popd

# build a simple app
flutter create my_app
cd my_app
flutter build linux

Hope that helps someone looking for a solution.

An official fix of this issue would be greatly appreciated.

@christopherfujino
Copy link
Member

On the new 3.7.0 stable, there are a lot of instances of this on ARM macOS, but with the process exiting with -9 (I think means SIGKILL).

@christopherfujino
Copy link
Member

cc @andrewkolos one thing to check would be verify the binary is codesigned and notarized, you can use this tool: https://github.com/flutter/cocoon/blob/main/codesign/bin/verify.dart

@chinmaygarde chinmaygarde added P1 High-priority issues at the top of the work list and removed P2 labels Feb 13, 2023
@cjsmocjsmo
Copy link

Flutter crash report.
Please report a bug at https://github.com/flutter/flutter/issues.

command

flutter run -d chrome

exception

ShaderCompilerException: ShaderCompilerException: Shader compilation of "/home/charliepi/snap/flutter/common/flutter/packages/flutter/lib/src/material/shaders/ink_sparkle.frag" to "build/flutter_assets/shaders/ink_sparkle.frag" failed with exit code 1.
impellerc stdout:

impellerc stderr:
Compilation to SkSL failed.
/home/charliepi/snap/flutter/common/flutter/packages/flutter/lib/src/material/shaders/ink_sparkle.frag: GLSL to SPIRV failed; Compilation error. 3 error(s) and 1 warning(s).
/home/charliepi/snap/flutter/common/flutter/packages/flutter/lib/src/material/shaders/ink_sparkle.frag: warning: (version, profile) forced to be (460, core), while in source code it is (320, es)
/home/charliepi/snap/flutter/common/flutter/packages/flutter/lib/src/material/shaders/ink_sparkle.frag:9: error: '#include' : Included file not found. for header name: flutter/runtime_effect.glsl
/home/charliepi/snap/flutter/common/flutter/packages/flutter/lib/src/material/shaders/ink_sparkle.frag:93: error: 'FlutterFragCoord' : no matching overloaded function found
/home/charliepi/snap/flutter/common/flutter/packages/flutter/lib/src/material/shaders/ink_sparkle.frag:93: error: '=' : cannot convert from ' const float' to ' temp 2-component vector of float'

#0      ShaderCompiler.compileShader (package:flutter_tools/src/build_system/targets/shader_compiler.dart:201:9)
<asynchronous suspension>
#1      writeBundle.<anonymous closure> (package:flutter_tools/src/bundle_builder.dart:191:25)
<asynchronous suspension>
#2      Future.wait.<anonymous closure> (dart:async/future.dart:522:21)
<asynchronous suspension>
#3      writeBundle (package:flutter_tools/src/bundle_builder.dart:169:3)
<asynchronous suspension>
#4      WebDevFS.update (package:flutter_tools/src/isolated/devfs_web.dart:857:9)
<asynchronous suspension>
#5      ResidentWebRunner._updateDevFS (package:flutter_tools/src/isolated/resident_web_runner.dart:488:35)
<asynchronous suspension>
#6      ResidentWebRunner.run.<anonymous closure> (package:flutter_tools/src/isolated/resident_web_runner.dart:284:41)
<asynchronous suspension>
#7      asyncGuard.<anonymous closure> (package:flutter_tools/src/base/async_guard.dart:111:24)
<asynchronous suspension>

flutter doctor

�[32m[✓]�[39m Flutter (Channel master, 3.8.0-12.0.pre.52, on Ubuntu 22.04.1 LTS 5.15.0-1024-raspi, locale
    en_US.UTF-8)
    �[32m•�[39m Flutter version 3.8.0-12.0.pre.52 on channel master at
      /home/charliepi/snap/flutter/common/flutter
    �[32m•�[39m Upstream repository https://github.com/flutter/flutter.git
    �[32m•�[39m Framework revision 17b4c70ff5 (5 hours ago), 2023-02-14 10:07:02 +0000
    �[32m•�[39m Engine revision cbb7fc020b
    �[32m•�[39m Dart version 3.0.0 (build 3.0.0-233.0.dev)
    �[32m•�[39m DevTools version 2.21.1

�[31m[✗]�[39m Android toolchain - develop for Android devices
    �[31m✗�[39m Unable to locate Android SDK.
      Install Android Studio from: https://developer.android.com/studio/index.html
      On first launch it will assist you in installing the Android SDK components.
      (or visit https://flutter.dev/docs/get-started/install/linux#android-setup for detailed
      instructions).
      If the Android SDK has been installed to a custom location, please use
      `flutter config --android-sdk` to update to that location.


�[32m[✓]�[39m Chrome - develop for the web
    �[32m•�[39m CHROME_EXECUTABLE = /snap/bin/chromium

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

�[33m[!]�[39m Android Studio (not installed)
    �[32m•�[39m 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).

�[32m[✓]�[39m VS Code (version 1.75.1)
    �[32m•�[39m VS Code at /usr/share/code
    �[32m•�[39m Flutter extension version 3.58.0

�[32m[✓]�[39m Connected device (2 available)
    �[32m•�[39m Linux (desktop) • linux  • linux-arm64    • Ubuntu 22.04.1 LTS 5.15.0-1024-raspi
    �[32m•�[39m Chrome (web)    • chrome • web-javascript • Chromium 110.0.5481.77 snap

�[32m[✓]�[39m HTTP Host Availability
    �[32m•�[39m All required HTTP hosts are available

�[33m!�[39m Doctor found issues in 2 categories.

@cjsmocjsmo
Copy link

cjsmocjsmo commented Feb 14, 2023

#115433 and #114214 may also be relevant.

this issue was corrected in #115433 with this artifact:

https://flutter-review.git.corp.google.com/c/recipes/+/36921

@zexiplus
Copy link

I can confirm trying to build a simple app on Linux ARM with Flutter 3.7 (either stable and master branches) fails with Compilation to SkSL fails compiling error. I'm testing on Ubuntu 20.04 on AWS.

However, workaround of copying shader_lib directory mention by @jrstrick works! 🎉

The following is a script to install, patch and run a test build on ARM that works:

# install Flutter
git clone https://github.com/flutter/flutter.git -b stable "$HOME/flutter"
export PATH="$PATH:$HOME/flutter/bin"
flutter upgrade
flutter doctor
flutter config --enable-linux-desktop

# patch Flutter engine
pushd /tmp
curl -O https://storage.googleapis.com/flutter_infra_release/releases/stable/linux/flutter_linux_3.7.0-stable.tar.xz
tar -xvf flutter_linux_3.7.0-stable.tar.xz flutter/bin/cache/artifacts/engine/linux-x64/shader_lib
cp -R flutter/bin/cache/artifacts/engine/linux-x64/shader_lib ~/flutter/bin/cache/artifacts/engine/linux-arm64
popd

# build a simple app
flutter create my_app
cd my_app
flutter build linux

Hope that helps someone looking for a solution.

An official fix of this issue would be greatly appreciated.

That's really works, thx

@andrewkolos
Copy link
Contributor

I am not sure what aspect @andrewkolos was tracking. If its the arm64 hosts issue, then thats fine. Either way, @jonahwilliams is going to ping @andrewkolos to get more context here.

Yes, this tracking the issue affecting arm64 hosts.

@cjsmocjsmo
Copy link

With this bug being 2+ month old now could someone from the flutter team please give use a status update as to what you have found the problem to be, and what the plan is going forward?. Thanks

@toplinuxsir
Copy link

Yes, the same question!

@xnox
Copy link

xnox commented Mar 3, 2023

Are the shaders in question not attempted to be built on arm64? or do they fail to build on arm64? If the code to compile them is x86_64 specific, is cross-compilation an option? I.e. use x86_64 cross-build on arm64 platform to get those shaders built?

@pedrox-hs
Copy link

pedrox-hs commented Apr 1, 2023

I can confirm trying to build a simple app on Linux ARM with Flutter 3.7 (either stable and master branches) fails with Compilation to SkSL fails compiling error. I'm testing on Ubuntu 20.04 on AWS.

However, workaround of copying shader_lib directory mention by @jrstrick works! tada

The following is a script to install, patch and run a test build on ARM that works:

# install Flutter
git clone https://github.com/flutter/flutter.git -b stable "$HOME/flutter"
export PATH="$PATH:$HOME/flutter/bin"
flutter upgrade
flutter doctor
flutter config --enable-linux-desktop

# patch Flutter engine
pushd /tmp
curl -O https://storage.googleapis.com/flutter_infra_release/releases/stable/linux/flutter_linux_3.7.0-stable.tar.xz
tar -xvf flutter_linux_3.7.0-stable.tar.xz flutter/bin/cache/artifacts/engine/linux-x64/shader_lib
cp -R flutter/bin/cache/artifacts/engine/linux-x64/shader_lib ~/flutter/bin/cache/artifacts/engine/linux-arm64
popd

# build a simple app
flutter create my_app
cd my_app
flutter build linux

Hope that helps someone looking for a solution.

An official fix of this issue would be greatly appreciated.

It fixes the error of the missing 'shader_lib', but it still does not work for building an Android APK. I am still getting this error:

💪 Building with sound null safety 💪

Target android_aot_release_android-arm failed: ProcessException: Failed to find "/home/devel/tools/flutter/bin/cache/artifacts/engine/android-arm-release/linux-arm64/gen_snapshot" in the search path.
  Command: /home/devel/tools/flutter/bin/cache/artifacts/engine/android-arm-release/linux-arm64/gen_snapshot 
Target android_aot_release_android-arm64 failed: ProcessException: Failed to find "/home/devel/tools/flutter/bin/cache/artifacts/engine/android-arm64-release/linux-arm64/gen_snapshot" in the search path.
  Command: /home/devel/tools/flutter/bin/cache/artifacts/engine/android-arm64-release/linux-arm64/gen_snapshot 
Target android_aot_release_android-x64 failed: ProcessException: Failed to find "/home/devel/tools/flutter/bin/cache/artifacts/engine/android-x64-release/linux-arm64/gen_snapshot" in the search path.
  Command: /home/devel/tools/flutter/bin/cache/artifacts/engine/android-x64-release/linux-arm64/gen_snapshot 


FAILURE: Build failed with an exception.

* Where:
Script '/home/devel/tools/flutter/packages/flutter_tools/gradle/flutter.gradle' line: 1151

* What went wrong:
Execution failed for task ':app:compileFlutterBuildRelease'.
> Process 'command '/home/devel/tools/flutter/bin/flutter'' finished with non-zero exit value 1

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 29s
Running Gradle task 'assembleRelease'...                           30.3s
Gradle task assembleRelease failed with exit code 1

@HidenoriMatsubayashi
Copy link
Member

I think this issue has been fixed. I confirmed flutter-v3.10.2 worked fine on jetson orin board.

@bdero
Copy link
Member

bdero commented Jun 7, 2023

The underlying issue ended up getting tracked and fixed here: #122346. The shader_lib is being included in the latest linux_arm64 builds. Closing this as resolved.

@github-actions
Copy link

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 Jun 27, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
c: crash Stack traces logged to the console c: regression It was better in the past than it is now engine flutter/engine repository. See also e: labels. found in release: 3.6 Found to occur in 3.6 has reproducible steps The issue has been confirmed reproducible and is ready to work on P1 High-priority issues at the top of the work list platform-linux Building on or for Linux specifically platform-target-arm Targeting an ARM-based platform r: fixed Issue is closed as already fixed in a newer version
Projects
None yet
Development

No branches or pull requests