Boost C++ Libraries: Ticket #8812: Output of "bcp build filesystem <output>" doesn't build https://svn.boost.org/trac10/ticket/8812 <p> In previous versions this worked fine. In 1.54.0 (and subversion HEAD) it does not. <code>./b2</code> builds fine but then does not run: </p> <pre class="wiki">bruce% ./b2 /auto/tmpfs Building the Boost C++ Libraries. /auto/tmpfs/tools/build/v2/build/targets.jam:397: in find-really *** argument error * rule project.is-registered-id ( id ) * called with: ( ) * missing argument id /auto/tmpfs/tools/build/v2/build/project.jam:600:see definition of rule 'project.is-registered-id' being called /auto/tmpfs/tools/build/v2/build/targets.jam:457: in class@project-target.find /auto/tmpfs/tools/build/v2/build/targets.jam:841: in resolve-reference /auto/tmpfs/tools/build/v2/build/targets.jam:858: in targets.generate-from-reference /auto/tmpfs/tools/build/v2/build/targets.jam:1245: in generate-dependencies /auto/tmpfs/tools/build/v2/build/targets.jam:1302: in class@basic-target.generate /auto/tmpfs/tools/build/v2/build/targets.jam:757: in generate-really /auto/tmpfs/tools/build/v2/build/targets.jam:729: in class@main-target.generate /auto/tmpfs/tools/build/v2/build/targets.jam:272: in class@project-target.generate /auto/tmpfs/tools/build/v2/build/targets.jam:874: in targets.generate-from-reference /auto/tmpfs/tools/build/v2/build/targets.jam:1245: in generate-dependencies /auto/tmpfs/tools/build/v2/build/targets.jam:1302: in class@basic-target.generate /auto/tmpfs/tools/build/v2/build/targets.jam:757: in generate-really /auto/tmpfs/tools/build/v2/build/targets.jam:729: in class@main-target.generate /auto/tmpfs/tools/build/v2/build/targets.jam:874: in targets.generate-from-reference /auto/tmpfs/tools/build/v2/build/targets.jam:1245: in generate-dependencies /auto/tmpfs/tools/build/v2/build/targets.jam:1302: in class@basic-target.generate /auto/tmpfs/tools/build/v2/build/targets.jam:757: in generate-really /auto/tmpfs/tools/build/v2/build/targets.jam:729: in class@main-target.generate /auto/tmpfs/tools/build/v2/build/targets.jam:874: in targets.generate-from-reference /auto/tmpfs/tools/build/v2/build/targets.jam:1245: in generate-dependencies /auto/tmpfs/tools/build/v2/build/targets.jam:1302: in alias-target-class.generate /auto/tmpfs/boostcpp.jam:431: in build-multiple /auto/tmpfs/boostcpp.jam:393: in class@top-level-target.generate /auto/tmpfs/tools/build/v2/build/targets.jam:757: in generate-really /auto/tmpfs/tools/build/v2/build/targets.jam:729: in class@main-target.generate /auto/tmpfs/tools/build/v2/build/targets.jam:874: in targets.generate-from-reference /auto/tmpfs/tools/build/v2/build/targets.jam:1245: in generate-dependencies /auto/tmpfs/tools/build/v2/build/targets.jam:1302: in alias-target-class.generate /auto/tmpfs/boostcpp.jam:431: in build-multiple /auto/tmpfs/boostcpp.jam:393: in class@top-level-target.generate /auto/tmpfs/tools/build/v2/build/targets.jam:757: in generate-really /auto/tmpfs/tools/build/v2/build/targets.jam:729: in class@main-target.generate /auto/tmpfs/tools/build/v2/build/targets.jam:272: in class@project-target.generate /auto/tmpfs/tools/build/v2/build-system.jam:707: in load /auto/tmpfs/tools/build/v2/kernel/modules.jam:289: in import /auto/tmpfs/tools/build/v2/kernel/bootstrap.jam:139: in boost-build /auto/tmpfs/boost-build.jam:17: in module scope </pre> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/8812 Trac 1.4.3 Bruce Stephens <bruce.r.stephens@…> Mon, 15 Jul 2013 14:36:46 GMT attachment set https://svn.boost.org/trac10/ticket/8812 https://svn.boost.org/trac10/ticket/8812 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">build_filesystem</span> </li> </ul> <p> Script to show the problem (run in a boost directory) </p> Ticket Bruce Stephens <bruce.r.stephens@…> Mon, 15 Jul 2013 16:59:39 GMT <link>https://svn.boost.org/trac10/ticket/8812#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/8812#comment:1</guid> <description> <p> Bisection indicates that <a class="changeset" href="https://svn.boost.org/trac10/changeset/81808" title="System/FileSystem/Asio/Thread: ref #7278 Added noexcept to ...">r81808</a> is the responsible change, though I've no idea why. </p> <pre class="wiki">r81808 | viboes | 2012-12-09 14:47:39 +0000 (Sun, 09 Dec 2012) | 1 line System/FileSystem/Asio/Thread: ref #7278 Added noexcept to Boost.System to conform with C++11 </pre> </description> <category>Ticket</category> </item> <item> <author>Rob Napier <robnapier@…></author> <pubDate>Tue, 16 Jul 2013 22:15:23 GMT</pubDate> <title>cc set https://svn.boost.org/trac10/ticket/8812#comment:2 https://svn.boost.org/trac10/ticket/8812#comment:2 <ul> <li><strong>cc</strong> <span class="trac-author">robnapier@…</span> added </li> </ul> Ticket kehlert@… Wed, 07 Aug 2013 20:47:52 GMT <link>https://svn.boost.org/trac10/ticket/8812#comment:3 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/8812#comment:3</guid> <description> <p> I encountered the same error message. I used bcp with the --scan option, then I used bcp again and copied over the build module. Bootstrap ran fine, but I got the same error as listed above. It was fixed after I copied over the directory .../boost_1_54_0/libs/system/build to the stripped out boost directory that bcp copied the files to. </p> </description> <category>Ticket</category> </item> <item> <author>kehlert@…</author> <pubDate>Wed, 07 Aug 2013 20:49:02 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/8812#comment:4 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/8812#comment:4</guid> <description> <p> but I got the same error as listed above when I ran b2. <strong>* </strong></p> </description> <category>Ticket</category> </item> <item> <author>Shane Turner <shane.turner@…></author> <pubDate>Thu, 24 Oct 2013 18:41:52 GMT</pubDate> <title>cc changed https://svn.boost.org/trac10/ticket/8812#comment:5 https://svn.boost.org/trac10/ticket/8812#comment:5 <ul> <li><strong>cc</strong> <span class="trac-author">shane.turner@…</span> added </li> </ul> <p> I've discovered while looking at Boost 1.55.0 Beta 1, that the regular expressions in bcp have to be updated to account for the BOOST_SYSTEM_NOEXCEPT macro. I'll attach the diff shortly. </p> Ticket Shane Turner <shane.turner@…> Thu, 24 Oct 2013 18:44:57 GMT attachment set https://svn.boost.org/trac10/ticket/8812 https://svn.boost.org/trac10/ticket/8812 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">bcp.diff</span> </li> </ul> <p> Patch to BCP to account for BOOST_SYSTEM_NOEXCEPT macro </p> Ticket Shane Turner <shane.turner@…> Thu, 24 Oct 2013 19:14:36 GMT component, milestone changed; owner set https://svn.boost.org/trac10/ticket/8812#comment:6 https://svn.boost.org/trac10/ticket/8812#comment:6 <ul> <li><strong>owner</strong> set to <span class="trac-author">John Maddock</span> </li> <li><strong>component</strong> <span class="trac-field-old">Building Boost</span> → <span class="trac-field-new">bcp</span> </li> <li><strong>milestone</strong> <span class="trac-field-old">To Be Determined</span> → <span class="trac-field-new">Boost 1.55.0</span> </li> </ul> Ticket John Maddock Thu, 31 Oct 2013 17:34:36 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/8812#comment:7 https://svn.boost.org/trac10/ticket/8812#comment:7 <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> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/86530" title="Fix for function declarations which have macroized exception ...">[86530]</a>) Fix for function declarations which have macroized exception specifications. Fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/8812" title="#8812: Bugs: Output of &#34;bcp build filesystem &lt;output&gt;&#34; doesn't build (closed: fixed)">#8812</a>. </p> Ticket anonymous Thu, 31 Oct 2013 18:08:39 GMT component, milestone changed https://svn.boost.org/trac10/ticket/8812#comment:8 https://svn.boost.org/trac10/ticket/8812#comment:8 <ul> <li><strong>component</strong> <span class="trac-field-old">bcp</span> → <span class="trac-field-new">Building Boost</span> </li> <li><strong>milestone</strong> <span class="trac-field-old">Boost 1.55.0</span> → <span class="trac-field-new">To Be Determined</span> </li> </ul> <p> Still seems to fail for me, in what appears to be the same way. I updated to the latest revision, and that is <a class="changeset" href="https://svn.boost.org/trac10/changeset/86530" title="Fix for function declarations which have macroized exception ...">r86530</a> (with matching comment), and I get the same failure. (The build was using gcc-4.8 since that's now the default. Likely originally it was using gcc-4.7.) </p> Ticket John Maddock Fri, 01 Nov 2013 08:34:06 GMT <link>https://svn.boost.org/trac10/ticket/8812#comment:9 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/8812#comment:9</guid> <description> <p> Ah.... it works if you do a </p> <p> ./b2 --with-filesystem </p> <p> Or else build from within libs/filesystem/build. </p> <p> Why a global build fails I have no idea, and frankly my attempts to get meaningful diagnostic information from Boost.Build have completely failed :-( </p> <p> Given that we're going to be modularizing Boost anyway, I hope this issue will become moot eventually? </p> </description> <category>Ticket</category> </item> <item> <author>molokov+boost@…</author> <pubDate>Tue, 07 Oct 2014 23:38:57 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/8812#comment:10 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/8812#comment:10</guid> <description> <p> I'm still encountering this error with Boost 1.56.0 on Ubuntu 12.04 LTS with gcc 4.6.3 </p> <p> In fact, in order to even /get/ to this stage, I have to do a lot more with bcp that the original poster suggests. I summarised my efforts on Stack Overflow here: <a class="ext-link" href="http://stackoverflow.com/questions/26132227/how-do-i-use-bcp-to-extract-a-subset-of-boost-which-can-be-built"><span class="icon">​</span>http://stackoverflow.com/questions/26132227/how-do-i-use-bcp-to-extract-a-subset-of-boost-which-can-be-built</a> (including referencing this ticket) </p> <p> Any advice to proceed further would be appreciated. </p> </description> <category>Ticket</category> </item> </channel> </rss>