<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 05:28:46 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-52705] Rebuilding mongodb according to building.md failed because python3 is an alias/link (led to ModuleNotFoundError)</title>
                <link>https://jira.mongodb.org/browse/SERVER-52705</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;&lt;font color=&quot;#172b4d&quot;&gt;I tried to rebuild mongodb according to building.md(github repo) and I got the following error when executing the scons scrtip(sudo python3 buildscripts/scons.py install-mongod):&lt;/font&gt;&lt;/p&gt;

&lt;p&gt;&lt;font color=&quot;#FF0000&quot;&gt;&#160;Generating build/opt/mongo/db/repl/rollback_gen.cpp&lt;/font&gt;&lt;br/&gt;
&lt;font color=&quot;#FF0000&quot;&gt;/usr/bin/python3 src/mongo/base/generate_error_codes.py src/mongo/base/error_codes.yml src/mongo/base/error_codes.tpl.h build/opt/mongo/base/error_codes.h&lt;/font&gt;&lt;br/&gt;
&lt;font color=&quot;#FF0000&quot;&gt;Traceback (most recent call last):&lt;/font&gt;&lt;br/&gt;
&lt;font color=&quot;#FF0000&quot;&gt; File &quot;src/mongo/base/generate_error_codes.py&quot;, line 31, in &amp;lt;module&amp;gt;&lt;/font&gt;&lt;br/&gt;
&lt;font color=&quot;#FF0000&quot;&gt; from Cheetah.Template import Template&lt;/font&gt;&lt;br/&gt;
&lt;font color=&quot;#FF0000&quot;&gt;ModuleNotFoundError: No module named &apos;Cheetah&apos;&lt;/font&gt;&lt;br/&gt;
&lt;font color=&quot;#FF0000&quot;&gt;Generating build/opt/mongo/db/repl/member_config_gen.cpp&lt;/font&gt;&lt;br/&gt;
&lt;font color=&quot;#FF0000&quot;&gt;Compiling build/opt/third_party/boost-1.70.0/libs/log/src/attribute_name.o&lt;/font&gt;&lt;br/&gt;
&lt;font color=&quot;#FF0000&quot;&gt;Compiling build/opt/third_party/icu4c-57.1/source/i18n/strrepl.o&lt;/font&gt;&lt;br/&gt;
&lt;font color=&quot;#FF0000&quot;&gt;Compiling build/opt/third_party/mozjs-60/extract/modules/fdlibm/s_rintf.o&lt;/font&gt;&lt;br/&gt;
&lt;font color=&quot;#FF0000&quot;&gt;Generating build/opt/mongo/db/ops/delete_request_gen.cpp&lt;/font&gt;&lt;br/&gt;
&lt;font color=&quot;#FF0000&quot;&gt;Compiling build/opt/third_party/mozjs-60/extract/modules/fdlibm/s_fabs.o&lt;/font&gt;&lt;br/&gt;
&lt;font color=&quot;#FF0000&quot;&gt;scons: *** &lt;span class=&quot;error&quot;&gt;&amp;#91;build/opt/mongo/base/error_codes.h&amp;#93;&lt;/span&gt; Error 1&lt;/font&gt;&lt;br/&gt;
&lt;font color=&quot;#FF0000&quot;&gt;scons: building terminated because of errors.&lt;/font&gt;&lt;br/&gt;
&lt;font color=&quot;#FF0000&quot;&gt;build/opt/mongo/base/error_codes.h failed: Error 1&lt;/font&gt;&lt;/p&gt;

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

&lt;p&gt;&lt;font color=&quot;#172b4d&quot;&gt;Note:&lt;/font&gt;&lt;/p&gt;

&lt;p&gt;&lt;font color=&quot;#172b4d&quot;&gt;I have Cheetah installed in&#160;/home/ubuntu/.local/lib/python3.8/site-packages/Cheetah and it is in PYTHONPATH. The potential problem might be that the subprocess has no idea of the original ENV variable but I don&apos;t know how to fix it. Specifically, I don&apos;t know which file invoked this subprocess.&lt;/font&gt;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</description>
                <environment>Amazon EC2 instance with ubuntu &lt;br/&gt;
