Opened 5 months ago
Last modified 4 months 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: | cooljeanius (Eric Gallager) |
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)
Change History (9)
comment:1 Changed 5 months ago by ryandesign (Ryan Carsten Schmidt)
Description: | modified (diff) |
---|---|
Keywords: | arm64 sonoma added |
Owner: | set to mascguy |
Port: | gtk3 added |
Priority: | High → Normal |
Status: | new → assigned |
Summary: | Error install Okular → gtk3 @3.24.41_1+universal+x11: Build failure |
Changed 5 months ago by N25434
comment:3 Changed 5 months ago by ryandesign (Ryan Carsten Schmidt)
Summary: | gtk3 @3.24.41_1+universal+x11: Build failure → gtk3 @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:5 Changed 5 months 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 5 months 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 5 months ago by N25434
I will use the program via virtual machine. thanks for everything
comment:8 Changed 4 months ago by cooljeanius (Eric Gallager)
Cc: | cooljeanius added |
---|
Please attach the main.log file.