<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 22:00:59 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-980] Header files are not well copied by make install</title>
                <link>https://jira.mongodb.org/browse/CXX-980</link>
                <project id="11980" key="CXX">C++ Driver</project>
                    <description>&lt;p&gt;cmake version 3.6.0&lt;/p&gt;

&lt;p&gt;Only following header files are well copied : &lt;br/&gt;
/usr/local/include/mongocxx/v_noabi/mongocxx/config/config.hpp&lt;br/&gt;
/usr/local/include/mongocxx/v_noabi/mongocxx/config/export.hpp&lt;br/&gt;
/usr/local/include/mongocxx/v_noabi/mongocxx/config/version.hpp&lt;br/&gt;
/usr/local/include/bsoncxx/v_noabi/bsoncxx/config/config.hpp&lt;br/&gt;
/usr/local/include/bsoncxx/v_noabi/bsoncxx/config/export.hpp&lt;br/&gt;
/usr/local/include/bsoncxx/v_noabi/bsoncxx/config/version.hpp&lt;br/&gt;
/usr/local/include/bsoncxx/v_noabi/bsoncxx/third_party/mnmlstc/core/algorithm.hpp&lt;br/&gt;
/usr/local/include/bsoncxx/v_noabi/bsoncxx/third_party/mnmlstc/core/any.hpp&lt;br/&gt;
/usr/local/include/bsoncxx/v_noabi/bsoncxx/third_party/mnmlstc/core/functional.hpp&lt;br/&gt;
/usr/local/include/bsoncxx/v_noabi/bsoncxx/third_party/mnmlstc/core/iterator.hpp&lt;br/&gt;
/usr/local/include/bsoncxx/v_noabi/bsoncxx/third_party/mnmlstc/core/memory.hpp&lt;br/&gt;
/usr/local/include/bsoncxx/v_noabi/bsoncxx/third_party/mnmlstc/core/numeric.hpp&lt;br/&gt;
/usr/local/include/bsoncxx/v_noabi/bsoncxx/third_party/mnmlstc/core/optional.hpp&lt;br/&gt;
/usr/local/include/bsoncxx/v_noabi/bsoncxx/third_party/mnmlstc/core/range.hpp&lt;br/&gt;
/usr/local/include/bsoncxx/v_noabi/bsoncxx/third_party/mnmlstc/core/string.hpp&lt;br/&gt;
/usr/local/include/bsoncxx/v_noabi/bsoncxx/third_party/mnmlstc/core/type_traits.hpp&lt;br/&gt;
/usr/local/include/bsoncxx/v_noabi/bsoncxx/third_party/mnmlstc/core/utility.hpp&lt;br/&gt;
/usr/local/include/bsoncxx/v_noabi/bsoncxx/third_party/mnmlstc/core/variant.hpp&lt;/p&gt;

&lt;p&gt;I followed instructions from wiki : &lt;br/&gt;
git clone -b master &lt;a href=&quot;https://github.com/mongodb/mongo-cxx-driver&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-cxx-driver&lt;/a&gt;&lt;br/&gt;
git checkout r3.0.1&lt;br/&gt;
PKG_CONFIG_PATH=/usr/local/bin/pkg-config cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr/local ..&lt;br/&gt;
make&lt;br/&gt;
sudo make install&lt;/p&gt;

&lt;p&gt;Install the project...&lt;br/&gt;
&amp;#8211; Install configuration: &quot;Release&quot;&lt;br/&gt;
&amp;#8211; Installing: /usr/local/include/bsoncxx/v_noabi/bsoncxx/config/export.hpp&lt;br/&gt;
&amp;#8211; Installing: /usr/local/lib/libbsoncxx.3.0.1.dylib&lt;br/&gt;
&amp;#8211; Up-to-date: /usr/local/lib/libbsoncxx._noabi.dylib&lt;br/&gt;
&amp;#8211; Up-to-date: /usr/local/lib/libbsoncxx.dylib&lt;br/&gt;
&amp;#8211; Installing: /usr/local/lib/libbsoncxx.a&lt;br/&gt;
&amp;#8211; Installing: /usr/local/lib/cmake/libbsoncxx-3.0.1/libbsoncxx-config.cmake&lt;br/&gt;
&amp;#8211; Installing: /usr/local/lib/cmake/libbsoncxx-3.0.1/libbsoncxx-config-version.cmake&lt;br/&gt;
&amp;#8211; Installing: /usr/local/include/bsoncxx/v_noabi/bsoncxx/config/config.hpp&lt;br/&gt;
&amp;#8211; Installing: /usr/local/include/bsoncxx/v_noabi/bsoncxx/config/version.hpp&lt;br/&gt;
&amp;#8211; Installing: /usr/local/lib/pkgconfig/libbsoncxx.pc&lt;br/&gt;
&amp;#8211; Installing: /usr/local/include/mongocxx/v_noabi/mongocxx/config/export.hpp&lt;br/&gt;
&amp;#8211; Installing: /usr/local/lib/libmongocxx.3.0.1.dylib&lt;br/&gt;
&amp;#8211; Up-to-date: /usr/local/lib/libmongocxx._noabi.dylib&lt;br/&gt;
&amp;#8211; Up-to-date: /usr/local/lib/libmongocxx.dylib&lt;br/&gt;
&amp;#8211; Installing: /usr/local/lib/libmongocxx.a&lt;br/&gt;
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: /usr/local/lib/libmongocxx.a(libmongoc.cpp.o) has no symbols&lt;br/&gt;
&amp;#8211; Installing: /usr/local/lib/cmake/libmongocxx-3.0.1/libmongocxx-config.cmake&lt;br/&gt;
&amp;#8211; Installing: /usr/local/lib/cmake/libmongocxx-3.0.1/libmongocxx-config-version.cmake&lt;br/&gt;
&amp;#8211; Installing: /usr/local/include/mongocxx/v_noabi/mongocxx/config/config.hpp&lt;br/&gt;
&amp;#8211; Installing: /usr/local/include/mongocxx/v_noabi/mongocxx/config/version.hpp&lt;br/&gt;
&amp;#8211; Installing: /usr/local/lib/pkgconfig/libmongocxx.pc&lt;/p&gt;

