[MacPorts] #68578: cmake-devel 3.28 weird errors with some ports on old systems: CMake Error: Generator: execution of make failed. Make command was: /opt/local/bin/cmake -E env VERBOSE=1 /usr/bin/make -f Makefile cmTC_c4da1/fast

MacPorts noreply at macports.org
Sat Jan 6 03:30:05 UTC 2024


#68578: cmake-devel 3.28 weird errors with some ports on old systems: CMake Error:
Generator: execution of make failed. Make command was: /opt/local/bin/cmake
-E env VERBOSE=1 /usr/bin/make -f Makefile cmTC_c4da1/fast
-------------------------+-------------------------------------------------
  Reporter:              |      Owner:  barracuda156
  barracuda156           |
      Type:  defect      |     Status:  assigned
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.8.1
Resolution:              |   Keywords:  tiger, leopard, snowleopard,
      Port:  cmake-      |  powerpc
  devel                  |
-------------------------+-------------------------------------------------

Comment (by barracuda156):

 Surprisingly, it is something which ICU installs into `/opt/local/sbin` is
 breaking stuff.

 So this fixes the problem:
 {{{
 configure.env       PATH=/opt/local/bin:/usr/bin:/bin:/usr/sbin:/sbin
 }}}
 And even this works fine:
 {{{
 configure.env
 PATH=/opt/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/local/sbin
 }}}

 But default which has `/opt/local/sbin` in front does not work.

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


More information about the macports-tickets mailing list