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

Build process failed on Ubuntu 24.04 for ARM #148636

Closed
calcitem opened this issue May 19, 2024 · 2 comments
Closed

Build process failed on Ubuntu 24.04 for ARM #148636

calcitem opened this issue May 19, 2024 · 2 comments
Labels
in triage Presently being triaged by the triage team

Comments

@calcitem
Copy link

calcitem commented May 19, 2024

Steps to reproduce

  1. Install Ubuntu 24.04 for ARM: https://ubuntu.com/download/server/arm
  2. Run sudo apt install libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev libgstreamer-plugins-bad1.0-dev gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-plugins-bad gstreamer1.0-plugins-ugly gstreamer1.0-libav gstreamer1.0-tools
  3. Use flutter build linux --debug -v to build https://github.com/calcitem/Sanmill/tree/master/src/ui/flutter_app

Actual results

Build process failed.

Logs

Logs
ubuntu@ubuntu:~/Sanmill/src/ui/flutter_app$ ldd --version
ldd (Ubuntu GLIBC 2.39-0ubuntu8) 2.39
Copyright (C) 2024 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Written by Roland McGrath and Ulrich Drepper.

ubuntu@ubuntu:~/Sanmill/src/ui/flutter_app$ flutter build linux --debug -v
[   +1 ms] Could not interpret results of "git describe": 3.22.0-36.0.pre.51
[   +6 ms] executing: uname -m
[   +1 ms] Exit code 0 from: uname -m
[        ] aarch64
[  +20 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[        ] Artifact Instance of 'LegacyCanvasKitRemover' is not required, skipping update.
[        ] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[   +1 ms] Flutter assets will be downloaded from https://storage.flutter-io.cn. Make sure you trust this source!
[  +18 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 'LegacyCanvasKitRemover' is not required, skipping update.
[        ] Artifact Instance of 'FlutterSdk' is not required, skipping update.
[        ] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of '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.
[  +38 ms] Skipping pub get: version match.
[  +19 ms] Found plugin flutter_platform_alert at /home/ubuntu/.pub-cache/git/flutter_platform_alert-b7ccdf76340618ad6c405168d5e16cdc4db13d15/
[   +2 ms] Found plugin image_gallery_saver at /home/ubuntu/.pub-cache/git/image_gallery_saver-9a63cbe8483c96bee2de613f64482f2178a5b961/
[   +2 ms] Found plugin soundpool at /home/ubuntu/.pub-cache/git/soundpool-bbac9ef24111386aa90baa572a5f40dbc4034e8c/soundpool/
[   +1 ms] Found plugin soundpool_windux at /home/ubuntu/.pub-cache/git/soundpool-cec09fe369a66dfbe49b7299331b88e8a272919c/soundpool_windux/
[  +14 ms] Found plugin audioplayers at /home/ubuntu/.pub-cache/hosted/pub.dev/audioplayers-5.2.1/
[   +1 ms] Found plugin audioplayers_android at /home/ubuntu/.pub-cache/hosted/pub.dev/audioplayers_android-4.0.3/
[   +1 ms] Found plugin audioplayers_darwin at /home/ubuntu/.pub-cache/hosted/pub.dev/audioplayers_darwin-5.0.2/
[   +1 ms] Found plugin audioplayers_linux at /home/ubuntu/.pub-cache/hosted/pub.dev/audioplayers_linux-3.1.0/
[   +2 ms] Found plugin audioplayers_web at /home/ubuntu/.pub-cache/hosted/pub.dev/audioplayers_web-4.1.0/
[   +1 ms] Found plugin audioplayers_windows at /home/ubuntu/.pub-cache/hosted/pub.dev/audioplayers_windows-3.1.0/
[  +28 ms] Found plugin device_info_plus at /home/ubuntu/.pub-cache/hosted/pub.dev/device_info_plus-10.1.0/
[   +8 ms] Found plugin flutter_email_sender at /home/ubuntu/.pub-cache/hosted/pub.dev/flutter_email_sender-6.0.2/
[   +7 ms] Found plugin flutter_mailer at /home/ubuntu/.pub-cache/hosted/pub.dev/flutter_mailer-2.1.2/
[   +2 ms] Found plugin flutter_native_splash at /home/ubuntu/.pub-cache/hosted/pub.dev/flutter_native_splash-2.4.0/
[   +2 ms] Found plugin flutter_sharing_intent at /home/ubuntu/.pub-cache/hosted/pub.dev/flutter_sharing_intent-1.1.1/
[   +2 ms] Found plugin fluttertoast at /home/ubuntu/.pub-cache/hosted/pub.dev/fluttertoast-8.2.5/
[  +25 ms] Found plugin native_screenshot_widget at /home/ubuntu/.pub-cache/hosted/pub.dev/native_screenshot_widget-0.0.8/
[   +2 ms] Found plugin package_info_plus at /home/ubuntu/.pub-cache/hosted/pub.dev/package_info_plus-8.0.0/
[   +2 ms] Found plugin path_provider at /home/ubuntu/.pub-cache/hosted/pub.dev/path_provider-2.1.3/
[        ] Found plugin path_provider_android at /home/ubuntu/.pub-cache/hosted/pub.dev/path_provider_android-2.2.4/
[        ] Found plugin path_provider_foundation at /home/ubuntu/.pub-cache/hosted/pub.dev/path_provider_foundation-2.4.0/
[        ] Found plugin path_provider_linux at /home/ubuntu/.pub-cache/hosted/pub.dev/path_provider_linux-2.2.1/
[   +1 ms] Found plugin path_provider_windows at /home/ubuntu/.pub-cache/hosted/pub.dev/path_provider_windows-2.2.1/
[   +5 ms] Found plugin share_plus at /home/ubuntu/.pub-cache/hosted/pub.dev/share_plus-9.0.0/
[   +4 ms] Found plugin soundpool_macos at /home/ubuntu/.pub-cache/hosted/pub.dev/soundpool_macos-2.3.0/
[   +1 ms] Found plugin soundpool_web at /home/ubuntu/.pub-cache/hosted/pub.dev/soundpool_web-2.2.0/
[   +8 ms] Found plugin url_launcher at /home/ubuntu/.pub-cache/hosted/pub.dev/url_launcher-6.2.6/
[        ] Found plugin url_launcher_android at /home/ubuntu/.pub-cache/hosted/pub.dev/url_launcher_android-6.3.1/
[        ] Found plugin url_launcher_ios at /home/ubuntu/.pub-cache/hosted/pub.dev/url_launcher_ios-6.3.0/
[        ] Found plugin url_launcher_linux at /home/ubuntu/.pub-cache/hosted/pub.dev/url_launcher_linux-3.1.1/
[        ] Found plugin url_launcher_macos at /home/ubuntu/.pub-cache/hosted/pub.dev/url_launcher_macos-3.2.0/
[        ] Found plugin url_launcher_web at /home/ubuntu/.pub-cache/hosted/pub.dev/url_launcher_web-2.3.1/
[        ] Found plugin url_launcher_windows at /home/ubuntu/.pub-cache/hosted/pub.dev/url_launcher_windows-3.1.1/
[  +20 ms] Found plugin flutter_platform_alert at /home/ubuntu/.pub-cache/git/flutter_platform_alert-b7ccdf76340618ad6c405168d5e16cdc4db13d15/
[        ] Found plugin image_gallery_saver at /home/ubuntu/.pub-cache/git/image_gallery_saver-9a63cbe8483c96bee2de613f64482f2178a5b961/
[   +1 ms] Found plugin soundpool at /home/ubuntu/.pub-cache/git/soundpool-bbac9ef24111386aa90baa572a5f40dbc4034e8c/soundpool/
[        ] Found plugin soundpool_windux at /home/ubuntu/.pub-cache/git/soundpool-cec09fe369a66dfbe49b7299331b88e8a272919c/soundpool_windux/
[   +3 ms] Found plugin audioplayers at /home/ubuntu/.pub-cache/hosted/pub.dev/audioplayers-5.2.1/
[        ] Found plugin audioplayers_android at /home/ubuntu/.pub-cache/hosted/pub.dev/audioplayers_android-4.0.3/
[        ] Found plugin audioplayers_darwin at /home/ubuntu/.pub-cache/hosted/pub.dev/audioplayers_darwin-5.0.2/
[        ] Found plugin audioplayers_linux at /home/ubuntu/.pub-cache/hosted/pub.dev/audioplayers_linux-3.1.0/
[   +1 ms] Found plugin audioplayers_web at /home/ubuntu/.pub-cache/hosted/pub.dev/audioplayers_web-4.1.0/
[        ] Found plugin audioplayers_windows at /home/ubuntu/.pub-cache/hosted/pub.dev/audioplayers_windows-3.1.0/
[  +12 ms] Found plugin device_info_plus at /home/ubuntu/.pub-cache/hosted/pub.dev/device_info_plus-10.1.0/
[   +5 ms] Found plugin flutter_email_sender at /home/ubuntu/.pub-cache/hosted/pub.dev/flutter_email_sender-6.0.2/
[   +1 ms] Found plugin flutter_mailer at /home/ubuntu/.pub-cache/hosted/pub.dev/flutter_mailer-2.1.2/
[        ] Found plugin flutter_native_splash at /home/ubuntu/.pub-cache/hosted/pub.dev/flutter_native_splash-2.4.0/
[        ] Found plugin flutter_sharing_intent at /home/ubuntu/.pub-cache/hosted/pub.dev/flutter_sharing_intent-1.1.1/
[        ] Found plugin fluttertoast at /home/ubuntu/.pub-cache/hosted/pub.dev/fluttertoast-8.2.5/
[  +12 ms] Found plugin native_screenshot_widget at /home/ubuntu/.pub-cache/hosted/pub.dev/native_screenshot_widget-0.0.8/
[   +1 ms] Found plugin package_info_plus at /home/ubuntu/.pub-cache/hosted/pub.dev/package_info_plus-8.0.0/
[   +1 ms] Found plugin path_provider at /home/ubuntu/.pub-cache/hosted/pub.dev/path_provider-2.1.3/
[        ] Found plugin path_provider_android at /home/ubuntu/.pub-cache/hosted/pub.dev/path_provider_android-2.2.4/
[        ] Found plugin path_provider_foundation at /home/ubuntu/.pub-cache/hosted/pub.dev/path_provider_foundation-2.4.0/
[        ] Found plugin path_provider_linux at /home/ubuntu/.pub-cache/hosted/pub.dev/path_provider_linux-2.2.1/
[        ] Found plugin path_provider_windows at /home/ubuntu/.pub-cache/hosted/pub.dev/path_provider_windows-2.2.1/
[   +3 ms] Found plugin share_plus at /home/ubuntu/.pub-cache/hosted/pub.dev/share_plus-9.0.0/
[   +2 ms] Found plugin soundpool_macos at /home/ubuntu/.pub-cache/hosted/pub.dev/soundpool_macos-2.3.0/
[        ] Found plugin soundpool_web at /home/ubuntu/.pub-cache/hosted/pub.dev/soundpool_web-2.2.0/
[   +7 ms] Found plugin url_launcher at /home/ubuntu/.pub-cache/hosted/pub.dev/url_launcher-6.2.6/
[        ] Found plugin url_launcher_android at /home/ubuntu/.pub-cache/hosted/pub.dev/url_launcher_android-6.3.1/
[        ] Found plugin url_launcher_ios at /home/ubuntu/.pub-cache/hosted/pub.dev/url_launcher_ios-6.3.0/
[        ] Found plugin url_launcher_linux at /home/ubuntu/.pub-cache/hosted/pub.dev/url_launcher_linux-3.1.1/
[        ] Found plugin url_launcher_macos at /home/ubuntu/.pub-cache/hosted/pub.dev/url_launcher_macos-3.2.0/
[        ] Found plugin url_launcher_web at /home/ubuntu/.pub-cache/hosted/pub.dev/url_launcher_web-2.3.1/
[        ] Found plugin url_launcher_windows at /home/ubuntu/.pub-cache/hosted/pub.dev/url_launcher_windows-3.1.1/
[  +11 ms] Generating /home/ubuntu/Sanmill/src/ui/flutter_app/android/app/src/main/java/io/flutter/plugins/GeneratedPluginRegistrant.java
[  +34 ms] Building Linux application...
[   +1 ms] executing: [build/linux/arm64/debug/] cmake -G Ninja -DCMAKE_BUILD_TYPE=Debug -DFLUTTER_TARGET_PLATFORM=linux-arm64 /home/ubuntu/Sanmill/src/ui/flutter_app/linux
[  +23 ms] -- Configuring done
[  +11 ms] -- Generating done
[        ] -- Build files have been written to: /home/ubuntu/Sanmill/src/ui/flutter_app/build/linux/arm64/debug
[   +3 ms] executing: ninja -C build/linux/arm64/debug install
[   +2 ms] ninja: Entering directory `build/linux/arm64/debug'
[+2420 ms] [1/14] Generating /home/ubuntu/Sanmill/src/ui/flutter_app/linux/flutter/ephemeral/libflutter_linux_gtk.so,
/home/ubuntu/Sanmill/src/ui/flutter_app/linux/flutter/ephemeral/flutter_linux/fl_basic_message_channel.h,
/home/ubuntu/Sanmill/src/ui/flutter_app/linux/flutter/ephemeral/flutter_linux/fl_binary_codec.h,
/home/ubuntu/Sanmill/src/ui/flutter_app/linux/flutter/ephemeral/flutter_linux/fl_binary_messenger.h,
/home/ubuntu/Sanmill/src/ui/flutter_app/linux/flutter/ephemeral/flutter_linux/fl_dart_project.h, /home/ubuntu/Sanmill/src/ui/flutter_app/linux/flutter/ephemeral/flutter_linux/fl_engine.h,
/home/ubuntu/Sanmill/src/ui/flutter_app/linux/flutter/ephemeral/flutter_linux/fl_json_message_codec.h,
/home/ubuntu/Sanmill/src/ui/flutter_app/linux/flutter/ephemeral/flutter_linux/fl_json_method_codec.h,
/home/ubuntu/Sanmill/src/ui/flutter_app/linux/flutter/ephemeral/flutter_linux/fl_message_codec.h,
/home/ubuntu/Sanmill/src/ui/flutter_app/linux/flutter/ephemeral/flutter_linux/fl_method_call.h,
/home/ubuntu/Sanmill/src/ui/flutter_app/linux/flutter/ephemeral/flutter_linux/fl_method_channel.h,
/home/ubuntu/Sanmill/src/ui/flutter_app/linux/flutter/ephemeral/flutter_linux/fl_method_codec.h,
/home/ubuntu/Sanmill/src/ui/flutter_app/linux/flutter/ephemeral/flutter_linux/fl_method_response.h,
/home/ubuntu/Sanmill/src/ui/flutter_app/linux/flutter/ephemeral/flutter_linux/fl_plugin_registrar.h,
/home/ubuntu/Sanmill/src/ui/flutter_app/linux/flutter/ephemeral/flutter_linux/fl_plugin_registry.h,
/home/ubuntu/Sanmill/src/ui/flutter_app/linux/flutter/ephemeral/flutter_linux/fl_standard_message_codec.h,
/home/ubuntu/Sanmill/src/ui/flutter_app/linux/flutter/ephemeral/flutter_linux/fl_standard_method_codec.h,
/home/ubuntu/Sanmill/src/ui/flutter_app/linux/flutter/ephemeral/flutter_linux/fl_string_codec.h, /home/ubuntu/Sanmill/src/ui/flutter_app/linux/flutter/ephemeral/flutter_linux/fl_value.h,
/home/ubuntu/Sanmill/src/ui/flutter_app/linux/flutter/ephemeral/flutter_linux/fl_view.h, /home/ubuntu/Sanmill/src/ui/flutter_app/linux/flutter/ephemeral/flutter_linux/flutter_linux.h,
_phony_
[   +3 ms] [   +1 ms] Could not interpret results of "git describe": 3.22.0-36.0.pre.51
[        ] [   +6 ms] executing: uname -m
[        ] [   +1 ms] Exit code 0 from: uname -m
[        ] [        ] aarch64
[        ] [  +14 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[        ] [        ] Artifact Instance of 'LegacyCanvasKitRemover' is not required, skipping update.
[        ] [   +1 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[        ] [   +1 ms] Flutter assets will be downloaded from https://storage.flutter-io.cn. Make sure you trust this source!
[        ] [  +38 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 'LegacyCanvasKitRemover' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterSdk' is not required, skipping update.
[        ] [        ] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of '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.
[        ] [  +10 ms] Initializing file store
[        ] [   +9 ms] Done initializing file store
[        ] [  +75 ms] Skipping target: gen_localizations
[        ] [        ] Skipping target: gen_dart_plugin_registrant
[        ] [ +412 ms] Skipping target: unpack_linux
[        ] [ +604 ms] Skipping target: kernel_snapshot_program
[        ] [   +3 ms] Skipping target: native_assets
[        ] [        ] Skipping target: kernel_snapshot_native_assets
[        ] [        ] Skipping target: kernel_snapshot
[        ] [+1032 ms] Skipping target: debug_bundle_linux-arm64_assets
[        ] [        ] Persisting file store
[        ] [   +9 ms] Done persisting file store
[        ] [   +7 ms] build succeeded.
[        ] [   +4 ms] "flutter assemble" took 2,216ms.
[        ] [   +1 ms] Running 1 shutdown hook
[        ] [        ] Shutdown hooks complete
[        ] [        ] exiting with code 0
[ +169 ms] [2/5] Building CXX object CMakeFiles/mill.dir/flutter/generated_plugin_registrant.cc.o
[ +114 ms] [3/5] Building CXX object CMakeFiles/mill.dir/my_application.cc.o
[ +158 ms] [4/5] Linking CXX executable intermediates_do_not_run/mill
[        ] FAILED: intermediates_do_not_run/mill
[  +23 ms] : && /snap/flutter/current/usr/bin/clang++  -g  -B/snap/flutter/current/usr/lib/gcc/aarch64-linux-gnu/9 -B/snap/flutter/current/usr/lib/aarch64-linux-gnu
-B/snap/flutter/current/lib/aarch64-linux-gnu -B/snap/flutter/current/usr/lib/ -L/snap/flutter/current/usr/lib/gcc/aarch64-linux-gnu/9 -L/snap/flutter/current/usr/lib/aarch64-linux-gnu
-L/snap/flutter/current/lib/aarch64-linux-gnu -L/snap/flutter/current/usr/lib/ -lblkid -lgcrypt -llzma -llz4 -lgpg-error -luuid -lpthread -ldl -lepoxy -lfontconfig
-B/snap/flutter/current/usr/lib/gcc/aarch64-linux-gnu/9 -B/snap/flutter/current/usr/lib/aarch64-linux-gnu -B/snap/flutter/current/lib/aarch64-linux-gnu -B/snap/flutter/current/usr/lib/
-L/snap/flutter/current/usr/lib/gcc/aarch64-linux-gnu/9 -L/snap/flutter/current/usr/lib/aarch64-linux-gnu -L/snap/flutter/current/lib/aarch64-linux-gnu -L/snap/flutter/current/usr/lib/
-lblkid -lgcrypt -llzma -llz4 -lgpg-error -luuid -lpthread -ldl -lepoxy -lfontconfig CMakeFiles/mill.dir/main.cc.o CMakeFiles/mill.dir/my_application.cc.o
CMakeFiles/mill.dir/home/ubuntu/Sanmill/src/ui/flutter_app/command/mill_engine.cpp.o CMakeFiles/mill.dir/home/ubuntu/Sanmill/src/ui/flutter_app/command/command_channel.cpp.o
CMakeFiles/mill.dir/home/ubuntu/Sanmill/src/ui/flutter_app/command/command_queue.cpp.o CMakeFiles/mill.dir/home/ubuntu/Sanmill/src/ui/flutter_app/command/engine_main.cpp.o
CMakeFiles/mill.dir/home/ubuntu/Sanmill/src/bitboard.cpp.o CMakeFiles/mill.dir/home/ubuntu/Sanmill/src/endgame.cpp.o CMakeFiles/mill.dir/home/ubuntu/Sanmill/src/evaluate.cpp.o
CMakeFiles/mill.dir/home/ubuntu/Sanmill/src/main.cpp.o CMakeFiles/mill.dir/home/ubuntu/Sanmill/src/mcts.cpp.o CMakeFiles/mill.dir/home/ubuntu/Sanmill/src/mills.cpp.o
CMakeFiles/mill.dir/home/ubuntu/Sanmill/src/misc.cpp.o CMakeFiles/mill.dir/home/ubuntu/Sanmill/src/movegen.cpp.o CMakeFiles/mill.dir/home/ubuntu/Sanmill/src/movepick.cpp.o
CMakeFiles/mill.dir/home/ubuntu/Sanmill/src/option.cpp.o CMakeFiles/mill.dir/home/ubuntu/Sanmill/src/position.cpp.o CMakeFiles/mill.dir/home/ubuntu/Sanmill/src/rule.cpp.o
CMakeFiles/mill.dir/home/ubuntu/Sanmill/src/search.cpp.o CMakeFiles/mill.dir/home/ubuntu/Sanmill/src/thread.cpp.o CMakeFiles/mill.dir/home/ubuntu/Sanmill/src/tt.cpp.o
CMakeFiles/mill.dir/home/ubuntu/Sanmill/src/uci.cpp.o CMakeFiles/mill.dir/home/ubuntu/Sanmill/src/ucioption.cpp.o CMakeFiles/mill.dir/home/ubuntu/Sanmill/src/perfect/perfect_adaptor.cpp.o
CMakeFiles/mill.dir/home/ubuntu/Sanmill/src/perfect/perfect_api.cpp.o CMakeFiles/mill.dir/home/ubuntu/Sanmill/src/perfect/perfect_common.cpp.o
CMakeFiles/mill.dir/home/ubuntu/Sanmill/src/perfect/perfect_debug.cpp.o CMakeFiles/mill.dir/home/ubuntu/Sanmill/src/perfect/perfect_eval_elem.cpp.o
CMakeFiles/mill.dir/home/ubuntu/Sanmill/src/perfect/perfect_game.cpp.o CMakeFiles/mill.dir/home/ubuntu/Sanmill/src/perfect/perfect_game_state.cpp.o
CMakeFiles/mill.dir/home/ubuntu/Sanmill/src/perfect/perfect_hash.cpp.o CMakeFiles/mill.dir/home/ubuntu/Sanmill/src/perfect/perfect_log.cpp.o
CMakeFiles/mill.dir/home/ubuntu/Sanmill/src/perfect/perfect_move.cpp.o CMakeFiles/mill.dir/home/ubuntu/Sanmill/src/perfect/perfect_player.cpp.o
CMakeFiles/mill.dir/home/ubuntu/Sanmill/src/perfect/perfect_rules.cpp.o CMakeFiles/mill.dir/home/ubuntu/Sanmill/src/perfect/perfect_sec_val.cpp.o
CMakeFiles/mill.dir/home/ubuntu/Sanmill/src/perfect/perfect_sector.cpp.o CMakeFiles/mill.dir/home/ubuntu/Sanmill/src/perfect/perfect_sector_graph.cpp.o
CMakeFiles/mill.dir/home/ubuntu/Sanmill/src/perfect/perfect_symmetries.cpp.o CMakeFiles/mill.dir/home/ubuntu/Sanmill/src/perfect/perfect_symmetries_slow.cpp.o
CMakeFiles/mill.dir/home/ubuntu/Sanmill/src/perfect/perfect_wrappers.cpp.o CMakeFiles/mill.dir/flutter/generated_plugin_registrant.cc.o  -o intermediates_do_not_run/mill
-Wl,-rpath,/home/ubuntu/Sanmill/src/ui/flutter_app/build/linux/arm64/debug/plugins/audioplayers_linux:/home/ubuntu/Sanmill/src/ui/flutter_app/build/linux/arm64/debug/plugins/flutter_platfor
m_alert:/home/ubuntu/Sanmill/src/ui/flutter_app/build/linux/arm64/debug/plugins/soundpool_windux:/home/ubuntu/Sanmill/src/ui/flutter_app/build/linux/arm64/debug/plugins/url_launcher_linux:/
home/ubuntu/Sanmill/src/ui/flutter_app/linux/flutter/ephemeral:  -lpthread  plugins/audioplayers_linux/libaudioplayers_linux_plugin.so
plugins/flutter_platform_alert/libflutter_platform_alert_plugin.so  plugins/soundpool_windux/libsoundpool_windux_plugin.so  plugins/url_launcher_linux/liburl_launcher_linux_plugin.so
/home/ubuntu/Sanmill/src/ui/flutter_app/linux/flutter/ephemeral/libflutter_linux_gtk.so  /snap/flutter/current/usr/lib/aarch64-linux-gnu/libgtk-3.so
/snap/flutter/current/usr/lib/aarch64-linux-gnu/libgdk-3.so  /snap/flutter/current/usr/lib/aarch64-linux-gnu/libpangocairo-1.0.so
/snap/flutter/current/usr/lib/aarch64-linux-gnu/libpango-1.0.so  /snap/flutter/current/usr/lib/aarch64-linux-gnu/libharfbuzz.so
/snap/flutter/current/usr/lib/aarch64-linux-gnu/libatk-1.0.so  /snap/flutter/current/usr/lib/aarch64-linux-gnu/libcairo-gobject.so
/snap/flutter/current/usr/lib/aarch64-linux-gnu/libcairo.so  /snap/flutter/current/usr/lib/aarch64-linux-gnu/libgdk_pixbuf-2.0.so
/snap/flutter/current/usr/lib/aarch64-linux-gnu/libgio-2.0.so  /snap/flutter/current/usr/lib/aarch64-linux-gnu/libgobject-2.0.so
/snap/flutter/current/usr/lib/aarch64-linux-gnu/libglib-2.0.so && :
[   +8 ms] /snap/flutter/current/usr/bin/ld: /lib/aarch64-linux-gnu/libdw.so.1: undefined reference to `dlopen@GLIBC_2.34'
[        ] /snap/flutter/current/usr/bin/ld: /lib/aarch64-linux-gnu/libdw.so.1: undefined reference to `pthread_rwlock_init@GLIBC_2.34'
[        ] /snap/flutter/current/usr/bin/ld: /lib/aarch64-linux-gnu/libdw.so.1: undefined reference to `pthread_rwlock_wrlock@GLIBC_2.34'
[        ] /snap/flutter/current/usr/bin/ld: /lib/aarch64-linux-gnu/libgstreamer-1.0.so.0: undefined reference to `__isoc23_strtol@GLIBC_2.38'
[        ] /snap/flutter/current/usr/bin/ld: /lib/aarch64-linux-gnu/libdw.so.1: undefined reference to `__isoc23_strtoull@GLIBC_2.38'
[        ] /snap/flutter/current/usr/bin/ld: /lib/aarch64-linux-gnu/libgstreamer-1.0.so.0: undefined reference to `stat64@GLIBC_2.33'
[        ] /snap/flutter/current/usr/bin/ld: /lib/aarch64-linux-gnu/libzstd.so.1: undefined reference to `pthread_create@GLIBC_2.34'
[        ] /snap/flutter/current/usr/bin/ld: /lib/aarch64-linux-gnu/libgstreamer-1.0.so.0: undefined reference to `g_pattern_spec_match_string'
[        ] /snap/flutter/current/usr/bin/ld: /lib/aarch64-linux-gnu/libgstapp-1.0.so.0: undefined reference to `g_once_init_enter_pointer'
[        ] /snap/flutter/current/usr/bin/ld: /lib/aarch64-linux-gnu/libdw.so.1: undefined reference to `__isoc23_fscanf@GLIBC_2.38'
[        ] /snap/flutter/current/usr/bin/ld: /lib/aarch64-linux-gnu/libgstreamer-1.0.so.0: undefined reference to `__isoc23_sscanf@GLIBC_2.38'
[        ] /snap/flutter/current/usr/bin/ld: /lib/aarch64-linux-gnu/libgstreamer-1.0.so.0: undefined reference to `g_time_zone_new_identifier'
[        ] /snap/flutter/current/usr/bin/ld: /lib/aarch64-linux-gnu/libgstreamer-1.0.so.0: undefined reference to `__isoc23_strtoul@GLIBC_2.38'
[        ] /snap/flutter/current/usr/bin/ld: /lib/aarch64-linux-gnu/libzstd.so.1: undefined reference to `pthread_join@GLIBC_2.34'
[        ] /snap/flutter/current/usr/bin/ld: /lib/aarch64-linux-gnu/libdw.so.1: undefined reference to `pthread_rwlock_tryrdlock@GLIBC_2.34'
[        ] /snap/flutter/current/usr/bin/ld: /lib/aarch64-linux-gnu/libdw.so.1: undefined reference to `dlclose@GLIBC_2.34'
[        ] /snap/flutter/current/usr/bin/ld: /lib/aarch64-linux-gnu/libdw.so.1: undefined reference to `pthread_rwlock_rdlock@GLIBC_2.34'
[        ] /snap/flutter/current/usr/bin/ld: /lib/aarch64-linux-gnu/libunwind.so.8: undefined reference to `fstat@GLIBC_2.33'
[        ] /snap/flutter/current/usr/bin/ld: /lib/aarch64-linux-gnu/libunwind.so.8: undefined reference to `stat@GLIBC_2.33'
[        ] /snap/flutter/current/usr/bin/ld: /lib/aarch64-linux-gnu/libdw.so.1: undefined reference to `pthread_once@GLIBC_2.34'
[        ] /snap/flutter/current/usr/bin/ld: /lib/aarch64-linux-gnu/libgstreamer-1.0.so.0: undefined reference to `g_string_free_and_steal'
[        ] /snap/flutter/current/usr/bin/ld: /lib/aarch64-linux-gnu/libgstreamer-1.0.so.0: undefined reference to `dladdr@GLIBC_2.34'
[        ] /snap/flutter/current/usr/bin/ld: /lib/aarch64-linux-gnu/libdw.so.1: undefined reference to `pthread_rwlock_destroy@GLIBC_2.34'
[        ] /snap/flutter/current/usr/bin/ld: /lib/aarch64-linux-gnu/libdw.so.1: undefined reference to `pthread_rwlock_unlock@GLIBC_2.34'
[        ] /snap/flutter/current/usr/bin/ld: /lib/aarch64-linux-gnu/libdw.so.1: undefined reference to `__isoc23_strtoll@GLIBC_2.38'
[        ] /snap/flutter/current/usr/bin/ld: /lib/aarch64-linux-gnu/libdw.so.1: undefined reference to `dlsym@GLIBC_2.34'
[        ] /snap/flutter/current/usr/bin/ld: /lib/aarch64-linux-gnu/libgstbase-1.0.so.0: undefined reference to `g_memdup2'
[        ] /snap/flutter/current/usr/bin/ld: /lib/aarch64-linux-gnu/libgstapp-1.0.so.0: undefined reference to `g_once_init_leave_pointer'
[        ] clang: error: linker command failed with exit code 1 (use -v to see invocation)
[        ] ninja: build stopped: subcommand failed.
[   +4 ms] Building Linux application... (completed in 2,946ms)
[        ] "flutter linux" took 3,309ms.
[   +1 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:210:5)
           <asynchronous suspension>
           #2      buildLinux (package:flutter_tools/src/linux/build_linux.dart:83:5)
           <asynchronous suspension>
           #3      BuildLinuxCommand.runCommand (package:flutter_tools/src/commands/build_linux.dart:89:5)
           <asynchronous suspension>
           #4      FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1394:27)
           <asynchronous suspension>
           #5      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:153:19)
           <asynchronous suspension>
           #6      CommandRunner.runCommand (package:args/command_runner.dart:212:13)
           <asynchronous suspension>
           #7      FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:372:9)
           <asynchronous suspension>
           #8      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:153:19)
           <asynchronous suspension>
           #9      FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:308:5)
           <asynchronous suspension>
           #10     run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:130:9)
           <asynchronous suspension>
           #11     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:153:19)
           <asynchronous suspension>
           #12     main (package:flutter_tools/executable.dart:93:3)
           <asynchronous suspension>


[        ] Running 1 shutdown hook
[        ] Shutdown hooks complete
[        ] exiting with code 1

Flutter Doctor output

Doctor output
Flutter assets will be downloaded from https://storage.flutter-io.cn. Make sure you trust this source!
[✓] Flutter (Channel master, 3.22.0-36.0.pre.51, on Ubuntu 24.04 LTS 6.8.0-31-generic, locale en_US.UTF-8)
    • Flutter version 3.22.0-36.0.pre.51 on channel master at /home/ubuntu/snap/flutter/common/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision adf279f308 (6 hours ago), 2024-05-18 17:42:22 -0600
    • Engine revision 552a965b70
    • Dart version 3.5.0 (build 3.5.0-167.0.dev)
    • DevTools version 2.36.0-dev.10
    • Flutter download mirror https://storage.flutter-io.cn

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /home/ubuntu/Android/Sdk
    • Platform android-34, build-tools 34.0.0
    • Java binary at: /usr/bin/java
    • Java version OpenJDK Runtime Environment (build 21.0.3+9-Ubuntu-1ubuntu1)
    • All Android licenses accepted.

[✗] 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
    • clang version 10.0.0-4ubuntu1
    • cmake version 3.16.3
    • ninja version 1.10.0
    • pkg-config version 0.29.1

[!] Android Studio (version 2023.3)
    • Android Studio at /home/ubuntu/development/android-studio
    • Flutter plugin version 79.0.2
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    ✗ Unable to determine bundled Java version.
    • Try updating or re-installing Android Studio.

[!] Proxy Configuration
    • HTTP_PROXY is set
    ! NO_PROXY is not set

[☠] Connected device (the doctor check crashed)
    ✗ Due to an error, the doctor check did not complete. If the error message below is not helpful, please let us know about this issue at https://github.com/flutter/flutter/issues.
    ✗ Error: Unable to run "adb", check your Android SDK installation and ANDROID_HOME environment variable: /home/ubuntu/Android/Sdk/platform-tools/adb
      Error details: Process exited abnormally with exit code 2:
      /home/ubuntu/Android/Sdk/platform-tools/adb: 15: Syntax error: Unterminated quoted string
    • #0      throwToolExit (package:flutter_tools/src/base/common.dart:10:3)
      #1      AndroidDevices.pollingGetDevices (package:flutter_tools/src/android/android_device_discovery.dart:75:7)
      <asynchronous suspension>
      #2      PollingDeviceDiscovery._populateDevices (package:flutter_tools/src/device.dart:548:36)
      <asynchronous suspension>
      #3      Future.wait.<anonymous closure> (dart:async/future.dart:534:21)
      <asynchronous suspension>
      #4      DeviceManager.refreshAllDevices (package:flutter_tools/src/device.dart:218:40)
      <asynchronous suspension>
      #5      DeviceValidator.validate (package:flutter_tools/src/doctor.dart:715:34)
      <asynchronous suspension>
      #6      Future.any.onValue (dart:async/future.dart:628:5)
      <asynchronous suspension>


[✓] Network resources
    • All expected network resources are available.

! Doctor found issues in 4 categories.
@huycozy huycozy added the in triage Presently being triaged by the triage team label May 20, 2024
@huycozy
Copy link
Member

huycozy commented May 20, 2024

Hi @calcitem
I see you are using Flutter installation from snap. Not sure if it's the cause but I see errors libdw.so.1: undefined reference to on #121034 as well. Could you check if the issue persists by using Flutter SDK from this Flutter repository (as you are using ARM Linux host, see #60678 (comment))?

@huycozy huycozy added the waiting for customer response The Flutter team cannot make further progress on this issue until the original reporter responds label May 20, 2024
@calcitem
Copy link
Author

Thanks for the suggestion. I've switched to using the Flutter SDK downloaded directly through VSCode, and the issue with libdw.so.1: undefined reference to seems to have disappeared. I appreciate the help!

@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 May 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in triage Presently being triaged by the triage team
Projects
None yet
Development

No branches or pull requests

2 participants