[MacPorts] #69435: c4core is broken on Mojave and below

MacPorts noreply at macports.org
Sat Mar 2 17:19:05 UTC 2024


#69435: c4core is broken on Mojave and below
-------------------------------------------------+-------------------------
 Reporter:  barracuda156                         |      Owner:  herbygillot
     Type:  defect                               |     Status:  assigned
 Priority:  Normal                               |  Milestone:
Component:  ports                                |    Version:  2.9.1
 Keywords:  mojave, highsierra, sierra,          |       Port:  c4core
  elcapitan, yosemite, mavericks, lion,          |
  snowleopard, leopard, tiger                    |
-------------------------------------------------+-------------------------
 The port fails to build on < 10.15 with multiple errors. See:
 https://github.com/biojppm/c4core/issues/130
 {{{
 In file included from
 /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_c4core/c4core/work/c4core-0.1.11-src/src/c4/error.cpp:1:
 In file included from
 /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_c4core/c4core/work/c4core-0.1.11-src/src/c4/error.hpp:8:
 In file included from
 /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_c4core/c4core/work/c4core-0.1.11-src/src/c4/config.hpp:37:
 /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_c4core/c4core/work/c4core-0.1.11-src/src/c4/types.hpp:150:12:
 error: unknown type name 'T'
     Padded(T const& val) : T(val) {}
            ^
 /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_c4core/c4core/work/c4core-0.1.11-src/src/c4/types.hpp:150:14:
 error: expected ')'
     Padded(T const& val) : T(val) {}
              ^
 . . .
 In file included from
 /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_c4core/c4core/work/c4core-0.1.11-src/src/c4/format.cpp:1:
 In file included from
 /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_c4core/c4core/work/c4core-0.1.11-src/src/c4/format.hpp:7:
 In file included from
 /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_c4core/c4core/work/c4core-0.1.11-src/src/c4/charconv.hpp:50:
 In file included from
 /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_c4core/c4core/work/c4core-0.1.11-src/src/c4/std/std_fwd.hpp:6:
 /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_c4core/c4core/work/c4core-0.1.11-src/src/c4/std/vector_fwd.hpp:29:2:
 error: "unknown standard library"
 #error "unknown standard library"
  ^
 . . .
 }}}
 https://build.macports.org/builders/ports-10.7_x86_64-builder/builds/180210/steps
 /install-port/logs/stdio

 On < 10.7 it does not find `git` during configure:
 {{{
 CMake Error at cmake/c4Project.cmake:1042 (find_program):
   Could not find GIT using the following names: git
 Call Stack (most recent call first):
   cmake/c4Project.cmake:884 (c4_proj_get_version)
   cmake/c4Project.cmake:825 (c4_set_default_pack_properties)
   CMakeLists.txt:110 (c4_pack_project)


 -- Configuring incomplete, errors occurred!
 }}}
 https://build.macports.org/builders/ports-10.6_x86_64-builder/builds/191688/steps
 /install-port/logs/stdio

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


More information about the macports-tickets mailing list