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

MacPorts noreply at macports.org
Sun Jun 9 14:53:01 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):

 Yes, this works fine.

 If you look at `cmake_bootstrap.log` you'll see that the clang++
 executable is missing from the command.

 This is a good run on arm64 (not the same test, but you get the idea):

 {{{
 Try: /usr/bin/clang++
 Line: /usr/bin/clang++ -pipe -Os
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk -arch
 arm64 -std=gnu++14  -DTEST_KWSYS_CXX_HAS_EXT_STDIO_FILEBUF_H
 /Users/lukasoberhuber/macports-gimp3-arm64/var/macports/build
 /_Users_lukasoberhuber_macports-
 gimp3-arm64_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_devel_cmake-bootstrap/cmake-
 bootstrap/work/cmake-3.9.6/Source/kwsys/kwsysPlatformTestsCXX.cxx -o
 cmake_bootstrap_41862_test
 }}}

 And this is a bad run on rosetta x86_64 (note the `Try:` line).

 {{{
 Try:
 Line:  -pipe -Os
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.13.sdk -arch
 x86_64 -qlanglvl=extended -DTEST1 cmake_bootstrap_18180_test.cxx -o
 cmake_bootstrap_18180_test
 }}}

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


More information about the macports-tickets mailing list