<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 04:08:53 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-25329] FreeBSD 10.1-RELEASE build issue</title>
                <link>https://jira.mongodb.org/browse/SERVER-25329</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;An compiler error occurred during building MongoDB 3.3.10 under FreeBSD 10.1@amd64 with clang 3.8.0:&lt;br/&gt;
===&lt;br/&gt;
Compiling build/opt/mongo/db/repl/collection_bulk_loader_impl.o&lt;br/&gt;
In file included from src/mongo/db/repl/storage_interface_impl.cpp:33:&lt;br/&gt;
In file included from src/mongo/db/repl/storage_interface_impl.h:33:&lt;br/&gt;
In file included from src/mongo/base/status.h:32:&lt;br/&gt;
In file included from /usr/include/c++/v1/string:439:&lt;br/&gt;
In file included from /usr/include/c++/v1/algorithm:627:&lt;br/&gt;
/usr/include/c++/v1/utility:284:11: error: call to implicitly-deleted copy constructor of&lt;br/&gt;
      &apos;std::_&lt;em&gt;1::unique_ptr&amp;lt;mongo::repl::TaskRunner, std::&lt;/em&gt;_1::default_delete&amp;lt;mongo::repl::TaskRunner&amp;gt; &amp;gt;&apos;&lt;br/&gt;
          second(__p.second)&lt;br/&gt;
          ^      ~~~~~~~~~~&lt;br/&gt;
===&lt;/p&gt;</description>
                <environment>uname -a:&lt;br/&gt;
===&lt;br/&gt;
FreeBSD www0.lambda-cloud.net 10.1-RELEASE FreeBSD 10.1-RELEASE #0 r274401: Tue Nov 11 21:02:49 UTC 2014     &lt;a href=&apos;mailto:root@releng1.nyi.freebsd.org&apos;&gt;root@releng1.nyi.freebsd.org&lt;/a&gt;:/usr/obj/usr/src/sys/GENERIC  amd64&lt;br/&gt;
===&lt;br/&gt;
&lt;br/&gt;
clang -v:&lt;br/&gt;
===&lt;br/&gt;
clang version 3.8.0 (tags/RELEASE_380/final)&lt;br/&gt;
Target: x86_64-unknown-freebsd10.1&lt;br/&gt;
Thread model: posix&lt;br/&gt;
===</environment>
        <key id="305019">SERVER-25329</key>
            <summary>FreeBSD 10.1-RELEASE build issue</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="adam.martin@mongodb.com">ADAM Martin</assignee>
                                    <reporter username="dev.ashevchuk@gmail.com">Andrew Shevchuk</reporter>
                        <labels>
                    </labels>
                <created>Fri, 29 Jul 2016 12:49:58 +0000</created>
                <updated>Fri, 14 Oct 2016 23:19:51 +0000</updated>
                            <resolved>Mon, 10 Oct 2016 20:10:20 +0000</resolved>
                                    <version>3.3.10</version>
                                                    <component>Replication</component>
                                        <votes>0</votes>
                                    <watches>8</watches>
                                                                                                                <comments>
                            <comment id="1404526" author="adam.martin" created="Mon, 10 Oct 2016 20:08:29 +0000"  >&lt;p&gt;The failing code in question is no longer in MongoDB, and seems to not have any issue when compiling with Clang 3.8 on FreeBSD 10.3-STABLE.  (It just seems to work correctly.)  Clang 3.8 can be selected by passing `CC=clang38 CXX=clang++38` to `scons` when building.&lt;/p&gt;

