[MacPorts] #61750: cmake port installation failure - Big Sur AArch64 (M1)

MacPorts noreply at macports.org
Sat Dec 5 19:39:17 UTC 2020


#61750: cmake port installation failure - Big Sur AArch64 (M1)
----------------------+--------------------
  Reporter:  raw-bin  |      Owner:  (none)
      Type:  defect   |     Status:  new
  Priority:  High     |  Milestone:
 Component:  ports    |    Version:
Resolution:           |   Keywords:
      Port:           |
----------------------+--------------------

Comment (by ryandesign):

 Replying to [ticket:61750 raw-bin]:
 > {{{
 > $ sudo port install cmake
 > Password:
 > --->  Computing dependencies for cmake
 > --->  Fetching archive for cmake
 > --->  Attempting to fetch cmake-3.19.1_0.darwin_20.x86_64.tbz2 from
 https://mse.uk.packages.macports.org/cmake
 > --->  Attempting to fetch cmake-3.19.1_0.darwin_20.x86_64.tbz2 from
 https://lil.fr.packages.macports.org/cmake
 > --->  Attempting to fetch cmake-3.19.1_0.darwin_20.x86_64.tbz2 from
 https://cph.dk.packages.macports.org/cmake
 > }}}

 MacPorts is clearly trying to build the x86_64-only version, which it
 should not do on an arm64 Mac.

 I assume that you have not edited macports.conf to set build_arch to
 x86_64. If you have done that, comment it out or set it back to arm64.

 If that's not it, are you using a third-party x86_64 terminal program,
 such as iTerm2? Try using Apple's Terminal instead.

 Or are you using a nonstandard shell that was compiled x86_64? If so, use
 Apple's ksh which is compiled arm64.


 Replying to [comment:2 raw-bin]:
 > I wonder whether I need to use the latest beta version of Xcode command
 line tools ? At present I have v 12 stable. Trying v12.3 beta now just in
 case.

 You must use Xcode 12.2 or later (or the corresponding version of the
 command line tools) on Big Sur.

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


More information about the macports-tickets mailing list