FS#34154 - [boost] ‘null_vertex’ is not a member of ‘boost::graph_traits<HPHP::ControlFlowGraph>’

Attached to Project: Arch Linux
Opened by Splith (splith) - Tuesday, 05 March 2013, 00:34 GMT
Last edited by Gerardo Exequiel Pozzi (djgera) - Wednesday, 12 March 2014, 15:36 GMT
Task Type Bug Report
Category Upstream Bugs
Status Closed
Assigned To Ionut Biru (wonder)
Stéphane Gaudreault (stephane)
Architecture x86_64
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
Using boost 1.49 everything works fine, upgraded to boost 1.50 and no problems still, upgraded to boost 1.52 on multiple systems and tried to build a package which worked fine previous, spits out error:
[ 13%] Building CXX object hphp/runtime/ext_hhvm/CMakeFiles/ext_hhvm_static.dir/__/ext/ext_continuation.ext_hhvm.cpp.o
In file included from /usr/include/boost/graph/depth_first_search.hpp:21:0,
from /hiphop/hiphop-php-masterFFS/hphp/compiler/analysis/control_flow.cpp:40:
/usr/include/boost/graph/named_function_params.hpp: In function ‘typename boost::graph_traits<G>::vertex_descriptor boost::detail::get_default_starting_vertex(const G&) [with G = HPHP::ControlFlowGraph, typename boost::graph_traits<G>::vertex_descriptor = HPHP::ControlBlock*]’:
/usr/include/boost/graph/depth_first_search.hpp:225:5: instantiated from ‘void boost::depth_first_search(const VertexListGraph&, DFSVisitor, ColorMap) [with VertexListGraph = HPHP::ControlFlowGraph, DFSVisitor = HPHP::dfs_dump, ColorMap = boost::vertex_color_t]’
/hiphop/hiphop-php-masterFFS/hphp/compiler/analysis/control_flow.cpp:906:36: instantiated from here
/usr/include/boost/graph/named_function_params.hpp:710:93: error: ‘null_vertex’ is not a member of ‘boost::graph_traits<HPHP::ControlFlowGraph>’
make[2]: *** [hphp/compiler/CMakeFiles/hphp_analysis.dir/analysis/control_flow.cpp.o] Error 1
make[1]: *** [hphp/compiler/CMakeFiles/hphp_analysis.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....

Rebuilt boost 1.50 using source files and package once again builds fine, documentation for boost shows the function the error occurs in above has not changed and should still work fine.

Additional info:
boost-1.52
boost-libs-1.52

Steps to reproduce:
Install boost 1.52 and try to use above function.
Downgrade to boost 1.50 and problem dissapears.
This task depends upon

Closed by  Gerardo Exequiel Pozzi (djgera)
Wednesday, 12 March 2014, 15:36 GMT
Reason for closing:  No response
Comment by Stéphane Gaudreault (stephane) - Thursday, 04 April 2013, 12:54 GMT
Hi that still an issue with 1.53.0 ? If so, I would suggest to report the bug upstream.
Comment by Sebastien Bariteau (numkem) - Wednesday, 10 April 2013, 01:45 GMT
I'm having the same issue building hiphop with boost 1.53.
Comment by Stéphane Gaudreault (stephane) - Wednesday, 10 April 2013, 12:05 GMT
Please report upstream and post the link to the report here.
Comment by Gerardo Exequiel Pozzi (djgera) - Wednesday, 12 February 2014, 03:17 GMT
  • Field changed: Status (Assigned → Waiting on Response)
  • Field changed: Category (Packages: Extra → Upstream Bugs)
status? upstream report?

Loading...