[MacPorts] #65765: kdelibs4: Error: Cannot install kdelibs4 for the arch 'arm64' because its dependency qt4-mac only supports the archs 'ppc ppc64 i386 x86_64' (was: can not install kdelibs4 on Macbook Air M1 - MacOS 12.5.1)
MacPorts
noreply at macports.org
Wed Sep 7 19:31:12 UTC 2022
#65765: kdelibs4: Error: Cannot install kdelibs4 for the arch 'arm64' because its
dependency qt4-mac only supports the archs 'ppc ppc64 i386 x86_64'
-----------------------+----------------------------
Reporter: ferdiga | Owner: NicosPavlov
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords: arm64 monterey
Port: kdelibs4 |
-----------------------+----------------------------
Changes (by ryandesign):
* owner: (none) => NicosPavlov
* keywords: => arm64 monterey
* status: new => assigned
Old description:
> 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.
New description:
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.
}}}
--
Comment:
> 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.)
[changeset:c1b160f0ad8c8d128313c22529d8382462dd3276/macports-ports 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.
--
Ticket URL: <https://trac.macports.org/ticket/65765#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list