[MacPorts] #64229: python27 +universal fails to build for ppc+ppc64 on 10.5.8

MacPorts noreply at macports.org
Sun Dec 19 01:02:59 UTC 2021


#64229: python27 +universal fails to build for ppc+ppc64 on 10.5.8
---------------------------+-------------------------------------
  Reporter:  barracuda156  |      Owner:  (none)
      Type:  defect        |     Status:  closed
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.7.1
Resolution:  duplicate     |   Keywords:  PowerPC, Leopard, ppc64
      Port:  python27      |
---------------------------+-------------------------------------

Comment (by barracuda156):

 Replying to [comment:15 kencu]:
 > well before you spend 5 more seconds on it, see if you have the ppc64
 support you are hoping for in {{{/usr/lib/libSystem.B.dylib}}} on your
 10.6-for-PPC system; my copy did not, so it is a waste of time:
 > {{{
 > $ file /usr/lib/libSystem.B.dylib
 > /usr/lib/libSystem.B.dylib: Mach-O universal binary with 3
 architectures: [x86_64:Mach-O 64-bit x86_64 dynamically linked shared
 library, flags:<NOUNDEFS|DYLDLINK|TWOLEVEL>] [i386] [ppc_7400]
 > }}}

 Thank you very much for pointing to this. Indeed, 10A190 has 3 archs
 there, while 10.5.8 PPC has 4. So that’s why Macports passes -arch ppc
 when building anything on 10.6. (Sorry if a silly question, but simply
 replacing the dylib won’t solve the issue, right?)

 P. S. On a positive note, I have made gcc 4.2.1 from 10A222 (build 5626)
 work on 10A190. Had to replace ld twice and gnumake, since 10A222 had
 those Intel-only. After that compiler works normally.

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


More information about the macports-tickets mailing list