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

Snap version of desktop app has missing permissions #512

Closed
leancode opened this issue Nov 22, 2022 · 10 comments
Closed

Snap version of desktop app has missing permissions #512

leancode opened this issue Nov 22, 2022 · 10 comments
Labels
bug Something isn't working

Comments

@leancode
Copy link

It appears that the desktop app hosted on smapcrafters was build with missing permissions for "home". The upload functionality is not working, most likely because, the snap has no permission to access the home directory so the file browser never opens. This is true for uploading logos or documents. Please fix.

@hillelcoren hillelcoren transferred this issue from invoiceninja/invoiceninja Nov 22, 2022
@hillelcoren
Copy link
Member

Thanks for reporting this! I believe I've found a solution here, we'll include it with the next release.

https://forum.snapcraft.io/t/file-system-exception-permission-denied/30053/4

@hillelcoren hillelcoren added the bug Something isn't working label Nov 22, 2022
@leancode
Copy link
Author

Thank you! I see your change, you added the home plug! I am trying to build the snap locally but the build fails for develop as well as master branch. I am just running "snapcraft" in the admin-portal directory. Am I doing something wrong?

@hillelcoren
Copy link
Member

What error are you seeing?

The next release should be after the weekend if you want to wait for it.

@leancode
Copy link
Author

Sorry, now I am bitten by the bug. I have to figure out this isn't building otherwise it won't leave me alone. Here is the error:
Screenshot from 2022-11-23 12-06-22

@hillelcoren
Copy link
Member

Can you post the earlier part of the error?

Also, what do you see when running flutter doctor

@leancode
Copy link
Author

leancode commented Nov 24, 2022

flutter doctor passes all ok

Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.3.8, on Ubuntu 22.04.1 LTS 5.15.0-52-generic, locale en_US.UTF-8)
[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.1)
[✓] Chrome - develop for the web
[✓] Linux toolchain - develop for Linux desktop
[✓] Android Studio (version 2021.3)
[✓] VS Code (version 1.73.1)
[✓] Connected device (2 available)
[✓] HTTP Host Availability

• No issues found!

snapcraft is a different matter. Here is the output:

[dom@domzb:~/.local/src/admin-portal$](mailto:dom@domzb:~/.local/src/admin-portal$) snapcraft
Launching a VM.
The flutter plugin is currently in beta, its API may break. Use at your own risk.
Skipping pull flutter-extension (already ran)
Skipping pull gnome-3-28-extension (already ran)
Skipping pull invoiceninja (already ran)
Skipping build flutter-extension (already ran)
Skipping build gnome-3-28-extension (already ran)
Building invoiceninja
+ snapcraftctl build
flutter pub get
   Woah! You appear to be trying to run flutter as root.
   We strongly recommend running the flutter tool without superuser privileges.
  /
📎
Warning: You are using these overridden dependencies:
! photo_view 0.13.0 from git https://github.com/bluefireteam/photo_view at 23063d
Running "flutter pub get" in build...                               4.6s
flutter build linux --release -v -t lib/main.dart
   Woah! You appear to be trying to run flutter as root.
   We strongly recommend running the flutter tool without superuser privileges.
  /
