<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 22:06:55 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>[CXX-2749] mnmlstc/core is prematurely installed to prefix during build step</title>
                <link>https://jira.mongodb.org/browse/CXX-2749</link>
                <project id="11980" key="CXX">C++ Driver</project>
                    <description>&lt;p&gt;The mnmlstc/core library (when enabled/configured as the polyfill library to use) is &lt;a href=&quot;https://github.com/mongodb/mongo-cxx-driver/blob/38e6c3ca3609618186110d82d971cf025251865a/src/bsoncxx/third_party/CMakeLists.txt#L34&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;prematurely installed&lt;/a&gt; to the install prefix of the CXX Driver during the build step as part of custom &lt;tt&gt;ExternalProject_Add()&lt;/tt&gt; step to patch include directives in the library.&lt;/p&gt;

&lt;p&gt;There are several points of improvement to be made:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;Avoid the need to patch mnmlstc/core by using proper CMake include directory paths (build vs. install interfaces).&lt;/li&gt;
	&lt;li&gt;Use FetchContent instead of ExternalProject to move the download-and-build step into the CXX Driver&apos;s CMake configuration step (idiomatic/modern CMake).&lt;/li&gt;
	&lt;li&gt;Avoid premature installation to the install prefix by using a local install directory within the binary directory instead.&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;&#160;&lt;/p&gt;</description>
                <environment></environment>
        <key id="2438941">CXX-2749</key>
            <summary>mnmlstc/core is prematurely installed to prefix during build step</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</type>
                                            <priority id="10300" iconUrl="https://jira.mongodb.org/images/icons/priorities/medium.svg">Unknown</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="ezra.chung@mongodb.com">Ezra Chung</assignee>
                                    <reporter username="ezra.chung@mongodb.com">Ezra Chung</reporter>
                        <labels>
                    </labels>
                <created>Mon, 11 Sep 2023 17:43:09 +0000</created>
                <updated>Sat, 28 Oct 2023 11:26:36 +0000</updated>
                            <resolved>Thu, 14 Sep 2023 14:15:00 +0000</resolved>
                                                    <fixVersion>3.9.0</fixVersion>
                                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="5765023" author="xgen-internal-githook" created="Mon, 9 Oct 2023 17:25:06 +0000"  >&lt;p&gt;Author: &lt;/p&gt;
{&apos;name&apos;: &apos;Ezra Chung&apos;, &apos;email&apos;: &apos;88335979+eramongodb@users.noreply.github.com&apos;, &apos;username&apos;: &apos;eramongodb&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CXX-2749&quot; title=&quot;mnmlstc/core is prematurely installed to prefix during build step&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CXX-2749&quot;&gt;&lt;del&gt;CXX-2749&lt;/del&gt;&lt;/a&gt; Fix debian-package-build-mnmlstc (#1036)&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-cxx-driver/commit/68590118e4ada249495678886ec18fd0f893fcc1&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-cxx-driver/commit/68590118e4ada249495678886ec18fd0f893fcc1&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="5712901" author="xgen-internal-githook" created="Mon, 18 Sep 2023 20:12:09 +0000"  >&lt;p&gt;Author: &lt;/p&gt;
{&apos;name&apos;: &apos;Ezra Chung&apos;, &apos;email&apos;: &apos;88335979+eramongodb@users.noreply.github.com&apos;, &apos;username&apos;: &apos;eramongodb&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CXX-2748&quot; title=&quot;Fix failing build_examples_with_add_subdirectory tasks&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CXX-2748&quot;&gt;&lt;del&gt;CXX-2748&lt;/del&gt;&lt;/a&gt; Disable generation of built tree targets files (#1024)&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/CXX-2748&quot; title=&quot;Fix failing build_examples_with_add_subdirectory tasks&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CXX-2748&quot;&gt;&lt;del&gt;CXX-2748&lt;/del&gt;&lt;/a&gt; Disable generation of build tree targets files&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;Fix target of BSONCXX_STATIC compile definition for bsoncxx_add_library()&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;Fix missing find_dependency() specification in CMake package config files&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;Fix include directive for libbson and libmongoc headers&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/CXX-2749&quot; title=&quot;mnmlstc/core is prematurely installed to prefix during build step&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CXX-2749&quot;&gt;&lt;del&gt;CXX-2749&lt;/del&gt;&lt;/a&gt; Unconditionally use &amp;lt;core/...&amp;gt; for mnmlstc/core headers&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;Address ENABLE_AUTOMATIC_INIT_OR_CLEANUP warnings&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-cxx-driver/commit/25f3318530c95df6d06a6cfd10d6ddbf19681f10&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-cxx-driver/commit/25f3318530c95df6d06a6cfd10d6ddbf19681f10&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
</comment>
                            <comment id="5704097" author="xgen-internal-githook" created="Thu, 14 Sep 2023 14:14:36 +0000"  >&lt;p&gt;Author: &lt;/p&gt;
{&apos;name&apos;: &apos;Ezra Chung&apos;, &apos;email&apos;: &apos;88335979+eramongodb@users.noreply.github.com&apos;, &apos;username&apos;: &apos;eramongodb&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CXX-2749&quot; title=&quot;mnmlstc/core is prematurely installed to prefix during build step&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CXX-2749&quot;&gt;&lt;del&gt;CXX-2749&lt;/del&gt;&lt;/a&gt; Use FetchContent and find_package() to obtain mnmlstc/core (#1019)&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;Print name of example project being tested on failure&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;Use FetchContent and find_package() to obtain mnmlstc/core&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;Update documentation to remove special handling of mnmlstc/core&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;Remove obsoleted special handling of mnmlstc/core&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;Bump minimum CMake version to 3.15&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-cxx-driver/commit/51c4708917f93fd585bbff4d3b1bce0e3107a93c&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-cxx-driver/commit/51c4708917f93fd585bbff4d3b1bce0e3107a93c&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                                                <inwardlinks description="is depended on by">
                                        <issuelink>
            <issuekey id="2440328">CXX-2753</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>CXX-1569</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_21553" key="com.atlassian.jira.plugin.system.customfieldtypes:labels">
                        <customfieldname>Quarter</customfieldname>
                        <customfieldvalues>
                                        <label>FY24Q2</label>
            <label>FY24Q3</label>
    
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|i27yk0:</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>