Opened 9 years ago

Closed 6 years ago

#46313 closed defect (fixed)

py27-graph-tool @2.2.35_0 still broken after rebuilding

Reported by: ba228jw@… Owned by: count0 (Tiago de Paula Peixoto)
Priority: Normal Milestone:
Component: ports Version: 2.3.3
Keywords: Cc: petrrr, mamoll (Mark Moll)
Port: py-graph-tool

Description (last modified by mf2k (Frank Schima))

attempted install of python package graph_tool with brand new install of macports 2.3.3 on OSX 10.10.1 with Xcode 6.1.1

Error: Port py27-graph-tool is still broken after rebuilding it more than 3 times.

Attachments (2)

Debug.txt (155.7 KB) - added by ba228jw@… 9 years ago.
output of port -d -y rev-upgrade
error.txt (1.1 KB) - added by ba228jw@… 9 years ago.
Error Message

Download all attachments as: .zip

Change History (9)

Changed 9 years ago by ba228jw@…

Attachment: Debug.txt added

output of port -d -y rev-upgrade

Changed 9 years ago by ba228jw@…

Attachment: error.txt added

Error Message

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

The log says:

Could not open libboost_regex.dylib: Error opening or reading file (referenced from /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/graph_tool/centrality/libgraph_tool_centrality.0.so)

and:

Could not open libboost_iostreams.dylib: Error opening or reading file (referenced from /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/graph_tool/centrality/libgraph_tool_centrality.0.so)

I note that libboost_regex.dylib and libboost_iostreams.dylib are single-threaded boost libraries. The multi-threaded counterparts are libboost_regex-mt.dylib and libboost_iostreams-mt.dylib.

boost in MacPorts by default only installs the multi-threaded versions of the libraries. To additionally get the single-threaded versions, you have to deselect the no_single variant while installing boost. Did you do this? Could you show us with which variant(s) you have installed boost, by running:

port -v installed boost

Even if boost had been installed without the no_single variant, it is strange that py27-graph-tool would choose to use the single-threaded versions of the libraries instead of the multi-threaded versions.

comment:2 Changed 9 years ago by ba228jw@…

I re-installed boost with the single-threaded libraries and it seems to have fixed things. Thanks for the help!

comment:3 Changed 9 years ago by petrrr

Cc: petr@… added

Cc Me!

comment:4 Changed 8 years ago by petrrr

Cc: mmoll@… added
Owner: changed from macports-tickets@… to tiago@…

Assigning to / CC-ing maintainers.

py-graph-tool was updated to @2.10, so the issue with requireing single threaded lib versions of boost, might be solved as well.

comment:5 Changed 6 years ago by mf2k (Frank Schima)

Port: py-graph-tool added; graph_tool removed

comment:6 Changed 6 years ago by mf2k (Frank Schima)

Description: modified (diff)

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

Resolution: fixed
Status: newclosed

This has likely already been fixed in the latest version. Reopen if this is not the case.

Note: See TracTickets for help on using tickets.