<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:16:07 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-2713] Some branch don&apos;t are using the bundle libbson in cmake</title>
                <link>https://jira.mongodb.org/browse/CDRIVER-2713</link>
                <project id="10030" key="CDRIVER">C Driver</project>
                    <description>&lt;p&gt;I made a clean install of my environment and tried compile the r1.9 branch(git), and the cmake couldn&apos;t find libbson in the environment. It must use bundle if the env don&apos;t have one.&lt;/p&gt;

&lt;p&gt;Workaround is use &apos;master&apos; to install libbson in the environment, than change branch to use r1.9.&lt;/p&gt;</description>
                <environment>MSYS2&lt;br/&gt;
cmake 3.11.4&lt;br/&gt;
gcc 7.3.0&lt;br/&gt;
make 4.2.1&lt;br/&gt;
&lt;br/&gt;
</environment>
        <key id="562256">CDRIVER-2713</key>
            <summary>Some branch don&apos;t are using the bundle libbson in cmake</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="13201">Fixed</resolution>
                                        <assignee username="kevin.albertson@mongodb.com">Kevin Albertson</assignee>
                                    <reporter username="gbschenkel">Gustavo Brondani Schenkel</reporter>
                        <labels>
                    </labels>
                <created>Wed, 20 Jun 2018 22:09:33 +0000</created>
                <updated>Sat, 28 Oct 2023 11:29:46 +0000</updated>
                            <resolved>Thu, 28 Jun 2018 18:37:33 +0000</resolved>
                                    <version>1.8.2</version>
                    <version>1.9.5</version>
                                                    <component>libbson</component>
                                        <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="1949522" author="gbschenkel" created="Tue, 17 Jul 2018 19:37:01 +0000"  >&lt;p&gt;Sorry, was on vacation. I tried compile yesterday and was all smooth, Thanks guys.&lt;/p&gt;</comment>
                            <comment id="1934115" author="jesse" created="Thu, 28 Jun 2018 18:37:33 +0000"  >&lt;p&gt;Gustavo, I&apos;m closing this ticket; please reopen if you have further issues building the C Driver.&lt;/p&gt;</comment>
                            <comment id="1933946" author="kevin.albertson" created="Thu, 28 Jun 2018 16:14:27 +0000"  >&lt;p&gt;Hi Gustavo, apologies for the delay.&lt;/p&gt;

&lt;p&gt;Can you try a fresh install with 1.11.0 (see&#160;&lt;a href=&quot;http://mongoc.org/libmongoc/current/installing.html#building-from-a-release-tarball&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;our installation docs&lt;/a&gt;), which should use bundled libbson by default.&lt;/p&gt;

&lt;p&gt;If that fails, can you share the commands your running with the output?&lt;/p&gt;</comment>
                            <comment id="1927773" author="kevin.albertson" created="Thu, 21 Jun 2018 16:22:15 +0000"  >&lt;p&gt;Oops, I misremembered. Indeed r1.9 does not have ENABLE_BSON.&lt;/p&gt;</comment>
                            <comment id="1927699" author="gbschenkel" created="Thu, 21 Jun 2018 15:53:49 +0000"  >&lt;p&gt;Hi Kevin, CMakeList from r1.9 doesn&apos;t have the ENABLE_BSON option.&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;nobr&quot;&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/attachment/190028/190028_CMakeLists.txt&quot; title=&quot;CMakeLists.txt attached to CDRIVER-2713&quot;&gt;CMakeLists.txt&lt;sup&gt;&lt;img class=&quot;rendericon&quot; src=&quot;https://jira.mongodb.org/images/icons/link_attachment_7.gif&quot; height=&quot;7&quot; width=&quot;7&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/sup&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;&lt;img class=&quot;emoticon&quot; src=&quot;https://jira.mongodb.org/images/icons/emoticons/sad.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="1927494" author="kevin.albertson" created="Thu, 21 Jun 2018 14:47:39 +0000"  >&lt;p&gt;Hi Gustavo, in 1.9 and 1.10 the default behavior of how libbson was included changed.&lt;/p&gt;

&lt;p&gt;In 1.9 the default was to use the system installed libbson first, then fall back to using bundled. But you can specify &lt;tt&gt;-DENABLE_BSON=BUNDLED&lt;/tt&gt; to use the bundled libbson (this option changed in 1.10).&lt;/p&gt;

&lt;p&gt;In 1.10 the default is to use a bundled libbson, but you can specify&#160;&lt;tt&gt;-DENABLE_BSON=SYSTEM&lt;/tt&gt; to use a system installed libbson. There is no longer a &lt;tt&gt;BUNDLED&lt;/tt&gt; value of the &lt;tt&gt;ENABLE_BSON&lt;/tt&gt; cmake option.&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</comment>
                            <comment id="1926873" author="gbschenkel" created="Wed, 20 Jun 2018 22:28:17 +0000"  >&lt;p&gt;Sorry, the workaround doesn&apos;t work, since libbson is on 1.11.0-dev version, it broke the compile of r1.9 branch. I think is good to build/use always the bundled libbson, as default, to force compability, and to have a cmake option to use the libbson from environment.&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="190028" name="CMakeLists.txt" size="32335" author="gbschenkel" created="Thu, 21 Jun 2018 15:28:19 +0000"/>
                    </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|htrx67:</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>