<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 06:09:43 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-68043] Unable to build on ppc64le</title>
                <link>https://jira.mongodb.org/browse/SERVER-68043</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;As per mentioned on &lt;a href=&quot;https://github.com/mongodb/mongo/blob/v5.3/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/v5.3/docs/building.md&lt;/a&gt;&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;MongoDB supports the following architectures: arm64, ppc64le, s390x, and x86-64. More detailed platform instructions can be found below.&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;I tried to build it but keep getting errors like:&lt;/p&gt;

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

&lt;p&gt;{{{}&lt;b&gt;g++:&lt;/b&gt; &lt;b&gt;fatal error:&lt;/b&gt; Killed signal terminated program cc1plus&lt;br/&gt;
{}}}&lt;tt&gt;compilation terminated.&lt;/tt&gt;&lt;/p&gt;

&lt;p&gt;and&lt;/p&gt;

&lt;p&gt;&lt;tt&gt;build/opt/mongo/db/query/sbe_stage_builder_index_scan.o failed: Error 1&lt;/tt&gt;&lt;/p&gt;

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

&lt;p&gt;Error as per attached&lt;/p&gt;</description>
                <environment># uname -a&lt;br/&gt;
Linux p1313-pvm1 4.18.0-348.7.1.el8_5.ppc64le #1 SMP Wed Dec 8 21:26:34 EST 2021 ppc64le ppc64le ppc64le GNU/Linux&lt;br/&gt;
&lt;br/&gt;
# cat /etc/redhat-release &lt;br/&gt;
Red Hat Enterprise Linux release 8.6 (Ootpa)</environment>
        <key id="2090133">SERVER-68043</key>
            <summary>Unable to build on ppc64le</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="-1">Unassigned</assignee>
                                    <reporter username="aiman.shaharuddin@gmail.com">Aiman Shaharuddin</reporter>
                        <labels>
                            <label>RHEL</label>
                            <label>ppc64le</label>
                    </labels>
                <created>Thu, 14 Jul 2022 12:14:42 +0000</created>
                <updated>Wed, 20 Jul 2022 10:21:27 +0000</updated>
                            <resolved>Wed, 20 Jul 2022 09:25:10 +0000</resolved>
                                    <version>5.3.0</version>
                    <version>6.0.0-rc0</version>
                                                    <component>Build</component>
                                        <votes>0</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="4691427" author="xgen-internal-githook" created="Wed, 20 Jul 2022 10:16:47 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;kelly-cs&apos;, &apos;email&apos;: &apos;likai31197@gmail.com&apos;, &apos;username&apos;: &apos;kelly-cs&apos;}
&lt;p&gt;Message: Note (-j1) for building on memory-constrained systems&lt;/p&gt;

&lt;p&gt;Per &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-68043&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;https://jira.mongodb.org/browse/SERVER-68043&lt;/a&gt;, some users may have issues building from source on memory-constrained systems. This may manifest as an error:&lt;br/&gt;
g++: fatal error: Killed signal terminated program cc1plus.&lt;br/&gt;
Branch: j1-note-for-building&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/1aca85d73a4b64e0d49780198df87cdc81b9479b&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/1aca85d73a4b64e0d49780198df87cdc81b9479b&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="4680818" author="JIRAUSER1270219" created="Thu, 14 Jul 2022 23:10:45 +0000"  >&lt;p&gt;it works! I&apos;ll try with -j2 &amp;amp; -j3 later (and maybe more) Hopefully this is documented instead, at least in the FAQ section.&lt;/p&gt;

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

&lt;p&gt;I&apos;m not sure how to close this as resolve.&lt;/p&gt;</comment>
                            <comment id="4679532" author="JIRAUSER1253549" created="Thu, 14 Jul 2022 15:26:53 +0000"  >&lt;p&gt;you may be able to use -j2 or even -j3 with 32 GB. A single job should not take more than 16 GB, but this changes frequently as the code base changes.&lt;/p&gt;</comment>
                            <comment id="4679493" author="JIRAUSER1270219" created="Thu, 14 Jul 2022 15:17:49 +0000"  >&lt;p&gt;&lt;tt&gt;# cat /proc/meminfo | grep MemTotal&lt;/tt&gt;&lt;br/&gt;