&lt;p&gt;GCC5x seems to fail, out of the box, but I believe this to be due to the way that GCC treats C99 bits which were brough into C++11.  By passing `CCFLAGS=&quot;-D_GLIBCXX_USE_C99 -D_GLIBCXX_USE_C99_MATH -D_GLIBCXX_USE_C99_MATH_TR1&quot;` to scons, it builds.  The GCC5 issue seems to be a frequently encountered issue on FreeBSD.  This stack overflow link documents the flag options needed to deal with it: &lt;a href=&quot;http://stackoverflow.com/questions/26832199/getting-gcc-in-c11-mode-to-work-on-freebsd&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://stackoverflow.com/questions/26832199/getting-gcc-in-c11-mode-to-work-on-freebsd&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Please use one of the above workarounds when trying to build on FreeBSD.&lt;/p&gt;</comment>
                            <comment id="1402366" author="adam.martin" created="Thu, 6 Oct 2016 20:03:23 +0000"  >&lt;p&gt;At present, on my MongoDB workstation (running FreeBSD 10.3), I am unable to reproduce this with clang 3.8.  I will try with gcc5x soon.&lt;/p&gt;</comment>
                            <comment id="1342215" author="ashevchuk" created="Sat, 30 Jul 2016 13:07:18 +0000"  >&lt;p&gt;Thanks for the help&lt;/p&gt;</comment>
                            <comment id="1342213" author="acm" created="Sat, 30 Jul 2016 13:05:08 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=ashevchuk&quot; class=&quot;user-hover&quot; rel=&quot;ashevchuk&quot;&gt;ashevchuk&lt;/a&gt; - Thanks for confirming that the change fixed the issue for you.&lt;/p&gt;</comment>
                            <comment id="1342168" author="ashevchuk" created="Sat, 30 Jul 2016 11:55:58 +0000"  >&lt;p&gt;Yes, this modification has solved this issue.&lt;/p&gt;</comment>
                            <comment id="1341392" author="acm" created="Fri, 29 Jul 2016 15:39:51 +0000"  >&lt;p&gt;Thanks for the bug report. I&apos;m a little surprised - we do build the tree with clang-3.8 on Ubuntu 16.04, though, in that case we are building against the GCC 5 libstdc&amp;#43;&amp;#43;. We also build on OS X, with clang, against libc&amp;#43;&amp;#43;. I also just tried a build with clang-3.7 on my Ubuntu 16.04 system, and the storage_interface_impl.cpp file at r3.3.10 compiles in that configuration as well. I can&apos;t try clang-3.8 plus libc&amp;#43;&amp;#43; on that system, since, for reasons unknown to us, the Ubuntu 16.04 maintainers shipped a clang 3.7 vintage libc&amp;#43;&amp;#43; on that platform, so clang-3.8 can&apos;t build things with libc&amp;#43;&amp;#43;.&lt;/p&gt;

&lt;p&gt;Taking a look at the code, the offending line looks pretty reasonable:&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;    257     // Create the runner, and schedule the collection creation.&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;    258     _runners.emplace_back(&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;    259         std::make_pair(nss, stdx::make_unique&amp;lt;TaskRunner&amp;gt;(_bulkLoaderThreads.get())));&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;The declaration of _runners in the associated header though, has something sort of interesting:&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;    129     std::vector&amp;lt;std::pair&amp;lt;const NamespaceString, std::unique_ptr&amp;lt;TaskRunner&amp;gt;&amp;gt;&amp;gt; _runners;&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;    130 };&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;I think what may be happening here is that the &apos;const NamespaceString&apos; is making the entries in the vector non-moveable, which then causes the vector to try to copy the non-copyable unique_ptr. Can you try removing that const and seeing if it fixes it for you?&lt;/p&gt;

&lt;p&gt;If so, I&apos;m somewhat amazed that this has managed to compile everywhere for us so far, across three modern compilers and three standard libraries.&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="133000" name="build.log" size="10944" author="dev.ashevchuk@gmail.com" created="Fri, 29 Jul 2016 12:49:58 +0000"/>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>6.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18555" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname># of Sprints</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>5.0</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>Fri, 29 Jul 2016 15:39:51 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        7 years, 18 weeks, 2 days 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>
                            7 years, 18 weeks, 2 days 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>adam.martin@mongodb.com</customfieldvalue>
            <customfieldvalue>andrew.morrow@mongodb.com</customfieldvalue>
            <customfieldvalue>dev.ashevchuk@gmail.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrk14v:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hsqmif:</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="1021">Repl 18 (08/05/16)</customfieldvalue>
    <customfieldvalue id="1022">Repl 2016-08-29</customfieldvalue>
    <customfieldvalue id="1231">Repl 2016-09-19</customfieldvalue>
    <customfieldvalue id="1309">Platforms 2016-10-10</customfieldvalue>
    <customfieldvalue id="1347">Platforms 2016-10-31</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;wget &lt;a href=&quot;https://fastdl.mongodb.org/src/mongodb-src-r3.3.10.tar.gz&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://fastdl.mongodb.org/src/mongodb-src-r3.3.10.tar.gz&lt;/a&gt;&lt;br/&gt;
tar -zxvf mongodb-src-r3.3.10.tar.gz&lt;br/&gt;
cd mongodb-src-r3.3.10&lt;br/&gt;
scons CC=clang38 CXX=clang++38 all&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|hrkt67:</customfieldvalue>

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