<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:51:41 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>MongoDB Jira</title>
    <link>https://jira.mongodb.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.7.1</version>
        <build-number>970001</build-number>
        <build-date>13-04-2023</build-date>
    </build-info>


<item>
            <title>[SERVER-19661] Build fails: error: expected expression</title>
                <link>https://jira.mongodb.org/browse/SERVER-19661</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;Hello, I&apos;m the maintainer of mongodb in MacPorts. I&apos;m unable to build mongodb 3.0.5. This is the error I see:&lt;/p&gt;

&lt;p/&gt;
&lt;div id=&quot;syntaxplugin&quot; class=&quot;syntaxplugin&quot; style=&quot;border: 1px dashed #bbb; border-radius: 5px !important; overflow: auto; max-height: 30em;&quot;&gt;
&lt;table cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; border=&quot;0&quot; width=&quot;100%&quot; style=&quot;font-size: 1em; line-height: 1.4em !important; font-weight: normal; font-style: normal; color: black;&quot;&gt;
		&lt;tbody &gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;  margin-top: 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;Generating placeholder library build/darwin/64/cc__usr_bin_clang/cxx__usr_bin_clang++/osx-version-min_10.10/ssl/use-system-boost/use-system-pcre/use-system-snappy/mongo/libserver_options_core.a&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;Skipping ranlib for build/darwin/64/cc__usr_bin_clang/cxx__usr_bin_clang++/osx-version-min_10.10/ssl/use-system-boost/use-system-pcre/use-system-snappy/mongo/libserver_options_core.a&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;/usr/bin/clang++ -o build/darwin/64/cc__usr_bin_clang/cxx__usr_bin_clang++/osx-version-min_10.10/ssl/use-system-boost/use-system-pcre/use-system-snappy/mongo/shell/bench.o -c -Wnon-virtual-dtor -Woverloaded-virtual -fPIC -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O3 -m64 -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-unused-const-variable -Wno-missing-braces -mmacosx-version-min=10.10 -D_SCONS -DMONGO_EXPOSE_MACROS -DPCRE_STATIC -DSUPPORT_UTF8 -DMONGO_OPTIMIZED_BUILD -DMONGO_BYTE_ORDER=1234 -D_FILE_OFFSET_BITS=64 -DMONGO_SSL -DMONGO_HAVE___THREAD -DMONGO_HAVE_GCC_ATOMIC_BUILTINS -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_THREAD_VERSION=2 -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_EXECINFO_BACKTRACE -DMONGO_HAVE_FIPS_MODE_SET -I/opt/local/include -Isrc/third_party/s2 -Ibuild/darwin/64/cc__usr_bin_clang/cxx__usr_bin_clang++/osx-version-min_10.10/ssl/use-system-boost/use-system-pcre/use-system-snappy -Isrc src/mongo/shell/bench.cpp&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;src/mongo/shell/bench.cpp:379:17: warning: &apos;auto&apos; type specifier is a C++11 extension [-Wc++11-extensions]&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;                auto&amp;amp; stats = shouldCollectStats() ? _stats : _statsBlackHole;&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;                ^&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;src/mongo/shell/bench.cpp:914:10: warning: &apos;auto&apos; type specifier is a C++11 extension [-Wc++11-extensions]&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;         auto appendPerSec = [&amp;amp;buf, runner](StringData name, double total) {&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;         ^&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;src/mongo/shell/bench.cpp:914:30: error: expected expression&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;         auto appendPerSec = [&amp;amp;buf, runner](StringData name, double total) {&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;                             ^&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;2 warnings and 1 error generated.&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;scons: *** [build/darwin/64/cc__usr_bin_clang/cxx__usr_bin_clang++/osx-version-min_10.10/ssl/use-system-boost/use-system-pcre/use-system-snappy/mongo/shell/bench.o] Error 1&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;scons: building terminated because of errors.&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   margin-bottom: 10px;  width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;Command failed:  cd &quot;/opt/local/var/macports/build/_Users_rschmidt_macports_dports_databases_mongodb/mongodb/work/mongodb-src-r3.0.5-x86_64&quot; &amp;amp;&amp;amp; /opt/local/bin/scons all mongobridge mongosniff --cc=/usr/bin/clang --cxx=/usr/bin/clang++ --cpppath=/opt/local/include --disable-warnings-as-errors --libpath=/opt/local/lib --osx-version-min=10.10 --ssl --system-boost-lib-search-suffixes=-mt --use-system-boost --use-system-pcre --use-system-snappy --extralib=pcre,pcrecpp,snappy --64 &lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
			&lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;p/&gt;

&lt;p&gt;3.0.4 builds fine on the same system, which has:&lt;/p&gt;

&lt;p&gt;$ xcodebuild -version&lt;br/&gt;
Xcode 6.4&lt;br/&gt;
Build version 6E35b&lt;/p&gt;

&lt;p&gt;$ clang -v&lt;br/&gt;
Apple LLVM version 6.1.0 (clang-602.0.53) (based on LLVM 3.6.0svn)&lt;br/&gt;
Target: x86_64-apple-darwin14.5.0&lt;br/&gt;
Thread model: posix&lt;/p&gt;

&lt;p&gt;$ sw_vers&lt;br/&gt;
ProductName:	Mac OS X&lt;br/&gt;
ProductVersion:	10.10.5&lt;br/&gt;
BuildVersion:	14F6a&lt;/p&gt;

&lt;p&gt;I&apos;ve attached logs of an unsuccessful build of 3.0.5 and a successful build of 3.0.4.&lt;/p&gt;</description>
                <environment></environment>
        <key id="223368">SERVER-19661</key>
            <summary>Build fails: error: expected expression</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</type>
                                            <priority id="3" iconUrl="https://jira.mongodb.org/images/icons/priorities/major.svg">Major - P3</priority>
                        <status id="6" iconUrl="https://jira.mongodb.org/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="9">Done</resolution>
                                        <assignee username="jonathan.reams@mongodb.com">Jonathan Reams</assignee>
                                    <reporter username="ryandesign">Ryan Schmidt</reporter>
                        <labels>
                    </labels>
                <created>Thu, 30 Jul 2015 10:45:29 +0000</created>
                <updated>Tue, 13 Oct 2015 20:41:09 +0000</updated>
                            <resolved>Tue, 8 Sep 2015 14:38:05 +0000</resolved>
                                                    <fixVersion>3.0.7</fixVersion>
                    <fixVersion>3.1.8</fixVersion>
                                    <component>Build</component>
                                        <votes>2</votes>
                                    <watches>9</watches>
                                                                                                                <comments>
                            <comment id="1024104" author="jonathan.reams@10gen.com" created="Tue, 8 Sep 2015 14:38:05 +0000"  >&lt;p&gt;Great, it will be in the next version of mongodb. We can re-open this if you have any more trouble.&lt;/p&gt;</comment>
                            <comment id="1023736" author="ryandesign" created="Tue, 8 Sep 2015 01:04:48 +0000"  >&lt;p&gt;Thanks. I had also come to the conclusion that the flags for the third party libraries needed to come before, not after, the extra cpp and lib paths, but was having trouble understanding your build system to make that happen. Your patch works for me. &lt;/p&gt;</comment>
                            <comment id="1019900" author="jonathan.reams@10gen.com" created="Tue, 1 Sep 2015 21:28:03 +0000"  >&lt;p&gt;Ryan, sorry for taking so long to get back to you. I just pushed a change that will be in the next 3.0 release that I think should fix your problem. Before now we&apos;ve appended our third-party libraries to the include search-path, which meant that anything specified with &lt;tt&gt;&amp;#45;&amp;#45;cpppath&lt;/tt&gt; took precedence over our bundled libraries. Now you should be able to use &lt;tt&gt;&amp;#45;&amp;#45;cpppath=/opt/local/include --libpath=/opt/local/lib&lt;/tt&gt; and not pull in the system boost by accident. If you want to test it you can apply this commit (&lt;a href=&quot;https://github.com/mongodb/mongo/commit/8b09ad789b4f156141441b4823aae48fb0eb8de7&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/8b09ad789b4f156141441b4823aae48fb0eb8de7&lt;/a&gt;). Let me know if you have any questions or trouble.&lt;/p&gt;</comment>
                            <comment id="1019880" author="xgen-internal-githook" created="Tue, 1 Sep 2015 21:19:33 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;jbreams&apos;, u&apos;name&apos;: u&apos;Jonathan Reams&apos;, u&apos;email&apos;: u&apos;jbreams@mongodb.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-19661&quot; title=&quot;Build fails: error: expected expression&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-19661&quot;&gt;&lt;del&gt;SERVER-19661&lt;/del&gt;&lt;/a&gt; Give vendored include paths higher priority&lt;br/&gt;
Branch: v3.0&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/8b09ad789b4f156141441b4823aae48fb0eb8de7&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/8b09ad789b4f156141441b4823aae48fb0eb8de7&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1019801" author="xgen-internal-githook" created="Tue, 1 Sep 2015 20:01:47 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;jbreams&apos;, u&apos;name&apos;: u&apos;Jonathan Reams&apos;, u&apos;email&apos;: u&apos;jbreams@mongodb.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-19661&quot; title=&quot;Build fails: error: expected expression&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-19661&quot;&gt;&lt;del&gt;SERVER-19661&lt;/del&gt;&lt;/a&gt; Give vendored include paths higher priority&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/f725d04705a2019ab1949ced290158397d9365b0&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/f725d04705a2019ab1949ced290158397d9365b0&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1009280" author="ryandesign" created="Wed, 19 Aug 2015 08:04:38 +0000"  >&lt;p&gt;I initially thought that boost was the only C&amp;#43;&amp;#43; using library mongodb used, but I see now that pcre and snappy also use C&amp;#43;&amp;#43;, so we would have to switch to using the bundled versions of those as well. I&apos;m happy to do that.&lt;/p&gt;

&lt;p&gt;Previously, we have been using the scons flags &lt;tt&gt;&amp;#45;&amp;#45;cpppath=/opt/local/include&lt;/tt&gt;, &lt;tt&gt;&amp;#45;&amp;#45;libpath=/opt/local/lib&lt;/tt&gt;, &lt;tt&gt;&amp;#45;&amp;#45;ssl&lt;/tt&gt;, &lt;tt&gt;&amp;#45;&amp;#45;system-boost-lib-search-suffixes=-mt&lt;/tt&gt;, &lt;tt&gt;&amp;#45;&amp;#45;use-system-boost&lt;/tt&gt;, &lt;tt&gt;&amp;#45;&amp;#45;use-system-pcre&lt;/tt&gt;, &lt;tt&gt;&amp;#45;&amp;#45;use-system-snappy&lt;/tt&gt;, &lt;tt&gt;&amp;#45;&amp;#45;extralib=pcre,pcrecpp,snappy&lt;/tt&gt;, which was working fine for using the MacPorts versions of boost, pcre, snappy, openssl and libpcap.&lt;/p&gt;

&lt;p&gt;If I remove the above flags except &lt;tt&gt;&amp;#45;&amp;#45;ssl&lt;/tt&gt;, then the bundled versions of boost, pcre and snappy are used, which is desired, but also the OS X versions of openssl and libpcap get used instead of the newer MacPorts versions, which is not desired.&lt;/p&gt;

&lt;p&gt;If I leave &lt;tt&gt;&amp;#45;&amp;#45;cpppath=/opt/local/include&lt;/tt&gt; and &lt;tt&gt;&amp;#45;&amp;#45;libpath=/opt/local/lib&lt;/tt&gt;, then the build fails because some MacPorts boost headers get used instead of the bundled ones.&lt;/p&gt;

&lt;p&gt;What is the correct way to use the bundled boost, pcre and snappy libraries, while still using the openssl and libpcap libraries in MacPorts?&lt;/p&gt;</comment>
                            <comment id="1003372" author="acm" created="Wed, 12 Aug 2015 16:55:38 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=ryandesign&quot; class=&quot;user-hover&quot; rel=&quot;ryandesign&quot;&gt;ryandesign&lt;/a&gt; -&lt;/p&gt;

&lt;p&gt;Yes, that is correct. The C++ driver was moved to a separate project (the &quot;legacy&quot; C++ driver), and that project intentionally does not bundle any libraries. It is intended that the legacy C++ driver be built against the system libraries, and it does not and will not require C&amp;#43;&amp;#43;11. So, mongodb and the C&amp;#43;&amp;#43; driver can definitely use different versions of boost. Sometime in the next several months we will be releasing a new C&amp;#43;&amp;#43; driver, which will require C&amp;#43;&amp;#43;11, but this driver will not have any third party C&amp;#43;&amp;#43; library dependencies.&lt;/p&gt;

&lt;p&gt;Please note that there are some other C&amp;#43;&amp;#43; libraries that the server bundles. For those that offer an option to use the system version (look in the top-of-tree SConstruct file for --use-system-x flags), it is critical that either you use the bundled library, or that if you use the system version of a library that the library is built with the same C&amp;#43;&amp;#43; runtime and language conformance level as the server sources.&lt;/p&gt;
</comment>
                            <comment id="1003353" author="ryandesign" created="Wed, 12 Aug 2015 16:42:24 +0000"  >&lt;p&gt;The reason we are building with MacPorts boost is that we were previously asked to do so by a user who was trying to use the libmongoclient.a library:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://trac.macports.org/ticket/38334&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://trac.macports.org/ticket/38334&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;But it seems that mongodb no longer installs libmongoclient.a nor any library. Is that correct? And boost appears to be the only C&amp;#43;&amp;#43; library mongodb uses. If these are true, then it should be possible to switch mongodb back to using its internal copy of boost and set it to always use libc&amp;#43;&amp;#43; even on older OS X systems.&lt;/p&gt;

&lt;p&gt;It looks like libmongoclient.a is now in the separate mongo-cxx-driver project. Is it a problem if mongodb uses its internal copy of boost and mongo-cxx-driver uses a different (probably newer) MacPorts version of boost?&lt;/p&gt;

&lt;p&gt;It looks like mongo-cxx-driver doesn&apos;t use C&amp;#43;&amp;#43;11 yet, because it still builds ok on older OS X versions.&lt;/p&gt;</comment>
                            <comment id="1001079" author="jonathan.reams@10gen.com" created="Mon, 10 Aug 2015 19:57:14 +0000"  >&lt;p&gt;Unfortunately it&apos;s not going to be possible to build mongodb on OS X without libc&amp;#43;&amp;#43; going forward. We&apos;ve started allowing C&amp;#43;&amp;#43;11 code into 3.0 recently, but 3.1 has allowed C&amp;#43;&amp;#43;11 from the start and it is used throughout the codebase. Building with any system copies of our vendored C&amp;#43;&amp;#43; libraries that weren&apos;t built with C++11 is going to be unsafe at best going forward. Is there a specific reason you&apos;re building with the MacPorts copy of boost?&lt;/p&gt;</comment>
                            <comment id="998420" author="ryandesign" created="Thu, 6 Aug 2015 16:19:55 +0000"  >&lt;p&gt;Perhaps that would work if we were using the copy of boost bundled with mongodb, but we&apos;re not; we were previously asked by a MacPorts user to use the MacPorts copy of boost, which means that it too must be built with libc&amp;#43;&amp;#43;, which would then impact everything else in MacPorts using boost, and so on. The decision about whether to use libc++ or libstdc&amp;#43;&amp;#43; must be made for the MacPorts installation as a whole and cannot be made for individual programs.&lt;/p&gt;</comment>
                            <comment id="998366" author="jonathan.reams@10gen.com" created="Thu, 6 Aug 2015 15:36:36 +0000"  >&lt;p&gt;On OSX 10.7 and 10.8 SCons should be run with the &lt;tt&gt;--libc&amp;#43;&amp;#43;&lt;/tt&gt; flag to tell clang to use the correct C++11 library. SCons will also enforce a minimum XCode version of 5.1.1. Our internal build farm is running 10.8, so this should work fine. Looking at your link, 10.7 should work the same way. We also set the &lt;tt&gt;&amp;#45;&amp;#45;osx-version-min=10.7&lt;/tt&gt; flag to make sure we maintain compatibility with 10.7 in our OSX builds.&lt;/p&gt;</comment>
                            <comment id="998327" author="ryandesign" created="Thu, 6 Aug 2015 15:04:49 +0000"  >&lt;p&gt;Thanks, adding &lt;tt&gt;--c&amp;#43;&amp;#43;11&lt;/tt&gt; does work on OS X 10.9 and later, but please understand that this new C&amp;#43;&amp;#43;11 requirement makes compilation of mongodb 3.0.5 on OS X 10.7 an 10.8 more difficult than compiling 3.0.4 and earlier, since the default C&amp;#43;&amp;#43; library on 10.8 and earlier does not support C&amp;#43;&amp;#43;11. See:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://trac.macports.org/wiki/LibcxxOnOlderSystems&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://trac.macports.org/wiki/LibcxxOnOlderSystems&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="996288" author="jonathan.reams@10gen.com" created="Tue, 4 Aug 2015 17:49:19 +0000"  >&lt;p&gt;Yes, I&apos;ll open a ticket to make sure scons requires c++11 from now on (&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-19755&quot; title=&quot;scons should require c++11 on 3.0&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-19755&quot;&gt;&lt;del&gt;SERVER-19755&lt;/del&gt;&lt;/a&gt;).&lt;/p&gt;</comment>
                            <comment id="996277" author="ultrabug" created="Tue, 4 Aug 2015 17:33:29 +0000"  >&lt;p&gt;Thanks Jonathan, this indeed fixes this issue (tho we should expect a scons build config update). Packaged for Gentoo Linux !&lt;/p&gt;</comment>
                            <comment id="996184" author="jonathan.reams@10gen.com" created="Tue, 4 Aug 2015 16:05:59 +0000"  >&lt;p&gt;Hi Ryan, can you try adding &lt;tt&gt;--c++11&lt;/tt&gt; to your scons command line? We&apos;ve recently allowed C&amp;#43;&amp;#43;11 into the 3.0 branch, but it looks like scons still needs to be updated to require C&amp;#43;&amp;#43;11 to build - right now it&apos;s set to auto.&lt;/p&gt;</comment>
                            <comment id="994888" author="ultrabug" created="Mon, 3 Aug 2015 11:19:06 +0000"  >&lt;p&gt;This is a build log failing also with system boot-1.56 so I guess this is not related to 1.57.&lt;/p&gt;</comment>
                            <comment id="993094" author="ultrabug" created="Thu, 30 Jul 2015 16:57:05 +0000"  >&lt;p&gt;Same here for Gentoo Linux.&lt;/p&gt;

&lt;p&gt;Looks like I can build fine only if I use the bundled boost version (so by removing the --use-system-boost).&lt;/p&gt;

&lt;p&gt;Boost : dev-libs/boost-1.57.0  USE=&quot;nls python threads -context -debug -doc -icu -mpi -static-libs -tools&quot;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                            <outwardlinks description="duplicates">
                                        <issuelink>
            <issuekey id="224081">SERVER-19755</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="224081">SERVER-19755</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="232345">SERVER-20712</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="84317" name="build.log" size="125876" author="ultrabug" created="Mon, 3 Aug 2015 11:19:06 +0000"/>
                            <attachment id="83950" name="mongodb-3.0.4-main.log.bz2" size="244639" author="ryandesign" created="Thu, 30 Jul 2015 10:45:29 +0000"/>
                            <attachment id="83949" name="mongodb-3.0.5-main.log.bz2" size="8011" author="ryandesign" created="Thu, 30 Jul 2015 10:45:29 +0000"/>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>17.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18555" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname># of Sprints</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>3.0</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_12451" key="com.atlassian.jira.plugin.system.customfieldtypes:multiversion">
                        <customfieldname>Backport Completed</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="15689">3.0.7</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10011" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Backwards Compatibility</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10038"><![CDATA[Fully Compatible]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Thu, 30 Jul 2015 16:57:05 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        8 years, 23 weeks, 1 day ago
    
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18254" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Dependencies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[]]></customfieldvalue>


                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10057" key="com.atlassian.jira.toolkit:lastusercommented">
                        <customfieldname>Last comment by Customer</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>true</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10056" key="com.atlassian.jira.toolkit:lastupdaterorcommenter">
                        <customfieldname>Last commenter</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>ramon.fernandez@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            8 years, 23 weeks, 1 day ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                    <customfield id="customfield_10032" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Operating System</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10026"><![CDATA[ALL]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>andrew.morrow@mongodb.com</customfieldvalue>
            <customfieldvalue>xgen-internal-githook</customfieldvalue>
            <customfieldvalue>jonathan.reams@mongodb.com</customfieldvalue>
            <customfieldvalue>ryandesign</customfieldvalue>
            <customfieldvalue>ultrabug</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrkz2v:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hreb2v:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9223372036854775807</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_23361" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Requested By</customfieldname>
                        <customfieldvalues>
                                

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_10557" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="625">Build 7 08/10/15</customfieldvalue>
    <customfieldvalue id="626">Build 8 08/31/15</customfieldvalue>
    <customfieldvalue id="672">Build 9 (09/18/15)</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10750" key="com.atlassian.jira.plugin.system.customfieldtypes:textarea">
                        <customfieldname>Steps To Reproduce</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>&lt;p&gt;Build mongodb 3.0.5 on OS X&lt;/p&gt;</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10053" key="com.atlassian.jira.ext.charting:timeinstatus">
                        <customfieldname>Time In Status</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_22870" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Triagers</customfieldname>
                        <customfieldvalues>
                                

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_14350" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>serverRank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrl087:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                    </customfields>
    </item>
</channel>
</rss>