[MacPorts] #66340: cmake 3.24.3 fails on 10.7, 10.8 and 10.9

MacPorts noreply at macports.org
Thu Nov 24 00:14:52 UTC 2022


#66340: cmake 3.24.3 fails on 10.7, 10.8 and 10.9
---------------------+-----------------------
  Reporter:  catap   |      Owner:  michaelld
      Type:  defect  |     Status:  assigned
  Priority:  High    |  Milestone:
 Component:  ports   |    Version:
Resolution:          |   Keywords:
      Port:  cmake   |
---------------------+-----------------------
Changes (by catap):

 * priority:  Normal => High


Old description:

> It fails to build with the first error:
> {{{
> /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_cmake/cmake/work/cmake-3.24.3/Source/cmWindowsRegistry.cxx:768:36:
> error: no matching constructor for initialization of 'std::string' (aka
> 'basic_string<char, char_traits<char>, allocator<char> >')
>   return std::vector<std::string>{ std::string{ expression } };
>                                    ^          ~~~~~~~~~~~~~~
> }}}
>
> See:
>  -
> https://build.macports.org/builders/ports-10.9_x86_64-builder/builds/207496/steps
> /install-port/logs/stdio
>  -
> https://build.macports.org/builders/ports-10.8_x86_64-builder/builds/109789/steps
> /install-port/logs/stdio
>  -
> https://build.macports.org/builders/ports-10.7_x86_64-builder/builds/119854/steps
> /install-port/logs/stdio

New description:

 It fails to build with the first error:
 {{{
 /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_cmake/cmake/work/cmake-3.24.3/Source/cmWindowsRegistry.cxx:768:36:
 error: no matching constructor for initialization of 'std::string' (aka
 'basic_string<char, char_traits<char>, allocator<char> >')
   return std::vector<std::string>{ std::string{ expression } };
                                    ^          ~~~~~~~~~~~~~~
 }}}

 Thus, this failed build broke build of all cmake-based ports by buildbots
 on this platforms.

 See:
  -
 https://build.macports.org/builders/ports-10.9_x86_64-builder/builds/207496/steps
 /install-port/logs/stdio
  -
 https://build.macports.org/builders/ports-10.8_x86_64-builder/builds/109789/steps
 /install-port/logs/stdio
  -
 https://build.macports.org/builders/ports-10.7_x86_64-builder/builds/119854/steps
 /install-port/logs/stdio

--

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


More information about the macports-tickets mailing list