[MacPorts] #72585: Io port fails to build for arm64; please support arm64

MacPorts noreply at macports.org
Sat Jun 7 07:53:30 UTC 2025


#72585: Io port fails to build for arm64; please support arm64
-----------------------+----------------------
  Reporter:  kwolcott  |      Owner:  markemer
      Type:  defect    |     Status:  assigned
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:
Resolution:            |   Keywords:  arm64
      Port:  Io        |
-----------------------+----------------------
Changes (by ryandesign):

 * status:  new => assigned
 * keywords:   => arm64
 * owner:  (none) => markemer


Old description:

> sudo port -v -s install Io
>
> Error: Cannot install Io for the arch 'x86_64' because
> Error: its dependency cairo is only installed for the arch 'arm64'
> Error: and does not have a universal variant.
> DEBUG: architecture mismatch
>
> The output of "port info Io" does not state or imply that is only x86-64
> platform.  I guess that this is what I am asking for (*SIGH*) that it be
> stated that arm64 is not supported in the output of "port info"...
>
> Ah, I see now on the GitHub source page that x86-64 is forced, no support
> for arm64, sad.

New description:

 {{{
 sudo port -v -s install Io

 Error: Cannot install Io for the arch 'x86_64' because
 Error: its dependency cairo is only installed for the arch 'arm64'
 Error: and does not have a universal variant.
 DEBUG: architecture mismatch
 }}}

 The output of `port info Io` does not state or imply that is only x86-64
 platform.  I guess that this is what I am asking for (*SIGH*) that it be
 stated that arm64 is not supported in the output of `port info`...

 Ah, I see now on the GitHub source page that x86-64 is forced, no support
 for arm64, sad.

--

Comment:

 A comment in the Io portfile explains why the supported archs are set as
 they are:

 > {{{#!tcl
 > # Builds currently fail on apple silicon even in universal mode
 > }}}

 I'm not aware of any other situation in which individual ports state in
 their `port info` what architectures they support, so I would not favor
 adding that just for Io.

 If you want that as a general feature request that MacPorts base should
 handle for all ports, that's #62715. I explain there why I don't consider
 it necessary: The user should not care. The x86_64 port should work fine
 on your arm64 computer. However, me not seeing a need for the feature
 shouldn't prevent anyone else from implementing it if they feel motivated
 to do so.

 I'm not sure why MacPorts is claiming that cairo does not have a universal
 variant. It should have one.
 [https://ports.macports.org/port/cairo/details/ Its ports page] says it
 has one.

 Io doesn't build on Sonoma or Sequoia on x86_64 either. Based on the port
 version number, I assume it is from 2017. Maybe a newer version is
 available that would be arm64 compatible and/or fix the build failure with
 recent compilers. The build logs expired from the buildbot so I scheduled
 new builds so we can see what the error is.

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


More information about the macports-tickets mailing list