[Craft] [Bug 454506] Dbus fails to build on arm64 macOS (Apple sillicon / M1 hardware)

Jeremy Whiting bugzilla_noreply at kde.org
Mon Jun 13 00:18:23 BST 2022


https://bugs.kde.org/show_bug.cgi?id=454506

Jeremy Whiting <jpwhiting at kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jpwhiting at kde.org

--- Comment #2 from Jeremy Whiting <jpwhiting at kde.org> ---
>ld: warning: ignoring file /Users/javier/CraftRoot/lib/libexpat.dylib, building for macOS-arm64 but attempting to link with file built for macOS-x86_64


that's the key, it's trying to build a x86_64 build but trying to link to arm
libraries. It seems the craft ini file change to arm isn't taking effect in
this case. Since it's built with cmake the key is to add
https://cmake.org/cmake/help/latest/variable/CMAKE_OSX_ARCHITECTURES.html
somehow. Maybe cmake is already setting this (or craft is using cmake to set
that) but that's the key.

-- 
You are receiving this mail because:
You are watching all bug changes.



More information about the kde-mac mailing list