Boost C++ Libraries: Ticket #9507: [bcp] bcp creates broken build for asio component https://svn.boost.org/trac10/ticket/9507 <p> When I try to extract the 'asio' component via bcp (and custom namespace), I end up with a broken build environment in the target dir. Every other component I tried to extract this way works. </p> <p> I'm on OS X 10.9.1 using XCode 5 command line tools. </p> <p> Steps to reproduce (in bash): </p> <pre class="wiki">./bootstrap.sh ( cd tools/bcp/ &amp;&amp; ../../tools/build/v2/engine/bin.macosxx86_64/bjam toolset=darwin ) ./dist/bin/bcp --namespace=akboost --namespace-alias \ build \ asio \ $HOME/build/akboost/ cp bjam $HOME/build/akboost cd $HOME/build/akboost ./bjam -d+2 debug release \ toolset=darwin \ threading=multi \ link=static \ cxxflags=-stdlib=libstdc++ \ cxxflags=-mmacosx-version-min=10.7 \ linkflags=-stdlib=libstdc++ \ linkflags=-mmacosx-version-min=10.7 \ --toolset-root=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk \ --macosx-version=10.7 --macosx-version-min=10.7 \ --layout=tagged \ --build-dir=$HOME/build/akboost_1.55_build \ --prefix=$HOME/akboost_1.55.0 \ install </pre><p> This yields this error from bjam: </p> <pre class="wiki">link.jam: No such file or directory error: Unable to find file or target named error: '/boost/context//boost_context' error: referred to from project at error: 'libs/coroutine/build' error: could not resolve project reference '/boost/context' </pre><p> If I use bcp to extract any other component (I tried algorithm, assign, chrono, date_time, detail, filesystem, filesystem3, foreach, gil, iostreams, multi_array, multi_index, numeric, property_tree, regex, serialization spirit signal system, timer and thread) everything works just fine and bjam works its magic. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/9507 Trac 1.4.3 anonymous Wed, 18 Dec 2013 14:07:30 GMT version changed https://svn.boost.org/trac10/ticket/9507#comment:1 https://svn.boost.org/trac10/ticket/9507#comment:1 <ul> <li><strong>version</strong> <span class="trac-field-old">Boost 1.54.0</span> → <span class="trac-field-new">Boost 1.55.0</span> </li> </ul> Ticket anonymous Wed, 15 Apr 2015 15:52:10 GMT <link>https://svn.boost.org/trac10/ticket/9507#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/9507#comment:2</guid> <description> <p> I'm also affected by this problem, any quick workaround? </p> </description> <category>Ticket</category> </item> <item> <author>dmitrinove@…</author> <pubDate>Wed, 09 Sep 2015 07:52:51 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/9507#comment:3 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/9507#comment:3</guid> <description> <p> in Boost 1.58.0 and the new 1.59.0 the asio extraction is still broken, look also to Ticket <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/11376" title="#11376: Bugs: custom bcp build failed due to feature &#34;&lt;segmented-stacks&gt;&#34; (closed: fixed)">11376</a>. </p> <p> As a quick workaround, I add Timer and Context library to bcp command line: </p> <pre class="wiki">./bin.v2/tools/bcp/gcc-4.4.7/release/link-static/bcp build config asio context timer ../myasio/ cd ../myasio/ ./bootstrap.sh ./b2 </pre><p> IMHO bcp tracking source dependencies of library Coroutine and Coroutine required Context but bcp is unable to track it. </p> <p> I don't know if Coroutine is actually needed by Asio, but bcp adds it to the dependencies list and creates all the following issues. </p> </description> <category>Ticket</category> </item> </channel> </rss>