📎
[  +67 ms] executing: uname -m
[  +32 ms] Exit code 0 from: uname -m
[        ] x86_64
[   +8 ms] executing: [/root/snap/flutter/common/flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[   +4 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] 52b3dc25f6471c27b2144594abb11c741cb88f57
[        ] executing: [/root/snap/flutter/common/flutter/] git tag --points-at 52b3dc25f6471c27b2144594abb11c741cb88f57
[  +16 ms] Exit code 0 from: git tag --points-at 52b3dc25f6471c27b2144594abb11c741cb88f57
[        ] 3.3.8
[  +47 ms] executing: [/root/snap/flutter/common/flutter/] git rev-parse --abbrev-ref --symbolic @{upstream}
[   +4 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{upstream}
[   +2 ms] origin/stable
[        ] executing: [/root/snap/flutter/common/flutter/] git ls-remote --get-url origin
[   +3 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] https://github.com/flutter/flutter.git
[  +47 ms] Unable to locate an Android SDK.
[   +5 ms] executing: [/root/snap/flutter/common/flutter/] git rev-parse --abbrev-ref HEAD
[  +11 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] stable
[  +62 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[   +4 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[  +52 ms] Artifact Instance of 'MaterialFonts' is not required, skipping update.
[        ] Artifact Instance of 'GradleWrapper' is not required, skipping update.
[        ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[        ] Artifact Instance of 'FlutterSdk' is not required, skipping update.
[        ] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[   +2 ms] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[        ] 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.
[  +66 ms] Skipping pub get: version match.
[  +79 ms] Found plugin contacts_service at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/contacts_service-0.6.3/
[  +14 ms] Found plugin file_picker at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/file_picker-4.5.1/
[   +6 ms] Found plugin flutter_plugin_android_lifecycle at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_plugin_android_lifecycle-2.0.5/
[   +8 ms] Found plugin google_sign_in at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/google_sign_in-5.3.0/
[   +1 ms] Found plugin google_sign_in_android at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/google_sign_in_android-5.2.5/
[   +2 ms] Found plugin google_sign_in_ios at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/google_sign_in_ios-5.2.5/
[   +1 ms] Found plugin google_sign_in_web at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/google_sign_in_web-0.10.1/
[   +4 ms] Found plugin image_cropper at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/image_cropper-2.0.2/
[   +1 ms] Found plugin image_cropper_for_web at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/image_cropper_for_web-0.0.3/
[   +1 ms] Found plugin image_picker at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/image_picker-0.8.5/
[   +1 ms] Found plugin image_picker_android at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/image_picker_android-0.8.4+11/
[   +1 ms] Found plugin image_picker_for_web at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/image_picker_for_web-2.1.6/
[   +1 ms] Found plugin image_picker_ios at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/image_picker_ios-0.8.4+11/
[   +2 ms] Found plugin in_app_purchase at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/in_app_purchase-3.0.6/
[   +1 ms] Found plugin in_app_purchase_android at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/in_app_purchase_android-0.2.3/
[   +1 ms] Found plugin in_app_purchase_storekit at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/in_app_purchase_storekit-0.3.1/
[   +1 ms] Found plugin in_app_review at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/in_app_review-2.0.4/
[   +4 ms] Found plugin local_auth at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/local_auth-1.1.11/
[   +8 ms] Found plugin msix at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/msix-3.5.1/
[   +8 ms] Found plugin package_info at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/package_info-2.0.2/
[   +1 ms] Found plugin package_info_plus at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/package_info_plus-1.4.2/
[   +7 ms] Found plugin package_info_plus_linux at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/package_info_plus_linux-1.0.5/
[   +1 ms] Found plugin package_info_plus_macos at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/package_info_plus_macos-1.3.0/
[   +1 ms] Found plugin package_info_plus_web at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/package_info_plus_web-1.0.5/
[   +1 ms] Found plugin package_info_plus_windows at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/package_info_plus_windows-1.0.5/
[   +2 ms] Found plugin path_provider at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider-2.0.9/
[   +1 ms] Found plugin path_provider_android at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_android-2.0.12/
[   +1 ms] Found plugin path_provider_ios at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_ios-2.0.8/
[   +1 ms] Found plugin path_provider_linux at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_linux-2.1.5/
[   +1 ms] Found plugin path_provider_macos at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_macos-2.0.5/
[   +1 ms] Found plugin path_provider_windows at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_windows-2.0.5/
[   +3 ms] Found plugin permission_handler at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/permission_handler-9.2.0/
[   +1 ms] Found plugin permission_handler_android at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/permission_handler_android-9.0.2+1/
[   +1 ms] Found plugin permission_handler_apple at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/permission_handler_apple-9.0.4/
[   +2 ms] Found plugin permission_handler_windows at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/permission_handler_windows-0.1.0/
[   +5 ms] Found plugin printing at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/printing-5.8.0/
[  +10 ms] Found plugin screen_retriever at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/screen_retriever-0.1.3/
[   +3 ms] Found plugin sentry_flutter at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/sentry_flutter-6.9.1/
[   +1 ms] Found plugin share at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/share-2.0.4/
[   +1 ms] Found plugin shared_preferences at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences-2.0.13/
[   +1 ms] Found plugin shared_preferences_android at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences_android-2.0.11/
[   +1 ms] Found plugin shared_preferences_ios at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences_ios-2.1.0/
[        ] Found plugin shared_preferences_linux at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences_linux-2.1.0/
[        ] Found plugin shared_preferences_macos at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences_macos-2.0.3/
[   +1 ms] Found plugin shared_preferences_web at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences_web-2.0.3/
[        ] Found plugin shared_preferences_windows at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences_windows-2.1.0/
[   +2 ms] Found plugin sign_in_with_apple at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/sign_in_with_apple-4.0.0/
[   +1 ms] Found plugin sign_in_with_apple_web at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/sign_in_with_apple_web-1.0.1/
[   +1 ms] Found plugin smart_auth at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/smart_auth-1.0.5/
[   +3 ms] Found plugin sqflite at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/sqflite-2.0.2+1/
[   +9 ms] Found plugin url_launcher at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher-6.1.5/
[        ] Found plugin url_launcher_android at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher_android-6.0.15/
[        ] Found plugin url_launcher_ios at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher_ios-6.0.15/
[        ] Found plugin url_launcher_linux at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher_linux-3.0.0/
[        ] Found plugin url_launcher_macos at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher_macos-3.0.0/
[   +1 ms] Found plugin url_launcher_web at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher_web-2.0.9/
[        ] Found plugin url_launcher_windows at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher_windows-3.0.0/
[   +4 ms] Found plugin webview_flutter at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/webview_flutter-3.0.4/
[   +1 ms] Found plugin webview_flutter_android at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/webview_flutter_android-2.8.5/
[   +1 ms] Found plugin webview_flutter_wkwebview at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/webview_flutter_wkwebview-2.7.2/
[   +1 ms] Found plugin window_manager at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/window_manager-0.2.7/
[  +63 ms] Found plugin contacts_service at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/contacts_service-0.6.3/
[   +7 ms] Found plugin file_picker at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/file_picker-4.5.1/
[   +3 ms] Found plugin flutter_plugin_android_lifecycle at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_plugin_android_lifecycle-2.0.5/
[   +3 ms] Found plugin google_sign_in at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/google_sign_in-5.3.0/
[        ] Found plugin google_sign_in_android at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/google_sign_in_android-5.2.5/
[        ] Found plugin google_sign_in_ios at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/google_sign_in_ios-5.2.5/
[        ] Found plugin google_sign_in_web at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/google_sign_in_web-0.10.1/
[   +3 ms] Found plugin image_cropper at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/image_cropper-2.0.2/
[        ] Found plugin image_cropper_for_web at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/image_cropper_for_web-0.0.3/
[        ] Found plugin image_picker at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/image_picker-0.8.5/
[        ] Found plugin image_picker_android at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/image_picker_android-0.8.4+11/
[        ] Found plugin image_picker_for_web at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/image_picker_for_web-2.1.6/
[        ] Found plugin image_picker_ios at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/image_picker_ios-0.8.4+11/
[   +1 ms] Found plugin in_app_purchase at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/in_app_purchase-3.0.6/
[   +1 ms] Found plugin in_app_purchase_android at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/in_app_purchase_android-0.2.3/
[   +1 ms] Found plugin in_app_purchase_storekit at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/in_app_purchase_storekit-0.3.1/
[   +1 ms] Found plugin in_app_review at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/in_app_review-2.0.4/
[   +5 ms] Found plugin local_auth at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/local_auth-1.1.11/
[   +3 ms] Found plugin msix at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/msix-3.5.1/
[   +1 ms] Found plugin package_info at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/package_info-2.0.2/
[   +1 ms] Found plugin package_info_plus at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/package_info_plus-1.4.2/
[   +1 ms] Found plugin package_info_plus_linux at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/package_info_plus_linux-1.0.5/
[        ] Found plugin package_info_plus_macos at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/package_info_plus_macos-1.3.0/
[        ] Found plugin package_info_plus_web at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/package_info_plus_web-1.0.5/
[        ] Found plugin package_info_plus_windows at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/package_info_plus_windows-1.0.5/
[   +1 ms] Found plugin path_provider at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider-2.0.9/
[        ] Found plugin path_provider_android at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_android-2.0.12/
[   +1 ms] Found plugin path_provider_ios at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_ios-2.0.8/
[        ] Found plugin path_provider_linux at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_linux-2.1.5/
[        ] Found plugin path_provider_macos at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_macos-2.0.5/
[        ] Found plugin path_provider_windows at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_windows-2.0.5/
[   +1 ms] Found plugin permission_handler at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/permission_handler-9.2.0/
[        ] Found plugin permission_handler_android at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/permission_handler_android-9.0.2+1/
[        ] Found plugin permission_handler_apple at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/permission_handler_apple-9.0.4/
[        ] Found plugin permission_handler_windows at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/permission_handler_windows-0.1.0/
[   +2 ms] Found plugin printing at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/printing-5.8.0/
[   +3 ms] Found plugin screen_retriever at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/screen_retriever-0.1.3/
[   +3 ms] Found plugin sentry_flutter at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/sentry_flutter-6.9.1/
[        ] Found plugin share at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/share-2.0.4/
[        ] Found plugin shared_preferences at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences-2.0.13/
[        ] Found plugin shared_preferences_android at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences_android-2.0.11/
[        ] Found plugin shared_preferences_ios at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences_ios-2.1.0/
[        ] Found plugin shared_preferences_linux at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences_linux-2.1.0/
[        ] Found plugin shared_preferences_macos at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences_macos-2.0.3/
[        ] Found plugin shared_preferences_web at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences_web-2.0.3/
[        ] Found plugin shared_preferences_windows at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences_windows-2.1.0/
[   +1 ms] Found plugin sign_in_with_apple at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/sign_in_with_apple-4.0.0/
[        ] Found plugin sign_in_with_apple_web at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/sign_in_with_apple_web-1.0.1/
[        ] Found plugin smart_auth at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/smart_auth-1.0.5/
[   +2 ms] Found plugin sqflite at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/sqflite-2.0.2+1/
[   +3 ms] Found plugin url_launcher at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher-6.1.5/
[        ] Found plugin url_launcher_android at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher_android-6.0.15/
[   +1 ms] Found plugin url_launcher_ios at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher_ios-6.0.15/
[        ] Found plugin url_launcher_linux at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher_linux-3.0.0/
[        ] Found plugin url_launcher_macos at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher_macos-3.0.0/
[        ] Found plugin url_launcher_web at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher_web-2.0.9/
[        ] Found plugin url_launcher_windows at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher_windows-3.0.0/
[   +3 ms] Found plugin webview_flutter at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/webview_flutter-3.0.4/
[        ] Found plugin webview_flutter_android at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/webview_flutter_android-2.8.5/
[        ] Found plugin webview_flutter_wkwebview at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/webview_flutter_wkwebview-2.7.2/
[   +1 ms] Found plugin window_manager at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/window_manager-0.2.7/
[  +38 ms] Found plugin contacts_service at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/contacts_service-0.6.3/
[   +4 ms] Found plugin file_picker at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/file_picker-4.5.1/
[   +2 ms] Found plugin flutter_plugin_android_lifecycle at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_plugin_android_lifecycle-2.0.5/
[   +2 ms] Found plugin google_sign_in at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/google_sign_in-5.3.0/
[        ] Found plugin google_sign_in_android at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/google_sign_in_android-5.2.5/
[   +1 ms] Found plugin google_sign_in_ios at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/google_sign_in_ios-5.2.5/
[   +1 ms] Found plugin google_sign_in_web at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/google_sign_in_web-0.10.1/
[   +2 ms] Found plugin image_cropper at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/image_cropper-2.0.2/
[        ] Found plugin image_cropper_for_web at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/image_cropper_for_web-0.0.3/
[        ] Found plugin image_picker at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/image_picker-0.8.5/
[        ] Found plugin image_picker_android at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/image_picker_android-0.8.4+11/
[        ] Found plugin image_picker_for_web at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/image_picker_for_web-2.1.6/
[        ] Found plugin image_picker_ios at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/image_picker_ios-0.8.4+11/
[   +1 ms] Found plugin in_app_purchase at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/in_app_purchase-3.0.6/
[        ] Found plugin in_app_purchase_android at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/in_app_purchase_android-0.2.3/
[        ] Found plugin in_app_purchase_storekit at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/in_app_purchase_storekit-0.3.1/
[   +1 ms] Found plugin in_app_review at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/in_app_review-2.0.4/
[   +2 ms] Found plugin local_auth at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/local_auth-1.1.11/
[   +2 ms] Found plugin msix at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/msix-3.5.1/
[   +2 ms] Found plugin package_info at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/package_info-2.0.2/
[        ] Found plugin package_info_plus at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/package_info_plus-1.4.2/
[        ] Found plugin package_info_plus_linux at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/package_info_plus_linux-1.0.5/
[        ] Found plugin package_info_plus_macos at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/package_info_plus_macos-1.3.0/
[        ] Found plugin package_info_plus_web at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/package_info_plus_web-1.0.5/
[        ] Found plugin package_info_plus_windows at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/package_info_plus_windows-1.0.5/
[   +1 ms] Found plugin path_provider at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider-2.0.9/
[        ] Found plugin path_provider_android at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_android-2.0.12/
[   +1 ms] Found plugin path_provider_ios at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_ios-2.0.8/
[        ] Found plugin path_provider_linux at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_linux-2.1.5/
[        ] Found plugin path_provider_macos at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_macos-2.0.5/
[        ] Found plugin path_provider_windows at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_windows-2.0.5/
[        ] Found plugin permission_handler at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/permission_handler-9.2.0/
[        ] Found plugin permission_handler_android at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/permission_handler_android-9.0.2+1/
[        ] Found plugin permission_handler_apple at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/permission_handler_apple-9.0.4/
[        ] Found plugin permission_handler_windows at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/permission_handler_windows-0.1.0/
[   +2 ms] Found plugin printing at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/printing-5.8.0/
[   +5 ms] Found plugin screen_retriever at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/screen_retriever-0.1.3/
[        ] Found plugin sentry_flutter at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/sentry_flutter-6.9.1/
[        ] Found plugin share at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/share-2.0.4/
[        ] Found plugin shared_preferences at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences-2.0.13/
[        ] Found plugin shared_preferences_android at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences_android-2.0.11/
[        ] Found plugin shared_preferences_ios at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences_ios-2.1.0/
[        ] Found plugin shared_preferences_linux at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences_linux-2.1.0/
[        ] Found plugin shared_preferences_macos at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences_macos-2.0.3/
[        ] Found plugin shared_preferences_web at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences_web-2.0.3/
[        ] Found plugin shared_preferences_windows at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences_windows-2.1.0/
[   +1 ms] Found plugin sign_in_with_apple at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/sign_in_with_apple-4.0.0/
[        ] Found plugin sign_in_with_apple_web at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/sign_in_with_apple_web-1.0.1/
[        ] Found plugin smart_auth at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/smart_auth-1.0.5/
[   +1 ms] Found plugin sqflite at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/sqflite-2.0.2+1/
[   +3 ms] Found plugin url_launcher at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher-6.1.5/
[        ] Found plugin url_launcher_android at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher_android-6.0.15/
[        ] Found plugin url_launcher_ios at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher_ios-6.0.15/
[        ] Found plugin url_launcher_linux at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher_linux-3.0.0/
[        ] Found plugin url_launcher_macos at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher_macos-3.0.0/
[        ] Found plugin url_launcher_web at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher_web-2.0.9/
[        ] Found plugin url_launcher_windows at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher_windows-3.0.0/
[   +3 ms] Found plugin webview_flutter at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/webview_flutter-3.0.4/
[        ] Found plugin webview_flutter_android at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/webview_flutter_android-2.8.5/
[        ] Found plugin webview_flutter_wkwebview at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/webview_flutter_wkwebview-2.7.2/
[        ] Found plugin window_manager at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/window_manager-0.2.7/
[  +57 ms] Generating /root/parts/invoiceninja/build/android/app/src/main/java/io/flutter/plugins/GeneratedPluginRegistrant.java
[  +72 ms] Building without sound null safety
[        ] For more information see https://dart.dev/null-safety/unsound-null-safety
[  +11 ms] Building Linux application...
[   +6 ms] executing: [build/linux/x64/release/] cmake -G Ninja -DCMAKE_BUILD_TYPE=Release -DFLUTTER_TARGET_PLATFORM=linux-x64 /root/parts/invoiceninja/build/linux
[+1269 ms] -- The CXX compiler identification is Clang 10.0.0
[  +16 ms] -- Check for working CXX compiler: /snap/flutter/current/usr/bin/clang++
[ +156 ms] -- Check for working CXX compiler: /snap/flutter/current/usr/bin/clang++ -- works
[   +2 ms] -- Detecting CXX compiler ABI info
[ +117 ms] -- Detecting CXX compiler ABI info - done
[  +13 ms] -- Detecting CXX compile features
[   +1 ms] -- Detecting CXX compile features - done
[  +50 ms] -- Found PkgConfig: /snap/flutter/current/usr/bin/pkg-config (found version "0.29.1")
[        ] -- Checking for module 'gtk+-3.0'
[  +31 ms] --   Found gtk+-3.0, version 3.24.20
[  +63 ms] -- Checking for module 'glib-2.0'
[  +14 ms] --   Found glib-2.0, version 2.64.6
[  +35 ms] -- Checking for module 'gio-2.0'
[  +16 ms] --   Found gio-2.0, version 2.64.6
[  +47 ms] -- Downloading/updating pdfium
[  +42 ms] -- Configuring done
[   +2 ms] -- Generating done
[        ] -- Build files have been written to: /root/parts/invoiceninja/build/build/linux/x64/release/pdfium-download
[ +147 ms] [1/9] Creating directories for 'pdfium-download'
[+1607 ms] [2/9] Performing download step (download, verify and extract) for 'pdfium-download'
[        ] -- Downloading...
[        ]    dst='/root/parts/invoiceninja/build/build/linux/x64/release/pdfium-download/pdfium-download-prefix/src/pdfium-linux-x64.tgz'
[        ]    timeout='none'
[        ] -- Using src='https://github.com/bblanchon/pdfium-binaries/releases/download/chromium/4929/pdfium-linux-x64.tgz'
[        ] -- [download 0% complete]
[        ] -- [download 1% complete]
[        ] -- [download 2% complete]
[        ] -- [download 3% complete]
[        ] -- [download 5% complete]
[        ] -- [download 7% complete]
[        ] -- [download 8% complete]
[        ] -- [download 9% complete]
[        ] -- [download 12% complete]
[        ] -- [download 15% complete]
[        ] -- [download 17% complete]
[        ] -- [download 24% complete]
[        ] -- [download 29% complete]
[        ] -- [download 30% complete]
[        ] -- [download 31% complete]
[        ] -- [download 32% complete]
[        ] -- [download 33% complete]
[        ] -- [download 34% complete]
[        ] -- [download 35% complete]
[        ] -- [download 36% complete]
[        ] -- [download 37% complete]
[        ] -- [download 38% complete]
[        ] -- [download 40% complete]
[        ] -- [download 41% complete]
[        ] -- [download 43% complete]
[        ] -- [download 44% complete]
[        ] -- [download 45% complete]
[        ] -- [download 46% complete]
[        ] -- [download 48% complete]
[        ] -- [download 49% complete]
[        ] -- [download 50% complete]
[   +1 ms] -- [download 51% complete]
[        ] -- [download 52% complete]
[        ] -- [download 53% complete]
[        ] -- [download 54% complete]
[        ] -- [download 55% complete]
[        ] -- [download 56% complete]
[        ] -- [download 57% complete]
[        ] -- [download 58% complete]
[        ] -- [download 60% complete]
[        ] -- [download 61% complete]
[        ] -- [download 62% complete]
[        ] -- [download 63% complete]
[        ] -- [download 64% complete]
[        ] -- [download 66% complete]
[        ] -- [download 67% complete]
[        ] -- [download 68% complete]
[        ] -- [download 69% complete]
[        ] -- [download 70% complete]
[        ] -- [download 71% complete]
[        ] -- [download 72% complete]
[        ] -- [download 73% complete]
[        ] -- [download 74% complete]
[        ] -- [download 76% complete]
[        ] -- [download 77% complete]
[        ] -- [download 78% complete]
[        ] -- [download 79% complete]
[        ] -- [download 80% complete]
[        ] -- [download 81% complete]
[        ] -- [download 83% complete]
[        ] -- [download 84% complete]
[        ] -- [download 86% complete]
[        ] -- [download 87% complete]
[        ] -- [download 88% complete]
[        ] -- [download 89% complete]
[        ] -- [download 90% complete]
[        ] -- [download 92% complete]
[        ] -- [download 94% complete]
[        ] -- [download 95% complete]
[        ] -- [download 96% complete]
[        ] -- [download 97% complete]
[        ] -- [download 98% complete]
[        ] -- [download 100% complete]
[        ] -- Downloading... done
[        ] -- extracting...
[        ]      src='/root/parts/invoiceninja/build/build/linux/x64/release/pdfium-download/pdfium-download-prefix/src/pdfium-linux-x64.tgz'
[        ]      dst='/root/parts/invoiceninja/build/build/linux/x64/release/pdfium-src'
[        ] -- extracting... [tar xfz]
[        ] -- extracting... [analysis]
[        ] -- extracting... [rename]
[        ] -- extracting... [clean up]
[        ] -- extracting... done
[   +8 ms] [3/9] No update step for 'pdfium-download'
[   +6 ms] [4/9] No patch step for 'pdfium-download'
[  +17 ms] [5/9] No configure step for 'pdfium-download'
[  +18 ms] [6/9] No build step for 'pdfium-download'
[  +17 ms] [7/9] No install step for 'pdfium-download'
[  +22 ms] [8/9] No test step for 'pdfium-download'
[  +25 ms] [9/9] Completed 'pdfium-download'
[   +8 ms] -- Found PDFium: /root/parts/invoiceninja/build/build/linux/x64/release/pdfium-src/lib/libpdfium.so (found version "101.0.4929.0")
[   +5 ms] -- Checking for module 'gtk+-unix-print-3.0'
[  +19 ms] --   Found gtk+-unix-print-3.0, version 3.24.20
[  +75 ms] -- Configuring done
[  +97 ms] -- Generating done
[   +1 ms] -- Build files have been written to: /root/parts/invoiceninja/build/build/linux/x64/release
[   +7 ms] executing: ninja -C build/linux/x64/release install
[   +8 ms] ninja: Entering directory `build/linux/x64/release'
[+33356 ms] [1/19] Generating /root/parts/invoiceninja/build/linux/flutter/ephemeral/libflutter_linux_gtk.so, /root/parts/invoiceninja/build/linux/flutter/ephemeral/flutter_linux/fl_basic_message_channel.h,
/root/parts/invoiceninja/build/linux/flutter/ephemeral/flutter_linux/fl_binary_codec.h, /root/parts/invoiceninja/build/linux/flutter/ephemeral/flutter_linux/fl_binary_messenger.h,
/root/parts/invoiceninja/build/linux/flutter/ephemeral/flutter_linux/fl_dart_project.h, /root/parts/invoiceninja/build/linux/flutter/ephemeral/flutter_linux/fl_engine.h,
/root/parts/invoiceninja/build/linux/flutter/ephemeral/flutter_linux/fl_json_message_codec.h, /root/parts/invoiceninja/build/linux/flutter/ephemeral/flutter_linux/fl_json_method_codec.h,
/root/parts/invoiceninja/build/linux/flutter/ephemeral/flutter_linux/fl_message_codec.h, /root/parts/invoiceninja/build/linux/flutter/ephemeral/flutter_linux/fl_method_call.h,
/root/parts/invoiceninja/build/linux/flutter/ephemeral/flutter_linux/fl_method_channel.h, /root/parts/invoiceninja/build/linux/flutter/ephemeral/flutter_linux/fl_method_codec.h,
/root/parts/invoiceninja/build/linux/flutter/ephemeral/flutter_linux/fl_method_response.h, /root/parts/invoiceninja/build/linux/flutter/ephemeral/flutter_linux/fl_plugin_registrar.h,
/root/parts/invoiceninja/build/linux/flutter/ephemeral/flutter_linux/fl_plugin_registry.h, /root/parts/invoiceninja/build/linux/flutter/ephemeral/flutter_linux/fl_standard_message_codec.h,
/root/parts/invoiceninja/build/linux/flutter/ephemeral/flutter_linux/fl_standard_method_codec.h, /root/parts/invoiceninja/build/linux/flutter/ephemeral/flutter_linux/fl_string_codec.h,
/root/parts/invoiceninja/build/linux/flutter/ephemeral/flutter_linux/fl_value.h, /root/parts/invoiceninja/build/linux/flutter/ephemeral/flutter_linux/fl_view.h,
/root/parts/invoiceninja/build/linux/flutter/ephemeral/flutter_linux/flutter_linux.h, _phony_
[  +13 ms] FAILED: /root/parts/invoiceninja/build/linux/flutter/ephemeral/libflutter_linux_gtk.so /root/parts/invoiceninja/build/linux/flutter/ephemeral/flutter_linux/fl_basic_message_channel.h
/root/parts/invoiceninja/build/linux/flutter/ephemeral/flutter_linux/fl_binary_codec.h /root/parts/invoiceninja/build/linux/flutter/ephemeral/flutter_linux/fl_binary_messenger.h
/root/parts/invoiceninja/build/linux/flutter/ephemeral/flutter_linux/fl_dart_project.h /root/parts/invoiceninja/build/linux/flutter/ephemeral/flutter_linux/fl_engine.h
/root/parts/invoiceninja/build/linux/flutter/ephemeral/flutter_linux/fl_json_message_codec.h /root/parts/invoiceninja/build/linux/flutter/ephemeral/flutter_linux/fl_json_method_codec.h
/root/parts/invoiceninja/build/linux/flutter/ephemeral/flutter_linux/fl_message_codec.h /root/parts/invoiceninja/build/linux/flutter/ephemeral/flutter_linux/fl_method_call.h
/root/parts/invoiceninja/build/linux/flutter/ephemeral/flutter_linux/fl_method_channel.h /root/parts/invoiceninja/build/linux/flutter/ephemeral/flutter_linux/fl_method_codec.h
/root/parts/invoiceninja/build/linux/flutter/ephemeral/flutter_linux/fl_method_response.h /root/parts/invoiceninja/build/linux/flutter/ephemeral/flutter_linux/fl_plugin_registrar.h
/root/parts/invoiceninja/build/linux/flutter/ephemeral/flutter_linux/fl_plugin_registry.h /root/parts/invoiceninja/build/linux/flutter/ephemeral/flutter_linux/fl_standard_message_codec.h
/root/parts/invoiceninja/build/linux/flutter/ephemeral/flutter_linux/fl_standard_method_codec.h /root/parts/invoiceninja/build/linux/flutter/ephemeral/flutter_linux/fl_string_codec.h
/root/parts/invoiceninja/build/linux/flutter/ephemeral/flutter_linux/fl_value.h /root/parts/invoiceninja/build/linux/flutter/ephemeral/flutter_linux/fl_view.h
/root/parts/invoiceninja/build/linux/flutter/ephemeral/flutter_linux/flutter_linux.h flutter/_phony_
[   +2 ms] cd /root/parts/invoiceninja/build/build/linux/x64/release/flutter && /snap/flutter/130/usr/bin/cmake -E env FLUTTER_ROOT=/root/snap/flutter/common/flutter PROJECT_DIR=/root/parts/invoiceninja/build
DART_OBFUSCATION=false TRACK_WIDGET_CREATION=true TREE_SHAKE_ICONS=true PACKAGE_CONFIG=/root/parts/invoiceninja/build/.dart_tool/package_config.json FLUTTER_TARGET=lib/main.dart
/root/snap/flutter/common/flutter/packages/flutter_tools/bin/tool_backend.sh linux-x64 Release
[        ]    Woah! You appear to be trying to run flutter as root.
[        ]    We strongly recommend running the flutter tool without superuser privileges.
[        ]   /
[   +3 ms] 📎
[   +1 ms] [  +70 ms] executing: uname -m
[        ] [  +33 ms] Exit code 0 from: uname -m
[        ] [        ] x86_64
[        ] [   +7 ms] executing: [/root/snap/flutter/common/flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] [   +4 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] [        ] 52b3dc25f6471c27b2144594abb11c741cb88f57
[        ] [        ] executing: [/root/snap/flutter/common/flutter/] git tag --points-at 52b3dc25f6471c27b2144594abb11c741cb88f57
[        ] [  +15 ms] Exit code 0 from: git tag --points-at 52b3dc25f6471c27b2144594abb11c741cb88f57
[        ] [        ] 3.3.8
[        ] [  +63 ms] Unable to locate an Android SDK.
[        ] [   +3 ms] executing: [/root/snap/flutter/common/flutter/] git rev-parse --abbrev-ref HEAD
[        ] [   +3 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] [        ] stable
[        ] [  +59 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.
[        ] [   +2 ms] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[        ] [   +2 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[        ] [ +113 ms] executing: [/root/snap/flutter/common/flutter/] git rev-parse --abbrev-ref --symbolic @{upstream}
[   +1 ms] [   +4 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{upstream}
[        ] [        ] origin/stable
[        ] [        ] executing: [/root/snap/flutter/common/flutter/] git ls-remote --get-url origin
[        ] [   +4 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] [        ] https://github.com/flutter/flutter.git
[        ] [        ] Artifact Instance of 'MaterialFonts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'GradleWrapper' is not required, skipping update.
[        ] [        ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterSdk' is not required, skipping update.
[        ] [        ] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] [   +1 ms] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FontSubsetArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'PubDependencies' is not required, skipping update.
[        ] [  +59 ms] Initializing file store
[        ] [  +23 ms] Skipping target: gen_localizations
[        ] [  +21 ms] gen_dart_plugin_registrant: Starting due to {InvalidatedReasonKind.inputChanged: The following inputs have updated contents: /root/parts/invoiceninja/build/.dart_tool/package_config_subset}
[        ] [   +6 ms] unpack_linux: Starting due to {}
[        ] [ +218 ms] unpack_linux: Complete
[        ] [ +310 ms] Found plugin contacts_service at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/contacts_service-0.6.3/
[        ] [  +11 ms] Found plugin file_picker at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/file_picker-4.5.1/
[        ] [   +3 ms] Found plugin flutter_plugin_android_lifecycle at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_plugin_android_lifecycle-2.0.5/
[        ] [   +7 ms] Found plugin google_sign_in at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/google_sign_in-5.3.0/
[        ] [        ] Found plugin google_sign_in_android at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/google_sign_in_android-5.2.5/
[        ] [        ] Found plugin google_sign_in_ios at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/google_sign_in_ios-5.2.5/
[        ] [   +4 ms] Found plugin google_sign_in_web at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/google_sign_in_web-0.10.1/
[        ] [   +3 ms] Found plugin image_cropper at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/image_cropper-2.0.2/
[        ] [        ] Found plugin image_cropper_for_web at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/image_cropper_for_web-0.0.3/
[        ] [   +1 ms] Found plugin image_picker at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/image_picker-0.8.5/
[        ] [        ] Found plugin image_picker_android at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/image_picker_android-0.8.4+11/
[        ] [        ] Found plugin image_picker_for_web at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/image_picker_for_web-2.1.6/
[        ] [        ] Found plugin image_picker_ios at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/image_picker_ios-0.8.4+11/
[        ] [   +1 ms] Found plugin in_app_purchase at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/in_app_purchase-3.0.6/
[        ] [   +1 ms] Found plugin in_app_purchase_android at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/in_app_purchase_android-0.2.3/
[        ] [   +1 ms] Found plugin in_app_purchase_storekit at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/in_app_purchase_storekit-0.3.1/
[        ] [        ] Found plugin in_app_review at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/in_app_review-2.0.4/
[        ] [   +3 ms] Found plugin local_auth at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/local_auth-1.1.11/
[        ] [   +3 ms] Found plugin msix at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/msix-3.5.1/
[        ] [   +3 ms] Found plugin package_info at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/package_info-2.0.2/
[        ] [        ] Found plugin package_info_plus at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/package_info_plus-1.4.2/
[        ] [        ] Found plugin package_info_plus_linux at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/package_info_plus_linux-1.0.5/
[        ] [   +1 ms] Found plugin package_info_plus_macos at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/package_info_plus_macos-1.3.0/
[        ] [   +1 ms] Found plugin package_info_plus_web at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/package_info_plus_web-1.0.5/
[        ] [        ] Found plugin package_info_plus_windows at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/package_info_plus_windows-1.0.5/
[        ] [   +1 ms] Found plugin path_provider at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider-2.0.9/
[        ] [        ] Found plugin path_provider_android at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_android-2.0.12/
[        ] [        ] Found plugin path_provider_ios at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_ios-2.0.8/
[        ] [        ] Found plugin path_provider_linux at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_linux-2.1.5/
[        ] [   +4 ms] Found plugin path_provider_macos at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_macos-2.0.5/
[        ] [   +1 ms] Found plugin path_provider_windows at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_windows-2.0.5/
[        ] [   +1 ms] Found plugin permission_handler at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/permission_handler-9.2.0/
[        ] [        ] Found plugin permission_handler_android at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/permission_handler_android-9.0.2+1/
[        ] [        ] Found plugin permission_handler_apple at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/permission_handler_apple-9.0.4/
[        ] [   +2 ms] Found plugin permission_handler_windows at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/permission_handler_windows-0.1.0/
[        ] [   +2 ms] Found plugin printing at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/printing-5.8.0/
[        ] [   +3 ms] Found plugin screen_retriever at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/screen_retriever-0.1.3/
[        ] [   +1 ms] Found plugin sentry_flutter at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/sentry_flutter-6.9.1/
[        ] [        ] Found plugin share at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/share-2.0.4/
[        ] [        ] Found plugin shared_preferences at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences-2.0.13/
[        ] [        ] Found plugin shared_preferences_android at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences_android-2.0.11/
[        ] [        ] Found plugin shared_preferences_ios at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences_ios-2.1.0/
[        ] [        ] Found plugin shared_preferences_linux at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences_linux-2.1.0/
[        ] [        ] Found plugin shared_preferences_macos at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences_macos-2.0.3/
[        ] [   +1 ms] Found plugin shared_preferences_web at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences_web-2.0.3/
[        ] [        ] Found plugin shared_preferences_windows at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences_windows-2.1.0/
[        ] [   +2 ms] Found plugin sign_in_with_apple at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/sign_in_with_apple-4.0.0/
[        ] [   +1 ms] Found plugin sign_in_with_apple_web at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/sign_in_with_apple_web-1.0.1/
[   +1 ms] [        ] Found plugin smart_auth at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/smart_auth-1.0.5/
[        ] [   +2 ms] Found plugin sqflite at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/sqflite-2.0.2+1/
[        ] [   +8 ms] Found plugin url_launcher at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher-6.1.5/
[        ] [   +1 ms] Found plugin url_launcher_android at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher_android-6.0.15/
[        ] [        ] Found plugin url_launcher_ios at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher_ios-6.0.15/
[        ] [        ] Found plugin url_launcher_linux at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher_linux-3.0.0/
[        ] [        ] Found plugin url_launcher_macos at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher_macos-3.0.0/
[        ] [        ] Found plugin url_launcher_web at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher_web-2.0.9/
[        ] [        ] Found plugin url_launcher_windows at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher_windows-3.0.0/
[        ] [   +3 ms] Found plugin webview_flutter at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/webview_flutter-3.0.4/
[        ] [        ] Found plugin webview_flutter_android at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/webview_flutter_android-2.8.5/
[        ] [   +1 ms] Found plugin webview_flutter_wkwebview at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/webview_flutter_wkwebview-2.7.2/
[        ] [   +1 ms] Found plugin window_manager at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/window_manager-0.2.7/
[        ] [  +31 ms] gen_dart_plugin_registrant: Complete
[        ] [   +1 ms] kernel_snapshot: Starting due to {}
[   +2 ms] [  +14 ms] /root/snap/flutter/common/flutter/bin/cache/dart-sdk/bin/dart --disable-dart-dev /root/snap/flutter/common/flutter/bin/cache/dart-sdk/bin/snapshots/frontend_server.dart.snapshot --sdk-root
/root/snap/flutter/common/flutter/bin/cache/artifacts/engine/common/flutter_patched_sdk_product/ --target=flutter --no-print-incremental-dependencies -Ddart.vm.profile=false -Ddart.vm.product=true
--compact-async --aot --tfa --packages /root/parts/invoiceninja/build/.dart_tool/package_config.json --output-dill
/root/parts/invoiceninja/build/.dart_tool/flutter_build/c8b38b6f1e639979c9cafd19256485c9/app.dill --depfile
/root/parts/invoiceninja/build/.dart_tool/flutter_build/c8b38b6f1e639979c9cafd19256485c9/kernel_snapshot.d --source /root/parts/invoiceninja/build/.dart_tool/flutter_build/dart_plugin_registrant.dart --source
package:flutter/src/dart_plugin_registrant.dart -Dflutter.dart_plugin_registrant=file:///root/parts/invoiceninja/build/.dart_tool/flutter_build/dart_plugin_registrant.dart --verbosity=error
package:invoiceninja_flutter/main.dart
[   +2 ms] [ +460 ms] lib/main.dart:19:8: Error: Error when reading 'lib/.env.dart': No such file or directory
[   +2 ms] [   +1 ms] import 'package:invoiceninja_flutter/.env.dart';
[        ] [        ]        ^
[        ] [  +26 ms] lib/redux/app/app_middleware.dart:17:8: Error: Error when reading 'lib/.env.dart': No such file or directory
[        ] [        ] import 'package:invoiceninja_flutter/.env.dart';
[        ] [        ]        ^
[        ] [   +4 ms] lib/redux/app/app_state.dart:15:8: Error: Error when reading 'lib/.env.dart': No such file or directory
[        ] [        ] import 'package:invoiceninja_flutter/.env.dart';
[        ] [        ]        ^
[        ] [   +9 ms] lib/redux/client/client_middleware.dart:9:8: Error: Error when reading 'lib/.env.dart': No such file or directory
[        ] [        ] import 'package:invoiceninja_flutter/.env.dart';
[        ] [        ]        ^
[        ] [   +9 ms] lib/redux/product/product_middleware.dart:9:8: Error: Error when reading 'lib/.env.dart': No such file or directory
[        ] [        ] import 'package:invoiceninja_flutter/.env.dart';
[        ] [        ]        ^
[        ] [ +504 ms] lib/ui/reports/reports_screen.dart:8:8: Error: Error when reading 'lib/.env.dart': No such file or directory
[        ] [        ] import 'package:invoiceninja_flutter/.env.dart';
[        ] [        ]        ^
[        ] [ +164 ms] lib/data/repositories/auth_repository.dart:10:8: Error: Error when reading 'lib/.env.dart': No such file or directory
[        ] [        ] import 'package:invoiceninja_flutter/.env.dart';
[        ] [        ]        ^
[        ] [  +30 ms] lib/data/models/company_model.dart:10:8: Error: Error when reading 'lib/.env.dart': No such file or directory
[        ] [        ] import 'package:invoiceninja_flutter/.env.dart';
[        ] [        ]        ^
[        ] [ +855 ms] lib/ui/app/dialogs/error_dialog.dart:11:8: Error: Error when reading 'lib/.env.dart': No such file or directory
[        ] [        ] import 'package:invoiceninja_flutter/.env.dart';
[        ] [        ]        ^
[        ] [  +37 ms] lib/ui/auth/login_view.dart:18:8: Error: Error when reading 'lib/.env.dart': No such file or directory
[        ] [        ] import 'package:invoiceninja_flutter/.env.dart';
[        ] [        ]        ^
[        ] [  +40 ms] lib/data/web_client.dart:17:8: Error: Error when reading 'lib/.env.dart': No such file or directory
[        ] [        ] import 'package:invoiceninja_flutter/.env.dart';
[        ] [        ]        ^
[        ] [ +668 ms] lib/ui/app/menu_drawer.dart:24:8: Error: Error when reading 'lib/.env.dart': No such file or directory
[        ] [        ] import 'package:invoiceninja_flutter/.env.dart';
[        ] [        ]        ^
[        ] [  +22 ms] lib/utils/templates.dart:11:8: Error: Error when reading 'lib/.env.dart': No such file or directory
[        ] [        ] import 'package:invoiceninja_flutter/.env.dart';
[        ] [        ]        ^
[        ] [   +1 ms] lib/ui/app/entity_dropdown.dart:13:8: Error: Error when reading 'lib/.env.dart': No such file or directory
[        ] [        ] import 'package:invoiceninja_flutter/.env.dart';
[        ] [        ]        ^
[        ] [  +43 ms] lib/utils/designs.dart:12:8: Error: Error when reading 'lib/.env.dart': No such file or directory
[        ] [        ] import 'package:invoiceninja_flutter/.env.dart';
[        ] [        ]        ^
[        ] [+7149 ms] lib/main.dart:166:48: Error: Undefined name 'Config'.
[        ] [        ]         ..addAll(isTesting || kReleaseMode || !Config.DEBUG_EVENTS
[        ] [        ]                                                ^^^^^^
[        ] [        ] lib/main.dart:179:23: Error: Undefined name 'Config'.
[        ] [        ]         options.dsn = Config.SENTRY_DNS;
[        ] [        ]                       ^^^^^^
[        ] [   +6 ms] lib/main.dart:266:10: Error: Undefined name 'Config'.
[        ] [        ]     url: Config.DEMO_MODE ? '' : url,
[        ] [        ]          ^^^^^^
[        ] [  +98 ms] lib/redux/app/app_middleware.dart:272:11: Error: Undefined name 'Config'.
[        ] [        ]       if (Config.DEMO_MODE ||
[        ] [        ]           ^^^^^^
[        ] [  +37 ms] lib/redux/app/app_state.dart:909:9: Error: The getter 'Config' isn't defined for the class 'AppState'.
[        ] [        ]  - 'AppState' is from 'package:invoiceninja_flutter/redux/app/app_state.dart' ('lib/redux/app/app_state.dart').
[        ] [        ] Try correcting the name to the name of an existing getter, or defining a getter or field named 'Config'.
[        ] [        ]     if (Config.DEMO_MODE) {
[        ] [        ]         ^^^^^^
[        ] [  +38 ms] lib/redux/client/client_middleware.dart:267:9: Error: Undefined name 'Config'.
[        ] [        ]     if (Config.DEMO_MODE) {
[        ] [        ]         ^^^^^^
[        ] [  +85 ms] lib/redux/product/product_middleware.dart:211:9: Error: Undefined name 'Config'.
[        ] [        ]     if (Config.DEMO_MODE) {
[        ] [        ]         ^^^^^^
[        ] [+1771 ms] lib/ui/reports/reports_screen.dart:1172:18: Error: The getter 'Config' isn't defined for the class 'ReportResult'.
[        ] [        ]  - 'ReportResult' is from 'package:invoiceninja_flutter/ui/reports/reports_screen.dart' ('lib/ui/reports/reports_screen.dart').
[        ] [        ] Try correcting the name to the name of an existing getter, or defining a getter or field named 'Config'.
[        ] [        ]         else if (Config.DEMO_MODE)
[        ] [        ]                  ^^^^^^
[        ] [ +722 ms] lib/data/repositories/auth_repository.dart:73:17: Error: The getter 'Config' isn't defined for the class 'AuthRepository'.
[        ] [        ]  - 'AuthRepository' is from 'package:invoiceninja_flutter/data/repositories/auth_repository.dart' ('lib/data/repositories/auth_repository.dart').
[        ] [        ] Try correcting the name to the name of an existing getter, or defining a getter or field named 'Config'.
[        ] [        ]         secret: Config.API_SECRET);
[        ] [        ]                 ^^^^^^
[        ] [   +1 ms] lib/data/repositories/auth_repository.dart:237:9: Error: The getter 'Config' isn't defined for the class 'AuthRepository'.
[        ] [        ]  - 'AuthRepository' is from 'package:invoiceninja_flutter/data/repositories/auth_repository.dart' ('lib/data/repositories/auth_repository.dart').
[        ] [        ] Try correcting the name to the name of an existing getter, or defining a getter or field named 'Config'.
[        ] [        ]     if (Config.DEMO_MODE) {
[        ] [        ]         ^^^^^^
[        ] [ +133 ms] lib/data/models/company_model.dart:988:9: Error: The getter 'Config' isn't defined for the class 'UserCompanyEntity'.
[        ] [        ]  - 'UserCompanyEntity' is from 'package:invoiceninja_flutter/data/models/company_model.dart' ('lib/data/models/company_model.dart').
[        ] [        ] Try correcting the name to the name of an existing getter, or defining a getter or field named 'Config'.
[        ] [        ]     if (Config.DEMO_MODE) {
[        ] [        ]         ^^^^^^
[        ] [+2666 ms] lib/ui/app/dialogs/error_dialog.dart:44:39: Error: The getter 'Config' isn't defined for the class 'ErrorDialog'.
[        ] [        ]  - 'ErrorDialog' is from 'package:invoiceninja_flutter/ui/app/dialogs/error_dialog.dart' ('lib/ui/app/dialogs/error_dialog.dart').
[        ] [        ] Try correcting the name to the name of an existing getter, or defining a getter or field named 'Config'.
[        ] [        ]           if (clearErrorOnDismiss && !Config.DEMO_MODE)
[        ] [        ]                                       ^^^^^^
[        ] [  +91 ms] lib/ui/auth/login_view.dart:106:26: Error: The getter 'Config' isn't defined for the class '_LoginState'.
[        ] [        ]  - '_LoginState' is from 'package:invoiceninja_flutter/ui/auth/login_view.dart' ('lib/ui/auth/login_view.dart').
[        ] [        ] Try correcting the name to the name of an existing getter, or defining a getter or field named 'Config'.
[        ] [        ]     if (!kReleaseMode && Config.TEST_EMAIL.isNotEmpty) {
[        ] [        ]                          ^^^^^^
[        ] [        ] lib/ui/auth/login_view.dart:107:29: Error: The getter 'Config' isn't defined for the class '_LoginState'.
[        ] [        ]  - '_LoginState' is from 'package:invoiceninja_flutter/ui/auth/login_view.dart' ('lib/ui/auth/login_view.dart').
[        ] [        ] Try correcting the name to the name of an existing getter, or defining a getter or field named 'Config'.
[        ] [        ]       _urlController.text = Config.TEST_URL;
[        ] [        ]                             ^^^^^^
[        ] [        ] lib/ui/auth/login_view.dart:108:32: Error: The getter 'Config' isn't defined for the class '_LoginState'.
[        ] [        ]  - '_LoginState' is from 'package:invoiceninja_flutter/ui/auth/login_view.dart' ('lib/ui/auth/login_view.dart').
[        ] [        ] Try correcting the name to the name of an existing getter, or defining a getter or field named 'Config'.
[        ] [        ]       _secretController.text = Config.TEST_SECRET;
[        ] [        ]                                ^^^^^^
[        ] [        ] lib/ui/auth/login_view.dart:109:31: Error: The getter 'Config' isn't defined for the class '_LoginState'.
[        ] [        ]  - '_LoginState' is from 'package:invoiceninja_flutter/ui/auth/login_view.dart' ('lib/ui/auth/login_view.dart').
[        ] [        ] Try correcting the name to the name of an existing getter, or defining a getter or field named 'Config'.
[        ] [        ]       _emailController.text = Config.TEST_EMAIL;
[        ] [        ]                               ^^^^^^
[        ] [        ] lib/ui/auth/login_view.dart:110:34: Error: The getter 'Config' isn't defined for the class '_LoginState'.
[        ] [        ]  - '_LoginState' is from 'package:invoiceninja_flutter/ui/auth/login_view.dart' ('lib/ui/auth/login_view.dart').
[        ] [        ] Try correcting the name to the name of an existing getter, or defining a getter or field named 'Config'.
[        ] [        ]       _passwordController.text = Config.TEST_PASSWORD;
[        ] [        ]                                  ^^^^^^
[        ] [ +235 ms] lib/data/web_client.dart:30:9: Error: The getter 'Config' isn't defined for the class 'WebClient'.
[        ] [        ]  - 'WebClient' is from 'package:invoiceninja_flutter/data/web_client.dart' ('lib/data/web_client.dart').
[        ] [        ] Try correcting the name to the name of an existing getter, or defining a getter or field named 'Config'.
[        ] [        ]     if (Config.DEMO_MODE) {
[        ] [        ]         ^^^^^^
[        ] [   +2 ms] lib/data/web_client.dart:83:26: Error: The getter 'Config' isn't defined for the class 'WebClient'.
[        ] [        ]  - 'WebClient' is from 'package:invoiceninja_flutter/data/web_client.dart' ('lib/data/web_client.dart').
[        ] [        ] Try correcting the name to the name of an existing getter, or defining a getter or field named 'Config'.
[        ] [        ]     if (!kReleaseMode && Config.DEBUG_REQUESTS) {
[        ] [        ]                          ^^^^^^
[        ] [        ] lib/data/web_client.dart:140:26: Error: The getter 'Config' isn't defined for the class 'WebClient'.
[        ] [        ]  - 'WebClient' is from 'package:invoiceninja_flutter/data/web_client.dart' ('lib/data/web_client.dart').
[        ] [        ] Try correcting the name to the name of an existing getter, or defining a getter or field named 'Config'.
[        ] [        ]     if (!kReleaseMode && Config.DEBUG_REQUESTS) {
[        ] [        ]                          ^^^^^^
[        ] [   +1 ms] lib/data/web_client.dart:210:14: Error: Undefined name 'Config'.
[        ] [        ]     secret = Config.API_SECRET;
[        ] [        ]              ^^^^^^
[        ] [        ] lib/data/web_client.dart:244:9: Error: Undefined name 'Config'.
[        ] [        ]     if (Config.DEBUG_REQUESTS) {
[        ] [        ]         ^^^^^^
[        ] [        ] lib/data/web_client.dart:267:7: Error: Undefined name 'Config'.
[        ] [        ]   if (Config.DEMO_MODE) {
[        ] [        ]       ^^^^^^
[        ] [+1675 ms] lib/ui/app/menu_drawer.dart:739:10: Error: The getter 'Config' isn't defined for the class '_DrawerTileState'.
[        ] [        ]  - '_DrawerTileState' is from 'package:invoiceninja_flutter/ui/app/menu_drawer.dart' ('lib/ui/app/menu_drawer.dart').
[        ] [        ] Try correcting the name to the name of an existing getter, or defining a getter or field named 'Config'.
[        ] [        ]     if (!Config.DEMO_MODE) {
[        ] [        ]          ^^^^^^
[        ] [   +4 ms] lib/ui/app/menu_drawer.dart:977:18: Error: The getter 'Config' isn't defined for the class 'SidebarFooter'.
[        ] [        ]  - 'SidebarFooter' is from 'package:invoiceninja_flutter/ui/app/menu_drawer.dart' ('lib/ui/app/menu_drawer.dart').
[        ] [        ] Try correcting the name to the name of an existing getter, or defining a getter or field named 'Config'.
[        ] [        ]             if (!Config.DEMO_MODE && !state.isDemo && account.isOld)
[        ] [        ]                  ^^^^^^
[        ] [  +59 ms] lib/utils/templates.dart:25:7: Error: Undefined name 'Config'.
[        ] [        ]   if (Config.DEMO_MODE) {
[        ] [        ]       ^^^^^^
[        ] [  +18 ms] lib/ui/app/entity_dropdown.dart:250:34: Error: The getter 'Config' isn't defined for the class '_EntityDropdownState'.
[        ] [        ]  - '_EntityDropdownState' is from 'package:invoiceninja_flutter/ui/app/entity_dropdown.dart' ('lib/ui/app/entity_dropdown.dart').
[        ] [        ] Try correcting the name to the name of an existing getter, or defining a getter or field named 'Config'.
[        ] [        ]     if (isNotMobile(context) && !Config.DEMO_MODE) {
[        ] [        ]                                  ^^^^^^
[        ] [ +221 ms] lib/utils/designs.dart:26:7: Error: Undefined name 'Config'.
[        ] [        ]   if (Config.DEMO_MODE) {
[        ] [        ]       ^^^^^^
[        ] [+12782 ms] Persisting file store
[        ] [  +12 ms] Done persisting file store
[        ] [   +4 ms] Target kernel_snapshot failed: Exception
[        ]            #0      KernelSnapshot.build (package:flutter_tools/src/build_system/targets/common.dart:244:7)
[        ]            <asynchronous suspension>
[        ]            #1      _BuildInstance._invokeInternal (package:flutter_tools/src/build_system/build_system.dart:839:9)
[        ]            <asynchronous suspension>
[        ]            #2      Future.wait.<anonymous closure> (dart:async/future.dart:522:21)
[        ]            <asynchronous suspension>
[        ]            #3      _BuildInstance.invokeTarget (package:flutter_tools/src/build_system/build_system.dart:777:32)
[        ]            <asynchronous suspension>
[        ]            #4      Future.wait.<anonymous closure> (dart:async/future.dart:522:21)
[        ]            <asynchronous suspension>
[        ]            #5      _BuildInstance.invokeTarget (package:flutter_tools/src/build_system/build_system.dart:777:32)
[        ]            <asynchronous suspension>
[        ]            #6      Future.wait.<anonymous closure> (dart:async/future.dart:522:21)
[        ]            <asynchronous suspension>
[        ]            #7      _BuildInstance.invokeTarget (package:flutter_tools/src/build_system/build_system.dart:777:32)
[        ]            <asynchronous suspension>
[        ]            #8      FlutterBuildSystem.build (package:flutter_tools/src/build_system/build_system.dart:606:16)
[        ]            <asynchronous suspension>
[        ]            #9      AssembleCommand.runCommand (package:flutter_tools/src/commands/assemble.dart:316:32)
[        ]            <asynchronous suspension>
[        ]            #10     FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1209:27)
[        ]            <asynchronous suspension>
[        ]            #11     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
[        ]            <asynchronous suspension>
[        ]            #12     CommandRunner.runCommand (package:args/command_runner.dart:209:13)
[        ]            <asynchronous suspension>
[        ]            #13     FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:281:9)
[        ]            <asynchronous suspension>
[        ]            #14     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
[        ]            <asynchronous suspension>
[        ]            #15     FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:229:5)
[        ]            <asynchronous suspension>
[        ]            #16     run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:62:9)
[        ]            <asynchronous suspension>
[        ]            #17     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
[        ]            <asynchronous suspension>
[        ]            #18     main (package:flutter_tools/executable.dart:91:3)
[        ]            <asynchronous suspension>
[        ] [  +13 ms] "flutter assemble" took 32,487ms.
[        ] [   +5 ms]
[        ]            #0      throwToolExit (package:flutter_tools/src/base/common.dart:10:3)
[        ]            #1      AssembleCommand.runCommand (package:flutter_tools/src/commands/assemble.dart:333:7)
[        ]            <asynchronous suspension>
[        ]            #2      FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1209: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:281: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:229:5)
[        ]            <asynchronous suspension>
[        ]            #8      run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:62: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>
[        ] [  +97 ms] ensureAnalyticsSent: 95ms
[        ] [   +1 ms] Running shutdown hooks
[        ] [        ] Shutdown hooks complete
[        ] [   +8 ms] exiting with code 1
[        ] ninja: build stopped: subcommand failed.
[  +18 ms] Building Linux application... (completed in 37.4s)
[   +2 ms] "flutter linux" took 39,082ms.
[   +8 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:185:5)
           <asynchronous suspension>
           #2      buildLinux (package:flutter_tools/src/linux/build_linux.dart:78:5)
           <asynchronous suspension>
           #3      BuildLinuxCommand.runCommand (package:flutter_tools/src/commands/build_linux.dart:85:5)
           <asynchronous suspension>
           #4      FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1209:27)
           <asynchronous suspension>
           #5      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
           <asynchronous suspension>
           #6      CommandRunner.runCommand (package:args/command_runner.dart:209:13)
           <asynchronous suspension>
           #7      FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:281:9)
           <asynchronous suspension>
           #8      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
           <asynchronous suspension>
           #9      FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:229:5)
           <asynchronous suspension>
           #10     run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:62:9)
           <asynchronous suspension>
           #11     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
           <asynchronous suspension>
           #12     main (package:flutter_tools/executable.dart:91:3)
           <asynchronous suspension>
           
           
[ +120 ms] ensureAnalyticsSent: 119ms
[        ] Running shutdown hooks
[        ] Shutdown hooks complete
[        ] exiting with code 1
Failed to run 'flutter build linux --release -v -t lib/main.dart' for 'invoiceninja': Exited with code 1.
Verify that the part is using the correct parameters and try again.
Run the same command again with --debug to shell into the environment if you wish to introspect this failure.
[dom@domzb:~/.local/src/admin-portal$](mailto:dom@domzb:~/.local/src/admin-portal$)

@hillelcoren
Copy link
Member

Thanks, I think you may have missed this step

https://github.com/invoiceninja/admin-portal#setting-up-the-app

@leancode
Copy link
Author

And how did I miss this.....
I will close this after I tried it

@leancode
Copy link
Author

leancode commented Nov 25, 2022

OK, that fixed all the earlier errors complaining about config.
But in the end the build still fails.
This time I pulled the master branch (the one you just merged the develop into), ran
flutter run
choose the linux option 1
and a little while later the app starts perfectly.
But when I run the snapcraft command I still get the error.
Any idea what I might be missing?

dom@domzb:~/.local/src/admin-portal$ snapcraft
(deleted a lot of stuff to make this shorter, there are no earlier errors anymore)
[        ] [   +1 ms] Found plugin window_manager at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/window_manager-0.2.7/
[        ] [  +28 ms] gen_dart_plugin_registrant: Complete
[        ] [   +1 ms] kernel_snapshot: Starting due to {}
[   +2 ms] [  +12 ms] /root/snap/flutter/common/flutter/bin/cache/dart-sdk/bin/dart --disable-dart-dev /root/snap/flutter/common/flutter/bin/cache/dart-sdk/bin/snapshots/frontend_server.dart.snapshot --sdk-root
/root/snap/flutter/common/flutter/bin/cache/artifacts/engine/common/flutter_patched_sdk_product/ --target=flutter --no-print-incremental-dependencies -Ddart.vm.profile=false -Ddart.vm.product=true
--compact-async --aot --tfa --packages /root/parts/invoiceninja/build/.dart_tool/package_config.json --output-dill
/root/parts/invoiceninja/build/.dart_tool/flutter_build/c8b38b6f1e639979c9cafd19256485c9/app.dill --depfile
/root/parts/invoiceninja/build/.dart_tool/flutter_build/c8b38b6f1e639979c9cafd19256485c9/kernel_snapshot.d --source /root/parts/invoiceninja/build/.dart_tool/flutter_build/dart_plugin_registrant.dart --source
package:flutter/src/dart_plugin_registrant.dart -Dflutter.dart_plugin_registrant=file:///root/parts/invoiceninja/build/.dart_tool/flutter_build/dart_plugin_registrant.dart --verbosity=error
package:invoiceninja_flutter/main.dart
[   +1 ms] [+59765 ms] Persisting file store
[        ] [   +7 ms] Done persisting file store
[        ] [   +8 ms] Target kernel_snapshot failed: Exception
[        ]            #0      KernelSnapshot.build (package:flutter_tools/src/build_system/targets/common.dart:244:7)
[        ]            <asynchronous suspension>
[        ]            #1      _BuildInstance._invokeInternal (package:flutter_tools/src/build_system/build_system.dart:839:9)
[        ]            <asynchronous suspension>
[        ]            #2      Future.wait.<anonymous closure> (dart:async/future.dart:522:21)
[        ]            <asynchronous suspension>
[        ]            #3      _BuildInstance.invokeTarget (package:flutter_tools/src/build_system/build_system.dart:777:32)
[        ]            <asynchronous suspension>
[        ]            #4      Future.wait.<anonymous closure> (dart:async/future.dart:522:21)
[        ]            <asynchronous suspension>
[        ]            #5      _BuildInstance.invokeTarget (package:flutter_tools/src/build_system/build_system.dart:777:32)
[        ]            <asynchronous suspension>
[        ]            #6      Future.wait.<anonymous closure> (dart:async/future.dart:522:21)
[        ]            <asynchronous suspension>
[        ]            #7      _BuildInstance.invokeTarget (package:flutter_tools/src/build_system/build_system.dart:777:32)
[        ]            <asynchronous suspension>
[        ]            #8      FlutterBuildSystem.build (package:flutter_tools/src/build_system/build_system.dart:606:16)
[        ]            <asynchronous suspension>
[        ]            #9      AssembleCommand.runCommand (package:flutter_tools/src/commands/assemble.dart:316:32)
[        ]            <asynchronous suspension>
[        ]            #10     FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1209:27)
[        ]            <asynchronous suspension>
[        ]            #11     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
[        ]            <asynchronous suspension>
[        ]            #12     CommandRunner.runCommand (package:args/command_runner.dart:209:13)
[        ]            <asynchronous suspension>
[        ]            #13     FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:281:9)
[        ]            <asynchronous suspension>
[        ]            #14     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
[        ]            <asynchronous suspension>
[        ]            #15     FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:229:5)
[        ]            <asynchronous suspension>
[        ]            #16     run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:62:9)
[        ]            <asynchronous suspension>
[        ]            #17     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
[        ]            <asynchronous suspension>
[        ]            #18     main (package:flutter_tools/executable.dart:91:3)
[        ]            <asynchronous suspension>
[        ] [  +27 ms] "flutter assemble" took 60,577ms.
[        ] [   +5 ms] 
[        ]            #0      throwToolExit (package:flutter_tools/src/base/common.dart:10:3)
[        ]            #1      AssembleCommand.runCommand (package:flutter_tools/src/commands/assemble.dart:333:7)
[        ]            <asynchronous suspension>
[        ]            #2      FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1209: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:281: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:229:5)
[        ]            <asynchronous suspension>
[        ]            #8      run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:62: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>
[        ] [  +94 ms] ensureAnalyticsSent: 93ms
[        ] [        ] Running shutdown hooks
[        ] [        ] Shutdown hooks complete
[        ] [        ] exiting with code 1
[        ] ninja: build stopped: subcommand failed.
[  +14 ms] Building Linux application... (completed in 66.8s)
[   +1 ms] "flutter linux" took 67,566ms.
[   +9 ms] Build process failed
[   +2 ms] 
           #0      throwToolExit (package:flutter_tools/src/base/common.dart:10:3)
           #1      _runBuild (package:flutter_tools/src/linux/build_linux.dart:185:5)
           <asynchronous suspension>
           #2      buildLinux (package:flutter_tools/src/linux/build_linux.dart:78:5)
           <asynchronous suspension>
           #3      BuildLinuxCommand.runCommand (package:flutter_tools/src/commands/build_linux.dart:85:5)
           <asynchronous suspension>
           #4      FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1209:27)
           <asynchronous suspension>
           #5      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
           <asynchronous suspension>
           #6      CommandRunner.runCommand (package:args/command_runner.dart:209:13)
           <asynchronous suspension>
           #7      FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:281:9)
           <asynchronous suspension>
           #8      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
           <asynchronous suspension>
           #9      FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:229:5)
           <asynchronous suspension>
           #10     run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:62:9)
           <asynchronous suspension>
           #11     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
           <asynchronous suspension>
           #12     main (package:flutter_tools/executable.dart:91:3)
           <asynchronous suspension>
           
           
[  +81 ms] ensureAnalyticsSent: 80ms
[   +1 ms] Running shutdown hooks
[        ] Shutdown hooks complete
[        ] exiting with code 1
Failed to run 'flutter build linux --release -v -t lib/main.dart' for 'invoiceninja': Exited with code 1.
Verify that the part is using the correct parameters and try again.
Run the same command again with --debug to shell into the environment if you wish to introspect this failure.
dom@domzb:~/.local/src/admin-portal$                                            

@hillelcoren
Copy link
Member

Sorry, I'm not sure

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants