Boost C++ Libraries: Ticket #7482: Build from source with MinGW on Windows https://svn.boost.org/trac10/ticket/7482 <blockquote> <p> Hello, I've trying to build boost with mingw, and I've got error, when <code>--layout=system</code> option is used. </p> </blockquote> <p> check out (with cygwin): </p> <pre class="wiki">&gt; svn co http://svn.boost.org/svn/boost/trunk boost-trunk &gt; svnversion 80897 </pre><p> build (windows cmd.exe): </p> <pre class="wiki">&gt; g++ --version g++ (Built by MinGW-builds projects) 4.7.1 &gt; cd boost-trunk &gt; .\bootstrap gcc </pre><p> build with <code>--layout=tagged</code> works fine: </p> <pre class="wiki">&gt; .\b2 --toolset=gcc --layout=tagged </pre><p> but build with <code>--layout=system</code> failed: </p> <pre class="wiki">&gt; .\b2 --toolset=gcc --layout=system ... error: Duplicate name of actual target: &lt;pstage\lib&gt;libboost_atomic.a error: previous virtual target { common%common.copy-libboost_atomic.a.STATIC_LIB { gcc%gcc.archive-libboost_atomic.a.STATIC_LIB { gcc%gcc.compile.c++- lockpool.o.OBJ { lockpool.cpp.CPP } } } } error: created from ./stage-proper error: another virtual target { common%common.copy-libboost_atomic.a.STATIC_LIB { gcc%gcc.archive-libboost_atomic.a.STATIC_LIB { gcc%gcc.compile.c++-l ockpool.o.OBJ { lockpool.cpp.CPP } } } } error: created from ./stage-proper error: added properties: &lt;debug-symbols&gt;off &lt;define&gt;NDEBUG &lt;inlining&gt;full &lt;optimization&gt;speed &lt;runtime-debugging&gt;off &lt;variant&gt;release error: removed properties: &lt;debug-symbols&gt;on &lt;inlining&gt;off &lt;optimization&gt;off &lt;runtime-debugging&gt;on &lt;variant&gt;debug M:/boost-trunk/tools/build/v2/build\virtual-target.jam:491: in actualize-no-scanner from module object(file-target)@4808 M:/boost-trunk/tools/build/v2/build\virtual-target.jam:134: in object(file-target)@4808.actualize from module object(file-target)@4808 M:/boost-trunk/tools/build/v2\build-system.jam:736: in load from module build-system M:\boost-trunk\tools\build\v2/kernel\modules.jam:289: in import from module modules M:\boost-trunk\tools\build\v2/kernel/bootstrap.jam:139: in boost-build from module M:\boost-trunk\boost-build.jam:17: in module scope from module </pre> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/7482 Trac 1.4.3 viboes Thu, 03 Jan 2013 16:51:48 GMT version, component changed; owner set https://svn.boost.org/trac10/ticket/7482#comment:1 https://svn.boost.org/trac10/ticket/7482#comment:1 <ul> <li><strong>owner</strong> set to <span class="trac-author">timblechmann</span> </li> <li><strong>version</strong> <span class="trac-field-old">Boost 1.52.0</span> → <span class="trac-field-new">Boost Development Trunk</span> </li> <li><strong>component</strong> <span class="trac-field-old">Building Boost</span> → <span class="trac-field-new">atomic</span> </li> </ul> <p> Atomic will be released on 1.53. Moved to Atomic In case this is an Atomic specific issue. </p> Ticket timblechmann Fri, 04 Jan 2013 14:55:03 GMT component changed https://svn.boost.org/trac10/ticket/7482#comment:2 https://svn.boost.org/trac10/ticket/7482#comment:2 <ul> <li><strong>component</strong> <span class="trac-field-old">atomic</span> → <span class="trac-field-new">Building Boost</span> </li> </ul> <p> seems to be a boost.build issue according to: <a class="ext-link" href="http://permalink.gmane.org/gmane.comp.lib.boost.devel/237614"><span class="icon">​</span>http://permalink.gmane.org/gmane.comp.lib.boost.devel/237614</a> </p> Ticket viboes Sun, 03 Feb 2013 18:26:05 GMT component changed https://svn.boost.org/trac10/ticket/7482#comment:3 https://svn.boost.org/trac10/ticket/7482#comment:3 <ul> <li><strong>component</strong> <span class="trac-field-old">Building Boost</span> → <span class="trac-field-new">build</span> </li> </ul> Ticket Steven Watanabe Fri, 29 Mar 2013 17:26:09 GMT component changed https://svn.boost.org/trac10/ticket/7482#comment:4 https://svn.boost.org/trac10/ticket/7482#comment:4 <ul> <li><strong>component</strong> <span class="trac-field-old">build</span> → <span class="trac-field-new">Building Boost</span> </li> </ul> <p> Vincente, a component of "build" means the ticket is for Boost.Build itself. This is not a problem in Boost.Build. The problem is that Jamroot creates a build request that cannot be satisfied. </p> Ticket