Skip to content

Reproducible builds Linux Desktop Build Fails Due to Missing breakpad_client Source and Headers - WalletScrutiny.com #1747

Description

@xrviv

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.txt tries to link against breakpad_client.
  • However, there is no add_library declaration for breakpad_client.
  • The header file breakpad_client.h does 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions