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 fails on Linux with Flutter 3.24.5, Dart 3.5.4 #306

Open
2 tasks done
cweiske opened this issue Nov 21, 2024 · 0 comments
Open
2 tasks done

Build fails on Linux with Flutter 3.24.5, Dart 3.5.4 #306

cweiske opened this issue Nov 21, 2024 · 0 comments
Labels
help wanted Extra attention is needed

Comments

@cweiske
Copy link

cweiske commented Nov 21, 2024

Brief summary

Building the linux version fails because Dart 3.5 brought a breaking change:

ERROR: ../../../.pub-cache/hosted/pub.dev/win32-5.2.0/lib/src/guid.dart:32:9: Error: Type 'UnmodifiableUint8ListView' not found.
ERROR:   final UnmodifiableUint8ListView bytes;
ERROR:         ^^^^^^^^^^^^^^^^^^^^^^^^^

Steps to reproduce

  1. Clone source code with git
  2. Install dependencies: clang cmake libgtk-3-dev libmpv-dev ninja-build pkg-config
  3. Build: flutter --no-version-check build linux --release
  4. Get error message

Workaround:

flutter pub upgrade --major-versions share_plus package_info_plus 
flutter pub add fluent_ui:^4.9.2
flutter pub add media_kit:^1.1.11
flutter pub add easy_refresh:^3.4.0
flutter pub add archive:^3.6.1

Miru version

v1.8.1-22-g8599d0d

Device

Debian Linux

Acknowledgements

  • I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open issue.
  • If this is an issue with a extension, I should be opening an issue in the extension repository.
@cweiske cweiske added the help wanted Extra attention is needed label Nov 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant