[MacPorts] #69812: cmake-bootstrap @3.9.6 does not compile under rosetta2

MacPorts noreply at macports.org
Wed Apr 24 09:27:06 UTC 2024


#69812: cmake-bootstrap @3.9.6 does not compile under rosetta2
------------------------------+--------------------
  Reporter:  lukaso           |      Owner:  (none)
      Type:  defect           |     Status:  new
  Priority:  Normal           |  Milestone:
 Component:  ports            |    Version:
Resolution:                   |   Keywords:
      Port:  cmake-bootstrap  |
------------------------------+--------------------

Comment (by ryandesign):

 Replying to [comment:2 lukaso]:
 > I've run this in an x86_64 terminal window which I created using `arch
 -x86_64 /bin/zsh`. So yes, this is an Arm64 machine.

 Then the next question is: why are you doing this? This is not a normal
 way to use MacPorts.

 > I also checked the compiler line it claimed it couldn't run, and it
 worked:
 > {{{
 > /usr/bin/clang -pipe -Os
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.13.sdk -arch
 x86_64 -std=gnu11
 > }}}

 Right, it works if you use `/usr/bin/clang` as the compiler. The failing
 tests are not using `/usr/bin/clang` as the compiler; they're using the
 empty string.

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


More information about the macports-tickets mailing list