&lt;p&gt;find /usr/local/include/mongocxx/v_noabi/mongocxx/config/&lt;br/&gt;
/usr/local/include/mongocxx/v_noabi/mongocxx/config/&lt;br/&gt;
/usr/local/include/mongocxx/v_noabi/mongocxx/config//config.hpp&lt;br/&gt;
/usr/local/include/mongocxx/v_noabi/mongocxx/config//export.hpp&lt;br/&gt;
/usr/local/include/mongocxx/v_noabi/mongocxx/config//version.hpp&lt;/p&gt;





</description>
                <environment></environment>
        <key id="304680">CXX-980</key>
            <summary>Header files are not well copied by make install</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</type>
                                            <priority id="4" iconUrl="https://jira.mongodb.org/images/icons/priorities/minor.svg">Minor - P4</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="5">Cannot Reproduce</resolution>
                                        <assignee username="david.golden@mongodb.com">David Golden</assignee>
                                    <reporter username="fbernard">florian bernard</reporter>
                        <labels>
                    </labels>
                <created>Thu, 28 Jul 2016 09:26:05 +0000</created>
                <updated>Mon, 1 Aug 2016 15:33:12 +0000</updated>
                            <resolved>Mon, 1 Aug 2016 15:16:04 +0000</resolved>
                                    <version>3.0.1</version>
                                                    <component>Release</component>
                                        <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="1343132" author="fbernard" created="Mon, 1 Aug 2016 15:33:12 +0000"  >&lt;p&gt;Ok.&lt;/p&gt;</comment>
                            <comment id="1343108" author="david.golden" created="Mon, 1 Aug 2016 15:15:37 +0000"  >&lt;p&gt;The &lt;tt&gt;build&lt;/tt&gt; directory you send has &lt;tt&gt;CMAKE_INSTALL_PREFIX:PATH=/tmp/mongo-cxx-driver/build/install&lt;/tt&gt; rather than &lt;tt&gt;CMAKE_INSTALL_PREFIX:PATH=/usr/local&lt;/tt&gt;.  Perhaps that got left off.&lt;/p&gt;

&lt;p&gt;In any case, since you have a workaround and say it&apos;s not important, I&apos;m going to close this ticket.&lt;/p&gt;</comment>
                            <comment id="1342864" author="fbernard" created="Mon, 1 Aug 2016 12:58:17 +0000"  >&lt;p&gt;Hello,&lt;br/&gt;
i try again and headers still not copied.&lt;br/&gt;
The build directory was empty and i have no CMAKE environment variables.&lt;/p&gt;

&lt;p&gt;Here is my build folder just after the cmake and before the make command : &lt;a href=&quot;https://www.wetransfer.com/downloads/215470e0eadd47f6653fab87e114f76120160801125225/fd65c2049e7f536a1972ead09e7c5e3220160801125225/fae26c&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://www.wetransfer.com/downloads/215470e0eadd47f6653fab87e114f76120160801125225/fd65c2049e7f536a1972ead09e7c5e3220160801125225/fae26c&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Workaround i copied manually the missing headers files in /usr/local/include/mongocxx . So this issue is not really important.&lt;/p&gt;</comment>
                            <comment id="1341420" author="david.golden" created="Fri, 29 Jul 2016 15:49:22 +0000"  >&lt;p&gt;Hi, Florian.  I can&apos;t replicate this on OS X 10.11.6 with AppleClang 7.30.7030031 and cmake 3.5.2 or 3.6.1 (the two versions I had available).  Nor could another colleague.&lt;/p&gt;

