Opened 2 years ago
Last modified 22 months ago
#65765 closed defect
kdelibs4: Error: Cannot install kdelibs4 for the arch 'arm64' because its dependency qt4-mac only supports the archs 'ppc ppc64 i386 x86_64' — at Version 1
Reported by: | ferdiga (Ferdinand Gassauer) | Owned by: | NicosPavlov |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | arm64 monterey | Cc: | |
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 (1)
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' |
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.