[MacPorts] #68112: gtk3 @3.24.38+universal: Error: gtk3 requires at least one architecture runnable on this machine to be able to build universally

MacPorts noreply at macports.org
Tue Sep 12 17:56:31 UTC 2023


#68112: gtk3 @3.24.38+universal: Error: gtk3 requires at least one architecture
runnable on this machine to be able to build universally
------------------------+----------------------
  Reporter:  Liontooth  |      Owner:  mascguy
      Type:  defect     |     Status:  assigned
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:
Resolution:             |   Keywords:  arm64
      Port:  gtk3       |
------------------------+----------------------

Comment (by Liontooth):

 I did a port update and attempted an install of gtk3-3.24.38 again. This
 time I got a different error:

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

 Context:

 {{{
 :notice:build --->  Building gtk3
 :debug:build Executing org.macports.build (gtk3)
 :info:build --->  Building gtk3 for architecture arm64
 :debug:build setting option build.dir to
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_gtk3/gtk3/work
 /build-arm64
 :debug:build Environment:
 :debug:build CC_PRINT_OPTIONS='YES'
 :debug:build
 CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_gtk3/gtk3/work/.CC_PRINT_OPTIONS'
 :debug:build CPATH='/opt/local/include'
 :debug:build DEVELOPER_DIR='/Library/Developer/CommandLineTools'
 :debug:build LIBRARY_PATH='/opt/local/lib'
 :debug:build MACOSX_DEPLOYMENT_TARGET='13.0'
 :debug:build MACPORTS_LEGACY_SUPPORT_DISABLED='1'
 :debug:build
 SDKROOT='/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk'
 :info:build Executing:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_gtk3/gtk3/work
 /build-arm64" && /opt/local/bin/ninja -j8 CC='/usr/bin/clang -arch arm64'
 CC_FOR_BUILD='/usr/bin/clang -arch arm64' -v
 :debug:build system:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_gtk3/gtk3/work
 /build-arm64" && /opt/local/bin/ninja -j8 CC='/usr/bin/clang -arch arm64'
 CC_FOR_BUILD='/usr/bin/clang -arch arm64' -v
 :info:build ninja: error: unknown target 'CC=/usr/bin/clang -arch arm64'
 :info:build Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_gtk3/gtk3/work
 /build-arm64" && /opt/local/bin/ninja -j8 CC='/usr/bin/clang -arch arm64'
 CC_FOR_BUILD='/usr/bin/clang -arch arm64' -v
 :info:build Exit code: 1
 :error:build Failed to build gtk3: command execution failed
 :debug:build Error code: NONE
 }}}

 I enclose the main.log file.

-- 
Ticket URL: <https://trac.macports.org/ticket/68112#comment:4>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list