New comment by ddmgh on void-packages repository https://github.com/void-linux/void-packages/pull/52769#issuecomment-2504582001 Comment: FWIW, I noted what @classabbyamp commented, made the related change and tried to cross-compile, but ended up with the following: ``` ... CMake Warning at /usr/armv7l-linux-gnueabihf/usr/lib32/cmake/KF6Package/KF6PackageMacros.cmake:52 (message): couldn't generate metainfo for org.kde.kupapplet: /usr/armv7l-linux-gnueabihf/usr/bin/kpackagetool6: /usr/armv7l-linux-gnueabihf/usr/bin/kpackagetool6: cannot execute binary file Call Stack (most recent call first): /usr/armv7l-linux-gnueabihf/usr/lib32/cmake/Plasma/PlasmaMacros.cmake:29 (kpackage_install_package) CMakeLists.txt:53 (plasma_install_package) -- The following OPTIONAL packages have been found: * OpenGL * Qt6WidgetsTools (required version >= 6.7.2) * Qt6Widgets (required version >= 6.5.0) * Qt6CoreTools (required version >= 6.7.2) * XKB (required version >= 0.5.0), XKB API common to servers and clients., * WrapVulkanHeaders * Qt6GuiTools (required version >= 6.7.2) * Qt6DBusTools (required version >= 6.7.2) * Qt6QmlTools (required version >= 6.7.2) -- The following REQUIRED packages have been found: * LibGit2, A plain C library to interface with the git version control system., * KF6Solid (required version >= 6.7.0) * KF6KIO (required version >= 5.96.0) * KF6IdleTime (required version >= 5.96.0) * Gettext * KF6I18n (required version >= 5.96.0) * KF6Notifications (required version >= 5.96.0) * KF6DBusAddons (required version >= 5.96.0) * KF6JobWidgets (required version >= 5.96.0) * KF6WidgetsAddons (required version >= 5.96.0) * KF6XmlGui (required version >= 5.96.0) * KF6KCMUtils (required version >= 5.96.0) * KF6 (required version >= 5.96.0) * Qt6Core (required version >= 6.5.0) * Plasma * ECM (required version >= 5.240.0) * Qt6HostInfo * Qt6 * Plasma5Support -- Configuring done (3.1s) -- Generating done (0.1s) -- Build files have been written to: /builddir/kup-0.10.0/build => kup-0.10.0_1: running pre-build hook: 02-script-wrapper ... => kup-0.10.0_1: running do_build ... [1/69] cd /builddir/kup-0.10.0/build/kcm && /usr/armv7l-linux-gnueabihf/usr/libexec/kf6/kcmdesktopfilegenerator /builddir/kup-0.10.0/kcm/kcm_kup.json /builddir/kup-0.10.0/build/kcm/kcm_kup.desktop FAILED: kcm/CMakeFiles/kcm_kup-kcm-desktop-gen /builddir/kup-0.10.0/build/kcm/CMakeFiles/kcm_kup-kcm-desktop-gen cd /builddir/kup-0.10.0/build/kcm && /usr/armv7l-linux-gnueabihf/usr/libexec/kf6/kcmdesktopfilegenerator /builddir/kup-0.10.0/kcm/kcm_kup.json /builddir/kup-0.10.0/build/kcm/kcm_kup.desktop /bin/sh: line 1: /usr/armv7l-linux-gnueabihf/usr/libexec/kf6/kcmdesktopfilegenerator: cannot execute binary file: Exec format error [2/69] Automatic MOC for target kup-filedigger ninja: build stopped: subcommand failed. => ERROR: kup-0.10.0_1: do_build: '${make_cmd} ${makejobs} ${make_build_args} ${make_build_target}' exited with 1 => ERROR: in do_build() at common/build-style/cmake.sh:95 ``` I don't know enough about this stuff to resolve the issue.