<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:58:26 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-21791] Failure to compile mongod server and mongo shell from 3.2 sources</title>
                <link>https://jira.mongodb.org/browse/SERVER-21791</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;$ sudo scons mongod mongo --disable-warnings-as-errors&lt;/p&gt;

&lt;p&gt;scons: Reading SConscript files ...&lt;br/&gt;
. . .&lt;br/&gt;
IndexError: list index out of range:&lt;br/&gt;
  File &quot;/opt/local/mongodb/mongo-r3.2.0/SConstruct&quot;, line 2518:&lt;br/&gt;
    env.SConscript(&apos;src/SConscript&apos;, variant_dir=&apos;$BUILD_DIR&apos;, duplicate=False)&lt;br/&gt;
  File &quot;/usr/lib/scons/SCons/Script/SConscript.py&quot;, line 551:&lt;br/&gt;
    return _SConscript(self.fs, *files, **subst_kw)&lt;/p&gt;

&lt;p&gt;etc...&lt;/p&gt;</description>
                <environment></environment>
        <key id="242704">SERVER-21791</key>
            <summary>Failure to compile mongod server and mongo shell from 3.2 sources</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="ramon.fernandez@mongodb.com">Ramon Fernandez Marina</assignee>
                                    <reporter username="nodeleaf">Patrick Perroud</reporter>
                        <labels>
                    </labels>
                <created>Tue, 8 Dec 2015 08:16:04 +0000</created>
                <updated>Tue, 8 Dec 2015 15:14:16 +0000</updated>
                            <resolved>Tue, 8 Dec 2015 15:14:16 +0000</resolved>
                                    <version>3.2.0</version>
                                                    <component>Build</component>
                                        <votes>0</votes>
                                    <watches>5</watches>
                                                                                                                <comments>
                            <comment id="1108217" author="ramon.fernandez" created="Tue, 8 Dec 2015 15:14:07 +0000"  >&lt;p&gt;The sources tarball from our &lt;a href=&quot;https://www.mongodb.org/downloads/#production&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;downloads page&lt;/a&gt; contains a &lt;tt&gt;version.json&lt;/tt&gt;, so that should not be an issue. The only thing I can think of is a transient problem with cloning that prevented the tags from being downloaded...&lt;/p&gt;

&lt;p&gt;In any event, I&apos;m glad to hear that you&apos;re able to compile, so I&apos;m going to resolve this ticket.&lt;/p&gt;

&lt;p&gt;Cheers,&lt;br/&gt;
Ram&#243;n.&lt;/p&gt;</comment>
                            <comment id="1108158" author="nodeleaf" created="Tue, 8 Dec 2015 14:03:44 +0000"  >&lt;p&gt;I have cloned the repo and restarted compilation: the tests sequence was completed this time and it&apos;s now compiling (that will take some time . . .) &lt;br/&gt;
So it seems you were correct about a &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-21317&quot; title=&quot;Better fallback for builds with no version.json and no git repo&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-21317&quot;&gt;&lt;del&gt;SERVER-21317&lt;/del&gt;&lt;/a&gt; duplicate. Thank you to handle this case status as it best fits.&lt;/p&gt;</comment>
                            <comment id="1108153" author="nodeleaf" created="Tue, 8 Dec 2015 13:51:12 +0000"  >&lt;p&gt;I am not sure I did a `git clone` as it was late last night - and I still have a .tar.gz file on my desktop . . .&lt;/p&gt;

&lt;p&gt;So - I&apos;ll try again - cloning the repository for sure . . .&lt;/p&gt;
</comment>
                            <comment id="1108143" author="ramon.fernandez" created="Tue, 8 Dec 2015 13:41:25 +0000"  >&lt;p&gt;How did you &quot;download the sources&quot;? Did you clone the repository? What happens when you run &quot;git describe&quot;? Do you have a &lt;tt&gt;version.json&lt;/tt&gt; file?&lt;/p&gt;

