Compilation fails "graph_sfdp.cc:55:68: error: call of overloaded ‘any_cast<group_map_t>(boost::python::extract<boost::any>)’ is ambiguous"

  • Are you running the latest graph-tool version?
  • Do you observe the problem with the current git version?
  • Did you compile graph-tool manually?
  • If you answered yes above, did you use the exact same compiler to build graph-tool, boost-python and Python?

When building graph-tool with gcc-9.1.0 I encounter the following error:

graph_sfdp.cc:55:68: error: call of overloaded ‘any_cast<group_map_t>(boost::python::extract<boost::any>)’ is ambiguous

I'm using Gentoo ~amd64. The complete build log as well as the corresponding config.log are attached. That should cover all essential information, if not please let me know.