<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 06:01:11 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-64803] Format Macros bug when building the server w/ static linking</title>
                <link>https://jira.mongodb.org/browse/SERVER-64803</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;I ran into an issue trying to build the server on my ubuntu1804-workstation with static linking. &lt;/p&gt;

&lt;p&gt;scons command:&lt;br/&gt;
&lt;tt&gt;./buildscripts/scons.py --ninja generate-ninja --modules=  --variables-files=etc/scons/mongodbtoolchain_stable_gcc.vars --link-model=static --dbg=on --opt=off ICECC=icecc CCACHE=ccache&lt;/tt&gt;&lt;/p&gt;

&lt;p&gt;then running &lt;tt&gt;ninja&lt;/tt&gt; resulted in this error: &lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;405/4643 (  8%) 29.614s&amp;#93;&lt;/span&gt; Compiling build/debug/mongo/db/index/duplicate_key_tracker.o&lt;br/&gt;
ICECC&lt;span class=&quot;error&quot;&gt;&amp;#91;8003&amp;#93;&lt;/span&gt; 17:14:29: flush_writebuf() failed Connection reset by peer&lt;br/&gt;
ICECC&lt;span class=&quot;error&quot;&gt;&amp;#91;8003&amp;#93;&lt;/span&gt; 17:14:29: write of source chunk to host 10.122.1.92&lt;br/&gt;
ICECC&lt;span class=&quot;error&quot;&gt;&amp;#91;8003&amp;#93;&lt;/span&gt; 17:14:29: failed  Connection reset by peer&lt;br/&gt;
ICECC&lt;span class=&quot;error&quot;&gt;&amp;#91;8003&amp;#93;&lt;/span&gt; 17:14:29: got exception Error 15 - write to host failed (10.122.1.92) &lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;2100/4643 ( 45%) 981.709s&amp;#93;&lt;/span&gt; Compiling build/debug/mongo/db/s/balancer/balancer_commands_scheduler_impl.o&lt;br/&gt;
ICECC&lt;span class=&quot;error&quot;&gt;&amp;#91;20521&amp;#93;&lt;/span&gt; 17:30:18: flush_writebuf() failed Connection reset by peer&lt;br/&gt;
ICECC&lt;span class=&quot;error&quot;&gt;&amp;#91;20521&amp;#93;&lt;/span&gt; 17:30:18: write of source chunk to host 10.122.1.92&lt;br/&gt;
ICECC&lt;span class=&quot;error&quot;&gt;&amp;#91;20521&amp;#93;&lt;/span&gt; 17:30:18: failed  Connection reset by peer&lt;br/&gt;
ICECC&lt;span class=&quot;error&quot;&gt;&amp;#91;20521&amp;#93;&lt;/span&gt; 17:30:18: got exception Error 15 - write to host failed (10.122.1.92) &lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;3097/4643 ( 66%) 1581.883s&amp;#93;&lt;/span&gt; Compiling build/debug/mongo/s/transaction_router.o&lt;br/&gt;
ICECC&lt;span class=&quot;error&quot;&gt;&amp;#91;27856&amp;#93;&lt;/span&gt; 17:40:16: flush_writebuf() failed Connection reset by peer&lt;br/&gt;
ICECC&lt;span class=&quot;error&quot;&gt;&amp;#91;27856&amp;#93;&lt;/span&gt; 17:40:16: write of source chunk to host 10.122.1.92&lt;br/&gt;
ICECC&lt;span class=&quot;error&quot;&gt;&amp;#91;27856&amp;#93;&lt;/span&gt; 17:40:16: failed  Connection reset by peer&lt;br/&gt;
ICECC&lt;span class=&quot;error&quot;&gt;&amp;#91;27856&amp;#93;&lt;/span&gt; 17:40:16: got exception Error 15 - write to host failed (10.122.1.92) &lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;4220/4643 ( 90%) 1665.042s&amp;#93;&lt;/span&gt; Compiling build/debug/third_party/mozjs/platform/x86_64/linux/build/Unified_cpp_js_src14.o&lt;br/&gt;
In file included from src/third_party/mozjs/platform/x86_64/linux/build/Unified_cpp_js_src14.cpp:29:&lt;br/&gt;
src/third_party/mozjs/extract/js/src/vm/BytecodeUtil.cpp:13: warning: &quot;__STDC_FORMAT_MACROS&quot; redefined&lt;br/&gt;
 #define __STDC_FORMAT_MACROS&lt;/p&gt;

&lt;p&gt;&amp;lt;command-line&amp;gt;: note: this is the location of the previous definition&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;4643/4643 (100%) 1802.534s&amp;#93;&lt;/span&gt; Install build/debug/install/bin/mongod&lt;/p&gt;

