[MacPorts] #62259: ninja @1.10.2_0+universal build issues on Big Sur Intel

MacPorts noreply at macports.org
Thu Feb 11 07:23:55 UTC 2021


#62259: ninja @1.10.2_0+universal build issues on Big Sur Intel
---------------------+------------------------
  Reporter:  kencu   |      Owner:  ryandesign
      Type:  defect  |     Status:  assigned
  Priority:  Normal  |  Milestone:
 Component:  ports   |    Version:
Resolution:          |   Keywords:
      Port:  ninja   |
---------------------+------------------------

Comment (by kencu):

 I am having one of those sessions where trac will not allow me to attach
 files to the ticket.

 For now, here is a snippet around the first error:
 {{{
 :debug:configure
 SDKROOT='/Library/Developer/CommandLineTools/SDKs/MacOSX11.1.sdk'
 :info:configure Executing:  cd
 "/opt/buildX11/var/macports/build/_opt_buildX11_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_ninja/ninja/work/ninja-1.10.2-arm64"
 && /usr/bin/python configure.py --with-python=/usr/bin/python
 --host=aarch64-apple-darwin20.3.0 --bootstrap --verbose
 :debug:configure system:  cd
 "/opt/buildX11/var/macports/build/_opt_buildX11_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_ninja/ninja/work/ninja-1.10.2-arm64"
 && /usr/bin/python configure.py --with-python=/usr/bin/python
 --host=aarch64-apple-darwin20.3.0 --bootstrap --verbose
 :info:configure Usage: configure.py [options]
 :info:configure configure.py: error: option --host: invalid choice:
 'aarch64-apple-darwin20.3.0' (choose from 'linux', 'darwin', 'freebsd',
 'openbsd', 'solaris', 'sunos5', 'mingw', 'msvc', 'gnukfreebsd', 'bitrig',
 'netbsd', 'aix', 'dragonfly')
 :info:configure Command failed:  cd
 "/opt/buildX11/var/macports/build/_opt_buildX11_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_ninja/ninja/work/ninja-1.10.2-arm64"
 && /usr/bin/python configure.py --with-python=/usr/bin/python
 --host=aarch64-apple-darwin20.3.0 --bootstrap --verbose
 :info:configure Exit code: 2
 :error:configure Failed to configure ninja: configure failure: command
 execution failed
 :debug:configure Error code: NONE
 }}}


 and here is a snippet around the second error:
 {{{
 :debug:build
 SDKROOT='/Library/Developer/CommandLineTools/SDKs/MacOSX11.1.sdk'
 :info:build Executing:  cd
 "/opt/buildX11/var/macports/build/_opt_buildX11_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_ninja/ninja/work/ninja-1.10.2-arm64"
 && ./ninja -j16 -v
 :debug:build system:  cd
 "/opt/buildX11/var/macports/build/_opt_buildX11_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_ninja/ninja/work/ninja-1.10.2-arm64"
 && ./ninja -j16 -v
 :info:build sh: ./ninja: Bad CPU type in executable
 :info:build Command failed:  cd
 "/opt/buildX11/var/macports/build/_opt_buildX11_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_ninja/ninja/work/ninja-1.10.2-arm64"
 && ./ninja -j16 -v
 :info:build Exit code: 126
 :error:build Failed to build ninja: command execution failed
 :debug:build Error code: NONE
 }}}

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


More information about the macports-tickets mailing list