<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:22:10 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-10066] globals.h(127) Unexpected end-of-file found when building with MSVC2012</title>
                <link>https://jira.mongodb.org/browse/SERVER-10066</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;When trying to build MongoDB 2.4.4 with the MSVC 2012 compiler and using Boost 1.4.2, I get the following error:&lt;/p&gt;

&lt;p&gt;c:\mongodb-src-r2.4.4\src\third_party\v8\src\globals.h(127) : fatal error C1004: unexpected end-of-file found&lt;br/&gt;
scons: *** &lt;span class=&quot;error&quot;&gt;&amp;#91;build\win32\64\third_party\v8\src\x64\assembler-x64.obj&amp;#93;&lt;/span&gt; Error 2&lt;br/&gt;
scons: building terminated because of errors.&lt;/p&gt;</description>
                <environment>Windows 7 x64 with MSVC 2012 and Boost 1.4.2</environment>
        <key id="80869">SERVER-10066</key>
            <summary>globals.h(127) Unexpected end-of-file found when building with MSVC2012</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</type>
                                            <priority id="2" iconUrl="https://jira.mongodb.org/images/icons/priorities/critical.svg">Critical - P2</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="-1">Unassigned</assignee>
                                    <reporter username="raulgd">Raul Guerrero</reporter>
                        <labels>
                    </labels>
                <created>Mon, 1 Jul 2013 14:16:00 +0000</created>
                <updated>Mon, 11 Jul 2016 17:40:23 +0000</updated>
                            <resolved>Mon, 29 Jul 2013 06:06:07 +0000</resolved>
                                    <version>2.4.4</version>
                                                    <component>Build</component>
                                        <votes>0</votes>
                                    <watches>5</watches>
                                                                                                                <comments>
                            <comment id="390716" author="stennie" created="Mon, 29 Jul 2013 06:06:07 +0000"  >&lt;p&gt;Hi Raul,&lt;/p&gt;

&lt;p&gt;Since we haven&apos;t heard anything further from you on this issue in a few weeks, I&apos;m going to close the issue.&lt;/p&gt;

&lt;p&gt;I would also note that the SERVER project is for reporting bugs or feature suggestions for the MongoDB server.&lt;/p&gt;

&lt;p&gt;For MongoDB-related support discussion please post on the mongodb-users group (&lt;a href=&quot;http://groups.google.com/group/mongodb-user&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://groups.google.com/group/mongodb-user&lt;/a&gt;).&lt;/p&gt;

&lt;p&gt;Thanks,&lt;br/&gt;
Stephen&lt;/p&gt;</comment>
                            <comment id="380803" author="tad" created="Sun, 14 Jul 2013 15:07:54 +0000"  >&lt;p&gt;I suspect that you somehow have a corrupted file (src\third_party\v8\src\globals.h) and perhaps this isn&apos;t the only one.  Can you check at least this file and see if it has 405 lines?  The file is supposed to look like this (for version 2.4.4): &lt;a href=&quot;https://github.com/mongodb/mongo/blob/r2.4.4/src/third_party/v8/src/globals.h&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/blob/r2.4.4/src/third_party/v8/src/globals.h&lt;/a&gt; .&lt;/p&gt;

&lt;p&gt;You might want to re-clone the mongodb code (git clone &lt;a href=&quot;https://github.com/mongodb/mongo.git&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo.git&lt;/a&gt;) into a new directory (followed by &quot;git checkout r2.4.4&quot; if you want to use version 2.4.4 specifically) and compare contents with your existing directory or just try building again in the new directory.&lt;/p&gt;

&lt;p&gt;From the excerpt you showed above, it looks like you have the prerequisites: Python, scons and the Visual Studio compiler.  The versions that I use are Python 2.7.3, scons 2.1.0 and Visual Studio Professional 2010 SP1 with all WindowsUpdate patches applied.&lt;/p&gt;

&lt;p&gt;To build all MongoDB executables with scons, you should be able to build with a command line like &quot;scons --64 --dd all&quot; to build a full debug version or &quot;scons --64 --release all&quot; to build an optimized version.&lt;/p&gt;

&lt;p&gt;We have ongoing work to make the C++ driver easier to work with on all platforms, and to address some specific issues on Windows.  For example, see &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-3331&quot; title=&quot;building of the standalone c++ driver from source tarball fails on windows &quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-3331&quot;&gt;&lt;del&gt;SERVER-3331&lt;/del&gt;&lt;/a&gt;, &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-6514&quot; title=&quot;scons --sharedclient mongoclient builds libmongoclient.a, no shared library build.&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-6514&quot;&gt;&lt;del&gt;SERVER-6514&lt;/del&gt;&lt;/a&gt;, &lt;a href=&quot;https://jira.mongodb.org/browse/CXX-81&quot; title=&quot;On Windows, MONGO_API functions should be decorated with __cdecl.&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CXX-81&quot;&gt;&lt;del&gt;SERVER-5650&lt;/del&gt;&lt;/a&gt;, &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-9221&quot; title=&quot;C++ driver&amp;#39;s shared library build is broken&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-9221&quot;&gt;&lt;del&gt;SERVER-9221&lt;/del&gt;&lt;/a&gt; and &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-9771&quot; title=&quot;Enable support for building the C++ driver as a DLL on windows.&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-9771&quot;&gt;&lt;del&gt;SERVER-9771&lt;/del&gt;&lt;/a&gt;.&lt;/p&gt;</comment>
                            <comment id="380775" author="raulgd" created="Sun, 14 Jul 2013 13:32:44 +0000"  >&lt;p&gt;Hi Tad,&lt;/p&gt;

&lt;p&gt;Thanks for the response. I meant Boost 1.42 as a tutorial shows that some guy built it with no issues, but I didn&apos;t know that mongodb source came with boost, and as there is no tutorial or anything whatsoever for building mongodb in windows (i mean a full step by step from what needs to be installed up to scons build) and I installed and build boost in my PC because even if mongo builds its boost, I still need boost to use the mongodb client driver in my program, as tutorials ask for shared pointers and other boost stuff.&lt;/p&gt;

&lt;p&gt;So, maybe you could tell me please how am I supposed to build mongodb on windows? and what I need to have installed with their correspondent versions.&lt;/p&gt;

&lt;p&gt;And I used the full mongodb source, not the tarball as it&apos;s known to not build on windows, I only use the tarball for mac.&lt;/p&gt;

&lt;p&gt;Thanks&lt;/p&gt;</comment>
                            <comment id="380741" author="tad" created="Sun, 14 Jul 2013 11:07:34 +0000"  >&lt;p&gt;I&apos;m confused by your Boost reference.  Do you mean Boost version 1.42?&lt;/p&gt;

&lt;p&gt;The 2.4.4 MongoDB source code tree includes Boost version 1.49, or the portions of Boost that are used by MongoDB.&lt;/p&gt;

&lt;p&gt;Your command &quot;scons --64&quot; should be using the version of Boost in the source tree unless you have replaced it somehow.&lt;/p&gt;

&lt;p&gt;My copy of src\third_party\v8\src\globals.h has 405 lines; I&apos;m not sure why you would hit end-of-file at line 127.  Can you verify that this file is correct and not truncated somehow?&lt;/p&gt;

&lt;p&gt;Is this source code from a source tarball or from running &quot;git clone&quot; against the github repository?&lt;/p&gt;

&lt;p&gt;Can you post a full log from a clean build?&lt;/p&gt;

&lt;p&gt;We are currently using Visual Studio 2010 as our Windows compiler for MongoDB, but sporadic testing against VS2012 has shown no issues.&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>4.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Sun, 14 Jul 2013 11:07:34 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        10 years, 29 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>ramon.fernandez@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            10 years, 29 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="10022"><![CDATA[Windows]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>raulgd</customfieldvalue>
            <customfieldvalue>stephen.steneker@mongodb.com</customfieldvalue>
            <customfieldvalue>tad</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrmomf:</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>73927</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;Go into the mongodb source code folder and run: scons --64&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|hrkt73:</customfieldvalue>

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