<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:15:00 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-2363] Vendor the bundled zlib with the Autotools build, instead of installing it</title>
                <link>https://jira.mongodb.org/browse/CDRIVER-2363</link>
                <project id="10030" key="CDRIVER">C Driver</project>
                    <description>&lt;p&gt;Our Autotools build system&apos;s approach to providing zlib on systems where it is not already installed, is to vendor its source files, then &lt;b&gt;build the library and install it in the system library path&lt;/b&gt; along with libmongoc at build time. This is eccentric, and makes problems for users who might install zlib themselves later on.&lt;/p&gt;

&lt;p&gt;Let&apos;s completely vendor zlib into libmongoc if not provided by the system - compile its code into libmongoc with no link-time visible changes to programs that link to libmongoc.&lt;/p&gt;

&lt;p&gt;Once this is done, don&apos;t set ZLIB_LIBRARIES to &quot;-lz&quot; when with_zlib=bundled in CheckZlib.m4.&lt;/p&gt;

&lt;p&gt;It appears to me that the CMake build system already handles this correctly, so if we do &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-1349&quot; title=&quot;Delete Autotools build system, use CMake only&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-1349&quot;&gt;&lt;del&gt;CDRIVER-1349&lt;/del&gt;&lt;/a&gt; then this problem might go away.&lt;/p&gt;</description>
                <environment></environment>
        <key id="457333">CDRIVER-2363</key>
            <summary>Vendor the bundled zlib with the Autotools build, instead of installing it</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="2">Won&apos;t Fix</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="jesse@mongodb.com">A. Jesse Jiryu Davis</reporter>
                        <labels>
                    </labels>
                <created>Fri, 10 Nov 2017 22:06:18 +0000</created>
                <updated>Thu, 14 Dec 2017 18:46:28 +0000</updated>
                            <resolved>Thu, 14 Dec 2017 18:46:28 +0000</resolved>
                                                    <fixVersion>1.10.0</fixVersion>
                                    <component>Build</component>
                    <component>libmongoc</component>
                                        <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="1752241" author="jesse" created="Thu, 14 Dec 2017 18:46:28 +0000"  >&lt;p&gt;Superseded, we&apos;re just going to delete the Autotools build system.&lt;/p&gt;</comment>
                            <comment id="1728093" author="xgen-internal-githook" created="Thu, 16 Nov 2017 19:50:52 +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-2293&quot; title=&quot;Add zlib and snappy linker flags if needed in CMake and pkg-config files&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-2293&quot;&gt;&lt;del&gt;CDRIVER-2293&lt;/del&gt;&lt;/a&gt; add snappy/zlib flags to config files&lt;/p&gt;

&lt;p&gt;When we bundle zlib and/or snappy, currently the Autotools build system&lt;br/&gt;
actually builds and installs the libraries alongside libmongoc. To link&lt;br/&gt;
statically to libmongoc in this configuration, you need to include the&lt;br/&gt;
full path to zlib and/or snappy in the link line.&lt;/p&gt;

&lt;p&gt;This patch adds the full path to zlib/snappy in the CMake config file.&lt;/p&gt;

&lt;p&gt;This is a temporary workaround until we fully vendor zlib/snappy in&lt;br/&gt;
&lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-2363&quot; title=&quot;Vendor the bundled zlib with the Autotools build, instead of installing it&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-2363&quot;&gt;&lt;del&gt;CDRIVER-2363&lt;/del&gt;&lt;/a&gt;.&lt;br/&gt;
Branch: r1.8&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/4f80ee8d285b1666c6ccc55e36fbf7444fbb4686&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/4f80ee8d285b1666c6ccc55e36fbf7444fbb4686&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1727566" author="xgen-internal-githook" created="Thu, 16 Nov 2017 13:47:37 +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-2293&quot; title=&quot;Add zlib and snappy linker flags if needed in CMake and pkg-config files&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-2293&quot;&gt;&lt;del&gt;CDRIVER-2293&lt;/del&gt;&lt;/a&gt; add snappy/zlib flags to config files&lt;/p&gt;

&lt;p&gt;When we bundle zlib and/or snappy, currently the Autotools build system&lt;br/&gt;
actually builds and installs the libraries alongside libmongoc. To link&lt;br/&gt;
statically to libmongoc in this configuration, you need to include the&lt;br/&gt;
full path to zlib and/or snappy in the link line.&lt;/p&gt;

&lt;p&gt;This patch adds the full path to zlib/snappy in the CMake config file.&lt;/p&gt;

&lt;p&gt;This is a temporary workaround until we fully vendor zlib/snappy in&lt;br/&gt;
&lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-2363&quot; title=&quot;Vendor the bundled zlib with the Autotools build, instead of installing it&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-2363&quot;&gt;&lt;del&gt;CDRIVER-2363&lt;/del&gt;&lt;/a&gt;.&lt;br/&gt;
Branch: r1.8&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/c10a4824949b3d930682862a5eea592ec98bc905&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/c10a4824949b3d930682862a5eea592ec98bc905&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1727483" author="xgen-internal-githook" created="Thu, 16 Nov 2017 11:23:19 +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-2293&quot; title=&quot;Add zlib and snappy linker flags if needed in CMake and pkg-config files&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-2293&quot;&gt;&lt;del&gt;CDRIVER-2293&lt;/del&gt;&lt;/a&gt; add snappy/zlib flags to config files&lt;/p&gt;

&lt;p&gt;When we bundle zlib and/or snappy, currently the Autotools build system&lt;br/&gt;
actually builds and installs the libraries alongside libmongoc. To link&lt;br/&gt;
statically to libmongoc in this configuration, you need to include the&lt;br/&gt;
full path to zlib and/or snappy in the link line.&lt;/p&gt;

&lt;p&gt;This patch adds the full path to zlib/snappy in the CMake config file.&lt;/p&gt;

&lt;p&gt;This is a temporary workaround until we fully vendor zlib/snappy in&lt;br/&gt;
&lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-2363&quot; title=&quot;Vendor the bundled zlib with the Autotools build, instead of installing it&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-2363&quot;&gt;&lt;del&gt;CDRIVER-2363&lt;/del&gt;&lt;/a&gt;.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/b927fa4a596102e6caa9e451ef72e7d934ae00e6&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/b927fa4a596102e6caa9e451ef72e7d934ae00e6&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="429519">CDRIVER-2293</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="297846">CDRIVER-1349</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_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|htbhof:</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>