<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 06:12:00 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-68887] Can not build on the Ubuntu 22.04 LTS</title>
                <link>https://jira.mongodb.org/browse/SERVER-68887</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;according to &lt;a href=&quot;https://github.com/mongodb/mongo/blob/master/docs/building.md&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/blob/master/docs/building.md&lt;/a&gt;&lt;/p&gt;

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

&lt;p&gt;the error report is:&lt;/p&gt;

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

&lt;p&gt;&lt;tt&gt;```bash&lt;/tt&gt;&lt;/p&gt;

&lt;p&gt;&lt;tt&gt;Compiling build/59f4f0dd/mongo/db/exec/sbe/values/value_printer.o&lt;/tt&gt;&lt;br/&gt;
&lt;tt&gt;In file included from build/59f4f0dd/mongo/base/error_codes.h:36,&lt;/tt&gt;&lt;br/&gt;
&lt;tt&gt;&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;from src/mongo/base/data_type.h:37,&lt;/tt&gt;&lt;br/&gt;
&lt;tt&gt;&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;from src/mongo/base/data_type_endian.h:35,&lt;/tt&gt;&lt;br/&gt;
&lt;tt&gt;&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;from src/mongo/db/exec/sbe/values/value.h:43,&lt;/tt&gt;&lt;br/&gt;
&lt;tt&gt;&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;from src/mongo/db/exec/sbe/values/value.cpp:32:&lt;/tt&gt;&lt;br/&gt;
&lt;tt&gt;In constructor &apos;mongo::StringData::StringData(const char*)&apos;,&lt;/tt&gt;&lt;br/&gt;
&lt;tt&gt;&#160; &#160; inlined from &apos;mongo::sbe::value::BsonRegex::BsonRegex(const char*)&apos; at src/mongo/db/exec/sbe/values/value.h:1230:15,&lt;/tt&gt;&lt;br/&gt;
&lt;tt&gt;&#160; &#160; inlined from &apos;mongo::sbe::value::BsonRegex mongo::sbe::value::getBsonRegexView(mongo::sbe::value::Value)&apos; at src/mongo/db/exec/sbe/values/value.h:1243:44,&lt;/tt&gt;&lt;br/&gt;
&lt;tt&gt;&#160; &#160; inlined from &apos;std::pair&amp;lt;mongo::sbe::value::TypeTags, long unsigned int&amp;gt; mongo::sbe::value::compareValue(mongo::sbe::value::TypeTags, mongo::sbe::value::Value, mongo::sbe::value::TypeTags, mongo::sbe::value::Value, const mongo::StringData::ComparatorInterface*)&apos; at src/mongo/db/exec/sbe/values/value.cpp:728:41:&lt;/tt&gt;&lt;br/&gt;
&lt;tt&gt;src/mongo/base/string_data.h:82:68: error: &apos;size_t strlen(const char*)&apos; reading 1 or more bytes from a region of size 0 &lt;span class=&quot;error&quot;&gt;&amp;#91;-Werror=stringop-overread&amp;#93;&lt;/span&gt;&lt;/tt&gt;&lt;br/&gt;
&lt;tt&gt;&#160; &#160;82 | ingData(const char* str) : StringData(str, str ? std::strlen(str) : 0) {&lt;/tt&gt;}&lt;br/&gt;
&lt;tt&gt;&#160; &#160; &#160; | &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;~~~~~~~~~~&lt;sub&gt;^&lt;/sub&gt;~~~&lt;/tt&gt;&lt;/p&gt;

&lt;p&gt;&lt;tt&gt;In constructor &apos;mongo::StringData::StringData(const char*)&apos;,&lt;/tt&gt;&lt;br/&gt;
&lt;tt&gt;&#160; &#160; inlined from &apos;mongo::sbe::value::BsonRegex::BsonRegex(const char*)&apos; at src/mongo/db/exec/sbe/values/value.h:1230:15,&lt;/tt&gt;&lt;br/&gt;
&lt;tt&gt;&#160; &#160; inlined from &apos;mongo::sbe::value::BsonRegex mongo::sbe::value::getBsonRegexView(mongo::sbe::value::Value)&apos; at src/mongo/db/exec/sbe/values/value.h:1243:44,&lt;/tt&gt;&lt;br/&gt;
&lt;tt&gt;&#160; &#160; inlined from &apos;std::pair&amp;lt;mongo::sbe::value::TypeTags, long unsigned int&amp;gt; mongo::sbe::value::compareValue(mongo::sbe::value::TypeTags, mongo::sbe::value::Value, mongo::sbe::value::TypeTags, mongo::sbe::value::Value, const mongo::StringData::ComparatorInterface*)&apos; at src/mongo/db/exec/sbe/values/value.cpp:727:41:&lt;/tt&gt;&lt;br/&gt;
&lt;tt&gt;src/mongo/base/string_data.h:82:68: error: &apos;size_t strlen(const char*)&apos; reading 1 or more bytes from a region of size 0 &lt;span class=&quot;error&quot;&gt;&amp;#91;-Werror=stringop-overread&amp;#93;&lt;/span&gt;&lt;/tt&gt;&lt;br/&gt;
&lt;tt&gt;&#160; &#160;82 | ingData(const char* str) : StringData(str, str ? std::strlen(str) : 0) {&lt;/tt&gt;}&lt;br/&gt;
&lt;tt&gt;&#160; &#160; &#160; | &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;~~~~~~~~~~&lt;sub&gt;^&lt;/sub&gt;~~~&lt;/tt&gt;&lt;/p&gt;

&lt;p&gt;&lt;tt&gt;In constructor &apos;mongo::StringData::StringData(const char*)&apos;,&lt;/tt&gt;&lt;br/&gt;
&lt;tt&gt;&#160; &#160; inlined from &apos;mongo::sbe::value::BsonRegex::BsonRegex(const char*)&apos; at src/mongo/db/exec/sbe/values/value.h:1230:15,&lt;/tt&gt;&lt;br/&gt;
&lt;tt&gt;&#160; &#160; inlined from &apos;mongo::sbe::value::BsonRegex mongo::sbe::value::getBsonRegexView(mongo::sbe::value::Value)&apos; at src/mongo/db/exec/sbe/values/value.h:1243:44,&lt;/tt&gt;&lt;br/&gt;
&lt;tt&gt;&#160; &#160; inlined from &apos;std::pair&amp;lt;mongo::sbe::value::TypeTags, long unsigned int&amp;gt; mongo::sbe::value::compareValue(mongo::sbe::value::TypeTags, mongo::sbe::value::Value, mongo::sbe::value::TypeTags, mongo::sbe::value::Value, const mongo::StringData::ComparatorInterface*)&apos; at src/mongo/db/exec/sbe/values/value.cpp:728:41:&lt;/tt&gt;&lt;br/&gt;
&lt;tt&gt;src/mongo/base/string_data.h:82:68: error: &apos;size_t strlen(const char*)&apos; reading 1 or more bytes from a region of size 0 &lt;span class=&quot;error&quot;&gt;&amp;#91;-Werror=stringop-overread&amp;#93;&lt;/span&gt;&lt;/tt&gt;&lt;br/&gt;
&lt;tt&gt;&#160; &#160;82 | ingData(const char* str) : StringData(str, str ? std::strlen(str) : 0) {&lt;/tt&gt;}&lt;br/&gt;
&lt;tt&gt;&#160; &#160; &#160; | &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;~~~~~~~~~~&lt;sub&gt;^&lt;/sub&gt;~~~&lt;/tt&gt;&lt;/p&gt;

&lt;p&gt;&lt;tt&gt;cc1plus: all warnings being treated as errors&lt;/tt&gt;&lt;br/&gt;
&lt;tt&gt;scons: *** &lt;span class=&quot;error&quot;&gt;&amp;#91;build/59f4f0dd/mongo/db/exec/sbe/values/value.o&amp;#93;&lt;/span&gt; Error 1&lt;/tt&gt;&lt;br/&gt;
&lt;tt&gt;scons: building terminated because of errors.&lt;/tt&gt;&lt;br/&gt;
&lt;tt&gt;build/59f4f0dd/mongo/db/exec/sbe/values/value.o failed: Error 1&lt;/tt&gt;&lt;/p&gt;

&lt;p&gt;&lt;tt&gt;```&lt;/tt&gt;&lt;br/&gt;
&#160;&lt;/p&gt;</description>
                <environment></environment>
        <key id="2115763">SERVER-68887</key>
            <summary>Can not build on the Ubuntu 22.04 LTS</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="juan.gu@mongodb.com">Juan Gu</assignee>
                                    <reporter username="diracsvip@gmail.com">Kane You</reporter>
                        <labels>
                            <label>compiler-warnings</label>
                    </labels>
                <created>Wed, 17 Aug 2022 06:04:50 +0000</created>
                <updated>Sun, 29 Oct 2023 21:34:25 +0000</updated>
                            <resolved>Thu, 8 Sep 2022 20:12:54 +0000</resolved>
                                    <version>6.0.1</version>
                                    <fixVersion>6.2.0-rc0</fixVersion>
                                                        <votes>0</votes>
                                    <watches>5</watches>
                                                                                                                <comments>
                            <comment id="4812816" author="xgen-internal-githook" created="Thu, 8 Sep 2022 19:45:33 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Ubuntu&apos;, &apos;email&apos;: &apos;ubuntu@ip-10-0-4-192.ec2.internal&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-68887&quot; title=&quot;Can not build on the Ubuntu 22.04 LTS&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-68887&quot;&gt;&lt;del&gt;SERVER-68887&lt;/del&gt;&lt;/a&gt; stringop-overread issue Can not build on the Ubuntu 22.04 LTS&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/219990f17695b0ea4695f827a42a18e012b1e9cf&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/219990f17695b0ea4695f827a42a18e012b1e9cf&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="4760893" author="JIRAUSER1265262" created="Thu, 18 Aug 2022 15:59:05 +0000"  >&lt;p&gt;For C++ compilers that are newer than the supported version, the compiler may issue new warnings that cause MongoDB to fail to build since the build system treats compiler warnings as errors.&lt;/p&gt;

