#65765 closed defect (fixed)
kdelibs4: Error: Cannot install kdelibs4 for the arch 'arm64' because its dependency qt4-mac only supports the archs 'ppc ppc64 i386 x86_64'
Reported by: | ferdiga (Ferdinand Gassauer) | Owned by: | NicosPavlov |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | arm64 monterey | Cc: | cooljeanius (Eric Gallager) |
Port: | kdelibs4 |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
On a macbook air M1 I get this error
MacBook-Air ~ % sudo port install kdelibs4 Password: ---> Computing dependencies for kdelibs4 Error: Cannot install kdelibs4 for the arch 'arm64' because Error: its dependency qt4-mac only supports the archs 'ppc ppc64 i386 x86_64'. Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug. Error: Processing of port kdelibs4 failed
nevertheless I have installed (I think) without problems
sudo port install qt4-mac ---> Computing dependencies for qt4-mac ---> Cleaning qt4-mac ---> Scanning binaries for linking errors ---> No broken files found. ---> No broken ports found.
Change History (5)
comment:1 Changed 2 years ago by ryandesign (Ryan Carsten Schmidt)
Description: | modified (diff) |
---|---|
Keywords: | arm64 monterey added |
Owner: | set to NicosPavlov |
Status: | new → assigned |
Summary: | can not install kdelibs4 on Macbook Air M1 - MacOS 12.5.1 → kdelibs4: Error: Cannot install kdelibs4 for the arch 'arm64' because its dependency qt4-mac only supports the archs 'ppc ppc64 i386 x86_64' |
comment:2 Changed 2 years ago by ferdiga (Ferdinand Gassauer)
yes qt-mac is the problem
port -v installed qt4-mac The following ports are currently installed:
qt4-mac @4.8.7_13 (active) requested_variants= platform='darwin 21' archs='x86_64' date='2022-07-13T17:08:10+1000'
comment:3 Changed 2 years ago by cooljeanius (Eric Gallager)
Cc: | cooljeanius added |
---|
comment:4 Changed 23 months ago by kencu (Ken)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
comment:5 Changed 23 months ago by kencu (Ken)
with a few more tweaks, we can now have kdelibs4 on M1 Macs with all needed supporting ports built as universal.
% port -v installed kdelibs4 The following ports are currently installed: kdelibs4 @4.14.3_18 (active) requested_variants='' platform='darwin 22' archs='x86_64' date='2023-01-02T15:14:23-0800'
some of. these tweaks are as yet to be pushed through to the main ports tree, however.
Note: See
TracTickets for help on using
tickets.
Yes, the error is accurate. You cannot build kdelibs4 for arm64 because its dependency qt4-mac does not support arm64.
Yes, you have qt4-mac installed, probably for x86_64. (
port -v installed qt4-mac
will tell you for sure.) qt4-mac cannot be built for arm64. I guess kdelibs4 and all other ports that use qt4-mac will need to indicate that they too do not support arm64, or more probably the qt4 portgroup should be changed to do that so that all ports that use the portgroup get the fix at once.