<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 22:00:48 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-921] legacy driver fails to build on FreeBSD</title>
                <link>https://jira.mongodb.org/browse/CXX-921</link>
                <project id="11980" key="CXX">C++ Driver</project>
                    <description>&lt;p&gt;Trying to compile mongo-cxx-driver on FreeBSD fails with error&lt;br/&gt;
#error Must implement SecureRandom for platform&lt;/p&gt;

&lt;p&gt;The OpenBSD implementation for SecureRandom should work on FreeBSD as well (not checked, as I have no direct access to a FreeBSD installation at the moment).&lt;/p&gt;

&lt;p&gt;You can see a complete log of the failure here:&lt;br/&gt;
&lt;a href=&quot;https://buildd.debian.org/status/fetch.php?pkg=mongo-cxx-driver-legacy&amp;amp;arch=kfreebsd-amd64&amp;amp;ver=1.1.1-1&amp;amp;stamp=1464681161&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://buildd.debian.org/status/fetch.php?pkg=mongo-cxx-driver-legacy&amp;amp;arch=kfreebsd-amd64&amp;amp;ver=1.1.1-1&amp;amp;stamp=1464681161&lt;/a&gt;&lt;/p&gt;</description>
                <environment></environment>
        <key id="291996">CXX-921</key>
            <summary>legacy driver fails to build on FreeBSD</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="9">Done</resolution>
                                        <assignee username="rassi">J Rassi</assignee>
                                    <reporter username="giuliopaci">Giulio Paci</reporter>
                        <labels>
                            <label>legacy-cxx</label>
                    </labels>
                <created>Tue, 7 Jun 2016 11:36:42 +0000</created>
                <updated>Tue, 21 Jun 2016 19:40:49 +0000</updated>
                            <resolved>Tue, 21 Jun 2016 19:12:36 +0000</resolved>
                                    <version>legacy-1.1.1</version>
                                    <fixVersion>legacy-1.1.2</fixVersion>
                                    <component>Build</component>
                    <component>Portability</component>
                                        <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="1301719" author="xgen-internal-githook" created="Tue, 21 Jun 2016 19:11:29 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;giuliopaci&apos;, u&apos;name&apos;: u&apos;Giulio Paci&apos;, u&apos;email&apos;: u&apos;giuliopaci@gmail.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CXX-921&quot; title=&quot;legacy driver fails to build on FreeBSD&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CXX-921&quot;&gt;&lt;del&gt;CXX-921&lt;/del&gt;&lt;/a&gt; Fix compilation on Debian GNU/kFreeBSD.&lt;/p&gt;

&lt;p&gt;Signed-off-by: J. Rassi &amp;lt;rassi@10gen.com&amp;gt;&lt;br/&gt;
Branch: legacy&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-cxx-driver/commit/c182bcf098417c826c5fa82609e8530baf2330e3&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-cxx-driver/commit/c182bcf098417c826c5fa82609e8530baf2330e3&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1292800" author="david.golden" created="Mon, 13 Jun 2016 20:57:50 +0000"  >&lt;p&gt;Thanks!&lt;/p&gt;</comment>
                            <comment id="1291785" author="giuliopaci" created="Mon, 13 Jun 2016 06:20:00 +0000"  >&lt;p&gt;This also did not work (apparently this macro is for old kernels) however in &lt;a href=&quot;https://jira.mongodb.org/browse/CXX-924&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;https://jira.mongodb.org/browse/CXX-924&lt;/a&gt; I attached a patch that makes compilation work.&lt;br/&gt;
The correct macro on this system is _&lt;em&gt;FreeBSD_kernel&lt;/em&gt;_.&lt;/p&gt;</comment>
                            <comment id="1288829" author="david.golden" created="Thu, 9 Jun 2016 01:11:01 +0000"  >&lt;p&gt;Apologies for my bad Jira markup &amp;#8211; to clarify, that define should be &lt;tt&gt;&amp;#95;&amp;#95;FreeBSD&amp;#95;&amp;#95;&lt;/tt&gt;.&lt;/p&gt;</comment>
                            <comment id="1288827" author="david.golden" created="Thu, 9 Jun 2016 01:08:32 +0000"  >&lt;p&gt;That error suggests the compiler macro for FreeBSD is incorrect.  According to &lt;a href=&quot;https://sourceforge.net/p/predef/wiki/OperatingSystems/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;this page&lt;/a&gt;, it should probably be &lt;tt&gt;&amp;#95;&amp;#95;FreeBSD&amp;#95;&amp;#95;&lt;/tt&gt;.&lt;/p&gt;

&lt;p&gt;If you change &lt;a href=&quot;https://github.com/xdg/mongo-cxx-driver/blob/legacy/src/mongo/platform/random.cpp#L106&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;this line&lt;/a&gt; to check &lt;tt&gt;&amp;#95;&amp;#95;FreeBSD&amp;#95;&amp;#95;&lt;/tt&gt;, does it compile?  If not, what errors do you get?&lt;/p&gt;</comment>
                            <comment id="1286292" author="acm" created="Tue, 7 Jun 2016 12:33:44 +0000"  >&lt;p&gt;Thanks for the bug report. I suspect that you are right that the fix is straightforward. Unfortunately, we do no testing on either OpenBSD or FreeBSD. My recommendation is that you create a pull request with the necessary FreeBSD changes to get it to build and we can start from there.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                            <outwardlinks description="depends on">
                                        <issuelink>
            <issuekey id="292032">CXX-924</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </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|hrcwx3:</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>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10557" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="1114">Perl and CXX Team (2016-06-17)</customfieldvalue>
    <customfieldvalue id="1115">Perl and CXX Team (2016-07-08)</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            </customfields>
    </item>
</channel>
</rss>