<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:13:42 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-1948] CMake build should allow using bundled BSON</title>
                <link>https://jira.mongodb.org/browse/CDRIVER-1948</link>
                <project id="10030" key="CDRIVER">C Driver</project>
                    <description>&lt;p&gt;The CMake build configuration currently does not allow using and installing the bundled BSON. This feature is available when using &lt;tt&gt;configure&lt;/tt&gt;, so it should be available when using CMake as well.&lt;/p&gt;</description>
                <environment>all</environment>
        <key id="337758">CDRIVER-1948</key>
            <summary>CMake build should allow using bundled BSON</summary>
                <type id="4" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14710&amp;avatarType=issuetype">Improvement</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="9">Done</resolution>
                                        <assignee username="jesse@mongodb.com">A. Jesse Jiryu Davis</assignee>
                                    <reporter username="jwang">Jonathan Wang</reporter>
                        <labels>
                    </labels>
                <created>Fri, 9 Dec 2016 19:19:27 +0000</created>
                <updated>Tue, 13 Feb 2018 19:39:57 +0000</updated>
                            <resolved>Tue, 13 Feb 2018 19:14:36 +0000</resolved>
                                    <version>1.5.0</version>
                                    <fixVersion>1.10.0</fixVersion>
                                    <component>cmake</component>
                                        <votes>0</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="1786350" author="xgen-internal-githook" created="Fri, 26 Jan 2018 20:15:47 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;A. Jesse Jiryu Davis&apos;, &apos;username&apos;: &apos;ajdavis&apos;, &apos;email&apos;: &apos;jesse@mongodb.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-1948&quot; title=&quot;CMake build should allow using bundled BSON&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-1948&quot;&gt;&lt;del&gt;CDRIVER-1948&lt;/del&gt;&lt;/a&gt; build bundled libbson with cmake&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/1327ddf30532283bf1436a9297df5746add2f83e&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/1327ddf30532283bf1436a9297df5746add2f83e&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1757957" author="jesse" created="Thu, 21 Dec 2017 17:22:16 +0000"  >&lt;p&gt;Let&apos;s see if there&apos;s useful code in &lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/pull/465&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/pull/465&lt;/a&gt; to include in this work.&lt;/p&gt;</comment>
                            <comment id="1454488" author="jesse" created="Sat, 10 Dec 2016 02:12:28 +0000"  >&lt;p&gt;Great, thanks for the response.&lt;/p&gt;</comment>
                            <comment id="1454445" author="jwang" created="Fri, 9 Dec 2016 23:27:10 +0000"  >&lt;p&gt;Also, I noticed that &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-1944&quot; title=&quot;On macOS, config is unable to detect the installed OpenSSL library&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-1944&quot;&gt;&lt;del&gt;CDRIVER-1944&lt;/del&gt;&lt;/a&gt; has since been closed, so I can just pull the latest master commit, and therefore I no longer have a need to use the CMake build for the Mongo C driver.&lt;/p&gt;</comment>
                            <comment id="1454363" author="jwang" created="Fri, 9 Dec 2016 22:03:08 +0000"  >&lt;p&gt;This is important because due to &lt;a href=&quot;https://jira.mongodb.org/browse/CXX-1158&quot; title=&quot;Unable to link against SSL libs on MacOS&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CXX-1158&quot;&gt;&lt;del&gt;CXX-1158&lt;/del&gt;&lt;/a&gt;, I&apos;m currently experimenting with using CMake instead of configure to build the C driver against OpenSSL libraries at a specified location. However, the main obstacle to getting this to work is that I was previously using the &lt;tt&gt;--with-libbson=bundled&lt;/tt&gt; flag for configure, but now there is no option to do so for CMake.&lt;/p&gt;

&lt;p&gt;My goal for trying to do this is only to use the bundled BSON library instead of trying to install the BSON library from another source location, which may or may not lead to version/API conflicts.&lt;/p&gt;

&lt;p&gt;However, &lt;b&gt;you can lower the priority&lt;/b&gt; on this because I believe I have an acceptable workaround using a two-pass installation. First, I install the bundled BSON library by installing Mongo C driver with configure and with &lt;tt&gt;--with-libbson=bundled --disable-ssl&lt;/tt&gt;. Then I remove the installed Mongo C driver components, only leaving behind the BSON C library. Then I install the Mongo C driver using CMake with the OpenSSL location provided using &lt;tt&gt;PKG_CONFIG_LIBDIR&lt;/tt&gt;.&lt;/p&gt;

&lt;p&gt;This achieves the two goals: use bundled BSON and link against a specific custom OpenSSL installation.&lt;/p&gt;</comment>
                            <comment id="1454322" author="jesse" created="Fri, 9 Dec 2016 21:16:05 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=jwang&quot; class=&quot;user-hover&quot; rel=&quot;jwang&quot;&gt;jwang&lt;/a&gt; can you tell us why this is important? If you&apos;ve got a strong argument we can set the priority accordingly.&lt;/p&gt;</comment>
                            <comment id="1454172" author="bjori" created="Fri, 9 Dec 2016 19:42:11 +0000"  >&lt;p&gt;In all honesty, the CMake build system is not a first-class citizen.. It was added so we could generate MSVC manifests. Since then minor additions have been made to it on case by case bases.&lt;/p&gt;

&lt;p&gt;We did look into how to compile against the bundled libbson, but it turned out (very likely simply due to lack of understanding of cmake! &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;) to be more work then it was worth.&lt;/p&gt;

&lt;p&gt;It seems unlikely to be fixed anytime soon unless we find someone capable in the arts of CMake to do it for us &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>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="462766">CDRIVER-2402</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="337773">CDRIVER-1950</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <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_10857" key="com.pyxis.greenhopper.jira:gh-epic-link">
                        <customfieldname>Epic Link</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>CDRIVER-2434</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hsux0v:</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>