[MacPorts] #71621: cmake @3.31.2 does not configure on PPC Mac OS X 10.4.11, Tiger, because of CPU_TYPE_ARM vs. CPU_TYPE_ANY

MacPorts noreply at macports.org
Mon Dec 23 12:11:28 UTC 2024


#71621: cmake @3.31.2 does not configure on PPC Mac OS X 10.4.11, Tiger, because of
CPU_TYPE_ARM vs. CPU_TYPE_ANY
-----------------------+--------------------
 Reporter:  ballapete  |      Owner:  (none)
     Type:  defect     |     Status:  new
 Priority:  Normal     |  Milestone:
Component:  ports      |    Version:  2.10.5
 Keywords:  tiger ppc  |       Port:  cmake
-----------------------+--------------------
 {{{
 /opt/local/var/macports/build/nue.de.rsync.macports.org_macports_release_tarballs_ports_devel_cmake/cmake/work/cmake-3.31.2/Source/cmMachO.cxx:
 In member function 'cmMachO::StringList cmMachO::GetArchitectures()
 const':
 /opt/local/var/macports/build/nue.de.rsync.macports.org_macports_release_tarballs_ports_devel_cmake/cmake/work/cmake-3.31.2/Source/cmMachO.cxx:389:56:
 error: 'CPU_TYPE_ARM' was not declared in this scope; did you mean
 'CPU_TYPE_ANY'?
   389 |         const NXArchInfo* archInfo = (header.CpuType &
 CPU_TYPE_ARM)
       |
 ^~~~~~~~~~~~
       |
 CPU_TYPE_ANY
 gmake: *** [Makefile:490: cmMachO.o] Error 1
 ---------------------------------------------
 Error when bootstrapping CMake:
 Problem while running gmake
 ---------------------------------------------
 Log of errors:
 /opt/local/var/macports/build/nue.de.rsync.macports.org_macports_release_tarballs_ports_devel_cmake/cmake/work/cmake-3.31.2/Bootstrap.cmk/cmake_bootstrap.log
 ---------------------------------------------
 Command failed:  cd
 "/opt/local/var/macports/build/nue.de.rsync.macports.org_macports_release_tarballs_ports_devel_cmake/cmake/work/cmake-3.31.2"
 && ./bootstrap --prefix=/opt/local --docdir=share/doc/cmake --parallel=1
 --init=/opt/local/var/macports/build/nue.de.rsync.macports.org_macports_release_tarballs_ports_devel_cmake/cmake/work/cmake-3.31.2/macports.cmake
 --system-libs --no-qt-gui --no-system-jsoncpp --no-system-librhash --no-
 system-libuv --no-system-cppdap --
 Exit code: 9
 Error: Failed to configure cmake: configure failure: command execution
 failed
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/71621>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list