Boost C++ Libraries: Ticket #4570: Boost-build project inheritance broken https://svn.boost.org/trac10/ticket/4570 <p> Sometimes, boost-build applies the inheritance of a project's attributes from it's parent's twice, clobber locally defined attributes. </p> <p> Attached is the smallest example I can create, and also attached is a patch to fix the problem. </p> <p> Run before patch: </p> <p> $ cd foo; bjam ...found 11 targets... ...updating 7 targets... common.mkdir ../bin common.mkdir ../bin/foo common.mkdir ../bin/foo/bar common.mkdir ../bin/foo/bar/gcc-3.4 common.mkdir ../bin/foo/bar/gcc-3.4/debug gcc.compile.c ../bin/foo/bar/gcc-3.4/debug/test.o gcc.link ../bin/foo/bar/gcc-3.4/debug/test ...updated 7 targets... </p> <p> Run after patch: </p> <p> $ cd foo; bjam ...found 9 targets... ...updating 6 targets... common.mkdir baz common.mkdir baz/bar common.mkdir baz/bar/gcc-3.4 common.mkdir baz/bar/gcc-3.4/debug gcc.compile.c baz/bar/gcc-3.4/debug/test.o gcc.link baz/bar/gcc-3.4/debug/test ...updated 6 targets... </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/4570 Trac 1.4.3 Brian Freyburger <bfreyburger@…> Thu, 19 Aug 2010 15:29:30 GMT attachment set https://svn.boost.org/trac10/ticket/4570 https://svn.boost.org/trac10/ticket/4570 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">example.tgz</span> </li> </ul> <p> Example of the bug. </p> Ticket Brian Freyburger <bfreyburger@…> Thu, 19 Aug 2010 15:32:03 GMT attachment set https://svn.boost.org/trac10/ticket/4570 https://svn.boost.org/trac10/ticket/4570 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">boost-build-project-loading.patch</span> </li> </ul> <p> patch to boost 1_44_0 to resovle the issue. </p> Ticket Vladimir Prus Sat, 04 Sep 2010 10:07:17 GMT <link>https://svn.boost.org/trac10/ticket/4570#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/4570#comment:1</guid> <description> <p> Thanks for the patch. Applied in <a class="changeset" href="https://svn.boost.org/trac10/changeset/65165" title="Prevent double initialization of Jamfile in some cases. Fixes #4570. ...">r65165</a>. This was actually checked in a few days ago, but Trac ignored the request to updated the ticket. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Vladimir Prus</dc:creator> <pubDate>Sat, 04 Sep 2010 11:49:07 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/4570#comment:2 https://svn.boost.org/trac10/ticket/4570#comment:2 <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> Ticket