Opened 2 years ago

Last modified 13 months ago

#66407 assigned defect

Okular installation not working in Ventura13.0.1(arm64)

Reported by: Naageswaran (Naageswaran) Owned by: NicosPavlov
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: okular qt4-mac

Description

When tried to follow the procedure given in https://ports.macports.org/port/okular/ to install Okular, the following error message appeared.

Error: Cannot install okular for the arch 'arm64' because its dependency qt4-mac only supports the archs 'ppc ppc64 i386 x86_64'.

Could you update the port Okular for 'arm64'?

Change History (4)

comment:1 Changed 2 years ago by jmroot (Joshua Root)

Owner: set to NicosPavlov
Port: okular qt4-mac added
Status: newassigned

I think an arm64 build of Okular would require updating to a newer version that would require KDE 5, which is not yet in MacPorts (or getting Qt 4 to work on arm64, which also doesn't seem easy.) Maybe the okular port should set supported_archs to match qt4-mac in the meantime?

comment:2 in reply to:  1 ; Changed 2 years ago by ryandesign (Ryan Carsten Schmidt)

Replying to jmroot:

Maybe the okular port should set supported_archs to match qt4-mac in the meantime?

I would think that all ports that depend on qt4 should do that, and that perhaps the qt4 portgroup would be the place to do it. I think I've mentioned that elsewhere before.

comment:3 in reply to:  2 Changed 13 months ago by barracuda156

Replying to ryandesign:

Replying to jmroot:

Maybe the okular port should set supported_archs to match qt4-mac in the meantime?

I would think that all ports that depend on qt4 should do that, and that perhaps the qt4 portgroup would be the place to do it. I think I've mentioned that elsewhere before.

Why doesn’t it work on aarch64 though? It builds fine for x86_64 on Sonoma, so no SDK issues, only some arch-specific defines are perhaps missing. There is a port of Qt4 which supports arm64: https://github.com/fluxer/katie

comment:4 Changed 13 months ago by barracuda156

Some patches, including those for aarch64 support, apparently: https://github.com/flathub/shared-modules/tree/master/qt4

Note: See TracTickets for help on using tickets.