depends: Qt doesn't build on Chimera Linux #32744

issue fanquake opened this issue on June 13, 2025
  1. fanquake commented at 9:58 AM on June 13, 2025: member

    Tested using podman and chimeralinux/chimera

    # c++ --version
    clang version 20.1.6
    Target: x86_64-chimera-linux-musl
    
    #make -C depends/ qt
    ...
    [ 15%] Building C object qtbase/src/tools/bootstrap/CMakeFiles/Bootstrap.dir/__/__/3rdparty/pcre2/src/pcre2_xclass.c.o
    /bitcoin/depends/work/build/x86_64-pc-linux-musl/qt/6.7.3-0a1664c58a9/qtbase/src/corelib/tools/qhash.cpp:1452:45: error: 'memcpy' called with `n` bigger than the size of `d`.
     1452 |         memcpy(&k, &key, sizeof(long double));
          |                                             ^
    /usr/include/fortify/string.h:48:1: note: from 'diagnose_if' attribute on 'memcpy':
       48 | __error_if((__fh_bos(__od, 0) < __n), "'memcpy' called with `n` bigger than the size of `d`.")
          | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    /usr/include/fortify/fortify-headers.h:120:47: note: expanded from macro '__error_if'
      120 | #define __error_if(cond, msg) __attribute__ ((diagnose_if (cond, msg, "error")))
          |                                               ^            ~~~~
    1 error generated.
    
  2. hebasto added the label Upstream on Jun 13, 2025
  3. hebasto commented at 10:24 AM on June 13, 2025: member

    For the reference, Chimera Linux is not listed in Qt 6.7 Supported Platforms.

  4. fanquake commented at 10:28 AM on June 13, 2025: member

    6.7 Supported Platforms.

    According to that page, most of what we do isn't supported. GCC 13, macOS cross compilation, our mingw-w64 compiler, a number of the linux architectures we ship for, etc.

  5. bitcoin deleted a comment on Jun 15, 2025
  6. fanquake commented at 2:31 PM on February 5, 2026: member

    There is an upstream patch that might fix this, https://github.com/chimera-linux/cports/blob/master/main/qt6-qtbase/patches/foortify.patch, but I'm not planning on investigating this any further, so closing for now.

  7. fanquake closed this on Feb 5, 2026


github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-17 00:12 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me