<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:11:25 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-1052] CMakeLists.txt build is incomplete and makes the driver unusable for the C++ driver</title>
                <link>https://jira.mongodb.org/browse/CDRIVER-1052</link>
                <project id="10030" key="CDRIVER">C Driver</project>
                    <description>&lt;p&gt;The CMakeLists.txt is missing installation instructions for a header file and for pkg-config files.&lt;/p&gt;

&lt;p&gt;Therefore, a installation with the CMakeLists.txt makes pkg-config unable to detect the library. This affects for instance any build of the C++ driver.&lt;/p&gt;

&lt;p&gt;The missing header affects at least the build of the new C++ driver.&lt;/p&gt;</description>
                <environment>All.</environment>
        <key id="243712">CDRIVER-1052</key>
            <summary>CMakeLists.txt build is incomplete and makes the driver unusable for the C++ driver</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="9">Done</resolution>
                                        <assignee username="bjori">Hannes Magnusson</assignee>
                                    <reporter username="duckie">Jean-Bernard Jansen</reporter>
                        <labels>
                    </labels>
                <created>Mon, 14 Dec 2015 10:57:43 +0000</created>
                <updated>Wed, 27 Jan 2016 21:29:19 +0000</updated>
                            <resolved>Thu, 14 Jan 2016 21:39:54 +0000</resolved>
                                    <version>1.3.0</version>
                                    <fixVersion>1.3.1</fixVersion>
                                    <component>libmongoc</component>
                                        <votes>0</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="1155870" author="xgen-internal-githook" created="Wed, 27 Jan 2016 21:29:19 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;bjori&apos;, u&apos;name&apos;: u&apos;Hannes Magnusson&apos;, u&apos;email&apos;: u&apos;bjori@php.net&apos;}
&lt;p&gt;Message: Merge remote-tracking branch &apos;upstream/r1.3&apos;&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;upstream/r1.3:&lt;br/&gt;
  &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-1054&quot; title=&quot;Support negative cursor limit for single-batch OP_QUERY and find command results&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-1054&quot;&gt;&lt;del&gt;CDRIVER-1054&lt;/del&gt;&lt;/a&gt;: Support negative cursor limit&lt;br/&gt;
  post-release bump&lt;br/&gt;
  1.3.1 Release&lt;br/&gt;
  &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-1052&quot; title=&quot;CMakeLists.txt build is incomplete and makes the driver unusable for the C++ driver&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-1052&quot;&gt;&lt;del&gt;CDRIVER-1052&lt;/del&gt;&lt;/a&gt;: update NEWS&lt;br/&gt;
  Fix &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-1052&quot; title=&quot;CMakeLists.txt build is incomplete and makes the driver unusable for the C++ driver&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-1052&quot;&gt;&lt;del&gt;CDRIVER-1052&lt;/del&gt;&lt;/a&gt;: CMakeLists.txt build is incomplete&lt;br/&gt;
  &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-1031&quot; title=&quot;ReadConcern should be inherited from a parent when not set&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-1031&quot;&gt;&lt;del&gt;CDRIVER-1031&lt;/del&gt;&lt;/a&gt; gridfs inherits client config&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/5f0720ed19cdeebf170e50fbef39f5f6d81de6db&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/5f0720ed19cdeebf170e50fbef39f5f6d81de6db&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
</comment>
                            <comment id="1155869" author="xgen-internal-githook" created="Wed, 27 Jan 2016 21:29:18 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;bjori&apos;, u&apos;name&apos;: u&apos;Hannes Magnusson&apos;, u&apos;email&apos;: u&apos;bjori@php.net&apos;}