&lt;tt&gt;MemTotal: &#160; &#160; &#160; 32247552 kB&lt;/tt&gt;&lt;/p&gt;

&lt;p&gt;&lt;tt&gt;Let me try with -j1 option&lt;/tt&gt;&lt;/p&gt;</comment>
                            <comment id="4679259" author="JIRAUSER1253549" created="Thu, 14 Jul 2022 14:18:36 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=aiman.shaharuddin%40gmail.com&quot; class=&quot;user-hover&quot; rel=&quot;aiman.shaharuddin@gmail.com&quot;&gt;aiman.shaharuddin@gmail.com&lt;/a&gt; This message most likely means the system has run out of memory. Do you know the amount of memory available (use the command &quot;cat /proc/meminfo | grep MemTotal&quot;)? It will need to be at least 16 GB to build, but 32 GB is a more realistic requirement.&lt;/p&gt;

&lt;p&gt;Also, by default the build will use max cores for number of jobs to build with. Try building with -j1 to limit memory usage during the build.&lt;/p&gt;</comment>
                            <comment id="4678935" author="JIRAUSER1270219" created="Thu, 14 Jul 2022 12:18:58 +0000"  >&lt;p&gt;Not sure how to edit the &lt;b&gt;Steps To Reproduce&lt;/b&gt;. So I&apos;m posting it here instead:&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;
&lt;ol&gt;
	&lt;li&gt;&lt;tt&gt;dnf update -y&lt;/tt&gt;&lt;/li&gt;
	&lt;li&gt;&lt;tt&gt;dnf install -y git gcc gcc-c++ openssl openssl-devel bzip2 bzip2-devel libffi libffi-devel zlib zlib-devel xz xz-devel make autoconf automake curl curl-devel&lt;/tt&gt;&lt;/li&gt;
	&lt;li&gt;&lt;tt&gt;cd /usr/src&lt;/tt&gt;&lt;/li&gt;
	&lt;li&gt;&lt;tt&gt;wget &lt;a href=&quot;https://www.python.org/ftp/python/3.7.13/Python-3.7.13.tgz&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://www.python.org/ftp/python/3.7.13/Python-3.7.13.tgz&lt;/a&gt;&lt;/tt&gt;&lt;/li&gt;
	&lt;li&gt;&lt;tt&gt;tar xzf Python-3.7.13.tgz&lt;/tt&gt;&lt;/li&gt;
	&lt;li&gt;&lt;tt&gt;cd Python-3.7.13&lt;/tt&gt;&lt;/li&gt;
	&lt;li&gt;&lt;tt&gt;./configure --enable-optimizations&lt;/tt&gt;&lt;/li&gt;
	&lt;li&gt;&lt;tt&gt;make altinstall&lt;/tt&gt;&lt;/li&gt;
	&lt;li&gt;&lt;tt&gt;update-alternatives --install /usr/bin/python3 python3 /usr/local/bin/python3.7 1&lt;/tt&gt;&lt;/li&gt;
	&lt;li&gt;&lt;tt&gt;update-alternatives --set python3 /usr/local/bin/python3.7&lt;/tt&gt;&lt;/li&gt;
	&lt;li&gt;&lt;tt&gt;/usr/bin/python3 -m pip install --upgrade pip&lt;/tt&gt;&lt;/li&gt;
	&lt;li&gt;&lt;tt&gt;cd ..&lt;/tt&gt;&lt;/li&gt;
	&lt;li&gt;&lt;tt&gt;git clone &lt;a href=&quot;https://github.com/mongodb/mongo.git&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo.git&lt;/a&gt;&lt;/tt&gt;&lt;/li&gt;
	&lt;li&gt;&lt;tt&gt;cd mongo/&lt;/tt&gt;&lt;/li&gt;
	&lt;li&gt;&lt;tt&gt;git fetch origin&lt;/tt&gt;&lt;/li&gt;
	&lt;li&gt;&lt;tt&gt;git switch -c v5.3 origin/v5.3&lt;/tt&gt;&lt;/li&gt;
	&lt;li&gt;&lt;tt&gt;python3 -m pip install -r etc/pip/compile-requirements.txt&lt;/tt&gt;&lt;/li&gt;
	&lt;li&gt;&lt;tt&gt;python3 buildscripts/scons.py DESTDIR=/opt/mongo install-mongod --disable-warnings-as-errors&lt;/tt&gt;&lt;/li&gt;