&lt;p&gt;If you try this, it may build:&lt;/p&gt;

&lt;p&gt;&#160;&lt;b&gt;python3 buildscripts/scons.py install-mongod --disable-warnings-as-errors&lt;/b&gt;&lt;/p&gt;

&lt;p&gt;I&apos;ll pass this issue along to the relevant team to take a look at these warnings though. Thanks for your report!&lt;/p&gt;

&lt;p&gt;Christopher&lt;/p&gt;</comment>
                            <comment id="4759661" author="JIRAUSER1270783" created="Thu, 18 Aug 2022 08:56:34 +0000"  >&lt;p&gt;&lt;span class=&quot;nobr&quot;&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/attachment/396180/396180_config.log&quot; title=&quot;config.log attached to SERVER-68887&quot;&gt;config.log&lt;sup&gt;&lt;img class=&quot;rendericon&quot; src=&quot;https://jira.mongodb.org/images/icons/link_attachment_7.gif&quot; height=&quot;7&quot; width=&quot;7&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/sup&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;</comment>
                            <comment id="4756523" author="JIRAUSER1270783" created="Wed, 17 Aug 2022 07:59:25 +0000"  >&lt;p&gt;gcc and g++ version is 11.2-1&#160;&lt;/p&gt;

&lt;p&gt;from the ubuntu official repo&lt;/p&gt;</comment>
                            <comment id="4756477" author="ryan.egesdahl" created="Wed, 17 Aug 2022 07:16:39 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=diracsvip%40gmail.com&quot; class=&quot;user-hover&quot; rel=&quot;diracsvip@gmail.com&quot;&gt;diracsvip@gmail.com&lt;/a&gt; Which compiler are you using and which version of it? Also, would you please attach the &lt;tt&gt;build/scons/config.log&lt;/tt&gt; from the build to this ticket? (It should be located inside the source directory where you ran those commands.)&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="396180" name="config.log" size="119525" author="diracsvip@gmail.com" created="Wed, 17 Aug 2022 07:58:19 +0000"/>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</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>Wed, 17 Aug 2022 07:16:39 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        1 year, 21 weeks, 6 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_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, 21 weeks, 6 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>chris.kelly@mongodb.com</customfieldvalue>
            <customfieldvalue>xgen-internal-githook</customfieldvalue>
            <customfieldvalue>juan.gu@mongodb.com</customfieldvalue>
            <customfieldvalue>diracsvip@gmail.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|i16nlr:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|i0pfbc:</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_10750" key="com.atlassian.jira.plugin.system.customfieldtypes:textarea">
                        <customfieldname>Steps To Reproduce</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>&lt;p&gt;&lt;tt&gt;sudo apt install build-essential&lt;/tt&gt;&lt;br/&gt;
&lt;tt&gt;sudo apt install libcurl4-openssl-dev&lt;/tt&gt;&lt;br/&gt;
&lt;tt&gt;sudo apt install liblzma-dev&lt;/tt&gt;&lt;br/&gt;
&lt;tt&gt;sudo apt install libssl-dev&lt;/tt&gt;&lt;br/&gt;
&lt;tt&gt;python3 -m pip install -r etc/pip/compile-requirements.txt&lt;/tt&gt;&lt;br/&gt;
&lt;tt&gt;python3 buildscripts/scons.py install-mongod&lt;/tt&gt;&lt;br/&gt;
&#160;&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|i169r3:</customfieldvalue>

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