&lt;p&gt;Message: Merge remote-tracking branch &apos;upstream/r1.3&apos;&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;upstream/r1.3:&lt;br/&gt;
  &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-1054&quot; title=&quot;Support negative cursor limit for single-batch OP_QUERY and find command results&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-1054&quot;&gt;&lt;del&gt;CDRIVER-1054&lt;/del&gt;&lt;/a&gt;: Support negative cursor limit&lt;br/&gt;
  post-release bump&lt;br/&gt;
  1.3.1 Release&lt;br/&gt;
  &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-1052&quot; title=&quot;CMakeLists.txt build is incomplete and makes the driver unusable for the C++ driver&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-1052&quot;&gt;&lt;del&gt;CDRIVER-1052&lt;/del&gt;&lt;/a&gt;: update NEWS&lt;br/&gt;
  Fix &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-1052&quot; title=&quot;CMakeLists.txt build is incomplete and makes the driver unusable for the C++ driver&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-1052&quot;&gt;&lt;del&gt;CDRIVER-1052&lt;/del&gt;&lt;/a&gt;: CMakeLists.txt build is incomplete&lt;br/&gt;
  &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-1031&quot; title=&quot;ReadConcern should be inherited from a parent when not set&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-1031&quot;&gt;&lt;del&gt;CDRIVER-1031&lt;/del&gt;&lt;/a&gt; gridfs inherits client config&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/5f0720ed19cdeebf170e50fbef39f5f6d81de6db&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/5f0720ed19cdeebf170e50fbef39f5f6d81de6db&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
</comment>
                            <comment id="1155863" author="xgen-internal-githook" created="Wed, 27 Jan 2016 21:29:13 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;bjori&apos;, u&apos;name&apos;: u&apos;Hannes Magnusson&apos;, u&apos;email&apos;: u&apos;bjori@php.net&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-1052&quot; title=&quot;CMakeLists.txt build is incomplete and makes the driver unusable for the C++ driver&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-1052&quot;&gt;&lt;del&gt;CDRIVER-1052&lt;/del&gt;&lt;/a&gt;: update NEWS&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/f918fa43759be50d6901bf5b28548c3f135fde3a&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/f918fa43759be50d6901bf5b28548c3f135fde3a&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1155862" author="xgen-internal-githook" created="Wed, 27 Jan 2016 21:29:12 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;name&apos;: u&apos;Jean-Bernard Jansen&apos;, u&apos;email&apos;: u&apos;jeanbernard@jansen.fr&apos;}
&lt;p&gt;Message: Fix &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-1052&quot; title=&quot;CMakeLists.txt build is incomplete and makes the driver unusable for the C++ driver&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-1052&quot;&gt;&lt;del&gt;CDRIVER-1052&lt;/del&gt;&lt;/a&gt;: CMakeLists.txt build is incomplete&lt;/p&gt;

&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;Add installation of a header file&lt;/li&gt;
	&lt;li&gt;Add installation of pkg-config files&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/ae550197df66e03d1199224e1edec4c635d3a872&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/ae550197df66e03d1199224e1edec4c635d3a872&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
</comment>
                            <comment id="1135440" author="bjori" created="Thu, 14 Jan 2016 21:39:54 +0000"  >&lt;p&gt;Thanks for the patch!&lt;/p&gt;</comment>
                            <comment id="1135435" author="xgen-internal-githook" created="Thu, 14 Jan 2016 21:36:26 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;name&apos;: u&apos;Jean-Bernard Jansen&apos;, u&apos;email&apos;: u&apos;jeanbernard@jansen.fr&apos;}
&lt;p&gt;Message: Fix &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-1052&quot; title=&quot;CMakeLists.txt build is incomplete and makes the driver unusable for the C++ driver&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-1052&quot;&gt;&lt;del&gt;CDRIVER-1052&lt;/del&gt;&lt;/a&gt;: CMakeLists.txt build is incomplete&lt;/p&gt;

&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;Add installation of a header file&lt;/li&gt;
	&lt;li&gt;Add installation of pkg-config files&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/3ef2137fb77040591a9e1ea7c294f3292ba0cbf1&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/3ef2137fb77040591a9e1ea7c294f3292ba0cbf1&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
</comment>
                            <comment id="1135428" author="bjori" created="Thu, 14 Jan 2016 21:28:38 +0000"  >&lt;p&gt;Sounds good to me.&lt;/p&gt;


