-
Notifications
You must be signed in to change notification settings - Fork 70
Description
Hi Mixin team,
I'm working with walletscrutiny.com a project dedicated to improving transparency and verifiability in mobile and desktop cryptocurrency wallets. As part of our ongoing research and review process, I attempted to build the Linux desktop version of Mixin Messenger directly from source using the flutter-app repository.
🔧 What I Tried
The goal was to build the app using flutter build linux as outlined in the README and standard Flutter practices. My environment included:
- Ubuntu 22.04 (x86_64)
- Flutter 3.29.3 / Dart 3.7.2
- Rust toolchain installed
- All relevant system dependencies, including
webkit2gtk-4.1,libsqlite3-dev,libsdl2-dev, etc.
I followed the standard steps: flutter pub get, build_runner, webcrypto:setup, and then attempted the Linux build.
🚫 What Went Wrong
The build failed during the linking stage with the following error:
clang: error: linker command failed with exit code 1
fatal error: 'breakpad_client/breakpad_client.h' file not found
Investigation showed that:
linux/CMakeLists.txttries to link againstbreakpad_client.- However, there is no
add_librarydeclaration forbreakpad_client. - The header file
breakpad_client.hdoes not exist anywhere in the repository. - No submodule or documented fetch mechanism exists to obtain Breakpad.
- The file is not available via standard system packages.
✅ Suggested Fix
- Either vendor Breakpad directly into the repo (e.g. under
third_party/), - Or make Breakpad optional, controlled by a CMake flag like
-DWITH_BREAKPAD=OFF.
🙏 Final Note
This issue blocks independent builds of the Linux desktop version — a key requirement for open-source transparency. If there's a known solution, documentation update, or workaround, I’d be happy to help test it and follow up with a patch.
Thanks for open-sourcing Mixin Messenger — I look forward to your guidance on resolving this.
2025-04-30 16:33 UTC+8 Build Log
Best regards,
Daniel Andrei R. Garcia
WalletScrutiny.com Contributor