<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 02:56:04 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-1104] Build system makes wrong assumptions about spidermonkey</title>
                <link>https://jira.mongodb.org/browse/SERVER-1104</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;The following is a bug in the Debian bug tracking system, but it appears to be more upstream than just Debian?  I&apos;m putting it here so you don&apos;t need to monitor two bug tracking systems.  I&apos;ve read on the mongodb-user mailing list about some of the hardships of libjs on this distribution.   &lt;/p&gt;

&lt;p&gt;Original link:&lt;br/&gt;
&lt;a href=&quot;http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=572870&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=572870&lt;/a&gt;&lt;/p&gt;


&lt;p&gt;From: Mike Hommey &amp;lt;mh+reportbug@glandium.org&amp;gt;&lt;br/&gt;
To: Debian Bug Tracking System &amp;lt;submit@bugs.debian.org&amp;gt;&lt;br/&gt;
Subject: mongodb: Build system makes wrong assumptions about spidermonkey&lt;br/&gt;
Date: Sun, 07 Mar 2010 11:18:27 +0100&lt;br/&gt;
Package: mongodb&lt;br/&gt;
Severity: normal&lt;/p&gt;

&lt;p&gt;The build system make assumptions that are only valid on ubuntu systems,&lt;br/&gt;
and are most probably wrong anywhere else.&lt;/p&gt;

&lt;p&gt;For example, it assumes that if the headers are found in&lt;br/&gt;
/usr/include/mozjs, they are those of an old spidermonkey version.&lt;br/&gt;
This is plain wrong.&lt;/p&gt;

&lt;p&gt;The rpath to /usr/lib*/xulrunner-1.9.1 is also pointless on Debian&lt;br/&gt;
systems.&lt;/p&gt;

&lt;p&gt;Anyways, on Debian systems, you can build without xulrunner-dev, but&lt;br/&gt;
only libmozjs-dev, if you can get rid of these wrong assumptions.&lt;/p&gt;

&lt;p&gt;e.g. with the following gross hack, it builds fine with libmozjs-dev&lt;br/&gt;
instead of xulrunner-dev, and doesn&apos;t get a useless rpath:&lt;/p&gt;

&lt;p&gt;(IMHO, the proper fix would be to use the pkg-config information for&lt;br/&gt;
mozilla-js, falling back to using js-config (provided by upstream&lt;br/&gt;
standalone tracemonkey), and get the version information and proper&lt;br/&gt;
include directory from there)&lt;/p&gt;

&lt;p&gt;&amp;#8212; mongodb-1.2.2.orig/scripting/engine_spidermonkey.h&lt;br/&gt;
+++ mongodb-1.2.2/scripting/engine_spidermonkey.h&lt;br/&gt;
@@ -47,10 +47,10 @@&lt;/p&gt;

&lt;p&gt; #else&lt;/p&gt;

&lt;p&gt;-#include &quot;js/jsapi.h&quot;&lt;br/&gt;
-#include &quot;js/jsobj.h&quot;&lt;br/&gt;
-#include &quot;js/jsdate.h&quot;&lt;br/&gt;
-#include &quot;js/jsregexp.h&quot;&lt;br/&gt;
+#include &quot;mozjs/jsapi.h&quot;&lt;br/&gt;
+#include &quot;mozjs/jsobj.h&quot;&lt;br/&gt;
+#include &quot;mozjs/jsdate.h&quot;&lt;br/&gt;
+#include &quot;mozjs/jsregexp.h&quot;&lt;/p&gt;

&lt;p&gt; #endif&lt;/p&gt;

&lt;p&gt;@@ -76,9 +76,8 @@&lt;br/&gt;
 #define SM18&lt;br/&gt;
 #endif&lt;/p&gt;

&lt;p&gt;-#ifdef XULRUNNER&lt;br/&gt;
 #define SM181&lt;br/&gt;
-#endif&lt;br/&gt;
+#define XULRUNNER&lt;/p&gt;

&lt;p&gt; namespace mongo {&lt;/p&gt;




&lt;p&gt;&amp;#8211; System Information:&lt;br/&gt;
Debian Release: squeeze/sid&lt;br/&gt;
  APT prefers unstable&lt;br/&gt;
  APT policy: (500, &apos;unstable&apos;), (1, &apos;experimental&apos;)&lt;br/&gt;
Architecture: amd64 (x86_64)&lt;/p&gt;

&lt;p&gt;Kernel: Linux 2.6.31-1-amd64 (SMP w/2 CPU cores)&lt;br/&gt;
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)&lt;br/&gt;
Shell: /bin/sh linked to /bin/bash&lt;/p&gt;</description>
                <environment>Debian, Ubuntu</environment>
        <key id="11935">SERVER-1104</key>
            <summary>Build system makes wrong assumptions about spidermonkey</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="2">Won&apos;t Fix</resolution>
                                        <assignee username="eliot">Eliot Horowitz</assignee>
                                    <reporter username="evanwies">Evan Wies</reporter>
                        <labels>
                    </labels>
                <created>Sat, 8 May 2010 13:13:58 +0000</created>
                <updated>Sun, 16 Jan 2011 05:04:16 +0000</updated>
                            <resolved>Sun, 16 Jan 2011 05:04:16 +0000</resolved>
                                                                    <component>Build</component>
                                        <votes>0</votes>
                                    <watches>0</watches>
                                                                                                                <comments>
                            <comment id="22390" author="eliot" created="Sun, 16 Jan 2011 05:04:16 +0000"  >&lt;p&gt;going to start including more deps in source tree for simplicity&lt;/p&gt;</comment>
                            <comment id="14126" author="eliot" created="Sat, 8 May 2010 14:32:09 +0000"  >&lt;p&gt;I&apos;m fairly sure that libmozjs is broken in various ways (no utf8 support for example) so using that will produce packages that are going to be broken in surprising ways to people.&lt;/p&gt;

&lt;p&gt;we should verify before people start getting oddities.&lt;/p&gt;

&lt;p&gt;i&apos;m pretty sure the way we have it setup is correct - have spent a fair amount of time tweaking...&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>2.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Sat, 8 May 2010 14:32:09 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        13 years, 5 weeks, 3 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>
                            13 years, 5 weeks, 3 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>eliot</customfieldvalue>
            <customfieldvalue>evanwies</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrpml3:</customfieldvalue>

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

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

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