&lt;p&gt;For the record though: Like I previously said, we do not actively run any tests using cmake with the exception of MSVC configuration generation.&lt;br/&gt;
We may add such compilation step to our matrix in the future, but for now the recommendation is to use the autotools toolchain.&lt;/p&gt;

&lt;p&gt;I fully agree that while its there, it should work of course &lt;img class=&quot;emoticon&quot; src=&quot;https://jira.mongodb.org/images/icons/emoticons/smile.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/p&gt;</comment>
                            <comment id="1133606" author="acm" created="Wed, 13 Jan 2016 15:33:03 +0000"  >&lt;p&gt;Painful only in the sense of maintaining two parallel build systems.&lt;/p&gt;</comment>
                            <comment id="1133581" author="duckie" created="Wed, 13 Jan 2016 15:21:36 +0000"  >&lt;p&gt;Autotools projects can still be used with ExternalProject_Add. It is not as smooth of course, but it can be done.&lt;/p&gt;

&lt;p&gt;Why painful ? There is no way a migration to CMake could hurt the project.  I think the scope of this matter goes beyond the current issue. I am sure I am not the first one to suggest CMake as a replacement.&lt;/p&gt;</comment>
                            <comment id="1133490" author="acm" created="Wed, 13 Jan 2016 14:20:11 +0000"  >&lt;p&gt;It is painful, but I agree with &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=duckie&quot; class=&quot;user-hover&quot; rel=&quot;duckie&quot;&gt;duckie&lt;/a&gt; that if the C driver is going to offer a CMake build, it should be fully functional, and not only on Windows. Using ExternalProject_Add is very common in CMake projects, and being able to ExternalProject_Add the C driver would be very useful for systems that want to vendor it, rather than depend on the system version.&lt;/p&gt;</comment>
                            <comment id="1133452" author="duckie" created="Wed, 13 Jan 2016 13:35:04 +0000"  >&lt;p&gt;Push request updated following Andrew changes.&lt;/p&gt;</comment>
                            <comment id="1133425" author="duckie" created="Wed, 13 Jan 2016 12:54:43 +0000"  >&lt;p&gt;The reason I used CMake is quite straightforward : I saw a CMakeLists.txt file and assumed the migration from the autotools were ongoing. Since MSVC support seems a requirement, it does not seem sane to keep maintaining two separate build systems in&lt;br/&gt;
 the long term. &lt;/p&gt;

&lt;p&gt;I tried the autotools and saw that the libbson dependency was automatically dowloaded. This could be made with CMake too, but I found it comfortable to manage the dependencies myself. I build the driver with CMake from another project, and the CMake build does well with the &quot;ExternalProject&quot; command of said project.&lt;/p&gt;

&lt;p&gt;By the way, that is a small patch that does not hurt the current state. I&apos;ll just fix the &quot;private header&quot; matter since Andrew removed them.&lt;/p&gt;
</comment>
                            <comment id="1133060" author="bjori" created="Tue, 12 Jan 2016 23:03:11 +0000"  >&lt;p&gt;I&apos;m a bit curious why you decided to compile the c driver using cmake?&lt;br/&gt;
Did you follow instructions somewhere that indicated it was the norm?&lt;/p&gt;

&lt;p&gt;The cmake approach isn&apos;t something we actively test or build ourself &amp;#8211; in fact, the only reason it is here at all is so it can generate the MSVC configuration.&lt;br/&gt;
We don&apos;t actually use cmake to compile the driver anywhere, and it isn&apos;t exactly recommended or endorsed approach (although &amp;#8211; clearly, it should work, as long as its there).&lt;/p&gt;</comment>
                            <comment id="1113363" author="duckie" created="Mon, 14 Dec 2015 11:01:15 +0000"  >&lt;p&gt;Added a pull request with a fix &lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/pull/304&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/pull/304&lt;/a&gt;.&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                        <customfield id="customfield_10011" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Backwards Compatibility</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10038"><![CDATA[Fully Compatible]]></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_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hrdrbj:</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>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10557" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="836">C Driver 2015Q2 sprint 12</customfieldvalue>
    <customfieldvalue id="865">C Driver 2016 sprint 1</customfieldvalue>

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