Boost C++ Libraries: Ticket #7613: tools_bb does not respect user-config.jam https://svn.boost.org/trac10/ticket/7613 <p> I want to run the regression tests on Solaris 11 using Solaris Studio 12.3 and the Apache stdcxx library (part of the OS). Even though I have $HOME/user-config.jam with "using sun : : : &lt;cxxflags&gt;-library=stdcxx4 &lt;linkflags&gt;-library=stdcxx4 ;" in it, the build fails with the below error, indicating that some part of the regression tests does not respect the user-config file. </p> <p> To workaround it, I had to open tools_bb/tools/sun.jam, replace stlport4 with stdcxx4 and rerun run.py. </p> <p> $ python run.py --runner=hajma --toolsets=sun --pjl-toolset=sun --local=/export/home/tester/Downloads/boost_1_51_0.tar.bz2 ... </p> <blockquote> <p> notice: Loading user-config configuration file 'user-config.jam' from '/home/tester'. notice: will use 'CC' for sun, condition &lt;toolset&gt;sun notice: iostreams: using prebuilt zlib notice: iostreams: using prebuilt bzip2 notice: [python-cfg] Configuring python... notice: [python-cfg] Checking interpreter command "python"... notice: [python-cfg] running command 'python -c "from sys import *; print('version=%d.%d\nplatform=%s\nprefix=%s\nexec_prefix=%s\nexecutable=%s' % (version_info<a class="missing changeset" title="No changeset 0 in the repository">[0]</a>,version_info<a class="changeset" href="https://svn.boost.org/trac10/changeset/1" title="Import core sources for SVNmanger 0.38 ">[1]</a>,platform,prefix,exec_prefix,executable))" 2&gt;&amp;1' notice: [python-cfg] ...requested configuration matched! notice: [python-cfg] Details of this Python configuration: notice: [python-cfg] interpreter command: "python" notice: [python-cfg] include path: "/usr/include/python2.6" notice: [python-cfg] library path: "/usr/lib/python2.6/config" "/usr/lib" ...patience... ...found 522 targets... ...updating 31 targets... common.mkdir bin </p> </blockquote> <p> </p> <blockquote> <blockquote> <p> mkdir -p "bin" </p> </blockquote> </blockquote> <p> </p> <blockquote> <p> common.mkdir bin/sun </p> </blockquote> <p> </p> <blockquote> <blockquote> <p> mkdir -p "bin/sun" </p> </blockquote> </blockquote> <p> </p> <blockquote> <p> common.mkdir bin/sun/release </p> </blockquote> <p> </p> <blockquote> <blockquote> <p> mkdir -p "bin/sun/release" </p> </blockquote> </blockquote> <p> </p> <blockquote> <p> sun.compile.c++ bin/sun/release/process_jam_log.o </p> </blockquote> <p> </p> <blockquote> <blockquote> <p> "CC" -library=stdcxx4 -xO4 -erroff=%none -KPIC -DBOOST_ALL_NO_LIB=1 -DBOOST_FILESYSTEM_STATIC_LINK=1 -DBOOST_SYSTEM_STATIC_LINK=1 -DNDEBUG -D_CRT_SECURE_NO_WARNINGS -I"/home/tester/boostregression20121020/boost" -c -o "bin/sun/release/process_jam_log.o" "../src/process_jam_log.cpp" </p> </blockquote> </blockquote> <p> </p> <blockquote> <p> sun.compile.c++ bin/sun/release/tiny_xml.o </p> </blockquote> <p> </p> <blockquote> <blockquote> <p> "CC" -library=stdcxx4 -xO4 -erroff=%none -KPIC -DBOOST_ALL_NO_LIB=1 -DNDEBUG -D_CRT_SECURE_NO_WARNINGS -I"/home/tester/boostregression20121020/boost" -c -o "bin/sun/release/tiny_xml.o" "../src/detail/tiny_xml.cpp" </p> </blockquote> </blockquote> <p> </p> <blockquote> <p> common.mkdir /home/tester/boostregression20121020/boost/bin.v2 </p> </blockquote> <p> </p> <blockquote> <blockquote> <p> mkdir -p "/home/tester/boostregression20121020/boost/bin.v2" </p> </blockquote> </blockquote> <p> </p> <blockquote> <p> common.mkdir /home/tester/boostregression20121020/boost/bin.v2/libs </p> </blockquote> <p> </p> <blockquote> <blockquote> <p> mkdir -p "/home/tester/boostregression20121020/boost/bin.v2/libs" </p> </blockquote> </blockquote> <p> </p> <blockquote> <p> common.mkdir /home/tester/boostregression20121020/boost/bin.v2/libs/filesystem </p> </blockquote> <p> </p> <blockquote> <blockquote> <p> mkdir -p "/home/tester/boostregression20121020/boost/bin.v2/libs/filesystem" </p> </blockquote> </blockquote> <p> </p> <blockquote> <p> common.mkdir /home/tester/boostregression20121020/boost/bin.v2/libs/filesystem/build </p> </blockquote> <p> </p> <blockquote> <blockquote> <p> mkdir -p "/home/tester/boostregression20121020/boost/bin.v2/libs/filesystem/build" </p> </blockquote> </blockquote> <p> </p> <blockquote> <p> common.mkdir /home/tester/boostregression20121020/boost/bin.v2/libs/filesystem/build/sun </p> </blockquote> <p> </p> <blockquote> <blockquote> <p> mkdir -p "/home/tester/boostregression20121020/boost/bin.v2/libs/filesystem/build/sun" </p> </blockquote> </blockquote> <p> </p> <blockquote> <p> common.mkdir /home/tester/boostregression20121020/boost/bin.v2/libs/filesystem/build/sun/release </p> </blockquote> <p> </p> <blockquote> <blockquote> <p> mkdir -p "/home/tester/boostregression20121020/boost/bin.v2/libs/filesystem/build/sun/release" </p> </blockquote> </blockquote> <p> </p> <blockquote> <p> common.mkdir /home/tester/boostregression20121020/boost/bin.v2/libs/filesystem/build/sun/release/link-static </p> </blockquote> <p> </p> <blockquote> <blockquote> <p> mkdir -p "/home/tester/boostregression20121020/boost/bin.v2/libs/filesystem/build/sun/release/link-static" </p> </blockquote> </blockquote> <p> </p> <blockquote> <p> common.mkdir /home/tester/boostregression20121020/boost/bin.v2/libs/filesystem/build/sun/release/link-static/stdlib-sun-stlport </p> </blockquote> <p> </p> <blockquote> <blockquote> <p> mkdir -p "/home/tester/boostregression20121020/boost/bin.v2/libs/filesystem/build/sun/release/link-static/stdlib-sun-stlport" </p> </blockquote> </blockquote> <p> </p> <blockquote> <p> sun.compile.c++ /home/tester/boostregression20121020/boost/bin.v2/libs/filesystem/build/sun/release/link-static/stdlib-sun-stlport/codecvt_error_category.o </p> </blockquote> <p> </p> <blockquote> <blockquote> <p> "CC" -library=stlport4 -library=stdcxx4 -xO4 -erroff=%none -DBOOST_ALL_NO_LIB=1 -DBOOST_FILESYSTEM_STATIC_LINK=1 -DBOOST_SYSTEM_STATIC_LINK=1 -DNDEBUG -I"/home/tester/boostregression20121020/boost" -c -o "/home/tester/boostregression20121020/boost/bin.v2/libs/filesystem/build/sun/release/link-static/stdlib-sun-stlport/codecvt_error_category.o" "/home/tester/boostregression20121020/boost/libs/filesystem/src/codecvt_error_category.cpp" </p> </blockquote> </blockquote> <p> </p> <blockquote> <p> CC: -library=stdcxx4 cannot be used with -library=stlport4 ...failed sun.compile.c++ /home/tester/boostregression20121020/boost/bin.v2/libs/filesystem/build/sun/release/link-static/stdlib-sun-stlport/codecvt_error_category.o... sun.compile.c++ /home/tester/boostregression20121020/boost/bin.v2/libs/filesystem/build/sun/release/link-static/stdlib-sun-stlport/operations.o </p> </blockquote> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/7613 Trac 1.4.3 Gennadiy Rozental Sun, 04 Nov 2012 20:35:55 GMT owner, component changed https://svn.boost.org/trac10/ticket/7613#comment:1 https://svn.boost.org/trac10/ticket/7613#comment:1 <ul> <li><strong>owner</strong> changed from <span class="trac-author">Gennadiy Rozental</span> to <span class="trac-author">Vladimir Prus</span> </li> <li><strong>component</strong> <span class="trac-field-old">test</span> → <span class="trac-field-new">build</span> </li> </ul> Ticket Steven Watanabe Fri, 29 Mar 2013 17:18:13 GMT <link>https://svn.boost.org/trac10/ticket/7613#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/7613#comment:2</guid> <description> <p> Jamroot forces &lt;stdlib&gt;sun-stlport. This should probably be removed now. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Steven Watanabe</dc:creator> <pubDate>Fri, 29 Mar 2013 17:22:35 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/7613#comment:3 https://svn.boost.org/trac10/ticket/7613#comment:3 <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/83631" title="Don't force the standard library to be stlport for sun. It interferes ...">[83631]</a>) Don't force the standard library to be stlport for sun. It interferes with anyone who wants to use stdcxx. Fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/7613" title="#7613: Bugs: tools_bb does not respect user-config.jam (closed: fixed)">#7613</a>. </p> Ticket