Bug 439283 - CMake libs fails to build under Apple Silicon
Summary: CMake libs fails to build under Apple Silicon
Status: RESOLVED FIXED
Alias: None
Product: Craft
Classification: Unmaintained
Component: Core (show other bugs)
Version: stable
Platform: macOS (DMG) macOS
: NOR normal
Target Milestone: ---
Assignee: Hannah von Reth
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-06-29 01:50 UTC by Dawid Wróbel
Modified: 2021-06-29 16:32 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dawid Wróbel 2021-06-29 01:50:05 UTC
SUMMARY
Packages built by Craft using Apple Silicon ignore the fact they are supposed to be compiled for x64 and instead are built for arm64 arch.

STEPS TO REPRODUCE
1. craft -I kpimtextedit  

OBSERVED RESULT
ld: symbol(s) not found for architecture arm64

EXPECTED RESULT
Build should succeed



SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Bug Janitor Service 2021-06-29 01:50:46 UTC
A possibly relevant merge request was started @ https://invent.kde.org/packaging/craft/-/merge_requests/38
Comment 2 Dawid Wróbel 2021-06-29 16:32:06 UTC
Git commit e958ee7c1ef24a3fe312b3c0ac1a31703770dcbb by Dawid Wróbel.
Committed on 29/06/2021 at 01:50.
Pushed by wrobelda into branch 'master'.

cmake: update to 3.19.2, fix Apple Silicon builds

3.19.2 is the first version that supports Apple Silicon

M  +8    -4    blueprints/dev-utils/cmake-base/cmake-base.py

https://invent.kde.org/packaging/craft/commit/e958ee7c1ef24a3fe312b3c0ac1a31703770dcbb