<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:01:28 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-2887] SpiderMonkey 1.8.5 support</title>
                <link>https://jira.mongodb.org/browse/SERVER-2887</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;Here&apos;s a patch that adds SpiderMonkey 1.8.5 support for 1.8.0:&lt;br/&gt;
&lt;a href=&quot;http://svn.mandriva.com/cgi-bin/viewvc.cgi/packages/cooker/mongodb/current/SOURCES/mongodb-1.8.0-spidermonkey-1.8.5-support.patch?view=log&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://svn.mandriva.com/cgi-bin/viewvc.cgi/packages/cooker/mongodb/current/SOURCES/mongodb-1.8.0-spidermonkey-1.8.5-support.patch?view=log&lt;/a&gt;&lt;/p&gt;</description>
                <environment>Mandriva Linux</environment>
        <key id="15430">SERVER-2887</key>
            <summary>SpiderMonkey 1.8.5 support</summary>
                <type id="4" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14710&amp;avatarType=issuetype">Improvement</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="2">Won&apos;t Fix</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="proyvind">Per &#216;yvind Karlsen</reporter>
                        <labels>
                    </labels>
                <created>Fri, 1 Apr 2011 23:33:05 +0000</created>
                <updated>Wed, 29 Feb 2012 03:53:52 +0000</updated>
                            <resolved>Mon, 29 Aug 2011 16:02:04 +0000</resolved>
                                    <version>1.8.0</version>
                                                    <component>JavaScript</component>
                                        <votes>3</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="51215" author="eliot" created="Mon, 29 Aug 2011 16:02:04 +0000"  >&lt;p&gt;As of 2.0.0-rc0 the mongo sources include spidermonkey 1.7.0 which is the version we want to use for now.&lt;br/&gt;
This should mean no patches are needed for any system.&lt;/p&gt;

&lt;p&gt;In 2.2, we&apos;re likely moving to v8.&lt;/p&gt;</comment>
                            <comment id="45283" author="clalance" created="Fri, 29 Jul 2011 15:01:26 +0000"  >&lt;p&gt;We are carrying a similar patch in Fedora to get MongoDB 1.8.2 to build there.  It would be nice to get this fixed in the upstream sources.&lt;/p&gt;</comment>
                            <comment id="43907" author="td123" created="Thu, 21 Jul 2011 22:15:48 +0000"  >&lt;p&gt;another thing to point out:&lt;br/&gt;
&lt;a href=&quot;https://bugzilla.mozilla.org/show_bug.cgi?id=628723#c48&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://bugzilla.mozilla.org/show_bug.cgi?id=628723#c48&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;latest js supports unicode, but the new way to support them is through a function call before initializing the api, see above link for details on how to turn on unicode for js strings.&lt;/p&gt;</comment>
                            <comment id="41524" author="td123" created="Sun, 10 Jul 2011 18:37:53 +0000"  >&lt;p&gt;also another side note, mozjs185 doesn&apos;t support utf8 so when starting mongo, it will give off a warning that spidermonkey doesn&apos;t support utf8&lt;/p&gt;

&lt;p&gt;related BR for archlinux:&lt;br/&gt;
&lt;a href=&quot;https://bugs.archlinux.org/task/25066&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://bugs.archlinux.org/task/25066&lt;/a&gt;&lt;br/&gt;
FS#25066 - js lib compiled without UTF8 support&lt;/p&gt;</comment>
                            <comment id="40789" author="td123" created="Wed, 6 Jul 2011 03:00:56 +0000"  >&lt;p&gt;Another side note, the output of &quot;pkg-config --cflags --libs mozjs185&quot; is:&lt;br/&gt;
-I/usr/include/js -I/usr/include/nspr  -lmozjs185 -lplds4 -lplc4 -lnspr4 -lpthread -ldl&lt;/p&gt;</comment>
                            <comment id="40601" author="td123" created="Tue, 5 Jul 2011 14:43:57 +0000"  >&lt;p&gt;This is a more proper patch to include mozjs185 support.&lt;br/&gt;
&lt;a href=&quot;https://gist.github.com/1064953&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://gist.github.com/1064953&lt;/a&gt; just apply it after applying mandriva&apos;s&lt;/p&gt;</comment>
                            <comment id="40327" author="td123" created="Sat, 2 Jul 2011 17:30:44 +0000"  >&lt;p&gt;archlinux maintainer here,&lt;br/&gt;
It would be nice to have this get more priority.&lt;/p&gt;

&lt;p&gt;1.8.5 has been released more then a month ago, and we&apos;re currently looking into moving to (spidermonkey) js 1.8.5 soon&lt;/p&gt;

&lt;p&gt;edit: Applying the above patch still fails for me:&lt;br/&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 -fno-builtin-memcmp -O3 -D_SCONS -DMONGO_EXPOSE_MACROS -DXP_UNIX -DHAVE_COMPARTMENTS -DHAVE_JS_GET_STRING_CHARS_AND_LENGTH -DJS_NEW_REG_EXP_OBJECT_NO_STATISTICS -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:55,&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;/p&gt;

&lt;p&gt;The patch is incomplete.&lt;/p&gt;

&lt;p&gt;mandriva patches their mongodb sconstruct file to read CPPFLAGS from the environment and they add export CPPFLAGS=&quot;`pkg-config --cflags mozjs185`&quot; to the spec file.&lt;br/&gt;
This needs to get fixed in the upstream mongodb sconstruct file!&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>7.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Sat, 2 Jul 2011 17:30:44 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        12 years, 25 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, 25 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_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>clalance</customfieldvalue>
            <customfieldvalue>eliot</customfieldvalue>
            <customfieldvalue>proyvind</customfieldvalue>
            <customfieldvalue>td123</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrp22n:</customfieldvalue>

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

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

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