&lt;p&gt;I fixed it by reverting this commit &lt;a href=&quot;https://github.com/mongodb/mongo/commit/86da2a644b2a7bcb2ad6c0ea463e7ddc8ca6c6ac&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/86da2a644b2a7bcb2ad6c0ea463e7ddc8ca6c6ac&lt;/a&gt; and then rebuilding.&lt;/p&gt;</description>
                <environment></environment>
        <key id="2006746">SERVER-64803</key>
            <summary>Format Macros bug when building the server w/ static linking</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="13201">Fixed</resolution>
                                        <assignee username="ryan.egesdahl@mongodb.com">Ryan Egesdahl</assignee>
                                    <reporter username="maddie.zechar@mongodb.com">Maddie Zechar</reporter>
                        <labels>
                    </labels>
                <created>Tue, 22 Mar 2022 20:17:12 +0000</created>
                <updated>Sun, 29 Oct 2023 21:40:43 +0000</updated>
                            <resolved>Thu, 21 Apr 2022 03:41:48 +0000</resolved>
                                                    <fixVersion>6.0.0-rc3</fixVersion>
                    <fixVersion>6.1.0-rc0</fixVersion>
                                                        <votes>0</votes>
                                    <watches>6</watches>
                                                                                                                <comments>
                            <comment id="4511008" author="xgen-internal-githook" created="Wed, 27 Apr 2022 19:44:10 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Ryan Egesdahl&apos;, &apos;email&apos;: &apos;ryan.egesdahl@mongodb.com&apos;, &apos;username&apos;: &apos;deriamis&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-64803&quot; title=&quot;Format Macros bug when building the server w/ static linking&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-64803&quot;&gt;&lt;del&gt;SERVER-64803&lt;/del&gt;&lt;/a&gt; Check for C99 libc headers during build&lt;/p&gt;

&lt;p&gt;(cherry picked from commit 8e9d52279220f790eb1aac6e64679b8cf11501a2)&lt;br/&gt;
Branch: v6.0&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/f4feff2da95f845a573e40ca71fb36f8a80ee6d8&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/f4feff2da95f845a573e40ca71fb36f8a80ee6d8&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="4496162" author="ryan.egesdahl" created="Thu, 21 Apr 2022 03:49:02 +0000"  >&lt;p&gt;For the sake of later archaeologists, this problem was caused by an upgrade to MozJS to support MacOS ARM and only happened on RHEL 6 due to an old &lt;tt&gt;glibc&lt;/tt&gt; version. Its occurrence was limited to our &lt;tt&gt;performance&lt;/tt&gt; build hosts, which are currently running RHEL 6, though we are as of this writing in the process of determining how best to update them. We never backported the MozJS upgrade to any branch that still supports RHEL 6.0, so this would never have occurred on a supported release build.&lt;/p&gt;</comment>
                            <comment id="4495827" author="xgen-internal-githook" created="Wed, 20 Apr 2022 22:10:59 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Ryan Egesdahl&apos;, &apos;email&apos;: &apos;ryan.egesdahl@mongodb.com&apos;, &apos;username&apos;: &apos;deriamis&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-64803&quot; title=&quot;Format Macros bug when building the server w/ static linking&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-64803&quot;&gt;&lt;del&gt;SERVER-64803&lt;/del&gt;&lt;/a&gt; Check for C99 libc headers during build&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/8e9d52279220f790eb1aac6e64679b8cf11501a2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/8e9d52279220f790eb1aac6e64679b8cf11501a2&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10420">
                    <name>Backports</name>
                                            <outwardlinks description="backported by">
                                                        </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>3.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18555" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname># of Sprints</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2.0</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_12450" key="com.atlassian.jira.plugin.system.customfieldtypes:multicheckboxes">
                        <customfieldname>Backport Requested</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="23470"><![CDATA[v6.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, 15 Apr 2022 19:54:48 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        1 year, 41 weeks 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_17050" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Downstream Team Attention</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="16941"><![CDATA[Not Needed]]></customfieldvalue>

                        </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>
                            1 year, 41 weeks 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>xgen-internal-githook</customfieldvalue>
            <customfieldvalue>maddie.zechar@mongodb.com</customfieldvalue>
            <customfieldvalue>ryan.egesdahl@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|i0o50f:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|i0atof:</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_22250" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Special Downgrade Instructions Required</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="23343"><![CDATA[Not Needed]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10557" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="5984">Dev Platform 2022-04-18</customfieldvalue>
    <customfieldvalue id="6068">Dev Platform 2022-05-02</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|i0nr5r:</customfieldvalue>

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