&lt;/ol&gt;
</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="2095327">SERVER-68160</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="390137" name="build-2-error.txt" size="24837" author="aiman.shaharuddin@gmail.com" created="Thu, 14 Jul 2022 12:23:32 +0000"/>
                            <attachment id="390138" name="build-3-error.txt" size="20835" author="aiman.shaharuddin@gmail.com" created="Thu, 14 Jul 2022 12:27:42 +0000"/>
                            <attachment id="390135" name="build-error.txt" size="31897" author="aiman.shaharuddin@gmail.com" created="Thu, 14 Jul 2022 12:14:17 +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_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Thu, 14 Jul 2022 14:18:36 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        1 year, 29 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_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>chris.kelly@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            1 year, 29 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>aiman.shaharuddin@gmail.com</customfieldvalue>
            <customfieldvalue>daniel.moody@mongodb.com</customfieldvalue>
            <customfieldvalue>xgen-internal-githook</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|i12abb:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|i0l414:</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_10750" key="com.atlassian.jira.plugin.system.customfieldtypes:textarea">
                        <customfieldname>Steps To Reproduce</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>&lt;p&gt;&lt;tt&gt;dnf update -y&lt;/tt&gt;&lt;tt&gt;dnf install -y git gcc gcc-c++ openssl openssl-devel bzip2 bzip2-devel libffi libffi-devel zlib zlib-devel xz xz-devel make autoconf automake curl curl-devel&lt;/tt&gt;&lt;tt&gt;cd /usr/src&lt;/tt&gt;&lt;tt&gt;wget &lt;a href=&quot;https://www.python.org/ftp/python/3.7.13/Python-3.7.13.tgztar&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://www.python.org/ftp/python/3.7.13/Python-3.7.13.tgztar&lt;/a&gt; xzf Python-3.7.13.tgz&lt;/tt&gt;&lt;tt&gt;cd Python-3.7.13&lt;/tt&gt;&lt;tt&gt;./configure --enable-optimizations&lt;/tt&gt;&lt;tt&gt;make altinstall&lt;/tt&gt;&lt;tt&gt;update-alternatives --install /usr/bin/python3 python3 /usr/local/bin/python3.7 1&lt;/tt&gt;&lt;tt&gt;update-alternatives --set python3 /usr/local/bin/python3.7&lt;/tt&gt;&lt;tt&gt;python3 -m pip install --upgrade pip&lt;/tt&gt;&lt;tt&gt;cd ..&lt;/tt&gt;&lt;tt&gt;git clone &lt;a href=&quot;https://github.com/mongodb/mongo.gitcd&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo.gitcd&lt;/a&gt; mongo/git fetch origin&lt;/tt&gt;&lt;tt&gt;git switch -c v5.3 origin/v5.3&lt;/tt&gt;&lt;tt&gt;python3 -m pip install -r etc/pip/compile-requirements.txt&lt;/tt&gt;&lt;tt&gt;python3 buildscripts/scons.py DESTDIR=/opt/mongo install-mongod --disable-warnings-as-errors&lt;/tt&gt;&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|i11wgn:</customfieldvalue>

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