Opened 16 months ago
Closed 16 months ago
#67806 closed defect (duplicate)
gtk3 @3.24.38+universal: ninja: error: unknown target 'CC=/usr/bin/clang -arch arm64'
Reported by: | danchomichev | Owned by: | mascguy (Christopher Nielsen) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | danchomichev | |
Port: | gtk3 |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
this is from the terminal.
Continue? [Y/n]: Y ---> Fetching archive for gtk3 ---> Attempting to fetch gtk3-3.24.38_0+universal+x11.darwin_22.arm64-x86_64.tbz2 from https://packages.macports.org/gtk3 ---> Attempting to fetch gtk3-3.24.38_0+universal+x11.darwin_22.arm64-x86_64.tbz2 from https://ywg.ca.packages.macports.org/mirror/macports/packages/gtk3 ---> Attempting to fetch gtk3-3.24.38_0+universal+x11.darwin_22.arm64-x86_64.tbz2 from http://mirror.fcix.net/macports/packages/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 kde4-kile failed
Attachments (1)
Change History (6)
comment:1 Changed 16 months ago by ryandesign (Ryan Carsten Schmidt)
Description: | modified (diff) |
---|---|
Keywords: | Failed to build gtk3 removed |
Port: | gtk3 added; kde4-kile removed |
Changed 16 months ago by danchomichev
Attachment: | main.log.pdf added |
---|
comment:3 Changed 16 months ago by ryandesign (Ryan Carsten Schmidt)
Owner: | set to mascguy |
---|---|
Status: | new → assigned |
Summary: | Error: Failed to build gtk3: command execution failed → gtk3 @3.24.38+universal: ninja: error: unknown target 'CC=/usr/bin/clang -arch arm64' |
The error in the log is:
:info:build ninja: error: unknown target 'CC=/usr/bin/clang -arch arm64'
I believe this would only occur when building with the +universal variant. If you don't need a universal build, you could avoid the problem by not using the universal variant. However, maybe you do need to build universal, in which case we should fix this.
I am also confused by a message earlier at the end of the configure phase:
:debug:configure Executing proc-pre-org.macports.configure-configure-2 :error:configure gtk3 requires at least one architecture runnable on this :error:configure machine to be able to build universally. Please add at least :error:configure one of the following architectures to `universal_archs` in :error:configure "/opt/local/etc/macports/macports.conf": :error:configure ppc64 ppc
I note that the code in the gtk3 Portfile that prints this message has not been updated for the arm64 architecture, so this message may be spurious—or updating that code may be needed to get this port to build universal. There are several related gtk ports; they may all need updates. Best not to let them diverge too much.
comment:4 Changed 16 months ago by danchomichev
(1) The computers I have used are/were Windows computers. This is my first Macbook and this is the basic information about it:
Model Name: MacBook Pro
Model Identifier: MacBookPro18,1 Model Number: MK183LL/A Chip: Apple M1 Pro Total Number of Cores: 10 (8 performance and 2 efficiency) Memory: 16 GB System Firmware Version: 8422.121.1 OS Loader Version: 8422.121.1
(2) I am using Kile on the Windows machines. I like Kile mostly because of the "Live Preview" feature in this LaTeX IDE. In that sense the situation is not "critical" for me and I can wait; I just want to use Kile in MacOS. (3) I initiated this ticket, because my feeling is something should be fixed because of the relatively new "arm64" architecture. It is not a problem for me to wait, and I am willing to help as much as I can. (4) Thank you!
comment:5 Changed 16 months ago by jmroot (Joshua Root)
Resolution: | → duplicate |
---|---|
Status: | assigned → closed |
Please attach the main.log.