Opened 6 years ago

Closed 6 years ago

#55228 closed defect (fixed)

py35-graph-tool build fails

Reported by: edward-kao (Edward K. Kao) Owned by: count0 (Tiago de Paula Peixoto)
Priority: Normal Milestone:
Component: ports Version: 2.4.2
Keywords: Cc: mamoll (Mark Moll), ssllmit (ss)
Port: py-graph-tool

Description (last modified by mf2k (Frank Schima))

"sudo port install py35-graph-tool" failed with the build error: no member named 'fixedsize_stack' in namespace 'boost::coroutines' (detail below). Perhaps I am not building with the right version of boost? I am using "boost @1.59.0_3+no_single+no_static+python35" which is the most current version supported in macport. Thank you for your help!

*

:info:build In file included from graph_motifs.cc:26:
:info:build ../../../src/graph/graph_python_interface.hh:94:30: error: no member named 'fixedsize_stack' in namespace 'boost::coroutines'
:info:build                 (coroutines::fixedsize_stack(BOOST_COROUTINE_STACK_SIZE),
:info:build                  ~~~~~~~~~~~~^
:info:build 3 warnings and 1 error generated.
:info:build make[4]: *** [graph_motifs.lo] Error 1
:info:build make[4]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports\
_python_py-graph-tool/py35-graph-tool/work/graph-tool-2.25/src/graph/clustering'
:info:build make[3]: *** [all-recursive] Error 1
:info:build make[3]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports\
_python_py-graph-tool/py35-graph-tool/work/graph-tool-2.25/src/graph'
:info:build make[2]: *** [all-recursive] Error 1
:info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports\
_python_py-graph-tool/py35-graph-tool/work/graph-tool-2.25/src'
:info:build make[1]: *** [all-recursive] Error 1
:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports\
_python_py-graph-tool/py35-graph-tool/work/graph-tool-2.25'
:info:build make: *** [all] Error 2
:info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_py\
thon_py-graph-tool/py35-graph-tool/work/graph-tool-2.25'
:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python\
_py-graph-tool/py35-graph-tool/work/graph-tool-2.25" && make -j16 -w all
:info:build Exit code: 2
:error:build Failed to build py35-graph-tool: command execution failed
:debug:build Error code: CHILDSTATUS 34096 2
:debug:build Backtrace: command execution failed
:debug:build     while executing
:debug:build "system {*}$notty {*}$nice $fullcmdstring"
:debug:build     invoked from within
:debug:build "command_exec build"
:debug:build     (procedure "portbuild::build_main" line 8)
:debug:build     invoked from within
:debug:build "$procedure $targetname"
:error:build See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-graph-tool/py\
35-graph-tool/main.log for details.

Change History (5)

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

Cc: mamoll added; count0 removed
Keywords: build error graph-tool boost removed
Owner: set to count0
Status: newassigned

In the future, please use WikiFormatting.

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

Description: modified (diff)

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

It seems the code was intended to work with boost::coroutines and boost::coroutines2 (see src/graph/coroutine.hh), but I am guessing that this is not actually tested. I am using boost1.65 (using the Portfile attached to #50671), so I haven't run into this problem.

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

comment:4 Changed 6 years ago by count0 (Tiago de Paula Peixoto)

This has been fixed in the new version 2.26. Mark, could do a version bump?

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

Resolution: fixed
Status: assignedclosed

In b15184638cea26fccaa948a3e1c2f19fe183276d/macports-ports:

py-graph-tool: update to version 2.26. Closes #55228

Note: See TracTickets for help on using tickets.