[MacPorts] #67971: libKriging fails on Catalina: error: no viable constructor or deduction guide for deduction of template arguments of 'CacheFunction'

MacPorts noreply at macports.org
Wed Aug 16 02:58:44 UTC 2023


#67971: libKriging fails on Catalina: error: no viable constructor or deduction
guide for deduction of template arguments of 'CacheFunction'
--------------------------+------------------------
 Reporter:  barracuda156  |      Owner:  (none)
     Type:  defect        |     Status:  new
 Priority:  Normal        |  Milestone:
Component:  ports         |    Version:  2.8.1
 Keywords:  catalina      |       Port:  libKriging
--------------------------+------------------------
 Upstream issue: https://github.com/libKriging/libKriging/issues/266

 {{{
 /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_math_libKriging/libKriging/work/libKriging-0.8.0/src/lib/NoiseKriging.cpp:274:17:
 error: no viable constructor or deduction guide for deduction of template
 arguments of 'CacheFunction'
       fit_ofn = CacheFunction([this](const arma::vec& _gamma, arma::vec*
 grad_out, NoiseKriging::OKModel* okm_data) {
                 ^
 /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_math_libKriging/libKriging/work/libKriging-0.8.0/src/lib/include/libKriging/CacheFunction.hpp:68:7:
 note: candidate template ignored: could not match 'CacheFunction<Callable,
 Signature, Contexts...>' against '(lambda at
 /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_math_libKriging/libKriging/work/libKriging-0.8.0/src/lib/NoiseKriging.cpp:274:31)'
 class CacheFunction {};
       ^
 }}}

 Log:
 https://build.macports.org/builders/ports-10.15_x86_64-builder/builds/147794/steps
 /install-port/logs/stdio

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


More information about the macports-tickets mailing list