Skip to content

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

Closed

Description

@fanquake

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.

Activity

  1. hebasto commented on Jun 13, 2025

    @hebasto
    Member

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

  2. fanquake commented on Jun 13, 2025

    @fanquake
    MemberAuthor

    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.

  3. deleted a comment from delta185 on Jun 15, 2025
  4. fanquake commented on Feb 5, 2026

    @fanquake
    MemberAuthor

    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.

  5. added a commit that references this issue on Feb 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions