Opened 3 weeks ago

Last modified 3 weeks ago

#69865 assigned defect

gtk3 @3.24.41_1+universal+x11: ninja: error: unknown target 'CC=/usr/bin/clang -arch arm64'

Reported by: N25434 Owned by: mascguy (Christopher Nielsen)
Priority: Normal Milestone:
Component: ports Version: 2.9.3
Keywords: arm64 sonoma Cc:
Port: gtk3

Description (last modified by ryandesign (Ryan Carsten Schmidt))

Hello, I tried to install "Okular" but failed. When I try to install it, I get errors, particularly with gtk3. I tried uninstalling and manually reinstalling it, but nothing changed. Here is the error:

~ % sudo port install okular
---> Computing dependencies for okular
The following dependencies will be installed:
 ImageMagick
 avahi
 botan
 ghostscript
 gtk3
 kactivities
 kdelibs4
 kfilemetadata
 libgcrypt
 libgpg-error
 libkexiv2
 libspectre
 lzma
 mobipocket
 nepomuk-core
 nspr
 nss
 p7zip
 qca
 soprano
 virtuoso
 virtuoso-7
Continue? [Y/n]: y
---> Fetching archive for gtk3
---> Attempting to fetch gtk3-3.24.41_1+universal+x11.darwin_23.arm64-x86_64.tbz2 from https://packages.macports.org/gtk3
---> Attempting to fetch gtk3-3.24.41_1+universal+x11.darwin_23.arm64-x86_64.tbz2 from https://fra.de.packages.macports.org/gtk3
---> Attempting to fetch gtk3-3.24.41_1+universal+x11.darwin_23.arm64-x86_64.tbz2 from http://fco.it.packages.macports.org/gtk3
---> Building gtk3
Error: Failed to build gtk3: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_gtk3/gtk3/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug.
Error: Processing of port okular failed

Attachments (1)

main.log (86.9 KB) - added by N25434 3 weeks ago.

Download all attachments as: .zip

Change History (8)

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

Description: modified (diff)
Keywords: arm64 sonoma added
Owner: set to mascguy
Port: gtk3 added
Priority: HighNormal
Status: newassigned
Summary: Error install Okulargtk3 @3.24.41_1+universal+x11: Build failure

Please attach the main.log file.

Changed 3 weeks ago by N25434

Attachment: main.log added

comment:2 Changed 3 weeks ago by N25434

I have attached the file, thank you very much

comment:3 Changed 3 weeks ago by ryandesign (Ryan Carsten Schmidt)

Summary: gtk3 @3.24.41_1+universal+x11: Build failuregtk3 @3.24.41_1+universal+x11: ninja: error: unknown target 'CC=/usr/bin/clang -arch arm64'

The log says the problem is:

ninja: error: unknown target 'CC=/usr/bin/clang -arch arm64'

comment:4 Changed 3 weeks ago by N25434

and what should I do?

comment:5 Changed 3 weeks ago by kencu (Ken)

there are a bunch of tickets about how gtk3 can no longer build universal.

we should consolidate them into one ticket.

currently there is no good fix, although some of the tickets have suggestions.

comment:6 Changed 3 weeks ago by kencu (Ken)

kdelibs4 is quite broken now too, so if you want this software any time soon, I would just install UTM and a VM of debian (I'm using debian 12 arm64 with UTM myself).

Then configure it how you want (I am using Plasma and WayLand).

Then you are state of the art, with kde5 and can install anything you want.

comment:7 Changed 3 weeks ago by N25434

I will use the program via virtual machine. thanks for everything

Note: See TracTickets for help on using tickets.