<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:37:44 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>[GODRIVER-2059] Makefile can&apos;t find some commands</title>
                <link>https://jira.mongodb.org/browse/GODRIVER-2059</link>
                <project id="14289" key="GODRIVER">Go Driver</project>
                    <description>&lt;p&gt;Hi! I&apos;m new to the mongdb go driver, and I would love to contribute. My question is: When I run &lt;b&gt;make&lt;/b&gt; to run all the tests, it ouputs some errors at the end and then stops:&lt;/p&gt;

&lt;p&gt;...&lt;/p&gt;

&lt;p&gt;/bin/bash: golint: command not found&lt;br/&gt;
errcheck -exclude .errcheck-excludes ./bson/... ./mongo/... ./x/...&lt;br/&gt;
make: errcheck: No such file or directory&lt;br/&gt;
make: *** &lt;span class=&quot;error&quot;&gt;&amp;#91;errcheck&amp;#93;&lt;/span&gt; Error 1&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;I haven&apos;t modified a file yet, this is just the cloned repo. I have a &lt;b&gt;mongod&lt;/b&gt; instance running in the default port (27017), and I ran &lt;b&gt;go mod tidy&lt;/b&gt;. Is this normal? If not, could someone help me? Thank you very much for your time.&lt;/p&gt;</description>
                <environment></environment>
        <key id="1795526">GODRIVER-2059</key>
            <summary>Makefile can&apos;t find some commands</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="10038" iconUrl="https://jira.mongodb.org/images/icons/subtask.gif" description="">Backlog</status>
                    <statusCategory id="2" key="new" colorName="default"/>
                                    <resolution id="-1">Unresolved</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="luis.nieto.pala@gmail.com">Luis Nieto</reporter>
                        <labels>
                    </labels>
                <created>Wed, 23 Jun 2021 17:51:36 +0000</created>
                <updated>Wed, 30 Mar 2022 23:54:26 +0000</updated>
                                                                                                <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="3919487" author="JIRAUSER1259527" created="Wed, 7 Jul 2021 00:13:51 +0000"  >&lt;p&gt;Hey &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=luis.nieto.pala%40gmail.com&quot; class=&quot;user-hover&quot; rel=&quot;luis.nieto.pala@gmail.com&quot;&gt;luis.nieto.pala@gmail.com&lt;/a&gt;, thanks for reporting this issue! Looks like the&#160;&lt;tt&gt;make errcheck&lt;/tt&gt; target (which is run as part of the default &lt;tt&gt;make&lt;/tt&gt; targets) uses the &lt;a href=&quot;https://github.com/kisielk/errcheck&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;errcheck&lt;/a&gt; linter, but doesn&apos;t check if it&apos;s available first.&lt;/p&gt;

&lt;p&gt;A quick fix is to install &lt;tt&gt;errcheck&lt;/tt&gt; by running&lt;/p&gt;
&lt;p/&gt;
&lt;div id=&quot;syntaxplugin&quot; class=&quot;syntaxplugin&quot; style=&quot;border: 1px dashed #bbb; border-radius: 5px !important; overflow: auto; max-height: 30em;&quot;&gt;
&lt;table cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; border=&quot;0&quot; width=&quot;100%&quot; style=&quot;font-size: 1em; line-height: 1.4em !important; font-weight: normal; font-style: normal; color: black;&quot;&gt;
		&lt;tbody &gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;  margin-top: 10px;   margin-bottom: 10px;  width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;go get -u github.com/kisielk/errcheck&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
			&lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;p/&gt;
&lt;p&gt;and ensure the installed binary is in your PATH by running &lt;tt&gt;errcheck&lt;/tt&gt;.&lt;/p&gt;

&lt;p&gt;The real solution is to update the &lt;a href=&quot;https://github.com/mongodb/mongo-go-driver/blob/master/Makefile&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;Makefile&lt;/a&gt; to check if &lt;tt&gt;errcheck&lt;/tt&gt; is available and install it if it&apos;s not. Unfortunately we won&apos;t be able to work on the real solution until after the MongoDB Server v5.0 release on July 13th.&lt;/p&gt;

&lt;p&gt;Until then, please try to install &lt;tt&gt;errcheck&lt;/tt&gt; manually and let me know if that resolves your issue. Thanks!&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|hz8rrz:</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>