Opened 12 years ago

Closed 12 years ago

#36564 closed defect (fixed)

py-graph-tool @2.2.17: no matching constructor for initialization of 'boost::unchecked_vector_property_map<double, boost::vec_adj_list_vertex_id_map<boost::no_property, unsigned long> >'

Reported by: hajons@… Owned by: count0 (Tiago de Paula Peixoto)
Priority: Normal Milestone:
Component: ports Version: 2.1.2
Keywords: Cc: mamoll (Mark Moll), clancy.julien@…
Port: py-graph-tool

Description

When trying to install graph-tool using port install py-graph-tools on Mac OS Mountain Lion, it fails due to dependency on graphviz, which is not available for Mountain Lion. Please remove dependency on graphviz.

Attachments (3)

main.log (23.3 KB) - added by hajons@… 12 years ago.
main.2.log (872.6 KB) - added by hajons@… 12 years ago.
main.log.gz (22.5 KB) - added by mamoll (Mark Moll) 12 years ago.

Download all attachments as: .zip

Change History (15)

Changed 12 years ago by hajons@…

Attachment: main.log added

comment:1 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Owner: changed from macports-tickets@… to ryandesign@…
Port: graphviz added; py-graph-tool removed
Summary: py-graph-tool fails due to graphviz dependency (which does not support Mountain Lion)graphviz: /opt/local/lib/libpng15.la: No such file or directory

graphviz builds fine on Mountain Lion.

Your log shows graphviz failing to build with this error:

:info:build grep: /opt/local/lib/libpng15.la: No such file or directory
:info:build sed: /opt/local/lib/libpng15.la: No such file or directory

Does that file really not exist? It should have been provided by the libpng port. Verify the libpng port is installed and active:

port -v installed libpng

If it is installed and active but does not provide that file, rebuild it:

sudo port clean libpng
sudo port -n upgrade --force libpng

Finally, clean graphviz and try again:

sudo prot clean graphviz
sudo port install graphviz

Changed 12 years ago by hajons@…

Attachment: main.2.log added

comment:2 Changed 12 years ago by hajons@…

Did as suggested, and graphviz now installs fine. Graph-tool still fails to build though:

:info:build In file included from graph_eigenvector.cc:24:
:info:build ./graph_eigenvector.hh:44:23: error: no matching constructor for initialization of 'boost::unchecked_vector_property_map<long double, boost::vec_adj_list_vertex_id_map<boost::no_property, unsigned long> >'

Please see attached file.

Last edited 12 years ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:3 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: mmoll@… added
Owner: changed from ryandesign@… to tiago@…
Port: py-graph-tool added; graphviz removed
Summary: graphviz: /opt/local/lib/libpng15.la: No such file or directorypy-graph-tool: no matching constructor for initialization of 'boost::unchecked_vector_property_map<double, boost::vec_adj_list_vertex_id_map<boost::no_property, unsigned long> >'

Ok, so that's a different problem now. The log you attached is not from a clean build attempt, but it points to an error with boost. We frequently see the problem where we upgrade boost to a newer version and then some software breaks. Until the port maintainers fix the problem, you might be able to work around it by downgrading boost to an older version.

comment:4 Changed 12 years ago by mamoll (Mark Moll)

I can confirm that graph-tool doesn't work with the current version of boost. I have filed a ticket in the graph-tool bug tracker: https://projects.skewed.de/graph-tool/ticket/114 . If you need a working graph-tool right now, you need to follow ryandesign's suggestion and downgrade boost.

comment:5 Changed 12 years ago by count0 (Tiago de Paula Peixoto)

Please try again with the current git version, this should be fixed now. If everything works well, I'll release it as a new version.

comment:6 Changed 12 years ago by mamoll (Mark Moll)

Tried it, still doesn't compile. See attached log file.

Last edited 12 years ago by mamoll (Mark Moll) (previous) (diff)

Changed 12 years ago by mamoll (Mark Moll)

Attachment: main.log.gz added

comment:7 in reply to:  6 ; Changed 12 years ago by count0 (Tiago de Paula Peixoto)

Replying to mmoll@…:

Tried it, still doesn't compile. See attached log file.

The current version should work now. I've tried it myself, and it compiled fine.

comment:8 in reply to:  7 Changed 12 years ago by mamoll (Mark Moll)

Replying to tiago@…:

Replying to mmoll@…:

Tried it, still doesn't compile. See attached log file.

The current version should work now. I've tried it myself, and it compiled fine.

Cool. I tested it, too, and can confirm that it works for me. Once you release the next version of graph-tool I'll update the Portfile.

comment:9 Changed 12 years ago by jmroot (Joshua Root)

Summary: py-graph-tool: no matching constructor for initialization of 'boost::unchecked_vector_property_map<double, boost::vec_adj_list_vertex_id_map<boost::no_property, unsigned long> >'py-graph-tool @2.2.17: no matching constructor for initialization of 'boost::unchecked_vector_property_map<double, boost::vec_adj_list_vertex_id_map<boost::no_property, unsigned long> >'

comment:10 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: clancy.julien@… added

Has duplicate #36903.

comment:11 Changed 12 years ago by count0 (Tiago de Paula Peixoto)

A new version (2.2.18) has just been released.

comment:12 Changed 12 years ago by mamoll (Mark Moll)

Resolution: fixed
Status: newclosed

Thanks. The port has been updated in r99662.

Note: See TracTickets for help on using tickets.