&lt;p&gt;Without a git repository or a &lt;tt&gt;version.json&lt;/tt&gt; file this is a known issue, and &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-21317&quot; title=&quot;Better fallback for builds with no version.json and no git repo&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-21317&quot;&gt;&lt;del&gt;SERVER-21317&lt;/del&gt;&lt;/a&gt; is open to address it.&lt;/p&gt;
</comment>
                            <comment id="1108135" author="nodeleaf" created="Tue, 8 Dec 2015 13:32:03 +0000"  >&lt;p&gt;And there is the full console output:&lt;/p&gt;

&lt;p&gt;$ sudo scons mongod mongo --disable-warnings-as-errors&lt;br/&gt;
scons: Reading SConscript files ...&lt;br/&gt;
scons version: 2.3.6&lt;br/&gt;
python version: 2 7 10 &apos;final&apos; 0&lt;br/&gt;
Checking whether the C++ compiler works... yes&lt;br/&gt;
Checking whether the C compiler works... yes&lt;br/&gt;
Checking if C++ compiler &quot;g++&quot; is GCC... yes&lt;br/&gt;
Checking if C compiler &quot;gcc&quot; is GCC... yes&lt;br/&gt;
Detected a x86_64 processor&lt;br/&gt;
Checking if target OS linux is supported by the toolchain yes&lt;br/&gt;
Checking if C compiler is GCC 4.8.2 or newer...yes&lt;br/&gt;
Checking if C++ compiler is GCC 4.8.2 or newer...yes&lt;br/&gt;
Checking if C compiler supports -Wno-unused-local-typedefs... yes&lt;br/&gt;
Checking if C compiler supports -Wno-unused-function... yes&lt;br/&gt;
Checking if C compiler supports -Wno-unused-private-field... no&lt;br/&gt;
Checking if C compiler supports -Wno-deprecated-declarations... yes&lt;br/&gt;
Checking if C compiler supports -Wno-tautological-constant-out-of-range-compare... no&lt;br/&gt;
Checking if C compiler supports -Wno-unused-const-variable... no&lt;br/&gt;
Checking if C compiler supports -Wno-unused-but-set-variable... yes&lt;br/&gt;
Checking if C compiler supports -Wno-missing-braces... yes&lt;br/&gt;
Checking if C compiler supports -Wno-inconsistent-missing-override... no&lt;br/&gt;
Checking if C compiler supports -Wno-potentially-evaluated-expression... no&lt;br/&gt;
Checking if C++ compiler supports -Wpessimizing-move... no&lt;br/&gt;
Checking if C++ compiler supports -Wredundant-move... no&lt;br/&gt;
Checking if we are using libstdc++... yes&lt;br/&gt;
Checking if C++ compiler supports -std=c++11... yes&lt;br/&gt;
Checking if C compiler supports -std=c99... yes&lt;br/&gt;
Checking for C++11... yes&lt;br/&gt;
Checking for memset_s... no&lt;br/&gt;
Checking for C function strnlen()... yes&lt;br/&gt;
Checking for libstdc++ 4.8.2 or better... yes&lt;br/&gt;
Checking if we are on a POSIX system... yes&lt;br/&gt;
Checking if the POSIX monotonic clock is supported... yes&lt;br/&gt;
Checking off_t is 8 bytes... yes&lt;br/&gt;
Checking if linker supports -fuse-ld=gold... yes&lt;br/&gt;
Checking if C compiler supports -fno-builtin-memcmp... yes&lt;br/&gt;
Checking for storage class thread_local yes&lt;br/&gt;
Checking for storage class __thread yes&lt;br/&gt;
Checking for storage class __declspec(thread) no&lt;br/&gt;
Checking for C++11 is_trivially_copyable support... yes&lt;br/&gt;
Checking for C++14 std::make_unique support... no&lt;br/&gt;
Checking for C library rt... yes&lt;br/&gt;
Checking for C library dl... yes&lt;br/&gt;
Checking for C++ header file execinfo.h... yes&lt;br/&gt;
Checking whether backtrace is declared... yes&lt;br/&gt;
Checking whether backtrace_symbols is declared... yes&lt;br/&gt;
Checking whether backtrace_symbols_fd is declared... yes&lt;br/&gt;
Checking for C library pcap... no&lt;br/&gt;
Checking for C library wpcap... no&lt;br/&gt;
Checking if std::atomic&amp;lt;int64_t&amp;gt; works... yes&lt;br/&gt;
Checking if std::atomic&amp;lt;uint64_t&amp;gt; works... yes&lt;br/&gt;
Checking if std::atomic&amp;lt;int32_t&amp;gt; works... yes&lt;br/&gt;
Checking if std::atomic&amp;lt;uint32_t&amp;gt; works... yes&lt;br/&gt;
Checking if __malloc_hook is declared volatile... yes&lt;br/&gt;
Checking for C function fallocate()... yes&lt;br/&gt;
Checking for C function sync_file_range()... yes&lt;br/&gt;
Checking for C header file x86intrin.h... yes&lt;br/&gt;
IndexError: list index out of range:&lt;br/&gt;
  File &quot;/opt/local/mongodb/mongo-r3.2.0/SConstruct&quot;, line 2518:&lt;br/&gt;
    env.SConscript(&apos;src/SConscript&apos;, variant_dir=&apos;$BUILD_DIR&apos;, duplicate=False)&lt;br/&gt;
  File &quot;/usr/lib/scons/SCons/Script/SConscript.py&quot;, line 551:&lt;br/&gt;
    return _SConscript(self.fs, *files, **subst_kw)&lt;br/&gt;
  File &quot;/usr/lib/scons/SCons/Script/SConscript.py&quot;, line 260:&lt;br/&gt;
    exec &lt;em&gt;file&lt;/em&gt; in call_stack&lt;span class=&quot;error&quot;&gt;&amp;#91;-1&amp;#93;&lt;/span&gt;.globals&lt;br/&gt;
  File &quot;/opt/local/mongodb/mongo-r3.2.0/src/SConscript&quot;, line 14:&lt;br/&gt;
    ] + module_sconscripts&lt;br/&gt;
  File &quot;/usr/lib/scons/SCons/Script/SConscript.py&quot;, line 551:&lt;br/&gt;
    return _SConscript(self.fs, *files, **subst_kw)&lt;br/&gt;
  File &quot;/usr/lib/scons/SCons/Script/SConscript.py&quot;, line 260:&lt;br/&gt;
    exec &lt;em&gt;file&lt;/em&gt; in call_stack&lt;span class=&quot;error&quot;&gt;&amp;#91;-1&amp;#93;&lt;/span&gt;.globals&lt;br/&gt;
  File &quot;/opt/local/mongodb/mongo-r3.2.0/src/mongo/SConscript&quot;, line 40:&lt;br/&gt;
    &apos;util&apos;,&lt;br/&gt;
  File &quot;/usr/lib/scons/SCons/Script/SConscript.py&quot;, line 551:&lt;br/&gt;
    return _SConscript(self.fs, *files, **subst_kw)&lt;br/&gt;
  File &quot;/usr/lib/scons/SCons/Script/SConscript.py&quot;, line 260:&lt;br/&gt;
    exec &lt;em&gt;file&lt;/em&gt; in call_stack&lt;span class=&quot;error&quot;&gt;&amp;#91;-1&amp;#93;&lt;/span&gt;.globals&lt;br/&gt;
  File &quot;/opt/local/mongodb/mongo-r3.2.0/src/mongo/installer/SConscript&quot;, line 7:&lt;br/&gt;
    &apos;msi&apos;,&lt;br/&gt;
  File &quot;/usr/lib/scons/SCons/Script/SConscript.py&quot;, line 551:&lt;br/&gt;
    return _SConscript(self.fs, *files, **subst_kw)&lt;br/&gt;
  File &quot;/usr/lib/scons/SCons/Script/SConscript.py&quot;, line 260:&lt;br/&gt;
    exec &lt;em&gt;file&lt;/em&gt; in call_stack&lt;span class=&quot;error&quot;&gt;&amp;#91;-1&amp;#93;&lt;/span&gt;.globals&lt;br/&gt;
  File &quot;/opt/local/mongodb/mongo-r3.2.0/src/mongo/installer/msi/SConscript&quot;, line 89:&lt;br/&gt;
    major_version = &quot;%s.%s&quot; % (mv&lt;span class=&quot;error&quot;&gt;&amp;#91;0&amp;#93;&lt;/span&gt;, mv&lt;span class=&quot;error&quot;&gt;&amp;#91;1&amp;#93;&lt;/span&gt;)&lt;/p&gt;</comment>
                            <comment id="1108131" author="nodeleaf" created="Tue, 8 Dec 2015 13:29:39 +0000"  >&lt;p&gt;@Ramon Fernandez: I am using:&lt;/p&gt;

&lt;p&gt;$ clang --version&lt;br/&gt;
Ubuntu clang version 3.6.2-1 (tags/RELEASE_362/final) (based on LLVM 3.6.2)&lt;br/&gt;
Target: x86_64-pc-linux-gnu&lt;br/&gt;
Thread model: posix&lt;/p&gt;

&lt;p&gt;$ python --version&lt;br/&gt;
Python 2.7.10&lt;/p&gt;

&lt;p&gt;$ scons --version&lt;br/&gt;
SCons by Steven Knight et al.:&lt;br/&gt;
	script: v2.3.6.rel_2.3.5:3347:d31d5a4e74b6&lt;span class=&quot;error&quot;&gt;&amp;#91;MODIFIED&amp;#93;&lt;/span&gt;, 2015/07/31 14:36:10, by bdbaddog on hpmicrodog&lt;br/&gt;
	engine: v2.3.6.rel_2.3.5:3347:d31d5a4e74b6&lt;span class=&quot;error&quot;&gt;&amp;#91;MODIFIED&amp;#93;&lt;/span&gt;, 2015/07/31 14:36:10, by bdbaddog on hpmicrodog&lt;br/&gt;
	engine path: &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;#39;/usr/lib/scons/SCons&amp;#39;&amp;#93;&lt;/span&gt;&lt;br/&gt;
Copyright (c) 2001 - 2015 The SCons Foundation&lt;/p&gt;</comment>
                            <comment id="1108127" author="nodeleaf" created="Tue, 8 Dec 2015 13:20:42 +0000"  >&lt;p&gt;@Ramon Fernandez: which &quot;full compilation log&quot; is that? Assuming it was the one in build/scons/config.log, there it is attached. If it was some other log file then please let me know which one . . .&lt;/p&gt;</comment>
                            <comment id="1108059" author="ramon.fernandez" created="Tue, 8 Dec 2015 11:49:29 +0000"  >&lt;p&gt;I&apos;m not able to reproduce this error. Can you please upload the full compilation log?&lt;/p&gt;

&lt;p&gt;Thanks,&lt;br/&gt;
Ram&#243;n.&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="101224" name="config.log" size="43360" author="nodeleaf" created="Tue, 8 Dec 2015 13:20:42 +0000"/>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>8.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Tue, 8 Dec 2015 11:49:29 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        8 years, 10 weeks, 1 day ago
    
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18254" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Dependencies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[]]></customfieldvalue>


                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10057" key="com.atlassian.jira.toolkit:lastusercommented">
                        <customfieldname>Last comment by Customer</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>true</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10056" key="com.atlassian.jira.toolkit:lastupdaterorcommenter">
                        <customfieldname>Last commenter</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>ramon.fernandez@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            8 years, 10 weeks, 1 day ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                    <customfield id="customfield_10032" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Operating System</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10026"><![CDATA[ALL]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>nodeleaf</customfieldvalue>
            <customfieldvalue>ramon.fernandez@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrinpr:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hseujj:</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;Platform: Ubuntu 15.10 64bit&lt;br/&gt;
Steps:&lt;br/&gt;
1 - got latest sources from mongo github repository at &lt;a href=&quot;https://github.com/mongodb/mongo&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo&lt;/a&gt;&lt;br/&gt;
2 - compile sources following instructions from &lt;a href=&quot;https://docs.mongodb.org/manual/contributors/tutorial/build-mongodb-from-source/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://docs.mongodb.org/manual/contributors/tutorial/build-mongodb-from-source/&lt;/a&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|hricfb:</customfieldvalue>

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