<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:02:57 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-3400] Cannot build mongodb from source on Fedora 15 (spidermonkey header problem)</title>
                <link>https://jira.mongodb.org/browse/SERVER-3400</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;I was able to build mongodb from source on Fedora 13 with &quot;scons all&quot;.  On Fedora 15 I got:&lt;/p&gt;

&lt;p&gt;scons: Reading SConscript files ...&lt;br/&gt;
scons version: 2.0.1&lt;br/&gt;
python version: 2 7 1 &apos;final&apos; 0&lt;br/&gt;
Checking whether the C++ compiler worksyes&lt;br/&gt;
Checking for C library stdc++... yes&lt;br/&gt;
Checking for C++ header file pcrecpp.h... yes&lt;br/&gt;
Checking for C++ header file boost/filesystem/operations.hpp... yes&lt;br/&gt;
Checking for C library boost_system-mt... yes&lt;br/&gt;
Checking for C library boost_thread-mt... yes&lt;br/&gt;
Checking for C library boost_filesystem-mt... yes&lt;br/&gt;
Checking for C library boost_program_options-mt... yes&lt;br/&gt;
Checking for C++ header file execinfo.h... yes&lt;br/&gt;
Checking for C library pcrecpp... yes&lt;br/&gt;
Checking for C library pcre... yes&lt;br/&gt;
Checking for C library pcap... yes&lt;br/&gt;
Checking for C library mozjs... yes&lt;br/&gt;
Checking for C header file mozjs/jsapi.h... no&lt;br/&gt;
Checking for C header file jsapi.h... no&lt;br/&gt;
no spider monkey headers!&lt;/p&gt;

&lt;p&gt;So I did&lt;/p&gt;

&lt;p&gt;cd /usr/include/&lt;br/&gt;
 ln -s js mozjs&lt;/p&gt;

&lt;p&gt;and got around that problem but compilation failed later with &lt;/p&gt;

&lt;p&gt;g++ -o scripting/engine_spidermonkey.o -c -Wnon-virtual-dtor -fPIC -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -Werror -fno-builtin-memcmp -O3 -D_SCONS -DMONGO_EXPOSE_MACROS -DXP_UNIX -I. scripting/engine_spidermonkey.cpp&lt;br/&gt;
In file included from /usr/include/js/jsobj.h:63:0,&lt;br/&gt;
                 from scripting/engine_spidermonkey.h:52,&lt;br/&gt;
                 from scripting/engine_spidermonkey.cpp:19:&lt;br/&gt;
/usr/include/js/jslock.h:47:21: fatal error: pratom.h: No such file or directory&lt;br/&gt;
compilation terminated.&lt;/p&gt;

&lt;p&gt;praton.h does exist:&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;root@jks-desktop /usr/include&amp;#93;&lt;/span&gt;&lt;/p&gt;
{f13}
&lt;p&gt;# find . -name  pratom.h&lt;br/&gt;
./nspr4/pratom.h&lt;/p&gt;

&lt;p&gt;I was able to get around these problems by symlinking a bunch of files from the nspr4 directory into the js directory, but in the end:&lt;/p&gt;


&lt;p&gt;/usr/include/js/jsvector.h:166:69: error: &apos;mongo::ourrealloc&apos; is not a member of &apos;js::Vector&amp;lt;int, 20ul, js::SystemAllocPolicy&amp;gt;&apos;&lt;br/&gt;
In file included from scripting/engine_spidermonkey.cpp:1650:0:&lt;br/&gt;
scripting/sm_db.cpp: In function &apos;bool mongo::isDate(JSContext*, JSObject*)&apos;:&lt;br/&gt;
scripting/sm_db.cpp:1158:5: error: control reaches end of non-void function &lt;span class=&quot;error&quot;&gt;&amp;#91;-Werror=return-type&amp;#93;&lt;/span&gt;&lt;br/&gt;
cc1plus: all warnings being treated as errors&lt;/p&gt;

&lt;p&gt;scons: *** &lt;span class=&quot;error&quot;&gt;&amp;#91;scripting/engine_spidermonkey.o&amp;#93;&lt;/span&gt; Error 1&lt;br/&gt;
scons: building terminated because of errors.&lt;/p&gt;


&lt;p&gt;In the end I built spidermonkey myself and was then able to build mongodb&lt;/p&gt;

</description>
                <environment>LSB Version:    :core-4.0-amd64:core-4.0-noarch&lt;br/&gt;
Distributor ID: Fedora&lt;br/&gt;
Description:    Fedora release 15 (Lovelock)&lt;br/&gt;
Release:        15&lt;br/&gt;
Codename:       Lovelock</environment>
        <key id="19316">SERVER-3400</key>
            <summary>Cannot build mongodb from source on Fedora 15 (spidermonkey header problem)</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</type>
                                            <priority id="4" iconUrl="https://jira.mongodb.org/images/icons/priorities/minor.svg">Minor - P4</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="3">Duplicate</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="jks">Joseph Shraibman</reporter>
                        <labels>
                    </labels>
                <created>Sat, 9 Jul 2011 00:11:55 +0000</created>
                <updated>Mon, 11 Jul 2011 19:57:14 +0000</updated>
                            <resolved>Mon, 11 Jul 2011 19:57:14 +0000</resolved>
                                    <version>1.8.2</version>
                                                    <component>Build</component>
                                        <votes>0</votes>
                                    <watches>0</watches>
                                                                                                                <comments>
                            <comment id="41685" author="eliot" created="Mon, 11 Jul 2011 19:57:14 +0000"  >&lt;p&gt;See &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-2887&quot; title=&quot;SpiderMonkey 1.8.5 support&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-2887&quot;&gt;&lt;del&gt;SERVER-2887&lt;/del&gt;&lt;/a&gt;&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>1.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Mon, 11 Jul 2011 19:57:14 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        12 years, 32 weeks, 2 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_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>ian@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            12 years, 32 weeks, 2 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10000" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Old_Backport</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10000"><![CDATA[No]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10032" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Operating System</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10020"><![CDATA[Linux]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>eliot</customfieldvalue>
            <customfieldvalue>jks</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrow1z:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hriryn:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>23183</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_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|hrkvtb:</customfieldvalue>

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