[MacPorts] #56494: ninja fails to build universal

MacPorts noreply at macports.org
Sat Feb 13 19:43:49 UTC 2021


#56494: ninja fails to build universal
-------------------------+------------------------------------------------
  Reporter:  ryandesign  |      Owner:  ryandesign
      Type:  defect      |     Status:  closed
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:
Resolution:  fixed       |   Keywords:  tiger leopard snowleopard haspatch
      Port:  ninja       |
-------------------------+------------------------------------------------

Comment (by kencu):

 On BigSur Intel/arm64 ninja builds fine +universal without the muniversal
 PG, but fails with it added unless additional workarounds are added to
 allow the muniversal PG to function.
 {{{
 x ./
 x ./+STATE
 x ./+PORTFILE
 x ./+CONTENTS
 x ./+DESC
 x ./+COMMENT
 x ./opt/
 x ./opt/local/
 x ./opt/local/bin/
 x ./opt/local/etc/
 x ./opt/local/share/
 x ./opt/local/share/doc/
 x ./opt/local/share/doc/ninja/
 x ./opt/local/share/doc/ninja/README.md
 x ./opt/local/share/doc/ninja/COPYING
 x ./opt/local/share/doc/ninja/CONTRIBUTING.md
 x ./opt/local/etc/bash_completion.d/
 x ./opt/local/etc/bash_completion.d/ninja
 x ./opt/local/bin/ninja
 --->  Cleaning ninja
 --->  Removing work directory for ninja
 --->  Scanning binaries for linking errors
 --->  No broken files found.
 --->  No broken ports found.

 % file /opt/local/bin/ninja
 /opt/local/bin/ninja: Mach-O universal binary with 2 architectures:
 [x86_64:Mach-O 64-bit executable x86_64] [arm64:Mach-O 64-bit executable
 arm64]
 /opt/local/bin/ninja (for architecture x86_64): Mach-O 64-bit executable
 x86_64
 /opt/local/bin/ninja (for architecture arm64):  Mach-O 64-bit executable
 arm64
 }}}

 I wonder if they cleaned up their build since this ticket was opened, and
 if we might not need the muniversal PG any longer.

 If we don't need it for older systems or i386/x86_64, that would make
 thinngs simpler to build ninja universal, as it just builds without any
 fuss on BigSur.

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


More information about the macports-tickets mailing list