[MacPorts] #64485: libffi fails to build on 10.6.8 for ppc (under Rosetta)

MacPorts noreply at macports.org
Fri Jan 21 14:36:12 UTC 2022


#64485: libffi fails to build on 10.6.8 for ppc (under Rosetta)
---------------------------+---------------------
  Reporter:  barracuda156  |      Owner:  (none)
      Type:  defect        |     Status:  new
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.7.1
Resolution:                |   Keywords:  powerpc
      Port:  libffi        |
---------------------------+---------------------

Comment (by ryandesign):

 There are many occurrences of "x86" in the log, suggesting to me that the
 build system needs more than just `-arch` flags to tell it what
 architectures to build for.

 The port already uses the muniversal portgroup and includes these lines to
 assist with that process for ppc64:

 {{{
 array set merger_host {
     ppc64 powerpc-apple-darwin
 }
 }}}

 Try changing this to:

 {{{
 array set merger_host {
     ppc powerpc-apple-darwin
     ppc64 powerpc-apple-darwin
 }
 }}}

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


More information about the macports-tickets mailing list