Boost C++ Libraries: Ticket #5278: FTBFS "make_obj_guard_of_c was not declared in this scope" in read_graphviz_new.cpp and graphml.cpp https://svn.boost.org/trac10/ticket/5278 <p> For some days, including with the latest boost trunk (69677) I get the following FTBFS </p> <p> The problem could be in multi_index or scope_guard, however. </p> <pre class="wiki">gcc.compile.c++ bin.v2/libs/graph/build/gcc-4.4.5/release/threading-multi/read_graphviz_new.o "g++" -ftemplate-depth-128 -O3 -finline-functions -Wno-inline -Wall -pthread -fPIC -DBOOST_ALL_NO_LIB=1 -DBOOST_GRAPH_DYN_LINK=1 -DBOOST_HAS_ICU=1 -DNDEBUG -I"." -I"/usr/include" -I"libs/graph/src" -c -o "bin.v2/libs/graph/build/gcc-4.4.5/release/threading-multi/read_graphviz_new.o" "libs/graph/src/read_graphviz_new.cpp" In file included from ./boost/multi_index_container.hpp:40, from ./boost/graph/named_graph.hpp:16, from ./boost/graph/adjacency_list.hpp:45, from ./boost/graph/graphviz.hpp:24, from libs/graph/src/read_graphviz_new.cpp:50: ./boost/multi_index/detail/scope_guard.hpp: In function ‘typename boost::multi_index::detail::null_guard_return&lt;C::value, boost::multi_index::detail::obj_scope_guard_impl1&lt;Obj, MemFun, P1&gt; &gt;::type boost::multi_index::detail::make_obj_guard_if(Obj&amp;, MemFun, P1)’: ./boost/multi_index/detail/scope_guard.hpp:366: error: ‘make_obj_guard_of_c’ was not declared in this scope gcc.compile.c++ bin.v2/libs/graph/build/gcc-4.4.5/release/threading-multi/graphml.o "g++" -ftemplate-depth-128 -O3 -finline-functions -Wno-inline -Wall -pthread -fPIC -DBOOST_ALL_NO_LIB=1 -DBOOST_GRAPH_DYN_LINK=1 -DBOOST_HAS_ICU=1 -DNDEBUG -I"." -I"/usr/include" -I"libs/graph/src" -c -o "bin.v2/libs/graph/build/gcc-4.4.5/release/threading-multi/graphml.o" "libs/graph/src/graphml.cpp" In file included from ./boost/multi_index_container.hpp:40, from ./boost/graph/named_graph.hpp:16, from ./boost/graph/adjacency_list.hpp:45, from ./boost/graph/graphviz.hpp:24, from ./boost/graph/graphml.hpp:20, from libs/graph/src/graphml.cpp:17: ./boost/multi_index/detail/scope_guard.hpp: In function ‘typename boost::multi_index::detail::null_guard_return&lt;C::value, boost::multi_index::detail::obj_scope_guard_impl1&lt;Obj, MemFun, P1&gt; &gt;::type boost::multi_index::detail::make_obj_guard_if(Obj&amp;, MemFun, P1)’: ./boost/multi_index/detail/scope_guard.hpp:366: error: ‘make_obj_guard_of_c’ was not declared in this scope ...skipped &lt;pbin.v2/libs/graph/build/gcc-4.4.5/release/threading-multi&gt;libboost_graph-mt.so.1.46.1 for lack of &lt;pbin.v2/libs/graph/build/gcc-4.4.5/release/threading-multi&gt;read_graphviz_new.o... ...skipped &lt;p/var/lib/buildbot/instdirs/boost-trunk/lib&gt;libboost_graph-mt.so.1.46.1 for lack of &lt;pbin.v2/libs/graph/build/gcc-4.4.5/release/threading-multi&gt;libboost_graph-mt.so.1.46.1... ...skipped &lt;p/var/lib/buildbot/instdirs/boost-trunk/lib&gt;libboost_graph-mt.so for lack of &lt;p/var/lib/buildbot/instdirs/boost-trunk/lib&gt;libboost_graph-mt.so.1.46.1... </pre> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/5278 Trac 1.4.3 Jeremiah Willcock Tue, 08 Mar 2011 16:47:02 GMT owner, component changed https://svn.boost.org/trac10/ticket/5278#comment:1 https://svn.boost.org/trac10/ticket/5278#comment:1 <ul> <li><strong>owner</strong> changed from <span class="trac-author">Andrew Sutton</span> to <span class="trac-author">Joaquín M López Muñoz</span> </li> <li><strong>component</strong> <span class="trac-field-old">graph</span> → <span class="trac-field-new">multi_index</span> </li> </ul> Ticket Joaquín M López Muñoz Tue, 08 Mar 2011 16:53:50 GMT owner changed https://svn.boost.org/trac10/ticket/5278#comment:2 https://svn.boost.org/trac10/ticket/5278#comment:2 <ul> <li><strong>owner</strong> changed from <span class="trac-author">Joaquín M López Muñoz</span> to <span class="trac-author">Thorsten Ottosen</span> </li> </ul> <p> Reassigned to Thorsten, who did the problematic change to scope_guard.hpp. </p> Ticket Thorsten Ottosen Tue, 08 Mar 2011 20:34:34 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/5278#comment:3 https://svn.boost.org/trac10/ticket/5278#comment:3 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> <p> There was a typo that gcc was kind enough to diagnose. </p> Ticket Peter Schüller <schueller.p@…> Wed, 09 Mar 2011 08:36:55 GMT <link>https://svn.boost.org/trac10/ticket/5278#comment:4 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/5278#comment:4</guid> <description> <p> Confirmed. It builds again. Thank you! </p> </description> <category>Ticket</category> </item> </channel> </rss>