gcc9.3.0&lt;br/&gt;
python3.8.5</environment>
        <key id="1537134">SERVER-52705</key>
            <summary>Rebuilding mongodb according to building.md failed because python3 is an alias/link (led to ModuleNotFoundError)</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</type>
                                            <priority id="5" iconUrl="https://jira.mongodb.org/images/icons/priorities/trivial.svg">Trivial - P5</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="daniel.moody@mongodb.com">Daniel Moody</assignee>
                                    <reporter username="jp2475@cornell.edu">Jialing Pei</reporter>
                        <labels>
                            <label>Bug</label>
                    </labels>
                <created>Mon, 9 Nov 2020 16:12:47 +0000</created>
                <updated>Sun, 29 Oct 2023 22:00:42 +0000</updated>
                            <resolved>Thu, 14 Jan 2021 21:59:07 +0000</resolved>
                                    <version>4.2.9</version>
                                    <fixVersion>4.2.13</fixVersion>
                                    <component>Build</component>
                                        <votes>0</votes>
                                    <watches>5</watches>
                                                                                                                <comments>
                            <comment id="3566098" author="xgen-internal-githook" created="Thu, 14 Jan 2021 21:53:12 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Daniel Moody&apos;, &apos;email&apos;: &apos;daniel.moody@mongodb.com&apos;, &apos;username&apos;: &apos;dmoody256&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-52705&quot; title=&quot;Rebuilding mongodb according to building.md failed because python3 is an alias/link (led to ModuleNotFoundError)&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-52705&quot;&gt;&lt;del&gt;SERVER-52705&lt;/del&gt;&lt;/a&gt; added better documentation around installing with pip.&lt;br/&gt;
Branch: v4.2&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/eb9e17ff6442f3e62b6fca0a9edc3371bbf7b0c3&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/eb9e17ff6442f3e62b6fca0a9edc3371bbf7b0c3&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="3482321" author="JIRAUSER1257572" created="Mon, 9 Nov 2020 19:43:17 +0000"  >&lt;p&gt;Thanks for replying so fast!&lt;/p&gt;

&lt;p&gt;It seems that it is the case that python3 is not pointing to 3.8. It now works. Thanks!&lt;/p&gt;</comment>
                            <comment id="3481847" author="JIRAUSER1253549" created="Mon, 9 Nov 2020 16:51:20 +0000"  >&lt;p&gt;Is it possible python3 is an alias or link to a different version of python than python3.8?&lt;/p&gt;

&lt;p&gt;If you install cheetah through pip from that version of python like:&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;sudo python3 -m pip install -U -r etc/pip/compile-requirements.txt&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;We upgraded the docs to suggest the use of -m pip instead of pip3 because pip3 may be pointing to a different version of python in this commit:&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/642a530878d2b7f929bedf9d93cf0ee23d05ccfa&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/642a530878d2b7f929bedf9d93cf0ee23d05ccfa&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;So it may need to be further backported to make things more clear on older branches.&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>3.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_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>Mon, 9 Nov 2020 16:51:20 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        3 years, 3 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>
                            3 years, 3 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>daniel.moody@mongodb.com</customfieldvalue>
            <customfieldvalue>xgen-internal-githook</customfieldvalue>
            <customfieldvalue>jp2475@cornell.edu</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hygjq7:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hy8urj:</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="4514">Dev Platform 2021-01-25</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;After installing all prerequisites indicated by the doc, executing the following scons script:&lt;/p&gt;

&lt;p&gt;sudo python3 buildscripts/scons.py install-mongod&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>
                                    <customfieldvalue><![CDATA[eric.sedor@mongodb.com]]></customfieldvalue>
    

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_14350" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>serverRank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hyg5zj:</customfieldvalue>

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