flutter-app
flutter-app copied to clipboard
Reproducible builds Linux Desktop Build Fails Due to Missing `breakpad_client` Source and Headers - WalletScrutiny.com
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
I tested build in Github actions, It seems no problem.
build for tag: v2.2.0 https://github.com/MixinNetwork/flutter-app/actions/runs/14771364723
build for main: https://github.com/MixinNetwork/flutter-app/actions/runs/14771239791
can you take a try :
- install the
libcurl4-openssl-dev - do a clean with
flutter clean - then rebuild:
flutter build linux