<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:14: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>[CDRIVER-2297] Shell error parsing &quot;$((&quot; expression produced Versions.m4</title>
                <link>https://jira.mongodb.org/browse/CDRIVER-2297</link>
                <project id="10030" key="CDRIVER">C Driver</project>
                    <description>&lt;p&gt;In &lt;a href=&quot;https://github.com/mongodb/mongo-php-driver/issues/655&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;mongodb/mongo-php-driver#655&lt;/a&gt; (&lt;a href=&quot;https://jira.mongodb.org/browse/PHPC-1014&quot; title=&quot;config.m4 produces unterminated quoted string&quot; class=&quot;issue-link&quot; data-issue-key=&quot;PHPC-1014&quot;&gt;&lt;del&gt;PHPC-1014&lt;/del&gt;&lt;/a&gt;), a user reported an issue installing the PHP driver in Alpine Linux, which uses a BusyBox&apos;s shell. Of note, his troubles only started with PHP driver 1.3.0 (bundling libmongoc and libbson 1.8.0). PHP driver 1.2.11, which bundles 1.5.5, had no issues.&lt;/p&gt;

&lt;p&gt;Running our &lt;tt&gt;configure&lt;/tt&gt; script through &lt;a href=&quot;https://www.shellcheck.net/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;&lt;tt&gt;shellcheck&lt;/tt&gt;&lt;/a&gt; reported the following error of interest:&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;   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;In configure line 12252:&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&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;   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;MONGOC_MAJOR_VERSION=$((cat $MONGOC_CURRENT_FILE; echo) | cut -d- -f1 | cut -d. -f1)&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&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;   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;                     ^-- SC1073: Couldn&apos;t parse this $((..)) expression.&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&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;   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;                     ^-- SC1009: The mentioned parser error was in this $((..)) expression.&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&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-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;                            ^-- SC1072: Expected &quot;))&quot;. Fix any mentioned problems and try again.&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;I believe this was introduced by the following commits:&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/d4f67c409e1747ccc27845b0bed45a2179b82d2f&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/d4f67c409e1747ccc27845b0bed45a2179b82d2f&lt;/a&gt;&lt;/li&gt;
	&lt;li&gt;&lt;a href=&quot;https://github.com/mongodb/libbson/commit/e07f7b89ec018a532f1d79169207f72f8660bb56&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/libbson/commit/e07f7b89ec018a532f1d79169207f72f8660bb56&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
</description>
                <environment>Alpine Linux, BusyBox v1.24.2</environment>
        <key id="430931">CDRIVER-2297</key>
            <summary>Shell error parsing &quot;$((&quot; expression produced Versions.m4</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="13201">Fixed</resolution>
                                        <assignee username="jmikola@mongodb.com">Jeremy Mikola</assignee>
                                    <reporter username="jmikola@mongodb.com">Jeremy Mikola</reporter>
                        <labels>
                    </labels>
                <created>Fri, 22 Sep 2017 15:21:13 +0000</created>
                <updated>Sat, 28 Oct 2023 11:30:26 +0000</updated>
                            <resolved>Fri, 22 Sep 2017 17:18:56 +0000</resolved>
                                    <version>1.7.0</version>
                                    <fixVersion>1.8.1</fixVersion>
                    <fixVersion>1.9.0</fixVersion>
                                    <component>Build</component>
                    <component>libbson</component>
                    <component>libmongoc</component>
                                        <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="1697361" author="xgen-internal-githook" created="Thu, 12 Oct 2017 16:37:54 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;email&apos;: &apos;jmikola@gmail.com&apos;, &apos;name&apos;: &apos;Jeremy Mikola&apos;, &apos;username&apos;: &apos;jmikola&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-2297&quot; title=&quot;Shell error parsing &amp;quot;$((&amp;quot; expression produced Versions.m4&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-2297&quot;&gt;&lt;del&gt;CDRIVER-2297&lt;/del&gt;&lt;/a&gt;: Space out parens&lt;br/&gt;
Branch: debian&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/9c38148df7ac2cf6d9534231dd2e0a2abc77d994&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/9c38148df7ac2cf6d9534231dd2e0a2abc77d994&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1679826" author="ramon.fernandez" created="Fri, 22 Sep 2017 18:13:07 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;username&apos;: u&apos;jmikola&apos;, &apos;name&apos;: u&apos;Jeremy Mikola&apos;, &apos;email&apos;: u&apos;jmikola@gmail.com&apos;}
&lt;p&gt;Message:&lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-2297&quot; title=&quot;Shell error parsing &amp;quot;$((&amp;quot; expression produced Versions.m4&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-2297&quot;&gt;&lt;del&gt;CDRIVER-2297&lt;/del&gt;&lt;/a&gt;: Space out parens&lt;br/&gt;
Branch:r1.8&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/libbson/commit/93cfe0bb5af68b160d00980775af414033b38332&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/libbson/commit/93cfe0bb5af68b160d00980775af414033b38332&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1679806" author="xgen-internal-githook" created="Fri, 22 Sep 2017 17:49:39 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;email&apos;: &apos;jmikola@gmail.com&apos;, &apos;name&apos;: &apos;Jeremy Mikola&apos;, &apos;username&apos;: &apos;jmikola&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-2297&quot; title=&quot;Shell error parsing &amp;quot;$((&amp;quot; expression produced Versions.m4&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-2297&quot;&gt;&lt;del&gt;CDRIVER-2297&lt;/del&gt;&lt;/a&gt;: Space out parens&lt;br/&gt;
Branch: r1.8&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/9c38148df7ac2cf6d9534231dd2e0a2abc77d994&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/9c38148df7ac2cf6d9534231dd2e0a2abc77d994&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1679773" author="jesse" created="Fri, 22 Sep 2017 17:21:19 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=jmikola&quot; class=&quot;user-hover&quot; rel=&quot;jmikola&quot;&gt;jmikola&lt;/a&gt; go ahead and cherry-pick the commits in libbson and mongo-c-driver to the r1.8 branch. (We use cherry-picking from master to release branches as our backport process.)&lt;/p&gt;</comment>
                            <comment id="1679769" author="jmikola@gmail.com" created="Fri, 22 Sep 2017 17:18:56 +0000"  >&lt;p&gt;Merged to &lt;tt&gt;master&lt;/tt&gt;, but I would like to discuss backporting to 1.8.1 as well.&lt;/p&gt;</comment>
                            <comment id="1679757" author="ramon.fernandez" created="Fri, 22 Sep 2017 17:13:07 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;username&apos;: u&apos;jmikola&apos;, &apos;name&apos;: u&apos;Jeremy Mikola&apos;, &apos;email&apos;: u&apos;jmikola@gmail.com&apos;}
&lt;p&gt;Message:&lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-2297&quot; title=&quot;Shell error parsing &amp;quot;$((&amp;quot; expression produced Versions.m4&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-2297&quot;&gt;&lt;del&gt;CDRIVER-2297&lt;/del&gt;&lt;/a&gt;: Space out parens&lt;br/&gt;
Branch:jmikola-patch-1&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/libbson/commit/63f580245342b0bc86a7180d6f2b289da2adc089&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/libbson/commit/63f580245342b0bc86a7180d6f2b289da2adc089&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1679721" author="xgen-internal-githook" created="Fri, 22 Sep 2017 16:30:07 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;email&apos;: &apos;jmikola@gmail.com&apos;, &apos;name&apos;: &apos;Jeremy Mikola&apos;, &apos;username&apos;: &apos;jmikola&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-2297&quot; title=&quot;Shell error parsing &amp;quot;$((&amp;quot; expression produced Versions.m4&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-2297&quot;&gt;&lt;del&gt;CDRIVER-2297&lt;/del&gt;&lt;/a&gt;: Space out parens&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/libbson/commit/b980624eb12fddc9a4a6c841b026e8c2c3dce7a2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/libbson/commit/b980624eb12fddc9a4a6c841b026e8c2c3dce7a2&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1679719" author="xgen-internal-githook" created="Fri, 22 Sep 2017 16:29:48 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;email&apos;: &apos;jmikola@gmail.com&apos;, &apos;name&apos;: &apos;Jeremy Mikola&apos;, &apos;username&apos;: &apos;jmikola&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-2297&quot; title=&quot;Shell error parsing &amp;quot;$((&amp;quot; expression produced Versions.m4&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-2297&quot;&gt;&lt;del&gt;CDRIVER-2297&lt;/del&gt;&lt;/a&gt;: Space out parens&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/a4ea9fc5edfeaf84e32073f1c0e504b26c536ea8&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/a4ea9fc5edfeaf84e32073f1c0e504b26c536ea8&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1679717" author="xgen-internal-githook" created="Fri, 22 Sep 2017 16:27:37 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;email&apos;: &apos;jmikola@gmail.com&apos;, &apos;name&apos;: &apos;Jeremy Mikola&apos;, &apos;username&apos;: &apos;jmikola&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-2297&quot; title=&quot;Shell error parsing &amp;quot;$((&amp;quot; expression produced Versions.m4&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-2297&quot;&gt;&lt;del&gt;CDRIVER-2297&lt;/del&gt;&lt;/a&gt;: Space out parens&lt;br/&gt;
Branch: jmikola-patch-1&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/9b34ce11835bac622767f7ddb23c6650e560c42a&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/9b34ce11835bac622767f7ddb23c6650e560c42a&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1679625" author="jmikola@gmail.com" created="Fri, 22 Sep 2017 15:25:33 +0000"  >&lt;p&gt;PRs:&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/pull/444&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/pull/444&lt;/a&gt;&lt;/li&gt;
	&lt;li&gt;&lt;a href=&quot;https://github.com/mongodb/libbson/pull/202&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/libbson/pull/202&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
</comment>
                            <comment id="1679624" author="xgen-internal-githook" created="Fri, 22 Sep 2017 15:25:05 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;email&apos;: &apos;jmikola@gmail.com&apos;, &apos;name&apos;: &apos;Jeremy Mikola&apos;, &apos;username&apos;: &apos;jmikola&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-2297&quot; title=&quot;Shell error parsing &amp;quot;$((&amp;quot; expression produced Versions.m4&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-2297&quot;&gt;&lt;del&gt;CDRIVER-2297&lt;/del&gt;&lt;/a&gt;: Space out parents to avoid unterminated string error&lt;br/&gt;
Branch: jmikola-patch-1&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/1c6a1e363c7ee5e64aafa96b23ae1d4cdbb84d33&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/1c6a1e363c7ee5e64aafa96b23ae1d4cdbb84d33&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                                                <inwardlinks description="is depended on by">
                                        <issuelink>
            <issuekey id="430618">PHPC-1014</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="443267">CDRIVER-2320</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|ht774v:</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>