[Bug 250812] math/openturns: fails to build with ceres-solver 2.0.0

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Nov 2 16:14:23 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=250812

            Bug ID: 250812
           Summary: math/openturns: fails to build with ceres-solver 2.0.0
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Keywords: needs-patch
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: yuri at freebsd.org
          Reporter: jbeich at FreeBSD.org
          Assignee: yuri at freebsd.org
             Flags: maintainer-feedback?(yuri at freebsd.org)

I'm trying to update math/ceres-solver to 2.0.0 but math/openturns 1.15 fails
to build. After checking openturns upstream it seems the error was fixed by
https://github.com/openturns/openturns/commit/e4ab6ee5b65d which is part of the
series of 33 commits, so I'm not sure it's safe to backport.

Can you update the port to 1.16rc1 ?

lib/src/Base/Optim/Ceres.cxx:111:59: error: no member named 'int32' in
namespace 'ceres'
    *mutable_parameter_block_sizes() = std::vector<ceres::int32>(1,
problem.getDimension());
                                                   ~~~~~~~^
lib/src/Base/Optim/Ceres.cxx:335:15: error: no member named
'num_linear_solver_threads' in 'ceres::Solver::Options'
      options.num_linear_solver_threads =
ResourceMap::GetAsUnsignedInteger("Ceres-num_linear_solver_threads");
      ~~~~~~~ ^

poudriere log: https://reviews.freebsd.org/P452

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list