Opened 3 months ago

Last modified 3 months ago

#65765 assigned defect

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 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 (3)

comment:1 Changed 3 months ago by ryandesign (Ryan Schmidt)

Description: modified (diff)
Keywords: arm64 monterey added
Owner: set to NicosPavlov
Status: newassigned
Summary: can not install kdelibs4 on Macbook Air M1 - MacOS 12.5.1kdelibs4: Error: Cannot install kdelibs4 for the arch 'arm64' because its dependency qt4-mac only supports the archs 'ppc ppc64 i386 x86_64'

On a macbook air M1 I get this error

Yes, the error is accurate. You cannot build kdelibs4 for arm64 because its dependency qt4-mac does not support arm64.

nevertheless I have installed (I think) without problems

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.

comment:2 Changed 3 months 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'

Version 0, edited 3 months ago by ferdiga (Ferdinand Gassauer) (next)

comment:3 Changed 3 months ago by cooljeanius (Eric Gallager)

Cc: cooljeanius added
Note: See TracTickets for help on using tickets.