&lt;p&gt;My suggestions:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;Upgrade to cmake 3.6.1 just in case there&apos;s some bugfix that fixes things (though the release notes don&apos;t show much)&lt;/li&gt;
	&lt;li&gt;Make sure you are trying with an empty &lt;tt&gt;build&lt;/tt&gt; directory&lt;/li&gt;
	&lt;li&gt;Make sure you have no CMAKE environment variables set&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;If it still doesn&apos;t work, my next idea is for you to upload your build directory somewhere as a .tar.gz file &lt;b&gt;AFTER&lt;/b&gt; running &lt;tt&gt;cmake&lt;/tt&gt; but &lt;b&gt;BEFORE&lt;/b&gt; running &lt;tt&gt;make&lt;/tt&gt; and send us a download link.  We can dig through and compare against our own generated build files.&lt;/p&gt;</comment>
                            <comment id="1339921" author="fbernard" created="Thu, 28 Jul 2016 16:01:14 +0000"  >&lt;p&gt;Hello,&lt;br/&gt;
yes i did the &apos;cd build&apos;.&lt;br/&gt;
i installed libmongoc in /usr/local/lib&lt;br/&gt;
Here the cmake command and the cmake output (i remove the PKG_CONFIG_PATH):&lt;/p&gt;

&lt;p&gt;cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr/local ../&lt;br/&gt;
&amp;#8211; The CXX compiler identification is AppleClang 7.3.0.7030031&lt;br/&gt;
&amp;#8211; Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++&lt;br/&gt;
&amp;#8211; Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ &amp;#8211; works&lt;br/&gt;
&amp;#8211; Detecting CXX compiler ABI info&lt;br/&gt;
&amp;#8211; Detecting CXX compiler ABI info - done&lt;br/&gt;
&amp;#8211; Detecting CXX compile features&lt;br/&gt;
&amp;#8211; Detecting CXX compile features - done&lt;br/&gt;
&amp;#8211; The C compiler identification is AppleClang 7.3.0.7030031&lt;br/&gt;
&amp;#8211; Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc&lt;br/&gt;
&amp;#8211; Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc &amp;#8211; works&lt;br/&gt;
&amp;#8211; Detecting C compiler ABI info&lt;br/&gt;
&amp;#8211; Detecting C compiler ABI info - done&lt;br/&gt;
&amp;#8211; Detecting C compile features&lt;br/&gt;
&amp;#8211; Detecting C compile features - done&lt;br/&gt;
&amp;#8211; Checking for module &apos;libbson-1.0&amp;gt;=1.3.4&apos;&lt;br/&gt;
&amp;#8211;   Found libbson-1.0, version 1.3.5&lt;br/&gt;
&amp;#8211; Found LIBBSON: TRUE  &lt;br/&gt;
&amp;#8211; Performing Test COMPILER_HAS_HIDDEN_VISIBILITY&lt;br/&gt;
&amp;#8211; Performing Test COMPILER_HAS_HIDDEN_VISIBILITY - Success&lt;br/&gt;
&amp;#8211; Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY&lt;br/&gt;
&amp;#8211; Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY - Success&lt;br/&gt;
&amp;#8211; Performing Test COMPILER_HAS_DEPRECATED_ATTR&lt;br/&gt;
&amp;#8211; Performing Test COMPILER_HAS_DEPRECATED_ATTR - Success&lt;br/&gt;
&amp;#8211; Checking for module &apos;libmongoc-1.0&amp;gt;=1.3.4&apos;&lt;br/&gt;
&amp;#8211;   Found libmongoc-1.0, version 1.3.5&lt;br/&gt;
&amp;#8211; Found LIBMONGOC: TRUE  &lt;br/&gt;
&amp;#8211; Configuring done&lt;br/&gt;
&amp;#8211; Generating done&lt;br/&gt;
&amp;#8211; Build files have been written to: /Users/fbernard/Documents/work/projects/invidam/tests/mongo/mongo-cxx-driver/build&lt;/p&gt;

&lt;p&gt;the &quot;make&quot; and the &quot;make install&quot; work but some hpp files missing in my &quot;/usr/local/include/mongocxx&quot; folder &lt;/p&gt;</comment>
                            <comment id="1339775" author="david.golden" created="Thu, 28 Jul 2016 14:43:17 +0000"  >&lt;p&gt;Hello and thanks for filing a ticket.&lt;/p&gt;

&lt;p&gt;Could you please clarify the following:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;I see that you don&apos;t have &apos;cd build&apos; in your list of instructions from the wiki.  Did you do that or not?&lt;/li&gt;
	&lt;li&gt;Your PKG_CONFIG_PATH appears to be the path to your pkg-config binary, not to the location of the pkgconfig directory. For example, for me, that&apos;s &lt;tt&gt;PKG_CONFIG_PATH=/usr/local/lib/pkgconfig/&lt;/tt&gt;, though usually pkg-config knows to look there automatically.  Where did you install libmongoc?&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;Could you please include the output from &lt;tt&gt;cmake&lt;/tt&gt;?&lt;/p&gt;

&lt;p&gt;Thank you.&lt;/p&gt;</comment>
                    </comments>
                    <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|hso2z3:</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>