<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 05:01:30 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-42813] 4.2.0 regression (vs 4.0.12): Build failure with --use-system-wiredtiger</title>
                <link>https://jira.mongodb.org/browse/SERVER-42813</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;I&apos;m the maintainer of the mongoDB package in the Arch Linux AUR repository.&#160; We&apos;ve always built wiredtiger as a separate package, and given the &quot;--use-system-wiredtiger&quot; build option for mongoDB.&#160; This works through 4.0.12.&lt;/p&gt;

&lt;p&gt;We always check the git repo of the tag of the mongoDB release, for the latest commit in &quot;mongo/src/third_party/wiredtiger&quot; which as of tag &quot;r4.2.0&quot; is &quot;Import wiredtiger: 1a1197ef3c891458cd73290ad9b01c1e969f7e86...&quot;&#160; We then package that wiredtiger commit.&lt;/p&gt;

&lt;p&gt;Wiredtiger 1a1197 properly builds, and only contains &quot;libwiredtiger-3.2.0.so&quot;, &quot;libwiredtiger.so&quot;, and &quot;libwiredtiger_lz4.so&quot;.&lt;/p&gt;

&lt;p&gt;But, when attempting to build mongoDB 4.2.0 with the &quot;--use-system-wiredtiger&quot; option, it fails with this error:&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;   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;build/opt/mongo/mongo failed: Implicit dependency `src/third_party/wiredtiger/libwiredtiger_checksum.a&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;&apos; not found, needed by target `build/opt/mongo/mongo&apos;&lt;/span&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;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;p/&gt;
&lt;p&gt;I don&apos;t know if &quot;libwiredtiger-3.2.0.so&quot; has what it needs.&#160; &quot;nm -D | grep checksum&quot; only shows &quot;__wt_checksum_sw&quot;.&#160; Maybe that&apos;s all it needs, and this part of the mongoDB build doesn&apos;t know to use the system library.&lt;/p&gt;

&lt;p&gt;Maybe a new configure option is needed for wiredtiger.&#160; We currently use:&lt;/p&gt;

&lt;p&gt;&#160;&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;   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;./configure --prefix=/usr --enable-leveldb --enable-lz4 --enable-tcmalloc --enable-verbose --with-builtins=snappy,zlib&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;&lt;tt&gt;&quot;./configure &amp;#45;&amp;#45;help&quot;&lt;/tt&gt; doesn&apos;t show me any new option that might be needed like &lt;tt&gt;&quot;&amp;#45;&amp;#45;enable-checksum&quot;&lt;/tt&gt;.&#160; I see only: &lt;tt&gt;&quot;&amp;#45;&amp;#45;with-berkeleydb&quot;&lt;/tt&gt;, &lt;tt&gt;&quot;&amp;#45;&amp;#45;with-helium&quot;&lt;/tt&gt;, and &lt;tt&gt;&quot;&amp;#45;&amp;#45;enable-leveldb&quot;&lt;/tt&gt; were removed (so I&apos;ll remove the leveldb); and, &lt;tt&gt;&quot;&amp;#45;&amp;#45;enable-page-version-ts&quot;&lt;/tt&gt; was added.&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;Maybe wiredtiger&apos;s &quot;make install&quot; doesn&apos;t contain a new .so?&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</description>
                <environment></environment>
        <key id="893644">SERVER-42813</key>
            <summary>4.2.0 regression (vs 4.0.12): Build failure with --use-system-wiredtiger</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="13203">Gone away</resolution>
                                        <assignee username="brian.lane@mongodb.com">Brian Lane</assignee>
                                    <reporter username="jamespharvey20@gmail.com">James Harvey</reporter>
                        <labels>
                    </labels>
                <created>Tue, 13 Aug 2019 23:07:53 +0000</created>
                <updated>Fri, 27 Oct 2023 20:42:43 +0000</updated>
                            <resolved>Tue, 8 Sep 2020 03:50:43 +0000</resolved>
                                    <version>4.2.0</version>
                                                    <component>Build</component>
                                        <votes>0</votes>
                                    <watches>14</watches>
                                                                                                                <comments>
                            <comment id="2378348" author="brian.lane" created="Tue, 20 Aug 2019 05:55:30 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=jamespharvey20%40gmail.com&quot; class=&quot;user-hover&quot; rel=&quot;jamespharvey20@gmail.com&quot;&gt;jamespharvey20@gmail.com&lt;/a&gt;,&lt;/p&gt;

&lt;p&gt;The best way forward now is to stop building a separate WiredTiger package and use the one that is part of the specific MongoDB version.  There is a tight coupling between WiredTiger and MongoDB versions, and this is not surfaced in standalone WiredTiger release.  This will guarantee that you will always build using the correct versions.&lt;/p&gt;

&lt;p&gt;We will keep this issue open to determine the future of the flag, and we may switch it internal-only in a future release.&lt;/p&gt;

&lt;p&gt;Let me know if you have any other questions or if you run into issues with the suggested approach.&lt;/p&gt;

&lt;p&gt;-Brian&lt;/p&gt;</comment>
                            <comment id="2375955" author="jamespharvey20@gmail.com" created="Fri, 16 Aug 2019 23:46:59 +0000"  >&lt;p&gt;I see &quot;Fix Version/s&quot; has been set to &quot;4.3 Required&quot;.  Wondering if that means it&apos;s unlikely for a patch to be made soon fixing this for 4.2.  Holding off on releasing 4.2 for this issue, and if a fix won&apos;t be coming to stable until 4.4, I&apos;d drop using a separate package for wiredtiger to release it, which will increase users&apos; required space to build the package from about 180GB to 260GB (including running tests.)&lt;/p&gt;</comment>
                            <comment id="2370937" author="acm" created="Wed, 14 Aug 2019 16:03:03 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=jamespharvey20%40gmail.com&quot; class=&quot;user-hover&quot; rel=&quot;jamespharvey20@gmail.com&quot;&gt;jamespharvey20@gmail.com&lt;/a&gt; - Escape the dashes with backslashes.&lt;/p&gt;</comment>
                            <comment id="2369749" author="jamespharvey20@gmail.com" created="Tue, 13 Aug 2019 23:10:23 +0000"  >&lt;p&gt;More strikethrough from &quot;--&quot;. None of that is intended to be striked out. Not sure if there&apos;s a way to indicate inline code.&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>4.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18555" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname># of Sprints</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1.0</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Wed, 14 Aug 2019 16:03:03 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        4 years, 25 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>luke.bonanomi@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            4 years, 25 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>brian.lane@mongodb.com</customfieldvalue>
            <customfieldvalue>jamespharvey20@gmail.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hvkl5b:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hr72fj:</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="3208">Storage Engines 2019-08-26</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;Install wiredtiger commit 1a1197, configure mongoDB with &quot;--use-system-wiredtiger&quot;, and attempt to build mongoDB.&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|hvk7en:</customfieldvalue>

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