Boost C++ Libraries: Ticket #12357: Seg Fault running bcp in 1.61.0 when trying to build in custom namespace https://svn.boost.org/trac10/ticket/12357 <p> Using Ubuntu 16.04.1 LTS, I was trying to install boost 1.61.0 in a custom name space. </p> <p> I downloaded boost, placed it into a directory, ran: </p> <p> $ ./booststap $ ./b2 tools/bcp $ mkdir -p /tmp/myboost $ ./dist/bin/bcp --namespace=myboost --namespace-alias accumulators algorithm array asio assign atomic bimap bind context chrono circular_buffer crc date_time filesystem foreach format fusion function geometry interprocess iostreams iterator lexical_cast lockfree math mpl pool program_options property_tree ptr_container random range regex signals2 system smart_ptr test thread timer tokenizer tuple utility uuid build boostrap.bat bootstrap.sh boostcpp.jam boost-build.jam /tmp/myboost/ </p> <p> This yields pages and pages of warnings, mostly about missing assets, and then seg faults. </p> <pre class="wiki"> CAUTION: don't know how to trace depenencies through macro: "PP1" in file: boost/type_traits/detail/is_function_ptr_helper.hpp CAUTION: don't know how to trace depenencies through macro: "PP1" in file: boost/type_traits/detail/is_function_ptr_helper.hpp CAUTION: don't know how to trace depenencies through macro: "PP1" in file: boost/type_traits/detail/is_function_ptr_helper.hpp CAUTION: don't know how to trace depenencies through macro: "PP1" in file: boost/type_traits/detail/is_function_ptr_tester.hpp ... CAUTION: don't know how to trace depenencies through macro: "PPI" in file: boost/type_traits/detail/is_mem_fun_pointer_tester.hpp INFO: tracking source dependencies of library smart_ptr due to presence of "void sp_scalar_constructor_hook( void * px, std::size_t size, void * pn );" in file "boost/smart_ptr/detail/sp_counted_impl.hpp" CAUTION: dependent file libs/accumulators/doc/html/boost/accumulators/impl/../../../images/accumulators//form_113.png does not exist. Found while scanning file libs/accumulators/doc/html/boost/accumulators/impl/weighted_variance_impl.html CAUTION: dependent file libs/accumulators/doc/html/boost/accumulators/impl/../../../images/accumulators//form_6.png does not exist. Found while scanning file libs/accumulators/doc/html/boost/accumulators/impl/weighted_variance_impl.html CAUTION: dependent file libs/accumulators/doc/html/boost/accumulators/impl/../../../images/accumulators//form_5.png does not exist. ... CAUTION: dependent file libs/asio/doc/html/boost_asio/reference/generic__datagram_protocol/../../../../../doc/src/boostbook.css does not exist. Found while scanning file libs/asio/doc/html/boost_asio/reference/generic__datagram_protocol/datagram_protocol.html CAUTION: dependent file libs/asio/doc/html/boost_asio/reference/generic__datagram_protocol/datagram_protocol/../../../../../../doc/src/boostbook.css does not exist. Found while scanning file libs/asio/doc/html/boost_asio/reference/generic__datagram_protocol/datagram_protocol/overload1.html CAUTION: dependent file libs/asio/doc/html/boost_asio/reference/generic__raw_protocol/../../../../../doc/src/boostbook.css does not exist. Found while scanning file libs/asio/doc/html/boost_asio/reference/generic__raw_protocol/endpoint.html Segmentation fault (core dumped) </pre><p> I've tried with relative paths and absolute paths, I've also reduced the number of packages, etc.. no difference. </p> <p> The same procedure works however with 1.60.0. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/12357 Trac 1.4.3 anonymous Mon, 24 Oct 2016 05:23:50 GMT <link>https://svn.boost.org/trac10/ticket/12357#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/12357#comment:1</guid> <description> <p> I experienced the same problem with boost 1.62. </p> <p> My steps to reproduce: </p> <pre class="wiki">wget https://sourceforge.net/projects/boost/files/boost/1.62.0/boost_1_62_0.tar.bz2 tar vxfj boost_1_62_0.tar.bz2 cd boost_1_62_0 ./bootstrap.sh ./b2 --ignore-site-config tools/bcp mkdir -p ../myboost_src_1_62_0 ./dist/bin/bcp --boost=. --namespace=myboost --namespace-alias asio ../myboost_src_1_62_0 </pre><p> Problem is reproducible with different versions of Debian and Ubuntu systems. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>anonymous</dc:creator> <pubDate>Mon, 13 Feb 2017 14:26:59 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/12357#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/12357#comment:2</guid> <description> <p> Is there a resolution here. I saw similar issues on centos7. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>anonymous</dc:creator> <pubDate>Mon, 13 Feb 2017 14:27:02 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/12357#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/12357#comment:2</guid> <description> <p> Is there a resolution here. I saw similar issues on centos7. </p> </description> <category>Ticket</category> </item> </channel> </rss>