Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#36903 closed defect (duplicate)

py27-graph-tool @2.2.17 build fails with boost 1.52.0

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

Description

I'm trying to install graph-tool and have downloaded all of the dependencies, all of which (to the best of my knowledge) installed properly. Graph-tool did not, and presents this message:

Error: org.macports.build for port py27-graph-tool returned: command execution failed
Please see the log file for port py27-graph-tool for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-graph-tool/py27-graph-tool/main.log
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port py27-graph-tool failed

Most clear errors in the log file look like this:

:info:build ./graph_eigenvector.hh:44:23: error: no matching constructor for initialization of 'boost::unchecked_vector_property_map<double, boost::vec_adj_list_vertex_id_map<boost::no_property, unsigned long>>'
:info:build         CentralityMap c_temp(vertex_index, num_vertices(g));
:info:build                       ^      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

I am running OSX Mountaing Lion, XCode 4.5, and have Python 2.7 installed. I've attached the logfile. If this is a known issue, how is it resolved, and if not, should I uninstall and reinstall all dependent ports?

Attachments (2)

out.log~ (1.2 MB) - added by clancy.julien@… 11 years ago.
logfile
out.log.gz (40.5 KB) - added by clancy.julien@… 11 years ago.
installation logfile

Download all attachments as: .zip

Change History (7)

Changed 11 years ago by clancy.julien@…

Attachment: out.log~ added

logfile

Changed 11 years ago by clancy.julien@…

Attachment: out.log.gz added

installation logfile

comment:1 Changed 11 years ago by mamoll (Mark Moll)

The version of graph-tool in its repository compiles now. I am waiting for the graph-tool maintainer to release an update. See also #36564.

comment:2 in reply to:  1 Changed 11 years ago by clancy.julien@…

Replying to mmoll@…:

The version of graph-tool in its repository compiles now. I am waiting for the graph-tool maintainer to release an update. See also #36564.

I tried installing the port from the repository and it just gave me

Error: org.macports.build for port py27-graph-tool returned: command execution failed

Checking the logfile yielded essentially the same errors as the logfile I included in the original post. I uninstalled Boost 1.52 and downloaded Boost 1.50, but when I tried to install graph-tool it just downloaded Boost 1.51 again (I assume this is what is causing problems). Is there a way to override downloading the newer Boost version?

comment:3 Changed 11 years ago by clancy.julien@…

Or, which repository do you mean? Can you link me?

comment:4 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Keywords: graph-tool mountain lion removed
Port: py-graph-tool added; graph-tool removed
Resolution: duplicate
Status: newclosed
Summary: py27-graph-tool @2.2.17 build returned: command execution failed.py27-graph-tool @2.2.17 build fails with boost 1.52.0

Duplicate of #36564.

comment:5 Changed 11 years ago by mamoll (Mark Moll)

The graph-tool repo:

git clone git://git.skewed.de/graph-tool
Note: See TracTickets for help on using tickets.