On 05/06/20 17:59 +0100, Jonathan Wakely wrote:
On 05/06/20 17:42 +0100, Jonathan Wakely wrote:
On 05/06/20 09:00 -0500, Richard Shaw wrote:
Next problem...
/usr/include/boost/geometry/index/detail/rtree/node/variant_visitor.hpp:51:25:
error: no matching function for call to
'apply_visitor(boost::geometry::index::detail::rtree::visitors::insert<WireJoiner::VertexInfo,
boost::geometry::index::rtree<WireJoiner::VertexInfo,
boost::geometry::index::linear<16>, WireJoiner::PntGetter>::members_holder,
boost::geometry::index::detail::rtree::insert_default_tag>&,
boost::variant<boost::geometry::index::detail::rtree::variant_leaf<WireJoiner::VertexInfo,
boost::geometry::index::linear<16>,
boost::geometry::model::box<boost::geometry::model::point<double, 3,
boost::geometry::cs::cartesian> >,
boost::geometry::index::detail::rtree::allocators<boost::container::new_allocator<WireJoiner::VertexInfo>,
WireJoiner::VertexInfo, boost::geometry::index::linear<16>,
boost::geometry::model::box<boost::geometry::model::point<double, 3,
boost::geometry::cs::cartesian> >,
boost::geometry::index::detail::rtree::node_variant_static_tag>,
boost::geometry::index::detail::rtree::node_variant_static_tag>,
boost::geometry::index::detail::rtree::variant_internal_node<WireJoiner::VertexInfo,
boost::geometry::index::linear<16, 4>,
boost::geometry::model::box<boost::geometry::model::point<double, 3,
boost::geometry::cs::cartesian> >,
boost::geometry::index::detail::rtree::allocators<boost::container::new_allocator<WireJoiner::VertexInfo>,
WireJoiner::VertexInfo, boost::geometry::index::linear<16, 4>,
boost::geometry::model::box<boost::geometry::model::point<double, 3,
boost::geometry::cs::cartesian> >,
boost::geometry::index::detail::rtree::node_variant_static_tag>,
boost::geometry::index::detail::rtree::node_variant_static_tag> >&)'
51 | boost::apply_visitor(v, n);
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
The next error tells you the reason it couldn't be called:
/usr/include/boost/variant/detail/apply_visitor_unary.hpp:46:1: error: 'typedef void boost::static_visitor<void>::result_type' is inaccessible within this context
And it looks like that's a bug in Boost:
// Default insert visitor
template <typename Element, typename MembersHolder>
class insert
: MembersHolder::visitor
{
I think that base class needs to be public.
Is your work-in-progress to get freecad building pushed to dist-git?
If not, could you send me a SRPM please? I'll try building it against
a patched boost. If that works, I'll push the patched boost to rawhide
and report it upstream.
Looking at the rest of the Boost.Geometry code, and the rest of the
patch that changed that line, I'm convinced it's a Boost bug.
Reported as:
https://github.com/boostorg/geometry/issues/721
boost-1.73.0-4.fc33 is building now:
Building boost-1.73.0-4.fc33 for rawhide
Created task: 45462220
Task info: https://koji.fedoraproject.org/koji/taskinfo?taskID=45462220
I've also pushed one extra fix to freecad (just adding to your new
patch file). A test build with the new boost and that extra fix
succeeded, so once boost-1.73.0-4.fc33 is in the buildroot you should
be able to build freecad (I am going AFK now, so won't be able to kick
off the freecad build myself).
Once the boost build completes this will tell you when it's in the
repo:
koji wait-repo --build boost-1.73.0-4.fc33 f33-build
And using --enablerepo=local will let local mock builds use that new
build.
I'll check email again in a few hours.
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx