<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:16:27 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>[CDRIVER-2826] Compiling with ENABLE_SRV=OFF broken on Windows</title>
                <link>https://jira.mongodb.org/browse/CDRIVER-2826</link>
                <project id="10030" key="CDRIVER">C Driver</project>
                    <description>&lt;p&gt;Was trying to setup a MongoDB Embedded builder for Windows and got the following compilation error when building for Windows:&lt;/p&gt;

&lt;p/&gt;
&lt;div id=&quot;syntaxplugin&quot; class=&quot;syntaxplugin&quot; style=&quot;border: 1px dashed #bbb; border-radius: 5px !important; overflow: auto; max-height: 30em;&quot;&gt;
&lt;table cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; border=&quot;0&quot; width=&quot;100%&quot; style=&quot;font-size: 1em; line-height: 1.4em !important; font-weight: normal; font-style: normal; color: black;&quot;&gt;
		&lt;tbody &gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;  margin-top: 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;ClCompile:&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;  C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\CL.exe /c /I&quot;C:\data\mongo-c-driver-1.12.0\src\libbson\src\bson&quot; /I&quot;C:\data\mongo-c-driver-1.12.0\src\libmongoc\src\mongoc&quot; /I&quot;C:\data\mongo-c-driver-1.12.0\src\libmongoc\..\..\src\common&quot; /Zi /nologo /W3 /WX- /O2 /Ob1 /Oy- /D WIN32 /D _WINDOWS /D NDEBUG /D MONGOC_COMPILATION /D _CRT_SECURE_NO_WARNINGS /D _GNU_SOURCE /D _BSD_SOURCE /D _DEFAULT_SOURCE /D &quot;CMAKE_INTDIR=\&quot;RelWithDebInfo\&quot;&quot; /D mongoc_shared_EXPORTS /D _WINDLL /D _MBCS /Gm- /MD /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo&quot;mongoc_shared.dir\RelWithDebInfo\\&quot; /Fd&quot;mongoc_shared.dir\RelWithDebInfo\vc140.pdb&quot; /Gd /TC /analyze- /errorReport:queue &quot;C:\data\mongo-c-driver-1.12.0\src\libmongoc\src\mongoc\mongoc-client.c&quot;&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;  mongoc-client.c&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;C:\data\mongo-c-driver-1.12.0\src\libmongoc\src\mongoc\mongoc-client.c(26): fatal error C1083: Cannot open include file: &apos;netdb.h&apos;: No such file or directory [C:\data\mongo-c-driver-1.12.0\src\libmongoc\mongoc_shared.vcxproj]&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;Done Building Project &quot;C:\data\mongo-c-driver-1.12.0\src\libmongoc\mongoc_shared.vcxproj&quot; (default targets) -- FAILED.&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;Done Building Project &quot;C:\data\mongo-c-driver-1.12.0\src\libmongoc\mongoc-stat.vcxproj&quot; (default targets) -- FAILED.&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   margin-bottom: 10px;  width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;Done Building Project &quot;C:\data\mongo-c-driver-1.12.0\ALL_BUILD.vcxproj&quot; (default targets) -- FAILED.&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
			&lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;p/&gt;

&lt;p&gt;We are passing the following flags to CMake:&lt;br/&gt;
-DENABLE_SHM_COUNTERS=OFF &lt;br/&gt;
-DENABLE_SNAPPY=OFF &lt;br/&gt;
-DENABLE_AUTOMATIC_INIT_AND_CLEANUP=OFF &lt;br/&gt;
-DENABLE_ZLIB=OFF &lt;br/&gt;
-DENABLE_SSL=OFF &lt;br/&gt;
-DENABLE_SASL=OFF &lt;br/&gt;
-DENABLE_TESTS=OFF &lt;br/&gt;
-DENABLE_SRV=OFF &lt;br/&gt;
-DENABLE_EXAMPLES=OFF &lt;br/&gt;
-DENABLE_STATIC=OFF&lt;/p&gt;


&lt;p&gt;By looking at the code, it seems like -DENABLE_SRV=OFF is the culprit. There&apos;s currently no test coverage for this on Evergreen (should probably be added).&lt;/p&gt;

</description>
                <environment></environment>
        <key id="605284">CDRIVER-2826</key>
            <summary>Compiling with ENABLE_SRV=OFF broken on Windows</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="13201">Fixed</resolution>
                                        <assignee username="jesse@mongodb.com">A. Jesse Jiryu Davis</assignee>
                                    <reporter username="henrik.edin@mongodb.com">Henrik Edin</reporter>
                        <labels>
                    </labels>
                <created>Fri, 14 Sep 2018 21:45:01 +0000</created>
                <updated>Sat, 28 Oct 2023 11:29:35 +0000</updated>
                            <resolved>Tue, 18 Sep 2018 13:20:23 +0000</resolved>
                                                    <fixVersion>1.13.0</fixVersion>
                    <fixVersion>1.14.0</fixVersion>
                                    <component>Build</component>
                                        <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="2006338" author="xgen-internal-githook" created="Tue, 18 Sep 2018 13:22:12 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;A. Jesse Jiryu Davis&apos;, &apos;email&apos;: &apos;jesse@mongodb.com&apos;, &apos;username&apos;: &apos;ajdavis&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-2826&quot; title=&quot;Compiling with ENABLE_SRV=OFF broken on Windows&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-2826&quot;&gt;&lt;del&gt;CDRIVER-2826&lt;/del&gt;&lt;/a&gt; test ENABLE_SRV=OFF in evergreen&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/834b9999b6483e3e1cf1eaf66c886dce78346d9b&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/834b9999b6483e3e1cf1eaf66c886dce78346d9b&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="2005033" author="jesse" created="Mon, 17 Sep 2018 15:31:48 +0000"  >&lt;p&gt;In 1.13 or 1.14, we should test this build configuration in Evergreen.&lt;/p&gt;</comment>
                            <comment id="2005031" author="xgen-internal-githook" created="Mon, 17 Sep 2018 15:30:53 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Henrik Edin&apos;, &apos;email&apos;: &apos;henrik.edin@mongodb.com&apos;, &apos;username&apos;: &apos;henrikedin&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-2826&quot; title=&quot;Compiling with ENABLE_SRV=OFF broken on Windows&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-2826&quot;&gt;&lt;del&gt;CDRIVER-2826&lt;/del&gt;&lt;/a&gt; Possible to build with ENABLE_SRV=OFF on Windows.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/47d0f7eb3dfd16f37e21504a8ec36bc21eb28ed4&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/47d0f7eb3dfd16f37e21504a8ec36bc21eb28ed4&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|htyku7:</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>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            </customfields>
    </item>
</channel>
</rss>