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

MacPorts noreply at macports.org
Fri Jun 7 23:16:22 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 lukaso):

 > see if you can open an x86_64 terminal as you do, and then compile a few
 simple test cxx files and see what happens
 >
 > `/usr/bin/clang++ -pipe -Os
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.13.sdk -arch
 x86_64`

 I ran this in an arch x86_64 terminal and got this:

 {{{
 $ /usr/bin/clang++ -pipe -Os
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.13.sdk -arch
 x86_64 temp.cpp
 temp.cpp:4:11: fatal error: 'iostream.h' file not found
 # include <iostream.h>
           ^~~~~~~~~~~~
 1 error generated.
 }}}

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


More information about the macports-tickets mailing list