Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 695800 - dev-python/graph-tool-2.27 - graph_sfdp.cc:55:68: error: call of overloaded ‘any_cast<group_map_t>(boost::python::extract<boost::any>)’ is ambiguous
Summary: dev-python/graph-tool-2.27 - graph_sfdp.cc:55:68: error: call of overloaded ‘...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-09-28 13:58 UTC by Markus Walter
Modified: 2019-10-07 08:02 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (info.txt,8.95 KB, text/plain)
2019-09-28 13:58 UTC, Markus Walter
Details
build.log (graph-tool-2.27:20190924-175026.log,201.30 KB, text/plain)
2019-09-28 13:58 UTC, Markus Walter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Markus Walter 2019-09-28 13:58:19 UTC
Created attachment 591210 [details]
emerge --info

On my ~amd64 machine with gcc-9.2.0 I see the following build failure for graph-tool.

graph_sfdp.cc: In function ‘void sfdp_layout(graph_tool::GraphInterface&, boost::any, boost::any, boost::any, boost::any, boost::python::api::object, double, double, double, size_t, double, size_t, bool, bool, rng_t&)’:
graph_sfdp.cc:55:68: error: call of overloaded ‘any_cast<group_map_t>(boost::python::extract<boost::any>)’ is ambiguous
   55 |         any_cast<group_map_t>(python::extract<any>(spring_parms[6]));
      |                                                                    ^
In file included from /usr/include/boost/property_map/dynamic_property_map.hpp:24,
                 from ../../../src/graph/graph_properties.hh:34,
                 from ../../../src/graph/graph.hh:35,
                 from ../../../src/graph/graph_filtering.hh:21,
                 from graph_sfdp.cc:18:
/usr/include/boost/any.hpp:295:22: note: candidate: ‘ValueType boost::any_cast(const boost::any&) [with ValueType = boost::checked_vector_property_map<int, boost::typed_identity_property_map<long unsigned int> >]’
  295 |     inline ValueType any_cast(const any & operand)
      |                      ^~~~~~~~
/usr/include/boost/any.hpp:303:22: note: candidate: ‘ValueType boost::any_cast(boost::any&&) [with ValueType = boost::checked_vector_property_map<int, boost::typed_identity_property_map<long unsigned int> >]’
  303 |     inline ValueType any_cast(any&& operand)
      |                      ^~~~~~~~

I tried upstream version 2.29 and this seemed to fix my build issue.
Comment 1 Markus Walter 2019-09-28 13:58:48 UTC
Created attachment 591212 [details]
build.log
Comment 2 Markus Walter 2019-09-28 14:01:00 UTC
One more remark: I won't have access to my Gentoo machine in the next weeks as I'll be travelling. So I'll be unable to dig up additional details.
Comment 3 Larry the Git Cow gentoo-dev 2019-10-07 08:02:13 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7f6a7567856a6174f7a2e2b73608898f1d811b11

commit 7f6a7567856a6174f7a2e2b73608898f1d811b11
Author:     David Seifert <soap@gentoo.org>
AuthorDate: 2019-10-07 08:01:56 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2019-10-07 08:01:56 +0000

    dev-python/graph-tool: Remove old
    
    Closes: https://bugs.gentoo.org/695800
    Package-Manager: Portage-2.3.76, Repoman-2.3.17
    Signed-off-by: David Seifert <soap@gentoo.org>

 dev-python/graph-tool/Manifest               |  1 -
 dev-python/graph-tool/graph-tool-2.27.ebuild | 79 ----------------------------
 2 files changed, 80 deletions(-)