<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 09:09:03 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>[MONGOCRYPT-594] Failed to build release from source code</title>
                <link>https://jira.mongodb.org/browse/MONGOCRYPT-594</link>
                <project id="17481" key="MONGOCRYPT">Libmongocrypt</project>
                    <description>&lt;p&gt;I am building libmongocrypt on Arch Linux with AUR package [libmongocrypt|&lt;a href=&quot;https://aur.archlinux.org/packages/libmongocrypt&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://aur.archlinux.org/packages/libmongocrypt&lt;/a&gt;.] When calling cmake to start build, cmake throws an error and fails:&lt;/p&gt;

&lt;p&gt;{{-- The C compiler identification is GNU 13.2.1&lt;br/&gt;
&#8211; Detecting C compiler ABI info&lt;br/&gt;
&#8211; Detecting C compiler ABI info - done&lt;br/&gt;
&#8211; Check for working C compiler: /usr/bin/cc - skipped&lt;br/&gt;
&#8211; Detecting C compile features&lt;br/&gt;
&#8211; Detecting C compile features - done&lt;br/&gt;
&#8211; The CXX compiler identification is GNU 13.2.1&lt;br/&gt;
&#8211; Detecting CXX compiler ABI info&lt;br/&gt;
&#8211; Detecting CXX compiler ABI info - done&lt;br/&gt;
&#8211; Check for working CXX compiler: /usr/bin/c++ - skipped&lt;br/&gt;
&#8211; Detecting CXX compile features&lt;br/&gt;
&#8211; Detecting CXX compile features - done&lt;br/&gt;
&#8211; Performing Test HAVE_SYSTEM_LIBBSON&lt;br/&gt;
&#8211; Performing Test HAVE_SYSTEM_LIBBSON - Success&lt;br/&gt;
&#8211; Performing Test SYSTEM_LIBBSON_IS_EXTRA_ALIGNED&lt;br/&gt;
&#8211; Performing Test SYSTEM_LIBBSON_IS_EXTRA_ALIGNED - Success&lt;br/&gt;
&#8211; NOTE: Using system-wide libbson library. This is intended only for package maintainers.&lt;br/&gt;
CMake Warning (dev) at /usr/share/cmake/Modules/FetchContent.cmake:1316 (message):&lt;br/&gt;
&#160; The DOWNLOAD_EXTRACT_TIMESTAMP option was not given and policy CMP0135 is&lt;br/&gt;
&#160; not set. &#160;The policy&apos;s OLD behavior will be used. &#160;When using a URL&lt;br/&gt;
&#160; download, the timestamps of extracted files should preferably be that of&lt;br/&gt;
&#160; the time of extraction, otherwise code that depends on the extracted&lt;br/&gt;
&#160; contents might not be rebuilt if the URL changes. &#160;The OLD behavior&lt;br/&gt;
&#160; preserves the timestamps from the archive instead, but this is usually not&lt;br/&gt;
&#160; what you want. &#160;Update your project to the NEW behavior or specify the&lt;br/&gt;
&#160; DOWNLOAD_EXTRACT_TIMESTAMP option with a value of true to avoid this&lt;br/&gt;
&#160; robustness issue.&lt;br/&gt;
Call Stack (most recent call first):&lt;br/&gt;
&#160; cmake/IntelDFP.cmake:36 (FetchContent_Declare)&lt;br/&gt;
&#160; cmake/ImportDFP.cmake:46 (include)&lt;br/&gt;
&#160; CMakeLists.txt:53 (include)&lt;br/&gt;
This warning is for project developers. &#160;Use -Wno-dev to suppress it.&lt;/p&gt;

&lt;p&gt;&#8211; Obtaining Intel Decimal FP library: /build/libmongocrypt/src/libmongocrypt-1.8.2/third-party/IntelRDFPMathLib20U2.tar.xz&lt;br/&gt;
[ 11%] Creating directories for &apos;intel_dfp-populate&apos;&lt;br/&gt;
[ 22%] Performing download step (verify and extract) for &apos;intel_dfp-populate&apos;&lt;br/&gt;
&#8211; verifying file...&lt;br/&gt;
&#160; &#160; &#160;file=&apos;/build/libmongocrypt/src/libmongocrypt-1.8.2/third-party/IntelRDFPMathLib20U2.tar.xz&apos;&lt;br/&gt;
&#8211; verifying file... done&lt;br/&gt;
&#8211; extracting...&lt;br/&gt;
&#160; &#160; &#160;src=&apos;/build/libmongocrypt/src/libmongocrypt-1.8.2/third-party/IntelRDFPMathLib20U2.tar.xz&apos;&lt;br/&gt;
&#160; &#160; &#160;dst=&apos;/build/libmongocrypt/src/libmongocrypt-1.8.2/build/_deps/intel_dfp-src&apos;&lt;br/&gt;
&#8211; extracting... &lt;span class=&quot;error&quot;&gt;&amp;#91;tar xfz&amp;#93;&lt;/span&gt;&lt;br/&gt;
&#8211; extracting... &lt;span class=&quot;error&quot;&gt;&amp;#91;analysis&amp;#93;&lt;/span&gt;&lt;br/&gt;
&#8211; extracting... &lt;span class=&quot;error&quot;&gt;&amp;#91;rename&amp;#93;&lt;/span&gt;&lt;br/&gt;
&#8211; extracting... &lt;span class=&quot;error&quot;&gt;&amp;#91;clean up&amp;#93;&lt;/span&gt;&lt;br/&gt;
&#8211; extracting... done&lt;br/&gt;
[ 33%] No update step for &apos;intel_dfp-populate&apos;&lt;br/&gt;
[ 44%] Performing patch step for &apos;intel_dfp-populate&apos;&lt;br/&gt;
/usr/bin/patch: /build/libmongocrypt/src/libmongocrypt-1.8.2/etc/mongo-inteldfp-libmongocrypt-pr-625.patch: extra operand&lt;br/&gt;
/usr/bin/patch: Try &apos;/usr/bin/patch --help&apos; for more information.&lt;br/&gt;
make&lt;span class=&quot;error&quot;&gt;&amp;#91;2&amp;#93;&lt;/span&gt;: *** &lt;span class=&quot;error&quot;&gt;&amp;#91;CMakeFiles/intel_dfp-populate.dir/build.make:116: intel_dfp-populate-prefix/src/intel_dfp-populate-stamp/intel_dfp-populate-patch&amp;#93;&lt;/span&gt; Error 2&lt;br/&gt;
make&lt;span class=&quot;error&quot;&gt;&amp;#91;1&amp;#93;&lt;/span&gt;: *** &lt;span class=&quot;error&quot;&gt;&amp;#91;CMakeFiles/Makefile2:83: CMakeFiles/intel_dfp-populate.dir/all&amp;#93;&lt;/span&gt; Error 2&lt;br/&gt;
make: *** &lt;span class=&quot;error&quot;&gt;&amp;#91;Makefile:91: all&amp;#93;&lt;/span&gt; Error 2&lt;/p&gt;

&lt;p&gt;CMake Error at /usr/share/cmake/Modules/FetchContent.cmake:1662 (message):&lt;br/&gt;
&#160; Build step for intel_dfp failed: 2&lt;br/&gt;
Call Stack (most recent call first):&lt;br/&gt;
&#160; /usr/share/cmake/Modules/FetchContent.cmake:1802:EVAL:2 (__FetchContent_directPopulate)&lt;br/&gt;
&#160; /usr/share/cmake/Modules/FetchContent.cmake:1802 (cmake_language)&lt;br/&gt;
&#160; cmake/IntelDFP.cmake:52 (FetchContent_Populate)&lt;br/&gt;
&#160; cmake/ImportDFP.cmake:46 (include)&lt;br/&gt;
&#160; CMakeLists.txt:53 (include)&lt;/p&gt;

&lt;p&gt;&#8211; Configuring incomplete, errors occurred!&lt;/p&gt;

&lt;p&gt;}}&lt;br/&gt;
It seems that the way you call patch is not correct.&lt;/p&gt;</description>
                <environment></environment>
        <key id="2444408">MONGOCRYPT-594</key>
            <summary>Failed to build release from source code</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="roberto.sanchez@mongodb.com">Roberto Sanchez</assignee>
                                    <reporter username="zhanghuadedn@gmail.com">Hua Zhang</reporter>
                        <labels>
                            <label>archlinux</label>
                            <label>build-failure</label>
                            <label>cmake</label>
                            <label>intel-rdfp</label>
                            <label>third-party-libraries</label>
                    </labels>
                <created>Mon, 18 Sep 2023 03:38:54 +0000</created>
                <updated>Sat, 28 Oct 2023 10:26:01 +0000</updated>
                            <resolved>Fri, 13 Oct 2023 18:10:42 +0000</resolved>
                                    <version>1.8.2</version>
                                    <fixVersion>1.9.0</fixVersion>
                                    <component>Build</component>
                                        <votes>0</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="5777437" author="xgen-internal-githook" created="Fri, 13 Oct 2023 18:09:43 +0000"  >&lt;p&gt;Author: &lt;/p&gt;
{&apos;name&apos;: &apos;Roberto C. S&#225;nchez&apos;, &apos;email&apos;: &apos;roberto@connexer.com&apos;, &apos;username&apos;: &apos;rcsanchez97&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/MONGOCRYPT-594&quot; title=&quot;Failed to build release from source code&quot; class=&quot;issue-link&quot; data-issue-key=&quot;MONGOCRYPT-594&quot;&gt;&lt;del&gt;MONGOCRYPT-594&lt;/del&gt;&lt;/a&gt; patch requires -i option before patch file (#704)&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/libmongocrypt/commit/b286cc09c43cf089893c6b2869e1b50384dcf6a8&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/libmongocrypt/commit/b286cc09c43cf089893c6b2869e1b50384dcf6a8&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="5777435" author="mms-build@10gen.com" created="Fri, 13 Oct 2023 18:09:42 +0000"  >&lt;p&gt; &lt;a href=&quot;https://github.com/rcsanchez97&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;rcsanchez97&lt;/a&gt; merged a pull request (&lt;a href=&quot;https://github.com/mongodb/libmongocrypt/pull/704&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;MONGOCRYPT-594 patch requires -i option before patch file&lt;/a&gt;) into the following branch:&lt;br/&gt;
                       master: &lt;a href=&quot;https://github.com/rcsanchez97/libmongocrypt/commit/b286cc09c43cf089893c6b2869e1b50384dcf6a8&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;b286cc09c43cf089893c6b2869e1b50384dcf6a8&lt;/a&gt;&lt;/p&gt;
</comment>
                            <comment id="5774640" author="roberto.sanchez" created="Thu, 12 Oct 2023 19:34:45 +0000"  >&lt;p&gt;&lt;a href=&quot;https://github.com/mongodb/libmongocrypt/pull/704&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/libmongocrypt/pull/704&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="5715499" author="kevin.albertson" created="Tue, 19 Sep 2023 16:58:48 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=zhanghuadedn%40gmail.com&quot; class=&quot;user-hover&quot; rel=&quot;zhanghuadedn@gmail.com&quot;&gt;zhanghuadedn@gmail.com&lt;/a&gt; thank you for the report. I can reproduce the error. Suggested workaround: install &lt;tt&gt;git&lt;/tt&gt; and rerun the &lt;tt&gt;cmake&lt;/tt&gt; command. libmongocrypt prefers using &lt;tt&gt;git&lt;/tt&gt; over &lt;tt&gt;patch&lt;/tt&gt; to apply the patch files.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10520">
                    <name>Problem/Incident</name>
                                                                <inwardlinks description="is caused by">
                                        <issuelink>
            <issuekey id="2133851">MONGOCRYPT-483</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                <customfield id="customfield_21957" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Binding Changes</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="22966"><![CDATA[Not Needed]]></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|i0w3yq:</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>